Gentoo Archives: gentoo-embedded

From: Karl Hiramoto <karl@××××××××.org>
To: gentoo-embedded@l.g.o
Subject: Re: [gentoo-embedded] bootable iso9660 CD without initrd
Date: Wed, 07 Oct 2009 18:53:59
Message-Id: 4ACCE3C3.6020802@hiramoto.org
In Reply to: Re: [gentoo-embedded] bootable iso9660 CD without initrd by Peter Stuge
1 Peter Stuge wrote:
2 > Karl Hiramoto wrote:
3 >
4 >> Does anyone know if this is possible, and if there are examples
5 >> anywhere on how to do it?
6 >>
7 >
8 > Not possible I think - you need a root device with a fully functional
9 > filesystem. Maybe you can hack something up with UMSDOS (IIRC) but I
10 > doubt it. If you need a CD, make a minimal initramfs which mounts
11 > your ro filesystem using loopback.
12
13 Actually with a few more tries i got it to work, got busybox running now.
14
15 my iso9660 loop:
16
17 ls -la /mnt/tmp/dev/
18 total 8
19 drwxr-xr-x 3 root root 2048 2009-10-06 15:47 .
20 drwxr-xr-x 20 root root 4096 2009-10-07 20:11 ..
21 crw-rw-rw- 1 root root 5, 1 2009-10-07 20:11 console
22 lrwxrwxrwx 1 root root 8 2009-10-05 19:43 log -> /tmp/log
23 drwxr-xr-x 2 root root 2048 2009-10-05 19:43 pts
24 crw-rw-rw- 1 root root 4, 64 2009-10-07 20:11 ttyS0
25 crw-rw-rw- 1 root root 4, 65 2009-10-07 20:11 ttyS1
26
27
28 Thanks,
29
30 Karl