I have successfully created an environment with a laptop so that I can dual boot between windows 7 and ubuntu desktop 16.04 using grub4dos.
It is fully documented on another topic here:
http://reboot.pro/to...un-it-from-hdd/
All is working fine. Both windows 7 and ubuntu can boot up properly and I can use them with no issues.
But I am still missing something on ubuntu: persistence across reboots.
When I try to add persistence to the ubuntu iso through the initramfs options it fails miserably on me by simply booting without the persistence file mounted.
As I have stated before, I am running things on different partitions so I will make a quick drawing of what the partitions/folders/files currently look like.
500GB hdd | |_100MB (system partition) | |_______grub (folder) | | |_grldr (file) | | |_menu.lst (file) | |_boot.ini (file) | |_250GB (boot partition aka C:) | |_Windows OS | |_240GB (data/baks partition aka D:) | |_______OS (folder) | | |________live (folder) | | | |_________ubuntu-rw (folder) | | | | |_casper-rw (file) | | | | | | | |_ubuntu-16.04.1-desktop-amd64.iso (file) | | | |_manjaro-bspwm-community-16.06-x86_64.iso (file) | | | |_etc...
And this is how each file looks like right now.
file -> boot.ini [boot loader] Timeout=30 default=C:\grub\grldr [operating systems] C:\grub\grldr="grub4dos"
file -> menu.lst title Back to Windows Boot Manager find --set-root /bootmgr chainloader /bootmgr title Ubuntu find --set-root /OS/live/ubuntu-16.04.1-desktop-amd64.iso map /OS/live/ubuntu-16.04.1-desktop-amd64.iso (0xff) || map --mem /OS/live/ubuntu-16.04.1-desktop-amd64.iso (0xff) map --hook root (0xff) kernel /casper/vmlinuz.efi file=/cdrom/preseed/ubuntu.seed noprompt boot=casper iso-scan/filename=/OS/live/ubuntu-16.04.1-desktop-amd64.iso persistent persistent-path=/OS/live/ubuntu-rw quiet -- initrd /casper/initrd.lz
I would post a journalctl -b0 but it is too long and the forum doesn't allow it.
Also ubuntu 16.04 seems to have ditched /var/log/boot.log so I am clueless of what to do to debug this.
Please let me know if you spot something wrong.
Bear in mind that this same iso file is also on a usb easy2boot pendrive and it is working just fine with persistence. This means it's not a bug in this release or something and since easy2boot uses grub4dos I guess it also rules out any grub4dos influence.
Thanks in advance.
Cheers
PS: oops, forgot to put the tags in the post and now the forum won't let me put them when I edit the post.
Edited by john3voltas, 25 September 2016 - 04:45 PM.