creating virtual disk and installing grub and use with qemu
this is my first thread... completed building linux from scratch with help of lfs7.2 book on my host ubuntu 12.4 .now i want to load the lfs source in qemu for that i followed this link https://github.com/xvisor/xvisor/blo...disk-howto.txt
1. Create disk image
2. Partitioning the disk
2.2 Creating primary partition
3 Setting up loopback device
3.2 Formatting with ext2
3.3 Mounting the virtual drive
4. Installing grub
For this step please ensure that you have grub installed on your box
in this fourth step i dont know how to install in my virtual drive
i tried like sudo grub-install /dev/loop0
error as /dev/loop0 does not have any corresponding BIOS drive.
how to solve this ........
linuxubuntu ssanthshtech is online now Edit/Delete Message
See these two posts. Between them I think you can get it installed.
And welcome to LQ.
i dont know wr i did mistake it also gives error that two links are good but can u give some other suggestions based on my link ...
need to load lfs root filesyatem on qemu for that i need to create a virtual harddisk for that i want to install grub in virtual disk i tried lot getting errors give me som more suggustions new to linux struggling to learn....
You don't need to create a virtual hard drive for qemu. Just dd the disk if you want and use it as a raw image. Otherwise you may try other tools like clonezilla or maybe partimage/gparted sort of copies or tar cpio and rsync.
|All times are GMT -5. The time now is 12:36 AM.|