Ask your questions here.
Post a reply

Re: Help please - Live Mount Error - Refractasnapshot.

Thu Jan 05, 2017 3:44 pm

i have just finished compiling 4.9 standard kernel ( i noticed the overlay filesystem was disabled by default so i enabled in this one before compiling. busy making the usb now to test, if it doesnt work ill try your iso. if it does work, ill post the kernel i compiled here. ( its a standard debian 4.9 kernel, i left everything as default, only enabled the overlay filesystem ).

Re: Help please - Live Mount Error - Refractasnapshot.

Thu Jan 05, 2017 4:01 pm

Success :D

Ok here are the steps i did :

1. I enabled the jessie backports repo
2. I updated "linux-base" with version in backports ( it is needed for 4.9 kernel )
3. I upgraded the live-boot and live-boot-initramfs-tools packages to backports version.
4. I installed the 4.9 kernel ( the one i compiled ).
5. I created the vmlinux and initrd symlinks
6. I added "overlay" line to /etc/initramfs-tools/modules and also to /usr/share//initramfs-tools/modules
7. I did an sudo update-initramfs -u
8. I added "union=overlay" to refracta menu's.
9. I compiled ISO with refracta 10.

Im sure some steps werent necessary but i wasnt taking any chances.

If anyone wants the 4.9 kernel you can grab it from the links below, they are default, nothing changed except overlay has been enabled in the kernel itself.


Linux-Headers : https://drive.google.com/file/d/0B_l8hMb3VQC8aXA4ZzJQYV9ienM/view?usp=sharing
Linux Image : https://drive.google.com/file/d/0B_l8hMb3VQC8aFRIYThLNFY2WUU/view?usp=sharing

I suspect the problem on way users get stuck with this issue is that a lot of new kernels out there support overlay filesystem, but its not enabled by whoever compiles the kernel, i suspected this was the problem which is why i compiled one myself, and now i know that was my problem. Maybe Fsmirthred could even host these kernel deb's and point users to use them if they struggle with this error. the problem is not refracta, its kernel issue ( however refracta is missing union=overlay from its boot menus )

Re: Help please - Live Mount Error - Refractasnapshot.

Thu Jan 05, 2017 6:10 pm

Code:
user@debian:~$ grep OVERLAY /boot/config-4.8.0-0.bpo.2-amd64
CONFIG_OVERLAY_FS=m


That's what's in the 4.8 bpo kernel. What did you add to 4.9?

(I can't download your deb files. Nothing happens when I click on the arrow. That's after going to the page that says I can download without scanning it for viruses and after allowing javascript.)

Re: Help please - Live Mount Error - Refractasnapshot.

Thu Jan 05, 2017 6:15 pm

fsmithred wrote: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.

FTR I believe it's ehci. And ehci-orion was one of the errors I was getting when I tried to boot a 4.* kernel. We never could get it to boot (and we tried a lot of things). Hope this new suggestion sets things right.

Re: Help please - Live Mount Error - Refractasnapshot.

Thu Jan 05, 2017 6:25 pm

well, one of the steps before you config the kernel is to copy over and use your current config file, which i did. I then ran the kernel config menu and navigated around the MANY options, there was one option that said "overlay filesystem support" and it was not enabled. I enabled it.

BTW, before i compiled my own kernel, when i did a grep overlay it also returned results. But i was out of solutions and thought i would just double check the kernel to see if I didnt miss anything and then saw the overlay filesystem option. enabled it, compiled, and all worked after that.

The google download ( you can skip the scan it doesnt work anyway ) there should be a download option at the top. do you have a prefered host you want me to upload to ? how about https://mega.nz ?

Re: Help please - Live Mount Error - Refractasnapshot.

Thu Jan 05, 2017 6:58 pm

I would like to see the overlay configs for 4.9.
Code:
grep OVERLAY /boot/initrd.img-4.9-whatever


nm, I got it:
Code:
grep -i overlay /boot/config-*
/boot/config-4.8.0-0.bpo.2-amd64:CONFIG_OVERLAY_FS=m
/boot/config-4.9.0:# CONFIG_OF_OVERLAY is not set
/boot/config-4.9.0:CONFIG_OVERLAY_FS=y


CONFIG_OVERLAY_FS is a module in 4.8 and it's compiled into the kernel in your 4.9.

I'd still like to know why 4.8 works for me but not for you.

Re: Help please - Live Mount Error - Refractasnapshot.

Thu Jan 05, 2017 7:26 pm

Correction: 4.8 doesn't work for me if I put it on a usb stick, but I don't get the error you got. I don't get any error, because I don't even get to a grub menu. I also tried it with a second usb stick that has rEFInd bootloader on it, and that didn't see the second usb at all.


Edit: 4.8 doesn't work in Debian. It works fine in Devuan - I just booted a live-usb.

Re: Help please - Live Mount Error - Refractasnapshot.

Thu Jan 05, 2017 8:03 pm

grep OVERLAY /boot/initrd.img-4.9.0 returned no results at all... which is puzzling because it did on kernel 4.8. however everything is working. Could it possible be because i enabled overlay in the kernel itself rather than adding it into modules afterwards ?

Re: Help please - Live Mount Error - Refractasnapshot.

Thu Jan 05, 2017 8:29 pm

You should have gotten the same two lines that I got for the 4.9. I used your package for that. The only difference is that when it's compiled into the kernel, it shows as "=y" and as a module it shows as "=m".

Re: Help please - Live Mount Error - Refractasnapshot.

Thu Jan 05, 2017 9:47 pm

I found this :

Code:
Configuring Linux Module Load Order

Most of the time Linux modules are loaded automatically, but sometimes it needs some specific direction. The program that loads modules, modprobe or insmod, uses /etc/modprobe.d/usb.conf for this purpose. This file needs to be created so that if the USB drivers (ehci_hcd, ohci_hcd and uhci_hcd) have been built as modules, they will be loaded in the correct order; ehci_hcd needs to be loaded prior to ohci_hcd and uhci_hcd in order to avoid a warning being output at boot time.

Create a new file /etc/modprobe.d/usb.conf by running the following:

install -v -m755 -d /etc/modprobe.d
cat > /etc/modprobe.d/usb.conf << "EOF"
# Begin /etc/modprobe.d/usb.conf

install ohci_hcd /sbin/modprobe ehci_hcd ; /sbin/modprobe -i ohci_hcd ; true
install uhci_hcd /sbin/modprobe ehci_hcd ; /sbin/modprobe -i uhci_hcd ; true

# End /etc/modprobe.d/usb.conf
EOF


on this website : http://www.linuxfromscratch.org/lfs/vie ... ernel.html
Post a reply