Ask your questions here.
Post a reply
fsmithred

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

## Re: Help please - Live Mount Error - Refractasnapshot.

Tue Jan 03, 2017 7:17 pm

Run refractasnapshot in debug mode and pastebin the error log.
I didn't use refracta for this test, I used devuan that started as a standard system install (No X) and then I added xorg and icewm and just a few other apps plus refracta tools. I haven't made a snapshot of debian in a long time. I think I made one some time in the past year. If it's no longer working with pure debian, I'd like to fix it.
raymerjacque

- raymerjacque
- Posts: 111
- Joined: Sun Nov 03, 2013 9:37 am

## Re: Help please - Live Mount Error - Refractasnapshot.

Wed Jan 04, 2017 6:14 am

where is the debug log generated ? which folder ? i only see the refracta error log. I did run refracta with -d, but dont see any log anywhere.
here is my error log, its the only log i see :
http://pastebin.com/AgmSaRB0
Some more info :
lsinitramfs /initrd.img |grep overlay :

Code:
  `lib/live/boot/9990-overlay.sh
  lib/modules/4.8.0-0.bpo.2-amd64/kernel/fs/overlayfs
  lib/modules/4.8.0-0.bpo.2-amd64/kernel/fs/overlayfs/overlay.ko
  bin/boot/9990-overlay.sh`

My VMlinux and Initrd symlinks exist, and i recreated them just to make sure they point to correct kernel.
I also upgraded all the live-* packages to backports version
I also edited "/usr/lib/refractasnapshot/mk-grub-efi-image" file and replaced union=aufs to union=overlay.
and lastly i did an update-initramfs -u
So ive done all the steps listed in the other topic, and i have done this on my own build and now on a clean debian iso as well, and still i get the same results.
fsmithred

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

## Re: Help please - Live Mount Error - Refractasnapshot.

Wed Jan 04, 2017 12:38 pm

That's the right log, but note that it gets recreated every time you run refractasnapshot. The one you posted ends where you exited at the task selection. You have to let snapshot run all the way to the end.

> I also edited "/usr/lib/refractasnapshot/mk-grub-efi-image" file and replaced union=aufs to union=overlay.

That script does nothing unless you run it separately from refractasnapshot. That's dzz's script that I borrowed to make refractasnapshot uefi-capable. I left it in there in case someone wants to do some of the steps manually for testing or development.
raymerjacque

- raymerjacque
- Posts: 111
- Joined: Sun Nov 03, 2013 9:37 am

## Re: Help please - Live Mount Error - Refractasnapshot.

Wed Jan 04, 2017 4:57 pm

Fsmithred, i did compile the whole iso, that error log i posted is all that was in the log.
can't you post the iso online somewhere ( the clean debian one you successfully compiled with refracta ), I could turn it easily into a clean base that everyone can use, including me, with an installer. Would save you a lot of headaches of addressing this issue everytime someone has this problem.
BTW, if i compile with 4.9 kernel, i get a different error, it boots live to a point where it stops with a wan error...
raymerjacque

- raymerjacque
- Posts: 111
- Joined: Sun Nov 03, 2013 9:37 am

## Re: Help please - Live Mount Error - Refractasnapshot.

Wed Jan 04, 2017 6:18 pm

ok, with kernel 4.9 i am getting this error, see screenshots :
https://postimg.org/image/5yrehl8gt/
https://postimg.org/image/f3xdhj6u5/
https://postimg.org/image/4k5800swj/
https://postimg.org/image/qtrevcfjx/
the 2 lines that stand out in those screens are :

Code:
  `loading essential drivers ... modprobe: module overlay not found in modules.dep`

and near bottom :

Code:
  `(initramfs): overlay not available`

but in /etc/initramfs-tools/modules i did add the line overlay ... so no idea why im getting overlay errors.
fsmithred

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

## Re: Help please - Live Mount Error - Refractasnapshot.

Wed Jan 04, 2017 6:47 pm

That's weird about the error log. Are you sure you didn't run refractasnapshot and bailing out at the options screen after you already made the iso? Next time you run it, open a second terminal and run 'tail -f /var/log/refractasnapshot_error.log' so you can watch it while it's happening.
The debian sid installation that you refer to as clean started out as wheezy at least two years ago, maybe three, and I don't know for sure what's been done to it since then. I think I used it for compiling some other software, so there's a bunch of extra stuff in it.
The clean installation is devuan jessie with icewm and now backports kernel. I could make that one available, but I think it would be better to figure out what's going wrong.
fsmithred

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

## Re: Help please - Live Mount Error - Refractasnapshot.

Wed Jan 04, 2017 9:32 pm

Debian 8.0 netinstall, un-checked everything but Standard System at tasksel.
Did not install bootloader (another linux rules the boot). Booted into the other linux and added debian to the boot menu.
After rebooting into the system, added grub-efi-amd64 and grub-efi-amd64-bin.
Installed refractasnapshot-base-10.0.0 and refractainstaller-base-9.1.9-1
Aborted 'apt-get -f install' because it wanted to install live-config-sysvinit and replace systemd with sysvinit.
Uninstalled refractasnapshot and refractainstaller
Installed live-boot live-boot-initramfs-tools live-config live-config-sysvinit
Installed refractasnapshot and refractainstaller again and ran 'apt-get -f install' to get the deps. (This time it worked right.)
Added backports repo, updated, then
aptititude install linux-image-4.8.0-0.bpo.2-amd64 (auto installed linux-base and firmware-linux-free)
apt-get install live-boot live-boot-initramfs-tools
Uncommented backports when I realized that I installed the live-boot packages from backports without specifying backports on the command line. (I guess it needs to be pinned in debian, too.)
Edited refractasnapshot.conf to save work and to let me edit the boot menu. (I didn't change anything in the boot menu.)
Ran refractasnapshot and made an iso.
Iso boots in efi or bios mode in virtualbox, boots in bios mode only in qemu. (In qemu with efi mode, I don't even get a boot menu.)
thwak

- thwak
- Posts: 174
- Joined: Tue Nov 20, 2012 3:58 am

## Re: Help please - Live Mount Error - Refractasnapshot.

Wed Jan 04, 2017 11:16 pm

wondered whether the problem was caused by: tool used to make the pendrive bootable used an older (pre v6.03) syslinux/extlinux
version, until I read "echi-orion".
dzz posted about that (echi-orion) issue here:
http://antix.freeforums.org/antix-15-1- ... 66-30.html
and I also found this:

> http://forum.doozan.com/read.php?2,13355,13355,quote=1
> Re: [SOLVED| Debian Kirkwood kernel 3.10.4 udev does not enumerate USB devices in rootfs pre-mount?
> It turned out that there was indeed a subtle change in the kernel 3.10.x regarding Kirkwood USB devices. The ehci-orion driver was part of the kernel before 3.10.x but now introduced as kernel module to be loaded during boot (I have not looked at the source code, but it seems to be the case). There is a new config option, and I did not notice that with "make oldconfig".
> The same config options that worked in kernel 3.9.11, but now in 3.10.x the USB modules were loaded too late during boot, and USB rootfs was not found by initrd.
> So what I did was rebuild the kernel with the ehci orion USB modules in the kernel image instead of part of initrd [...]

fsmithred

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

## Re: Help please - Live Mount Error - Refractasnapshot.

Thu Jan 05, 2017 1:59 pm

Good information. Thanks. I'm especially interested in the eudev stuff, because I just started playing with eudev.
@raymerjacque: Do you have Kirkwood hardware? Anything new to report? Do you want to try the last iso I made? (New debian jessie standard system with backports kernel, cli refractasnapshot and installer)
Maybe this (ohci) isn't the issue - 'grep OHCI /boot/config-*' shows that the 3.16 and 4.8 kernels have the same configurations for ohci. I'm wondering if it's something with the uefi bootloader that gets created in refractasnapshot. My isos normally boot uefi in both qemu and virtualbox, but with 4.8, uefi boot doesn't work in qemu.
fsmithred

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

## Re: Help please - Live Mount Error - Refractasnapshot.

Thu Jan 05, 2017 2:47 pm

Try this and let me know if it works:
Debian Jessie amd64 standard system (cli only) with 4.8 kernel from backports, refractasnapshot and refractainstaller, 335MB:
http://distro.ibiblio.org/refracta/file ... 4_2114.iso
Post a reply
Jump to:

Powered by phpBB © phpBB Group.

phpBB Mobile / SEO by Artodia.