upgrade from CentOS-3 to 4 with apt (Re: [CentOS] kbd remove error)
Joshua Baker-LePain
jlb17 at duke.edu
Thu Apr 21 10:59:00 UTC 2005
On Thu, 21 Apr 2005 at 5:56pm, Mark Quitoriano wrote
> the problem is i don't have physical access to the server so i can
> only upgrade it by apt-get.
>
That's not true. Grab the vmlinuz and initrd.img from images/pxeboot, put
them in /boot, and put an entry in /boot/grub/grub.conf that looks
something like this:
title reinstall
root (hd0,0)
kernel /boot/vmlinuz ks=hd:hda1:/ks.cfg ksdevice=eth0 ip=$IPADDRESS dns=$DNS_SERVER
initrd /boot/initrd.img
Then, put a kickstart file in /, make that entry the default, and reboot
the system. Wait a bit, and then ssh into the freshly installed system.
Without physical access, obviously, test your ks.cfg file well.
--
Joshua Baker-LePain
Department of Biomedical Engineering
Duke University
More information about the CentOS
mailing list