Proxmox VE Booting into GRUB Rescue: "Attempt to Read or Write Outside of Disk hd0" Fix

Background:
I have a Dell PowerEdge R430 server in Shanghai, which runs the Proxmox VE 8 (PVE) system (Debian-based) and several VMs. My various websites / environments are running here. The most important one includes the software router OpenWrt system.

Last week, I was in Vancouver, and my family suddenly told me that the Internet access in my home in Shanghai was frequently disconnected, avg 3-5 times a day, with a 30 mins – 2 hrs period. At that time, I couldn’t accurately troubleshoot the problem. I thought it was OpenWrt that failed (I later found out that the ISP – China Telecom’s fiber cable was broken and had a fiber optic attenuation), so I asked my family to replace the cable connection with the hardware router I had prepared in advance and wait for me to return to Shanghai for troubleshooting. After the replacement, I asked my family to enter the “shutdown” command in PVE.

Configuration Details:
Dell PowerEdge R430 server: Perc H730 Mini hardware Raid controller + 4 * 16TB Hard Drives, which is divided into 1* 32TB available space virtual disk, RAID6, and UEFI boot mode.

Problem:
After returning to Shanghai, I checked the display in the console and found that the shutdown command was not successfully executed, and there was no response to the input command, so I entered iDRAC8 to manage the Power off command. When I turned on the server again, I found that PVE did not display grub and there was no kernel list. Instead, it directly entered grub rescue, and “attempt to read or write outside of disk hd0” was displayed on the top.

Error Message: attempt to read or write outside of disk hd0
Error Message: attempt to read or write outside of disk hd0

My Solution:
I entered Bios and found that the boot mode was BIOS instead of UEFI. The reason was unknown. After setting it to UEFI, the boot behavior returned to normal.

Dell R430 Bios: Boot Options UEFI / BIOS
Dell R430 Bios: Boot Options UEFI / BIOS

This method avoids modifying data and the system settings. I personally think it can be used as the first choice for repair attempts when encountering an “attempt to read or write outside of disk hd0” error. This article is for personal record only and for reference only, proceed at your own discretion.

本站所有内容,未经授权严禁转载。
Unauthorized reproduction of any content is strictly prohibited.
# # # # # # # # #
首页      信息技术      Proxmox VE Booting into GRUB Rescue: "Attempt to Read or Write Outside of Disk hd0" Fix

EnsonYan

文章作者

目前正在加拿大攻读游戏设计相关学位。IT / 摄影 / 汽车爱好者

发表回复

textsms
account_circle
email

Proxmox VE Booting into GRUB Rescue: "Attempt to Read or Write Outside of Disk hd0" Fix
Background:I have a Dell PowerEdge R430 server in Shanghai, which runs the Proxmox VE 8 (PVE) system (Debian-based) and several VMs. My various websites / environments are ru…
扫描二维码继续阅读
2024-12-20