1 |
Le Thu, 23 Jun 2005 09:14:07 -0400, Chris Gianelloni a écrit : |
2 |
|
3 |
> Copy the contents of the CD to the USB key and it'll boot. You just |
4 |
> have to use cdroot=/dev/sda1 (or wherever your key is). |
5 |
|
6 |
Ok, I've got it now. |
7 |
But I had to search a lot. |
8 |
First, I had of course to put a grub on the usb key. |
9 |
Then, to had a rootdelay= option for the boot wait to my usb key. |
10 |
But, it was no sufficient because, I don't know why, but udev doesn't |
11 |
create /dev/sda and /dev/sda1 |
12 |
(runUdev in /linuxrc) |
13 |
|
14 |
(something strange, udevstart which is in /bin is called by |
15 |
/sbin/udevstart in /etc/initrd.scripts but modifying it never change for |
16 |
/dev/sdaX) |
17 |
|
18 |
I had to add : |
19 |
################### FOR USB BOOT ################################### |
20 |
echo -e "${WARN}>>${NORMAL}${BOLD} We must hard create device nodes" |
21 |
/usr/bin/mknod /newroot/dev/sda b 8 0 |
22 |
/usr/bin/mknod /newroot/dev/sda1 b 8 1 |
23 |
################### END FOR USB BOOT ############################### |
24 |
|
25 |
before bootstrapCD in /linuxrc |
26 |
|
27 |
Now it works, but no really so simple as just copying files from iso to |
28 |
usb key. |
29 |
I'll put that img on my site soon if somebody is interested... |
30 |
|
31 |
-- |
32 |
Christophe PEREZ |
33 |
-- |
34 |
gentoo-catalyst@g.o mailing list |