Hi Mert,
> > (...)
> >
> > (cd ~/lbinitrd/binary; echo live$'\n'live/filesystem.squashfs | \
> > cpio -o -H newc) | gzip --fast > filesystem.cpio.gz
> >
> > (...)
> (...)
>
> It shouldn't be necessary to add the whole live directory explicitly
> unless you need some other files inside there
On 05/22/2017 04:37 PM, Daniel Lindgren wrote:
Hi Lukas,
I just tried it and it seems like it's necessary to add the live folder
explicitly to the cpio archive, i.e.:
(cd ~/lbinitrd/binary; echo live$'\n'live/filesystem.squashfs | \
cpio -o -H newc) | gzip --fast > f
Hi Mert,
I already do this for quite some time and this is roughly the code I
>> use:
>>
>> echo live/filesystem.squashfs | cpio -o -H newc | gzip -1 >
>> $live_initrd
>> cat $org_initrd $live_initrd > $new_initrd
>>
>
> Sorry I've missed a crucial step:
>
> - A
Hi Lukas,
I just tried it and it seems like it's necessary to add the live folder
> explicitly to the cpio archive, i.e.:
>
> (cd ~/lbinitrd/binary; echo live$'\n'live/filesystem.squashfs | \
> cpio -o -H newc) | gzip --fast > filesystem.cpio.gz
>
>
>
That did the trick, successful boo
On 05/22/2017 09:54 AM, Daniel Lindgren wrote:
Hi Mert,
live-boot initramfs hooks check the /live/filesystem.squashfs file
by default. And you can add files to initramfs simply by appending
it to the existing file (no need to unpack & repack).
I already do this for quite some t
Hi Daniel,
On Mon, 22 May 2017 08:58:21 +0200
Daniel Lindgren wrote:
> > > At boot I get an error message, "(initramfs) Unable to find a
> > > medium containing a live file system". I'm guessing that the
> > > contents of the appended cpio archive isn't added to the
> > > initramfs.
> >
> > If
Hi Lukas,
> Mostly, except that the path to filesystem.squashfs in the initrd will
> not be correct. Something like this should yield the correct path:
>
> (cd ~/lbinitrd/binary; echo live/filesystem.squashfs | cpio -o -H
> newc) | \
> gzip --fast > filesystem.cpio.gz
>
> I would bot
Hi Mert,
> live-boot initramfs hooks check the /live/filesystem.squashfs file by
> default. And you can add files to initramfs simply by appending it to the
> existing file (no need to unpack & repack).
>
> I already do this for quite some time and this is roughly the code I use:
>
> echo
On 05/18/2017 03:12 PM, Daniel Lindgren wrote:
Hi.
A couple of years ago I found a need for using initrd as livefs_root, I
sent a patch but it wasn't accepted (see
https://lists.debian.org/debian-live/2014/09/msg00080.html).
Since then I've used live-build in Debian 7 to build images
Hi Daniel,
On Fri, 19 May 2017 11:50:35 +0200
Daniel Lindgren wrote:
> Option 2 sounds like an elegant solution. I tried it but it didn't
> seem to work, I did this (after building images with live-build in
> ~/lbinitrd):
>
> echo ~/lbinitrd/binary/live/filesystem.squashfs | cpio -o -H newc | gz
Hi Lukas,
I suggest you create an additional cpio archive (newc format) which
> just contains the filesystem.squashfs file (in the appropriate folder)
> and nothing else.
>
> Now you have multiple options:
>
> 1. Most bootloaders have an option of specifying more than one file as
>initramfs;
Hi Daniel,
On Thu, 18 May 2017 14:12:46 +0200
Daniel Lindgren wrote:
> Since then I've used live-build in Debian 7 to build images, manually
> unpacked initrd.img, added filesystem.squashfs and repacked
> initrd.img.
> (...)
> I installed Debian 8.8 and tried to use the same method as before,
>
Hi.
A couple of years ago I found a need for using initrd as livefs_root, I
sent a patch but it wasn't accepted (see
https://lists.debian.org/debian-live/2014/09/msg00080.html).
Since then I've used live-build in Debian 7 to build images, manually
unpacked initrd.img, added filesyste
13 matches
Mail list logo