Issue
I am not familiar to grub, and very less to linux.
What i currently have is the recovered linux machine disk.
Which has grub bootable source machine, but for booting on other platform (hypervisor/cloud)
My team used an extlinux to make it bootable by overwriting its boot code and make that machine bootable on other platform like cloud/hypervisor. Did something like in this link
I want to make that machine grub bootable so i tried and came up with something below:
- Created 1 gb disk.
- installed grub using command on fat32 partition using below link
Content of grub.cfg
menuentry 'usbboot ubuntu' {
set root (hd0,1)
linux (hd1,3)/boot/vmlinuz.efi root=/dev/sdb3
initrd (hd1,3)/boot/initrd.lz
}
After that i created vm. Attached 1GB disk first then recovered disk second.
please help me to resolve issue
Solution
I was able to solve the issue, Issue is their was no such device like /dev/sdb3,It may be due to hypervisor type. So i was trying mount command in BusyBox and i found it their as /dev/vdb3.
Answered By - Dipak