grub rescue on error

apmuthu

Renowned Member
Feb 26, 2009
871
11
83
Chennai - India & Singapore
github.com
After install of the PVE 3.4-6 on an Atom machine (WD Green 2TB HDD, 4 GB RAM, OpenVZ only - no VT-x, no VT-d), the BIOS was updated and the machine booted into "grub rescue" mode with the following error:

Code:
error: attempt to read or write outside of disk 'hd0'.

Referred this page and tried the following:
Code:
grub rescue> set pager=1

grub rescue> ls
(hd0) (hd0,gpt3) (hd0,gpt2) (hd0,gpt1) (lvm/pve-data) (lvm/pve-root) (lvm/pve-swap)

grub rescue> ls (hd0)
(hd0): Filesystem is unknown.

... same for all the above partitions

grub rescue> ls /
./ ../ lost+found/ boot/ var/ opt/ usr/ home/ tmp/ lib/ root/ media/ run/ srv/ proc/ etc/ bin/ dev/ sys/ selinux/ sbin/ lib64/ mnt/ .gnupg/

grub rescue> ls /boot
error: attempt to read or write outside of disk 'hd0'.

... same for all the folders above

grub rescue> set
cmdpath=(hd0)
pager=1
prefix=(lvmid/HgO2CX-KnQK-........-dQk9Hf)/boot/grub
root=lvmid/HgO2CX-KnQK-........-dQk9Hf

The above lvmid UUID corresponds correctly with the ones in the /boot/grub/grub.cfg (taken when it was working).

Is there a set of grub rescue instructions for Proxmox?

Will attempt to revert to a previous BIOS and see.

.
 
Attempted a re-install of PVE3.4-6 and the following error popped up at the end of the install (100%):
Installation failed!
command 'mkfs.ext3 -F /dev/pve/root' failed with exit code 37 at /usr/bin/proxinstall line 246.

Expect that this is a disk failure or a BIOS goofup.

AHCI Mode HDD in BIOS - SATA Port 0.
Disk and mainboard are SATA II (3 GBps).

CTRL-ALT-F2 showed the following:
Allocating group tables: done
Writing inode tables: done
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: 9/768
Warning, had trouble writing out superblocks.command 'mkfs.ext3 -F /dev/pve/root' failed with exit code 37 at /usr/bin/proxinstall line 246.
umount: /target/var/lib/vz: not found
umount: /target/tmp: not found
umount: /target/proc: not found
umount: /target/sys: not found
umount: /target: not mounted

An earlier Exit Code 37 post seems to have no closure yet.
 
Last edited: