[problem help] Deepin23RC upgrade make grub broken? Resolved
Tofloor
poster avatar
c***n@gmail.com
deepin
2024-05-16 12:38
Author

Hi all,

I've got a problem, after upgrading Beta3 to RC, my boot menu no longer able to boot into Deepin or Windows.

Fyi, my system is Dua boot Deepin with windows in MBR disk, but after a restart from deepin, my system both windows and deepin has lost in the jungle.

Both error from windows or deepin, states out of range pointer

Any suggestion for recovery the grub? or step by step tutorial?

Thanks in advance

Reply Favorite View the author
All Replies
pzm9012
Moderator
2024-05-17 01:50
#1

You can fix Grub using a LiveCD. Below might be a solution:

Download an ISO of Ubuntu/Deepin V23 RC/Debian and burn it to a flash drive using tools like Etcher. Enter the live system, then find out the label of the system drive of Deepin(formatted in /dev/sdaX or /dev/nvme0pXnY). Execute these commands:

sudo mount /dev/sdaX /mnt
sudo grub-install --root-directory=/mnt /dev/sda
Reply View the author
c***n@gmail.com
deepin
2024-05-17 10:59
#2
pzm9012

You can fix Grub using a LiveCD. Below might be a solution:

Download an ISO of Ubuntu/Deepin V23 RC/Debian and burn it to a flash drive using tools like Etcher. Enter the live system, then find out the label of the system drive of Deepin(formatted in /dev/sdaX or /dev/nvme0pXnY). Execute these commands:

sudo mount /dev/sdaX /mnt
sudo grub-install --root-directory=/mnt /dev/sda

Thanks mod

It works flawlessly, i use debian 10 netinst iso.

Hope next upgrade the grub got fixed

Reply View the author