Booting an EXT4 image file from GRUB2

Posted by sjjg on Super User See other posts from Super User or by sjjg
Published on 2012-04-13T10:41:29Z Indexed on 2012/04/13 11:33 UTC
Read the original article Hit count: 159

Filed under:
|
|

My friend needed a fast HDD so I gave her my small 64GB SDD. This SSD had my Linux install on it. I used dd to make an image of the partition (boot, root and home on one partition).

This partition is now sitting on a traditional 500GB EXT4 formatted drive.

Is there any way I can get GRUB to just boot using this .img file I have? I'm not getting my SSD back and I can't be bothered to go through the hassle of setting up my Linux install from scratch. I have come across loopback support in GRUB for ISO images. Does this support EXT4 also? I don't seem to be able to find anything specific and don't want to trash anything.

Cheers.

© Super User or respective owner

Related posts about linux

Related posts about grub