:: Re: [DNG] Unofficial Devuan live im…
Góra strony
Delete this message
Reply to this message
Autor: David Hare
Data:  
Dla: dng
CC: Rainer Weikusat
Temat: Re: [DNG] Unofficial Devuan live images
Interesting experiment..

I repacked fsr's iso (otherwise unmodified) using the initrd from the
devuan-minimal-beta. That initrd was also repacked and xz-compressed
(now 8.5MB).

I booted it "findiso" (from iso file on an ext4 partition) with a
"live-hook" script, which automatically loads my specific wlan
firmware and autoconnect configs.

It booted a fully functional XFCE4 in seconds. Everything seems to
work, posting from it right now.

Sometimes I use a FAT-formatted USB similarly, sometimes with a LUKS
persistence file. Obviously, initramfs must be able to access
filesystems other than iso9660 to do that.

D

On 20 May 2016 at 09:56, Didier Kryn <kryn@???> wrote:
> Le 19/05/2016 21:14, Rainer Weikusat a écrit :
>>
>> [I already strongly suspected the below but didn't want to write about
>> it until I had a chance to test]
>>
>> THe initramfs doesn't need to include all the modules belonging to the
>> kernel, just those which are needed to mount the real root filesystem
>> (containing the remaining driver modules). This would mean all
>> filesystems and storage device drivers you want to support but, eg, no
>> networking modules (nfsroot sounds like an implausible feature for a
>> live image).
>
>
>     If you mean to run your live system with the cdrom as the root
> filesystem, then the only drivers you need during the initramfs phase are
> those needed to mount the cdrom, ie the iso9660 filesystem and the drivers
> needed to access the cdrom, which includes the USB stack in case of a
> separate cdrom drive.

>
>      Actually, either you keep the stock kernel and put only the few modules
> you need in the initramfs, or you configure your kernel build to have all
> these drivers and filesystem statically linked and you don't even need an
> initramfs at all.

>
>     Didier

>
>
> _______________________________________________
> Dng mailing list
> Dng@???
> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng