Re: Debian AMD64 boots only at random: how to use labels/fstab/grub



On 9/29/06, Joost Kraaijeveld <J.Kraaijeveld@xxxxxxxxxx> wrote:
Hi,

After an update of my kernel to 2.6.17 my machine only boots at random.
I have googled for a solution and it appears that it happens because of
the way the harddisks are found during startup . The solution described
involves using lables in fstab and grub (menu.lst).

But whatever I do, I cannot find a way to add labels in my fstab an grub
that actually work. Can anyone tell me what I have to do to make my
machine boot reliable using labels with fstab/grub? I have tried to add
labels to both fstab and menu.lst but a reboot failed miserably....

Excerpt from my menu.lst

title Debian GNU/Linux, kernel 2.6.17-2-amd64
root (hd0,0)
kernel /boot/vmlinuz-2.6.17-2-amd64 root=/dev/sda1 ro
initrd /boot/initrd.img-2.6.17-2-amd64
savedefault


My fstab:

# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/sda1 / ext3 defaults,errors=remount-ro 0 1
/dev/sdb1 /var ext3 defaults 0 2
/dev/sdc1 /home xfs defaults 0 2
/dev/sdc2 /pgdata xfs defaults 0 2
/dev/sda5 none swap sw 0 0
/dev/hdc /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0

I also meet this problem and I use another solution. in CMOS, I
disable the IT821x(?), then the disk number will not change again.

--
LI Daobing


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Debian AMD64 boots only at random: how to use labels/fstab/grub
    ... After an update of my kernel to 2.6.17 my machine only boots at random. ... I cannot find a way to add labels in my fstab an grub ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: A FC6 suggestion.
    ... interesting suggestion that I think the Fedora people should consider. ... He points out the problem of associating entries in the fstab file with ... I've had 3 single Fedora installations on single drive ... think in Anaconda the labels will start shifting to /1, /2, /home1 ...
    (Fedora)
  • Re: What is this "root=LABEL=/" stuff?
    ... my partition was labeled "/" and didn't work ... Perhaps a change in fstab? ... > Does anyone know what kernel option allows the kernel to recognise ... > partition labels? ...
    (RedHat)
  • Re: dd problems.
    ... fstab and they are normal now. ... I wonder if the file system is ok on the New Hard Drive? ... You can get this confusion when you use labels in your grub config ... and/or fstab and the disks have more than one partition using the same ...
    (Fedora)
  • Re: A FC6 suggestion.
    ... interesting suggestion that I think the Fedora people should consider. ... He points out the problem of associating entries in the fstab file with ... think in Anaconda the labels will start shifting to /1, /2, /home1 ...
    (Fedora)