Hi again, and sorry for all these questions...
I'm booting the kernel build on Sep 2, and is with this kernel that mi server hangs at :
I follow your instructions:
Quote: |
reHi,
useing grub ?
-> please check your grub configuration:
on booting enter the grub config via the cmdline pressing the c, delete the "quit" on statement (if enabled) boot the system and n check the output ... maybe some hardware drivers missing ... in the initrd ?
Bye,
Thorsten
|
So booting without the "quiet" option, i got this :
Begin: Mounting root file system ... Begin: Running /scripts/local-top... done.
Begin: Waiting for root file system
ALERT! /dev/sda2 does not exist. Dropping to a shell!
here's my menu.lst :
## ## End Default Options ##
title Debian GNU/Linux, kernel 2.6.26-2-amd64
root (hd0,1)
kernel /boot/vmlinuz-2.6.26-2-amd64 root=/dev/sda2 ro quiet
initrd /boot/initrd.img-2.6.26-2-amd64
title Debian GNU/Linux, kernel 2.6.26-2-amd64 (single-user mode)
root (hd0,1)
kernel /boot/vmlinuz-2.6.26-2-amd64 root=/dev/sda2 ro single
initrd /boot/initrd.img-2.6.26-2-amd64
title Debian GNU/Linux, kernel 2.6.18-19-ovz-amd64
root (hd0,1)
kernel /boot/vmlinuz-2.6.18-19-ovz-amd64 root=/dev/sda2 ro
initrd /boot/initrd.img-2.6.18-19-ovz-amd64
title Debian GNU/Linux, kernel 2.6.18-19-ovz-amd64 (single-user mode)
root (hd0,1)
kernel /boot/vmlinuz-2.6.18-19-ovz-amd64 root=/dev/sda2 ro single
initrd /boot/initrd.img-2.6.18-19-ovz-amd64
### END DEBIAN AUTOMAGIC KERNELS LIST
As you can see, i have the same root device for the standar Debian Lenny installation that boot's well
Any idea?
** Edit **
With the Debian BusiBox I did a ls /dev there are only hdc, hdc1 and hdc2... nothing about sda.
Do you mis something about libata or the support for SCSI drivers when building the kernel ??
I modified my menu.lst to:
[...]
title Debian GNU/Linux, kernel 2.6.18-19-ovz-amd64
root (hd0,1)
kernel /boot/vmlinuz-2.6.18-19-ovz-amd64 root=/dev/hdc2 ro
initrd /boot/initrd.img-2.6.18-19-ovz-amd64
[...]
And it seems to work:
uname -a
Linux test-ovz-kernel 2.6.18-19-ovz-amd64 #1 SMP Wed Sep 2 18:12:15 UTC 2009 x86_64 GNU/Linux
Now my quesion is :
Will this work in my production servers ? they have 4 SATA hard disks in a RAID 5 3ware controller mounted as /dev/sda2 ?
[Updated on: Fri, 04 September 2009 12:20]
Report message to a moderator