On Friday 27 August 2010 17:57:01 Bill Longman wrote: > On 08/27/2010 01:10 AM, J. Roeleveld wrote: > > On Friday 27 August 2010 09:49:41 Nikos Chantziaras wrote: > >> Anyway, make sure you have a bootable Linux CD/DVD handy. That way, you > >> won't be able to blow anything up and can boot from it in order to > >> change your /etc/fstab and grub conf. > > > > Alternatively, give your partitions Labels and reconfigure /etc/fstab to > > use those. > > Then you don't have to worry about the changes to the device-names. > > I second Joost's recommendation. I don't think you can use labels on the > kernel command line, so your grub will have to know for sure which > device to boot.
Actually, you can: http://www.ibm.com/developerworks/linux/library/l-boot-rootfs/index.html (Read the section below "Use a label"): fstab: LABEL=ROOT / ext3 defaults 1 1 LABEL=BOOT /boot ext3 defaults 1 2 LABEL=SWAP swap swap defaults 0 0 LABEL=HOME /home ext3 nosuid,auto 1 2 grub: title Linux root (hd0,0) kernel (hd0,0)/vmlinuz ro root=LABEL=ROOT rhgb quiet initrd (hd0,0)/initrd-2.x.x-xx.img Not tested it myself yet, but I think this doesn't require special patches :) -- Joost