# refracta.freeforums.org

place to talk about refracta

Skip to content

Welcome
Welcome to refracta You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. In addition, registered members also see less advertisements. Registration is fast, simple, and absolutely free, so please, join our community today!

## refractainstaller error / no boot / - virtualbox

Ask your questions here.
Post a reply
13 posts • Page 2 of 2 • 1, 2

### Re: refractainstaller error / no boot / - virtualbox

by fsmithred » 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: Select all
  `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.

fsmithred
  Posts: 2101
  Joined: Wed Mar 09, 2011 9:13 pm

Top

### Re: refractainstaller error / no boot / - virtualbox

by ultimatelinuxhaxxor » 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

ultimatelinuxhaxxor
  Posts: 6
  Joined: Thu Jul 23, 2015 11:54 pm

Top

### Re: refractainstaller error / no boot / - virtualbox

by fsmithred » 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

fsmithred
  Posts: 2101
  Joined: Wed Mar 09, 2011 9:13 pm

Top

Previous Display posts from previous:
Sort by

Post a reply
13 posts • Page 2 of 2 • 1, 2

Return to Help

Jump to:

### Who is online

Users browsing this forum: No registered users and 0 guests

Donate Now
ProNight Style by ModphpBB3
Hosted by © 2017 FreeForums.org | Create a free forum | Powered by phpBB
A Member of the Crowdgather Forum Community
About FreeForums | Legal | Advertise Here | Investors | Contact FreeForums.org
Report Violation
suspicion-preferred