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.

Thu Jan 05, 2017 10:44 pm

I get the same results with your 4.9 - I made a snapshot, it boots in uefi mode only in virtualbox. Doesn't work in qemu or on usb. "Doesn't work" means the bootloader isn't working - I don't get a grub menu. So this should have nothing to do with what's in the kernel or the initrd.
dzz

- dzz
- Posts: 647
- Joined: Wed Apr 27, 2011 11:53 am
- Location: Devon, England

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

Thu Jan 05, 2017 11:22 pm

I did a "remaster", with (amd64) backport kernel and live-* (installed from a chroot), of http://cdimage.debian.org/debian-cd/cur ... andard.iso ..
I did the chroot stuff manually. Installed grub-efi (and grub-pc-bin). Purged the 3.16 kernel and it's associated packages. Copied manually the vmlinuz and initrd to the "iso" directory. Did the rest with refractasnapshot in "nocopy" mode set to use the chroot directory as "myfs".
(for me at least): In qemu it boots in both efi and bios mode. In grub menu it boots in "loopback" mode from the iso. Not yet tried from usb.
No efi hardware to test on, no HD space to install anything.
EDIT It won't boot from a FAT32 usb. Looks like a kernel module for FAT support might be missing. Some info I found:
https://www.reddit.com/r/debian/comment ... ound_cant/
https://lists.debian.org/debian-boot/20 ... 00002.html
https://lists.debian.org/debian-boot/20 ... 00003.html
https://bugs.kali.org/view.php?id=3762
http://forums.debian.net/viewtopic.php?f=10&t=130665
EDIT2: Boots from the FAT32 usb with initrd done as described in http://forums.debian.net/viewtopic.php?f=10&t=130665 .. didn't detect graphics properly (blank screen, no way to even power off) till I retried with"nomodeset vga=791". Using "findiso" in syslinux.cfg (I find multiple syslinux cfg files confusing)
I don't believe the "ehci-orion" error means much, seen that before when mounting the squash fails for whatever reason. The clue here was "io charset ascii not found" and mount failures of sdb1 (the usb).
fsmithred

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

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

Fri Jan 06, 2017 4:30 am

I haven't tried it on a fat32 usb yet. When I try to boot the iso from hard drive on uefi, it hangs on trying to mount /dev/sda1 which it thinks is the root filesystem. It's my efi partition.
Isohybrid usb with 4.8 kernel boots on bios hardware without having to add overlay to initramfs or the boot command.
Adding nls_ascii to initramfs did not help with isohybrid usb boot on uefi or qemu with uefi. (also added overlay to this, with 4.9 kernel.)
fsmithred

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

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

Fri Jan 06, 2017 2:19 pm

More testing, this time with fat32 live-usb (using un-packed isos):
The uefi bootloader works on a fat32 live-usb.
The build with the 4.8-bpo kernel gives me the IO charset ascii error.
All the builds with the 4.9 makulu kernel work correctly.
(one without overlay in initramfs-tools/modules, one with overlay and one with overlay and nls_ascii.)
The isohybrid usb boots on uefi with devuan images, but not debian images. I don't see any obvious errors in the logs. And when it does not boot, it's like there's no bootloader. I don't think any of the packages involved in making the isohybrid or the grub bootloader are different between devuan and debian, so I don't get it.
Edit: backports kernel (4.8) with overlay and nls_ascii in initramfs works on fat32 live-usb.
raymerjacque

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

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

Fri Jan 06, 2017 4:32 pm

@fsmithred im testing the iso you uploaded. what is the default login username and password for the iso ?
fsmithred

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

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

Fri Jan 06, 2017 6:08 pm

login - password
user - user
root - root
That iso I uploaded was with the bpo kernel and no extra modules in the initramfs. (overlay and nls_ascii need to be added.) I think that one only boots in virtualbox.
raymerjacque

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

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

Sat Jan 07, 2017 10:34 am

well i got it booting on the 4.8.0 kernel ( on hardware and virtualbox, both normal mode and EFI ) , however, now cinnamon crashes ... Somewhere i suspect a driver updated and is causing problems.
raymerjacque

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

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

Sat Jan 07, 2017 4:10 pm

Ok, i got everything working on the 4.8.0.0 bpo2 kernel.
Steps to get it working :
1. Enable the jessie backports and Sid repo's via terminal :

Code:
  `echo 'deb http://ftp.debian.org/debian jessie-backports main contrib non-free' >> /etc/apt/sources.list
  echo 'deb http://ftp.debian.org/debian sid main contrib non-free' >> /etc/apt/sources.list
  `

2. do an Update via terminal :

Code:
  `sudo apt-get update`

3. Open synaptic package manager and find "linux-base" and update it to jessie-backports version using force package. ( its in the main menu of package manager.)
4. search "linux-", look for the "4.8.0-0.bpo.2-amd64" kernel, i tried 4.8.0.2 and it didnt work, tried 4.8.0.1 and also didnt work, but 4.8.0.0 bpo2 works. Install the linux image and kernel headers, reboot into new kernel.
5. Remove the SID repo ( it is IMPORTANT to remove this before you remove the 3.16 kernel, else it installs additional packages that could cause problems. ), but leave the backports kernel. then do apt-get update and then, Remove the old 3.16 kernel.
6. Edit the /etc/initramfs-tools/modules and also /usr/share/initramfs-tools/modules and add the following 3 lines at bottom of both files :

Code:
  `aufs
  overlay
  nls_ascii
  `

7. open terminal and run :

Code:
  `sudo update-initramfs -u`

8. create symlinks via terminal :

Code:
  `sudo ln -s /boot/initrd.img-4.8.0-0.bpo.2-amd64 /initrd.img
  sudo ln -s /boot/vmlinuz-4.8.0-0.bpo.2-amd64 /vmlinuz`

9. Edit the following 2 files : /usr/lib/refractasnapshot/grub.cfg.template and /usr/lib/refractasnapshot/iso/isolinux/live.cfg and add the following into each boot options :

Code:
  `union=overlay`

10. Reboot and create snapshot and good luck
dzz

- dzz
- Posts: 647
- Joined: Wed Apr 27, 2011 11:53 am
- Location: Devon, England

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

Tue Jan 10, 2017 11:44 pm

Just noticed this, about the problem with the missing module. It's fixed in git but not the current "release" 1:20160511, same in backports as in unstable.
https://anonscm.debian.org/cgit/debian- ... git/commit
Live snapshots boot here with ramerjaque's kernel and 4.8.0-0.bpo.2-amd64, with no other changes. Specifying union= is unnecessary (it's default for newer live-boot) but does no harm.
I don't know, in a Debian installation, what systemd does if an efi partition (which is FAT) can't be mounted from fstab. Maybe a clue to different behaviour from Devuan.
EDIT: live-boot-initramfs-tools should automatically update-initramfs with all necessary modules including (newer versions) overlay.
raymerjacque

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

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

Wed Jan 11, 2017 5:49 pm

I am having issues with Cinnamon crashes on live boot, yet no errors in the logs. I think this may be due to drivers ( possibly intel drivers ) after the kernel upgrade, may need to update some firmware to backports as well.
also have you guys seen this ?
https://yulistic.gitlab.io/2016/05/over ... om-kernel/
Post a reply
Jump to:

Powered by phpBB © phpBB Group.

phpBB Mobile / SEO by Artodia.