draggy Posted October 20, 2009 Share Posted October 20, 2009 Is it possible to boot a .img thumbdrive image from a multipass? For example, I am trying to boot the moblin thumbdrive .img using grub2 on my multipass. I've made some progress, but got stuck. grub.cfg: menuentry "Moblin 2.0" { loopback loop /boot/img/moblin-2.0-final-20090924-001.img linux (loop)/isolinux/vmlinuz0 isofrom=/dev/sdb1/boot/img/moblin-2.0-final-20090924-001.img root=CDLABEL=2.0-final-x86_64-200909232135 rootfstype=iso9660 ro liveimg liveinst nosplash -- initrd (loop)/isolinux/initrd0.img } inside the isolinux.cfg file on the .img are the boot options that are used: label liveinst0 menu label Boot and Install kernel vmlinuz0 append initrd=initrd0.img root=CDLABEL=2.0-final-x86_64-200909232135 rootfstype=iso9660 ro liveimg quiet liveinst nosplash 4 When I try to boot it, it starts loading the usb devices, and then loads the /dev/sdb1 which is my multipass. Then it quits, saying "Cannot find root file system" I assume it's looking for the file system because when you create a thumbdrive using the .img, it has it's own filesystem on the thumbdrive. So is this even possible? Or should I stick to loading .iso images Quote Link to comment Share on other sites More sharing options...
draggy Posted October 23, 2009 Author Share Posted October 23, 2009 I've been doing some more reading, and learned about the squashfs file and the boot= parameter. If I understand it, my entry should look something like: menuentry "Moblin 2.0" { loopback loop /boot/img/moblin-2.0-final-20090924-001.img linux (loop)/isolinux/vmlinuz0 boot=LiveOS iso-scan/filename=/boot/img/moblin-2.0-final-20090924-001.img nosplash -- initrd (loop)/isolinux/initrd0.img } The squashfs file is located on the .img, under the folder /LiveOS/squashfs.img. There's also a osmin.img in there to, don't know what that is. Unfortunately, I'm still stuck, since it didn't seem to make any difference, the boot process still complains that it can't find the root FS, and kicks me back to bash. Some insight from some smart people would be very helpful. Any thoughts or suggestions? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.