Re: [cooking] booting loram-cdrom on usb ( was: [cooking] various boot modes, successes and failures) |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/slitaz Archives
]
- To: slitaz@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [cooking] booting loram-cdrom on usb ( was: [cooking] various boot modes, successes and failures)
- From: Indigo <pointofavailability@xxxxxxxxx>
- Date: Tue, 28 Dec 2010 19:24:19 -0800
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=DNbAPO1amVAsaj8fgW2wsMUhKXdLLWEdop1rNyzslSw=; b=vXobh1q8LcsEnJJMvedczqpL+yTuvfzoF2ttDW2sS4mj1ycikwGEaWZ2r4yzFdJPnH UeXih83ORRL+9pXeqGxI8dUZux0Y5Ogu7kfL2KV1vgzy22TiBA29I7eiAQ+0NPd1LTAk vXiTPQRH+KwC60a116wNRDKogA4WGrJbKZXYQ=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=E/4CyptcbgNiMnKECT3kh+8yFwXDXcgut/KNCLysBF8Az9fcXt/l+4C4H7zl5bjrCY WeA++y6H8uM8qxXVLg7aNmM1CiAU/sWqjKjw9fxSnmI08vUomLh41tGs4JEbmmsAoKR+ BgL68ue/GBYR4rOkb7J1s7TPFDGJWXP9jviKY=
Philippe --
here is a link you might like - HOWTO: VirtualBox USB Testing on Linux Host
How to expose your USB to VirtualBox on Linux Host
http://www.hak5.org/forums/index.php?showtopic=15664
And it's written by a Slitaz user, too!
On Tue, Dec 28, 2010 at 12:52 PM, <pascal.bellard@xxxxxxxxxx> wrote:
>> On 28/12/2010 19:51, Philippe Lelédy wrote:
>>> I will try "keep-loram" which means "don't copy roofs.gz in RAM".
>>>
>>
>> It does work.
>>
>> cat /proc/cmdline
>> initrd=../initfs-lz-330LC keep-loram loram=LABEL=p1-liveOSs
>>
>> mount
>> rootfs on / type rootfs (rw)
>> tmpfs on /mnt type tmpfs (rw,relatime,size=454112k)
>> /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=3eb61ca6)
>>
>> sudo losetup
>> /dev/loop0: 0 /mnt/.cdrom/rootfs.gz
>>
>> At last, I have now, with only one system, the choice, like I had with
>> Slax: if enough RAM, compressed FS is copied in RAM, if not it's remains
>> on USB. Without this feature, it would have been impossible to add more
>> packages.
>
> The root filesystem is *always* writeable thanks to aufs.
>
>> Next feature request: this is like loram-ram is no more useful because
>> loram-smallcdrom provides the same functionality + the ability to run
>> from the usb; perhaps it's time to merge with the third way of booting:
>> it should be possible to expand the squashfs.xz and obtains the same
>> functionality as RAM mode. Should unsquashfs be more expensive than
>> unlzma done by kernel.
>
> Why ? / is writeable and files under / look *exactly* like a filesystem
> uncompressed by then kernel unlzma.
>
>> BTW, why speak of loram as flavors ?. They are not flavors, but
>> variations about the way to use storage.
>
> Because pre 3.0 loram was flavors only
> (http://hg.slitaz.org/flavors/file/tip, squashed /usr + optional aufs).
> Now we have tazlitobox flavors too (squashed / + aufs).
>
> -pascal
>
>
> ---
> SliTaz GNU/Linux Mailing list - http://www.slitaz.org/
>
>
---
SliTaz GNU/Linux Mailing list - http://www.slitaz.org/