> > On Friday 11 July 2008 06:39:53 am Masopust, Christian wrote: >> > > has anybody of you done a upgrade of RHEL4 to RHEL5 without booting >> > > form DVD?
Here is a short script I use to automatically add the appropriate files and grub entry to boot anaconda from an existing grub (for example EL4). Partially based on these: http://fedoraproject.org/wiki/FWN/Issue105#CDs.2C_DVDs_Or_Netboot_Oh_My.21 https://www.redhat.com/archives/fedora-devel-list/2007-October/msg00888.html #!/bin/sh mkdir -p /boot/pxeboot wget -P /boot/pxeboot/ http://kickstart.example.com/ks/el5/images/pxeboot/vmlinuz wget -P /boot/pxeboot/ http://kickstart.example.com/ks/el5/images/pxeboot/initrd.img grubby --add-kernel=/boot/pxeboot/vmlinuz \ --args="ks=http://kickstart.example.com/ks/server.cfg ksdevice=link ramdisk=32768" \ --make-default --title="reinstall" --initrd=/boot/pxeboot/initrd.img _______________________________________________ rhelv5-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/rhelv5-list
