[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#353299: daily usb stick install causes grub to try to boot from /dev/sdb



root <root@hed040-237.research.nokia.com> said:

> During the install, the usb stick was considered
> /dev/sda, while the SATA harddrive was /dev/sdb. Everything worked
> fine until the first boot, in which the usb stick was removed, and
> the SATA hard drive became /dev/sda, which grub did not expect. Also
> the fstab was referring to /dev/sdb.

I ran into this too. I don't think the installer can do much if BIOS renumbers 
the disks, but it could make sure that GRUB is in fact installed on the right 
disk, and it could use LABEL or UUID by default to identify partitions 
in /etc/fstab. It might also display a warning when it finds that the 
installation medium is /dev/sda-something and the target medium 
is /dev/sd-something-else, perhaps even asking the user if the device numbers 
in /boot/grub/menu.lst should be decremented by one.

-- 
Magnus Holmgren        holmgren@lysator.liu.se
                       (No Cc of list mail needed, thanks)

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: