* [gentoo-embedded] bootable iso9660 CD without initrd
@ 2009-10-07 17:29 Karl Hiramoto
2009-10-07 17:37 ` Peter Stuge
0 siblings, 1 reply; 3+ messages in thread
From: Karl Hiramoto @ 2009-10-07 17:29 UTC (permalink / raw
To: gentoo-embedded
Hi,
I'm trying to prototype & demo a x86 embedded system on a virtual
machine with a RO root file system. I thought of making a bootable CD
to do it. I'm trying to do it without a initrd to keep the footprint to
a minimum, the kernel boots but getting the error of init unable to open
the initial console. I suspect the problem is that iso9660 can not
store /dev/console correctly as a character device.
Does anyone know if this is possible, and if there are examples anywhere
on how to do it?
Thanks.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-embedded] bootable iso9660 CD without initrd
2009-10-07 17:29 [gentoo-embedded] bootable iso9660 CD without initrd Karl Hiramoto
@ 2009-10-07 17:37 ` Peter Stuge
2009-10-07 18:53 ` Karl Hiramoto
0 siblings, 1 reply; 3+ messages in thread
From: Peter Stuge @ 2009-10-07 17:37 UTC (permalink / raw
To: gentoo-embedded
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.
//Peter
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-embedded] bootable iso9660 CD without initrd
2009-10-07 17:37 ` Peter Stuge
@ 2009-10-07 18:53 ` Karl Hiramoto
0 siblings, 0 replies; 3+ messages in thread
From: Karl Hiramoto @ 2009-10-07 18:53 UTC (permalink / raw
To: gentoo-embedded
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-10-07 18:53 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-07 17:29 [gentoo-embedded] bootable iso9660 CD without initrd Karl Hiramoto
2009-10-07 17:37 ` Peter Stuge
2009-10-07 18:53 ` Karl Hiramoto
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox