PROJET AUTOBLOG


Shaarli - Les discussions de Shaarli

Archivé

Site original : Shaarli - Les discussions de Shaarli

⇐ retour index

grub2 - What to do when I get an "attempt to read or write outside of disk 'hd0'" error and Boot Repair does not solve the problem? - Ask Ubuntu

mardi 25 août 2015 à 10:11
Bookmark Bronco
Bon, vu que j'ai quelques emmerdes de ce côté, je me note ce qui a marché ^^

grub rescue > ls
(hd0) (hd0, msdos9)
grub rescue > ls (hd0,msdos9)
grub rescue > ls (hd0,msdos8)
grub rescue > ls (hd0,msdos5) # suppose this is linux
grub rescue > ls (hd0,msdos5)
grub rescue > set root=(hd0,msdos5)
grub rescue > set prefix=(hd0,msdos5)/boot/grub
grub rescue > insmod normal
grub rescue > normal
Now, system's boot menu appears. Boot into linux.

sudo update-grub
sudo grub-install  /dev/sda # If the drive is hd0 the equivalent is sda, if it's hd1 then use sdb

sur ma config, c'était hd0,1
(Permalink)