Problem on initialization
Hi, i`ve succesfully installed Slackware 12.1 on a external USB hard drive. It is located at /dev/sdb1. But when I try to boot it cannot find the correct partition.
Have you ever had such a problem ? what should be the solution for it ? At the boot time it changes the partition name or it needs more time to recognize the the sdb1 partition ? Here are the boot prompt and my lilo.conf : Code:
VFS : Cannot open root device "811" or unknown block(8,17) Code:
# LILO configuration file |
You may need to recompile the kernel with usb support built-in or use an initrd with the usb modules into it
For now you can boot to your Slackware system with the install CD You need: USB Mass Storage support and EHCI HCD (USB 2.0) support, as built in or in a initrd (assuming external HD is connected on USB 2.0 port) The SCSI config seems ok as the kernel 'sees' sda1 |
I think you need to use rootdelay in your boot options -looks like the usb driver is not ahving enough time to initialize since sdb1 is not seen.
|
Simple adding rootdelay in lilo.conf the problem remains.
If I understood it right, the solution is to add "sleep" in linuxrc (at initrd), but as you can see, my lilo doesn`t call initrd and I have no initrd.gz at /boot. |
Putting a sleep in the linuxrc is the old way of solving that part of the problem. The rrotdelay option lets you do that without an initrd. How many seconds are you using there?
And which kernel are you using? Is it a custom-compiled or which Slackware kernel are you trying? |
I have already tried rootdelay=10 and rootdelay=100, both didn`t work.
the Kernel i`m using is vmlinuz-huge-smp-2.6.24.5-smp |
Ok, what does your fstab look like for that drive?
|
The fstab have a entry for sdb1.
Code:
/dev/sdb1 / ext2 defaults 1 1 |
Does anyone have idea how to solve this problem ?
Is this possible to boot Slackware from an External USB Hard Drive ? |
On which partition is your kernel located?
|
Quote:
|
I know this may be not really usefull but just in case,
did you try add ' append = rootwait ' option instead of ' append = rootdelay=100 ' ? Also you run lilo after editing lilo.conf, right ? How do you do that, you boot from live CD, edit /mnt/etc/lilo.conf and run lilo /dev/sda ? |
Shouldn't the boot line of /etc/lilo.conf read
boot=/dev/sdb samac |
Been there, done that..
I have solved this problem by using a more advanced initrd.
The initrd waits and searches for the correct partition before mounting. See my wiki for details.. http://linuxconfig.dyndns.org:1184/l...vable_USB_disk |
Man, thanks for sharing your wiki :) There are valuable infos here!
So you use blkid (with libblkid.so.1) in init script to grep LABEL infos from partition device, there was a thread about this problem some times ago... |
All times are GMT -5. The time now is 10:22 AM. |