Peter Stuge wrote:
Karl Hiramoto wrote:
Does anyone know if this is possible, and if there are examples
anywhere on how to do it?
Not possible I think - you need a root device with a fully functional
filesystem. Maybe you can hack something up with UMSDOS (IIRC) but I
doubt it. If you need a CD, make a minimal initramfs which mounts
your ro filesystem using loopback.
Actually with a few more tries i got it to work, got busybox running now.
my iso9660 loop:
ls -la /mnt/tmp/dev/
total 8
drwxr-xr-x 3 root root 2048 2009-10-06 15:47 .
drwxr-xr-x 20 root root 4096 2009-10-07 20:11 ..
crw-rw-rw- 1 root root 5, 1 2009-10-07 20:11 console
lrwxrwxrwx 1 root root 8 2009-10-05 19:43 log -> /tmp/log
drwxr-xr-x 2 root root 2048 2009-10-05 19:43 pts
crw-rw-rw- 1 root root 4, 64 2009-10-07 20:11 ttyS0
crw-rw-rw- 1 root root 4, 65 2009-10-07 20:11 ttyS1
Thanks,
Karl