1 |
I'm trying to make a live-cd based in gentoo, but I always get the error |
2 |
message while booting the cd: |
3 |
|
4 |
---Mounting compressed loopback filesystem |
5 |
Using /modules/cloop.o |
6 |
mount: Mounting /dev/cloop on /newroot/mnt/cloop failed:Invalid argument |
7 |
---Copying and symlinking files from CD to populate / |
8 |
cp: etc: No such file or directory |
9 |
cp: root: No such file or directory |
10 |
cp: home: No such file or directory |
11 |
cp: var: No such file or directory |
12 |
---Switching to tmpfs root filesystem |
13 |
exec: chroot: no such file or directory |
14 |
Kernel panic: Attempted to kill init! |
15 |
|
16 |
Those are the steps I follow to make the live-cd: |
17 |
|
18 |
1.- I install a gentoo distro in a partition (in my case /dev/hdb5) |
19 |
merging the system and so on, from my distro (a gentoo 1.4-rc3). |
20 |
|
21 |
2.- I use mkisofs to make the iso from my new system partition, like |
22 |
that: |
23 |
|
24 |
mkisofs -R -L -allow-multidot -l -o /mnt/iso/livecd.iso -v /genesis/ |
25 |
|
26 |
(where /genesis is the mount point of the new distro partition |
27 |
/dev/hdb5). |
28 |
|
29 |
3.- Next I compress it using cloop-0.68 (I have also proved with other |
30 |
0.x and 1.x versions as well): |
31 |
|
32 |
./create_compressed_fs /mnt/iso/livecd.iso 65536 > |
33 |
/mnt/master/livecd.cloop |
34 |
|
35 |
(/mnt/master is the directory of the final cd image). |
36 |
I have also tried with 32768 instead of 65536. |
37 |
|
38 |
4.- The I use the /isolinux directory of the Gentoo live-cd 1.4_RC4 |
39 |
copying it to the /mnt/master directory with the livecd.cloop and make |
40 |
the final iso of the live-cd: |
41 |
|
42 |
mkisofs -l -r -J -V "livecd" -hide-rr-moved -v -b isolinux/isolinux.bin |
43 |
-c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -o |
44 |
/mnt/iso/livecd.iso /mnt/master/ |
45 |
|
46 |
5.- Then I burn that iso onto a cd: |
47 |
|
48 |
cdrecord -v speed=16 driveropts=burnfree dev=1,0 /mnt/iso/livecd.iso |
49 |
|
50 |
And when I boot from that cd I get the error message I put on the top. |
51 |
|
52 |
Anybody knows what I'm doing wrong? |
53 |
Thanks, and sorry if this mail is so long. |
54 |
|
55 |
Alberto Romero |
56 |
|
57 |
|
58 |
|
59 |
|
60 |
-- |
61 |
gentoo-dev@g.o mailing list |