:: Re: [DNG] Unofficial Devuan live im…
Startseite
Nachricht löschen
Nachricht beantworten
Autor: KatolaZ
Datum:  
To: Didier Kryn
CC: dng
Betreff: Re: [DNG] Unofficial Devuan live images
On Sat, May 14, 2016 at 10:21:39AM +0200, Didier Kryn wrote:
> Le 13/05/2016 22:39, KatolaZ a écrit :
> >On Fri, May 13, 2016 at 07:31:28PM +0100, KatolaZ wrote:
> >
> >[cut]
> >
> >>Steve, I cannot (and I don't want to) make any assumption on behalf of
> >>potential users of a minimal live system :) The initramfs contains all
> >>the modules shipped with the standard Devuan kernel, that's why it is
> >>so fat. In fact, "du -ch /lib/modules/`uname -r`/kernel" says that
> >>those sum up to 159 MB, which account for most of the space required
> >>by the initramfs.
> >>
> >Anyway, I have just started working on stripping down the
> >initramfs. This will probably go on an "experimental" branch, and I
> >will need people to test the resulting images on as many hw
> >configurations as possible. I will keep you posted, hopefully with
> >good news :)
> >
> >HND
> >
> >KatolaZ
>
>     If the live OS is running only in the initramfs, then it is
> necessary to keep all the modules. If it is running from a partition
> of the USB stick, then the only modules needed in the initramfs are
> those necessary to mount the partition of the USB stick.

>


That's correct. The system mounts a squashfs in the
usbstick/cdrom. The proble is that the modules necessary to mount the
partition in the USB stick (or cdrom) amount to several dozens, since
you have to support all the controllers, plus a few fs types.

I believe that another problem is that the default initrd created by
initramfs-tools include a lot of useless programs (most of them will
be needed only if something goes terribly wrong on boot) so we can
trim more fat on that side.

Thanks for the feedback. I'll keep you posted.

HND

KatolaZ

--
[ Enzo Nicosia aka KatolaZ --- GLUG Catania -- Freaknet Medialab ]
[ me [at] katolaz.homeunix.net -- http://katolaz.homeunix.net -- ]
[ GNU/Linux User:#325780/ICQ UIN: #258332181/GPG key ID 0B5F062F ]
[ Fingerprint: 8E59 D6AA 445E FDB4 A153 3D5A 5F20 B3AE 0B5F 062F ]