On Wed, 2009-05-27 at 20:49 -0400, Chris Ball wrote:
Hi Mikus,
> I did the zcat 20090525.bootable.gz > /dev/sdf1 (USB stick).
> That USB stick failed to boot on the XO. The messages from OFW
> were "Error: Unknown file system Can't open disk label package"
I think that's because you should have used /dev/sdf, not /dev/sdf1.
Using /dev/sdf1 fails to copy over the correct partition table to
the start of the disk.
> After the XO had completed rebooting (in the process, it reloaded
> its root filesystem from the USB stick), the changes I had
> previously made were NOT there.
You're right -- I think the persistence only applies to NAND images
generated with livecd-iso-to-xo at the moment. Does anyone have
suggestions for how to go from a livecd ISO to an ext3 build that
doesn't involve a squashfs/ext3 image, and just puts the files in
place on the image directly?
Isn't that what image-creator is used for? Martin is using that with a
script to mount a yum repo to create XS-on-OX ext3 images. Have a look
at:
http://dev.laptop.org/git/projects/xs-livecd/tree/util/mkext3img
livecd-iso-to-xo already knows how to mount the ISO and then call
mkfs.jffs2 on the root dir, so we need to work out how to do a similar
thing but using mkfs.ext3: going from a root dir to a disk image file
that contains a partition table/bootloader/directory tree in ext3.
Any ideas? Thanks,
Jerry