CentOS Guest Machines in Proxmox VE not bootable anymore
by JonAng from LinuxQuestions.org on (#6H3SV)
I have a guest machines (let's call it AutoInstall) running CentOS, running off a Proxmox VE. Other guest machines on that same proxmox VE are not having any issue booting up. Except this Autoinstall machine.
When I click on the noVNC console, I can see Autoinstall is trying to boot up. It says 'Booting from harddisk', then 'Cannot find bootable device', and then it repeat itself non stop.
So I managed to boot Autoinstall up using CDROM, and found there's /dev/sda, /dev/sdb and /dev/sdb1.
But I am not sure which device is the boot up device.
When I do a 'fdisk -l", I see
/dev/sda does not have any partition.
/dev/sdb1 having "Disktype label:dos"
From Proxmox GUI, under Options, I can see Sata0, Sata1, and CDROM as bootup option.
So I choose Sata0 and reboot. In the console, I see "No MBR magic. Warning: treating disk as raw. Booting....". and no further response.
When I choose Sata1 and reboot, In the console I see "Booting..." and no further response.
Question: How do I find out which disk is actually the root partition/disk? IF it's corrupted, how can I restore back, but I do not have any backup/snapshot. Will I loose the data after setup from scratch the CentOS? Thanks for any advice.
When I click on the noVNC console, I can see Autoinstall is trying to boot up. It says 'Booting from harddisk', then 'Cannot find bootable device', and then it repeat itself non stop.
So I managed to boot Autoinstall up using CDROM, and found there's /dev/sda, /dev/sdb and /dev/sdb1.
But I am not sure which device is the boot up device.
When I do a 'fdisk -l", I see
/dev/sda does not have any partition.
/dev/sdb1 having "Disktype label:dos"
From Proxmox GUI, under Options, I can see Sata0, Sata1, and CDROM as bootup option.
So I choose Sata0 and reboot. In the console, I see "No MBR magic. Warning: treating disk as raw. Booting....". and no further response.
When I choose Sata1 and reboot, In the console I see "Booting..." and no further response.
Question: How do I find out which disk is actually the root partition/disk? IF it's corrupted, how can I restore back, but I do not have any backup/snapshot. Will I loose the data after setup from scratch the CentOS? Thanks for any advice.