Added IDE card, drive numbering screwed up

GyroTech gyrotech at freakinabox.com
Sun Jul 15 19:11:36 UTC 2007


> 
> OK, but that really isn't a solution.  Next time you change something, you
> could find yourself with the same problem (and if you're anything like me,
> you'll have to google for the solution again, because you won't remember
> how you fixed it).
> 
> The solution is to make fstab and grub recognize your partitions using UUID
> rather than /dev IDs.  

Ok, this sounds more promising.. I know under Ubuntu fstab uses UUIDs by 
default, or at least it does on my install since they are listed by UUID 
(at least / and swap are). So in my grub menu.lst, I just replace 
"kernel /boot/vmlinuz-2.6.17-11-generic root=/dev/hda1 ro quiet splash
" with "kernel /boot/vmlinuz-2.6.17-11-generic 
root=UUID=bdf12a57-958f-47d0-a976-2f8908de03a4 ro quiet splash"

But won't this get overwritten every time a new kernel comes down?? Is 
there a way to conf grub to always use uuids??

Thanks




More information about the ubuntu-users mailing list