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

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

On 9/29/06, Joost Kraaijeveld <J.Kraaijeveld@askesis.nl> wrote:

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

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

Reply to: