public inbox for gentoo-embedded@lists.gentoo.org
 help / color / mirror / Atom feed
From: Karl Hiramoto <karl@hiramoto.org>
To: gentoo-embedded@lists.gentoo.org
Subject: Re: [gentoo-embedded] bootable iso9660 CD without initrd
Date: Wed, 07 Oct 2009 20:53:55 +0200	[thread overview]
Message-ID: <4ACCE3C3.6020802@hiramoto.org> (raw)
In-Reply-To: <20091007173744.20059.qmail@stuge.se>

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



      reply	other threads:[~2009-10-07 18:53 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4ACCE3C3.6020802@hiramoto.org \
    --to=karl@hiramoto.org \
    --cc=gentoo-embedded@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox