I use phatch for photo batch processing and since it's been abandoned none of the newer Linux versions will run it. So I have an old Linux Mint 18.3 partition on a second drive that I boot into for phatch. It is slow and annoying to have to reboot so I wanted to convert it to a virtual machine. I tried making a fresh install of Mint 18.3 as a VM in VirtualBox but phatch won't install properly for some reason. So the only way I can get phatch working is to clone the partition.
I used dd to copy the partition to an image file as thus:
Code: Select all
dd if=/dev/sdb3 of=imagefile.img bs=128K conv=noerror,sync
511640+0 records in
511640+0 records out
67061678080 bytes (67 GB, 62 GiB) copied, 163,087 s, 411 MB/s
Code: Select all
VBoxManage convertfromraw imagefile.img imagefile.vdi --format VDI
Converting from raw image file="imagefile.img" to file="imagefile.vdi"...
Creating dynamic image with size 67061678080 bytes (63955MB)
When I try to boot it says "FATAL: No bootable medium found. Halted."
If I use a SuperGrub live cd it finds all the normal grub entries and boots the system just fine. And if I try to update or install grub it shows it working fine. But when I reboot the system without the live cd it just posts the "No bootable media" again.
When I boot into a Mint livecd it shows the partition as /dev/sda ext4 but no OS devices like /dev/sda1 or swap or whatnot.
Gparted doesn't seem to have a partition table listed and won't allow any flags to be set to it.
I tried to resize the partition to allow space to put in a small partition to install a partition table and grub to in case that was the issue, but after resizing sda the dynamic resizing takes over and absorbs the space I just made so I can't make a second partition.
I tried using a Boot Repair live cd but the "Recommended Repair" button just doesn't even exist when I boot into the disk.
Phatch still works in it so in the meantime I can still use the VM with supergrub but I'd like to fix this if possible. I also still have the original partition so if I have to remake the VM with advice from you all that is ok too. Thanks for any insight you can give!