View Full Version : Root on /dev/loop0 and grub

October 28th, 2013, 09:39 AM
my Ubuntu has /dev/loop0 mounted as root. I wonder what that means: maybe it is a partition hosted in a windows file?
I would like to have a three boot with Windows, Ubuntu and Gentoo but I will not know how to set the grub bootloader to boot using /dev/loop0, would it be able to see it?

October 28th, 2013, 04:20 PM
That is a wubi install inside the Windows NTFS partition and uses the Windows boot loader. You then boot from Windows boot option if you have another install that uses grub2.

You may be able to direct boot it, but will have to manually add an entry to 40_custom. Example is with install in sda2.
wubi direct boot

menuentry "Wubi" {
insmod ntfs
set root=(hd0,2)
loopback loop0 /ubuntu/disks/root.disk
set root=(loop0)
linux /vmlinuz root=/dev/sda2 loop=/ubuntu/disks/root.disk ro quiet splash
initrd /initrd.img


wubi is being discontinued as it does not work with new systems
Wubi does not work on gpt partitioned drives or Window 8 that is pre-installed.
Grub4dos (which wubi uses) doesn't work with GPT disks (required by UEFI)