Re: [cooking] booting loram-cdrom on usb

[ Thread Index | Date Index | More lists.tuxfamily.org/slitaz Archives ]


On 29/12/2010 15:00, Philippe Lelédy wrote:
On 28/12/2010 21:18, pascal.bellard@xxxxxxxxxx wrote:
On 28/12/2010 19:51, Philippe Lelédy wrote:
Unfortunately, on my loram*small*cdrom-usb, I can't use
loram=<device>,<dir>  because tazlito's initfs does use<dir>  only to
find /fs which is uncompressed ( and I don't want !) but not rootfs.gz,
My path was obviously wrong. Instead of
+path=/mnt/.cdrom/$DIR

it is

+path=/mnt/.cdrom/\$DIR

However, if it fits my needs (smallcdrom only), more work may be required for general availability.

I am very glad with the result, here it is:

cat /proc/cmdline
initrd=../initfs-lz-330LCR keep-loram loram=LABEL=p1-liveOSs,liveOSs/slitaz-cooking/phl/sqfs/

Beware, the last / is *mandatory* !

mount
/dev/sdb3 on /mnt/.cdrom type ext2 (ro,relatime,barrier=1,data=writeback)
/dev/loop0 on /mnt/.fs.gz type squashfs (ro,relatime)
none on / type aufs (rw,relatime,si=b1db3d17)

cat /sys/fs/aufs/si_b1db3d17/br1
/mnt/.fs.gz=rr

losetup
/dev/loop0: 0 /mnt/.cdrom/liveOSs/slitaz-cooking/phl/sqfs/rootfs.gz

/dev/disk/by-label/p1-liveOSs -> ../../sdb3.

I can now incorporate liveSliTaz has a choice on my multiLiveOS USB *under it's own directory*, as I am used to all others.

Thks SliTaz devs, specially to pascal.

Ph.L.





---
SliTaz GNU/Linux Mailing list - http://www.slitaz.org/


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/