Test results with mk-grub-n-iso-s which is built into mkusb 10
I have been able to boot ToriOS that uses an old Ubuntu 12.04 LTS non-pae kernel (not forcepae, not fake-pae, really non-pae) in UEFI mode. I did it with mkusb version 10 with a modified grub-n-iso installer added to create persistent live USB drives. This system does not boot directly from grub and an iso file, but from a copy of the iso file cloned into partition #2. Partition #1 is the boot partition (and EFI partition). Partition #3 is a casper-rw partition. The idea is to add persistence and make it a more complete tool for the Ubuntu family and some community re-spins with similar boot structure. Booting via grub from a cloned copy of the iso file into partition #2 makes it work with some re-spins that do not boot from an iso file (at least I cannot do it).
Code:
sdf sdf 119,2G
├─sdf1 vfat ToriOSdaily /media/ToriOSdaily ├─sdf1 59,3G
├─sdf2 iso9660 torios-live /media/torios-live ├─sdf2 645M
└─sdf3 ext4 live-rw /media/live-rw └─sdf3 59,3G
This version of mkusb (10.0.1) needs testing before even getting into the unstable PPA, and you find the way to get it via this link: Re: Howto make USB boot drives post #120
Boot alternatives in the grub menu:
- "distro - persistent live"
- "distro - live"
- "distro - recovery mode"
The following distros are tested and work
The whole Ubuntu family's desktop iso files work: Kubuntu, Lubuntu, standard Ubuntu, Xubuntu, ...
- ubuntu-14.04.2-desktop-amd64.iso
- wily-desktop-amd64.iso ...
The following linux distros based on Ubuntu are also tested and work
- bento-trusty-rc2-i386.iso
- bodhi-2.4.0-64.iso
- extix-14.2-64bit-isoh-persistent-836mb-141024.iso
- linuxmint-17.2-cinnamon-64bit.iso
- lxle-12044-32.iso (not isohybrid, current versions of LXLE have hybrid iso files)
- ToriOS-beta.iso (based on Ubuntu 12.04 i386 non-pae)
The following distros boot but persistence fails
The computer boots but cannot get persistence. (Debian advices to clone and add an ext partition with the label live-rw. It boots but I can not make persistence work with Ubuntu systems and not with Debian Wheezy and Jessie that way either.)
- debian-live-8.0.0-i386-gnome-desktop.iso
- obi_Trusty-nonpae-txt5-9w.iso (based on Debian Wheezy)
Complete failure
No Ubuntu/Debian based distro has failed completely yet, but for example Mageia does not work at all. The boot structure is not recognized. You must edit the file 'boot/grub/grub.cfg' in the first partition.
- Mageia-4.1-LiveDVD-GNOME-x86_64-DVD.iso
I think that cloning is still the best method. It is the standard method of mkusb.
Cloning works also for distros with different boot structure as long as the iso file is treated with isohybrid. And most modern linux distros are, so cloning makes a working live session also for most of these linux distros, and I think that it is still the best method. Most of the time there is no need for persistence, and a tool for Ubuntu need not work for all other distros. But it should be very reliable for the Ubuntu family of operating systems.
Bookmarks