Ask your questions here.
Post a reply

Re: refractainstaller error / no boot / - virtualbox

Tue Jul 28, 2015 4:01 am

Did you get this question when you made the snapshots, and did you answer "yes" one time and "no" the other time?
"It looks like you need to patch /usr/share/initramfs-tools/init
If you want to continue without patching, you must
set patch_init_nosystemd to no in the config file.
If you don't patch init, your iso will probably not boot."


What does 'ls -l /sbin/init' show? Is it a symbolic link? And is it the same on both installations?

Try commenting out the extra lines in /usr/share/initramfs-tools/init and run 'update-initramfs -u' again.
Code:
   mount -n -o move /sys ${rootmnt}/sys
   #nuke /sys
   #ln -s ${rootmnt}/sys /sys
   mount -n -o move /proc ${rootmnt}/proc
   #nuke /proc
   #ln -s ${rootmnt}/proc /proc"


I may need to change the test that decides whether the patch is needed or not.

Edit: I didn't see anything obvious in the package lists.

Re: refractainstaller error / no boot / - virtualbox

Tue Jul 28, 2015 11:24 am

patching question appeared sometimes (cant remember exactly when and where), regarding to the previous "bad" example, it didnt matter if nuke lines was there or not. also did a minimal netinstall, in that case no patching question and no nuke lines too.

ls -l /sbin/init seems to be link everywhere to /lib/systemd/systemd

im gonna try to replicate the "good" example (crunchbang++ iirc), i suspect that there might be something related to root account and maybe disabling installing recommended packages

Re: refractainstaller error / no boot / - virtualbox

Tue Jul 28, 2015 1:24 pm

The test for running the patch first checks to see if /sbin/init is a symlink, and if it is, the next test runs and checks the version of util-linux. If util-linux is 2.25 or newer, you get asked to run the patch. So, if systemd is installed, you shouldn't be asked to run the patch.

The reason the patch was added was because the isos weren't booting with util-linux 2.25 unless systemd was installed. Installing just the systemd libs wasn't enough.

Installing without recommends shouldn't be a problem, but I could be wrong. Refracta (the live isos) are built without installing recommends.

The only special thing I had to do with crunchbang the one time I tested it was to create symlinks /vmlinuz and /initrd.img.
refracta-installer-and-snapshot-used-on-other-distros-t111-40.html#p2650
Post a reply