The thing I'm trying to do:
- Make a bootable USB with two partitions (bootable FAT32 and NTFS for data). (DONE)
- Install GRUB2 to FAT32 partition. (DONE)
- Make FAT32 partition multiboot, with persistent installed Ubuntus.
The last one shouldn't be that hard, but now my head is about to blow... I can't find anywhere step-by-step instructions on how to do persistent installation of Ubuntu on one partition and not in the root directory (in ubuntu12.04 folder for example). At this time I've gathered information from it looks like all internet and here what I've done:
- Extracted Ubuntu 12.04 LiveCD ISO into
/ubuntu12.04
directory. - Created
/ubuntu12.04/casper-rw
file usingdd
andmkfs.ext2
it. Added
menuentry
togrub.cfg
:menuentry "Run Ubuntu 12.04.2 Live" { linux /ubuntu12.04/casper/vmlinuz file=/ubuntu12.04/preseed/ubuntu.seed boot=casper persistent rw quiet splash -- initrd /ubuntu12.04/casper/initrd.lz }
But result are always the same:
(initramfs): Unable to find a medium containing a live file system.
Where should I place casper-rw
file to make initramfs find it?
Or anything to get what I need.