Would it be possible to put the image of the root filesystem in a DOS file
placed on a DOS-formatted CF? The boot would be done with syslinux through
an initrd mechanism, and the image would then be mounted with "-o loop" to
"/" before the pivot_root. This would make it very easy to extend to USB
flashdisks (most of which support DOS booting much more smoothly than
ext2fs booting), while preserving the read/write capability to flash
memory, and therefore the persistence of the changes made when Linux is
running. There would be a slight impact on disk I/O performances, but this
hardly matters to applications normally run on Astlinux (nobody will ever
install there a MySQL server...)

Cheers --

Enzo

----- Original Message ----- 
From: "Kristian Kielhofner" <[EMAIL PROTECTED]>
To: "Discussion of AstLinux - Asterisk on Compact Flash"
<[EMAIL PROTECTED]>
Sent: Tuesday, April 11, 2006 10:14 PM
Subject: Re: [Astlinux-users] boot image for CF card


> voipwala hindustani wrote:
> > Hello Astlinux experts,
> >
> >         Forgive me if this is a very trivial question.
> >
> >         I am trying to build the astlinux using the new build
> > environment and then plan to write this to a CF card as bootable
astlinux.
> >         I was able to do the build by copying astlinux.config as
.config
> > and compiling the stuff.
> >         Now my problem is. how do i create the CF image.
> >         I tried by selecting ext2 as filesystem for target device in
the
> > "make menuconfig" GUI and then I got rootfs.i586.ext2. Then I wrote
this
> > to a flash card using DiskImg utility. But this CF card is unable to
> > boot. But when I try to directly download the geni586.img for the
flash
> > card from the site for Astlinux 0.3 and write it to flash card using
> > DiskImg, then it is bootable and had no problems.
> >
> >         But I need the flexibility of building this myself in order to
> > add some more packages...What am i missing in creating CF image ?
> >
> >         Thank you very much in advance.
> >
> > Regards
> > voipwala
> >
>
> voipwala,
>
> This is what we need!  The image will need to be fixed up a little
> (symlinks, permission fixes, etc) but we need to create an actual
> CF/disk image and install GRUB on it.  We can then place the files from
> build_i586/root in it.
>
> --
> Kristian Kielhofner
> _______________________________________________
> Astlinux-users mailing list
> [email protected]
> http://lists.kriscompanies.com/mailman/listinfo/astlinux-users
>
> Donations to support AstLinux are graciously accepted via PayPal to
[EMAIL PROTECTED]
>

_______________________________________________
Astlinux-users mailing list
[email protected]
http://lists.kriscompanies.com/mailman/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to [EMAIL 
PROTECTED]

Reply via email to