1 |
Raffaele BELARDI wrote: |
2 |
... |
3 |
> The kernel starts to load, but panics because it is unable to find the |
4 |
> root partition. When it stops it shows the available partitions, these |
5 |
> include all the hard disk partitions but no USB key partition. In fact, |
6 |
> if I omit the 'root' parameter from the grub shell the boot works fine |
7 |
> but it uses the hard disk root partition instead of the USB one. |
8 |
|
9 |
You may want to look at specifying root by it's UUID. This will prevent |
10 |
issues like the USB drive being /dev/sdg on one machine, /dev/sdb on |
11 |
another, and on reboot it all changing because the drives were detected |
12 |
in a different order. |
13 |
|
14 |
>>From the log on the screen the USB controller seems correctly detected, |
15 |
> so I don't understand why it is not finding the root. While writing this |
16 |
> one idea comes to my mind, maybe it is failing because I attach the key |
17 |
> to a SDC/MMC/USB card reader? This evening I'll try to plug it into a |
18 |
> different USB slot. |
19 |
|
20 |
In the past, instead of 'rootdelay=', I add a wait to the init script, eg: |
21 |
|
22 |
while [ ! -e /dev/disk/by-uuid/1234-abcd-45gf-0659 ] |
23 |
do |
24 |
sleep 0.1 |
25 |
done |
26 |
|
27 |
|
28 |
hth, |
29 |
|
30 |
Jason. |
31 |
-- |
32 |
gentoo-amd64@l.g.o mailing list |