Grub rescue error on startup.

Moussa60 -  
 Hendiadyn -
Hello,

After reformatting two partitions under Linux with Gparted, I can no longer boot my Dell Vostro 1220 PC, which was set up for dual boot with Win7.

Upon seeing the black screen on restart with the message:
 error: no such partition.
Entering rescue mode...
grub rescue>


I listed my partitions using the command
ls
.
Having identified that my Win7 is installed on partition
(hd0, msdos1)
, I tried to type this series of characters after the grub rescue> prompt, but I can’t figure out which key combination to press to get the parentheses
(
and
)
.

My keyboard was identified as French (outdated version) during the installation of Linux.
Thank you for your reply,
Moussa60

Configuration: Linux / Firefox 70.0

2 réponses

mamiemando Posted messages 33541 Registration date   Status Modérateur Last intervention   7 933
 
Hello,

In grub rescue, you are using a QWERTY keyboard, which probably explains why you can't type parentheses. It is not possible to switch back to a French keyboard unless grub was built for it (see for example this discussion). So use a QWERTY keyboard image if necessary. But even after that, repairing from grub rescue isn't necessarily easy.

I would rather advise you to prepare a USB stick with boot-repair. In my opinion, it will be much simpler.

Good luck!
0
Moussa60
 
Useful and interesting response. Thank you for the QWERTY keyboard, I had mistakenly and unsuccessfully focused on ASCII characters. Regarding boot-repair, I used an Ubuntu Remix 14 CD that my computer boots from and which allowed me to recover my essential data. As for fixing the GRUB/MBR, I haven't managed to do it yet, as the system keeps asking me to reconfigure (dpkg-a) the chroot, which I can't seem to do after opening a terminal and typing the corresponding command. Therefore, I am leaning towards a reinstallation of Ubuntu 14, hoping that this will recreate the grub and enable dual boot.
0
jns55
 
Hello,
"After reformatting two partitions under Linux with Gparted, I can no longer boot my Dell Vostro 1220 which was in dual boot with Win7."

If the partition that contained the grub configuration files has been formatted, that's perfectly normal...

In that case, you only have to repair the boot of Windows 7 with the installation DVD because grub cannot be repaired. Or reinstall the Linux you formatted, and the dual-boot will be restored.
0
Hendiadyn
 
Hello,

Let’s add: ". I'm therefore leaning towards a reinstallation of Ubuntu 14" is absurd because it's an outdated version.
0