Ask your questions here.
Post a reply

refractainstaller error / no boot / - virtualbox

Wed Jul 22, 2015 1:29 am

tried them almost all - still getting error. this could be due an incompetent partition managing by me. snapshot (livecd) works fine. just having trouble with installer (errors are mostly dbus and mount help).what are the requirements? how to prepare partitions etc. a basic walkthtough/tutorial would be welcome. how to do and get most out of it.

Re: refractainstaller error / no boot / - virtualbox

Wed Jul 22, 2015 1:31 pm

You need at least one linux partition. Format choices in the script are ext2/3/4. If you format it in gparted, that format will be overwritten by whatever you choose in the script. (The exception is if you choose the 'no format' option in the expert menu. I would advise against doing this unless you know what you're doing and have a good reason for it.)

Check the error log (/var/log/refractainstaller_error.log). If there's nothing of interest there, run the installer again, with the -d option for debug mode. (refractainstaller -d, or refractainstaller-yad -d).

If you have a single hard drive, and you're only going to have one system installed, you can use the simple install. It will make one partition on /dev/sda and put the boot loader in the mbr of that disk. (There might be a choice there, I can't remember.)

Oh, I think there are a lot of dbus errors every time, and I've gotten so used to ignoring them, that I forget they exist. They don't seem to interfere with the installation.

If you're using a version older than refractainstaller 9.1.3 on jessie or newer, there's a problem with the mount command. Use 9.1.4-1 from here - http://sourceforge.net/projects/refracta/files/testing/ (or, if you wanted to change it yourself, find where it says "mount -t sysfs --bind..." remove the '-t sysfs' and do the same for the two similar lines with '-t tmpfs' and '-t proc'. The newer mount command in jessie pukes if you tell it the type.

Re: refractainstaller error / no boot / - virtualbox

Fri Jul 24, 2015 12:02 am

problem solved. i constantly ignored the first question about grub location (/dev/sda/), hit enter and thought the next step is the right one :)
and of course forgot my password and email here lol.

Re: refractasnapshot this time - virtualbox

Sun Jul 26, 2015 8:50 pm

another problem arise - did a basic debian install in virtualbox and snapshot it (version 9.1.6). now the live iso complains that unable to find medium containing live system and modprobe: modules ehci-pci, ehci-orion, ehci-hcd, uhci-hcd, ohci-hcd and usbhid not found in modules.dep.
installed all the dependencies for refractasnapshot with apt-get -f install and update-initramfs -u, so this should not be the issue. guess i should put all those ehcis and uhcis into kernel or somewhere, but dont know how.

Re: refractainstaller error / no boot / - virtualbox

Sun Jul 26, 2015 11:00 pm

No, you don't need to add all that stuff to the kernel. The problem is something else. Are you creating the snapshot from a system with disk encryption?

Is this jessie (debian 8)? Using systemd or sysvinit? Did you install the right live-config-<sysvinit|systemd|upstart> for your init system?

How far into the boot does it get?

Show me the debug log.

Re: refractainstaller error / no boot / - virtualbox

Mon Jul 27, 2015 1:16 am

jessie, minimal install, no encryption, added linux headers and build essential for virtualbox (5) guest additions. refracta snapshot (9.1.6-2) and installer (9.1.4-1) without gui. apt-get -f install offered me live-config-sysvinit and removed systemd-sysv . here's the first log:
http://pastebin.com/WqQM9Age
boot says:
begin: mounting root file system...random nonblocking pool...
/bin/sh: can't access tty,job control turned off (initramfs) unable to find a medium containing live file system
and then ehcis and uhcis
and iso seems also too small ~290mb

Re: refractainstaller error / no boot / - virtualbox

Mon Jul 27, 2015 2:16 am

I'm not seeing anything obvious. Make sure that /usr/share/initramfs-tools/init has the following lines near the end of the file:
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"
If not, add the missing lines and run 'update-initramfs -u' before making another snapshot.

The size sounds about right for a minimal install with no X.

Re: refractainstaller error / no boot / - virtualbox

Mon Jul 27, 2015 10:11 am

those lines are there, still no success. did another minimal install - same story, while other machine with some whistles and bells and X creates working live iso. there must be some component missing in minimal install i think. gonna do some experimentation later.

Re: refractainstaller error / no boot / - virtualbox

Mon Jul 27, 2015 3:20 pm

If you make a package list for each installation, I'll compare them. Use this command, and give each a unique name (pkglist1, pkglist2).
Code:
dpkg -l | egrep "ii|hi" | awk '{ print $2 }' > pkglist1

Re: refractainstaller error / no boot / - virtualbox

Tue Jul 28, 2015 2:15 am

ok, i got 2 quite similar ones:
good > http://pastebin.com/3XBDhHdg
bad > http://pastebin.com/TdE9PE03

and the good one has only 2 lines in /intramfs-tools/init
Code:
# Move virtual filesystems over to the real filesystem
mount -n -o move /sys ${rootmnt}/sys
mount -n -o move /proc ${rootmnt}/proc

# Chain to real filesystem
Post a reply