Ubuntu boot up with GRUB Rescue> Terminal mode repair methods: http://www.linuxidc.com/Linux/2012-07/65249.htm
Windows& Ubuntu double system a key Ghost, prompt grub rescue solution: http://www.linuxidc.com/Linux/2015-01/111189.htm
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
Windows 7+Ubuntu14.04 dual system has been installed, a Ubuntu14.04 has been installed, the following error occurs after boot:
error:no such partition
Entering rescue mode...
grub rescue>
has been reinstalled in the system before, so this problem has been encountered several times. Record it today
There are not many commands available in this case, ls, set, insmod
Enter LS and the following information appears:
(hd0) (hd0,msdos7) (hd0,msdos6) (hd0,msdos5)
this information should be the disk partition information, the mode is approximately (hd0,msdosX), X represents the number
Enter SET and the following information appears:
cmdpath=(hd0)
prefix=(hd0,msdos8)/boot/grub
root=hd0,msdox8
To find out which partition Ubuntu is installed on, here’s how:
ls (hd0,msdosX)/grub OR ls (hd0,msdosX)/boot/grub
enter the above command in turn, X is the number, is the ls command appears in the number, if there is a lot of file information, is the partition
Assume that the input LS (HD0, MSDOS4) is a lot of information. Next, set:
set root=(hd0,msdos4)
set prefix=(hd0,msdos4)/grub
Note: If /boot/ GRUB is above, change the following command accordingly
After setting, you can input set command to view, and the output information will change to:
cmdpath=(hd0)
prefix=(hd0,msdos4)/grub
root=hd0,msdos4
Continue typing the command:
insmod normal
This works for me or
insmod /grub/normal.mod
Or change to the corresponding /boot/grub/…
Finally, enter:
normal
Grub’s boot menu is restored
After entering Ubuntu, enter the following command:
sudo apt-get install grub2
sudo update-grub
sudo update-install /dev/sda
restart, return to normal
Read More:
- Ubuntu install psycopg2 times: fatal error: libpq Fe. H: there is no solution to that file or directory
- How To Install Java with Apt-Get on Ubuntu 16.04
- [Solved] Win10 install Ubuntu error: wslregisterdistribution failed with error: 0x8007019e
- Win10 installs ubuntu system, error WslRegisterDistribution failed with error: 0x8007019e
- How To Install WordPress with LAMP on Ubuntu 16.04
- FreeSWITCH installation error “You must install libyuv-dev to build mod_fsv” solution
- [Solved] gocad2017 Install error: The installation of MSVC_2010_SP1_x64_32bit has failed.
- Automatic installation of NVIDIA 3090 video card driver
- Error in PostgreSQL installation of win10
- Bid for Kirin (Linux kernel) 7.0 compiler and installation sdl2.0 and QT using sdl2
- How to Fix creating process error during software installation
- Homebrew installation strategy of M1 MAC based on ARM architecture
- Install MySQL ODBC connector prompt error 1918 perfect solution (non installation of VC + + library method)
- Python installation of third-party libraries reported an error: “these packages do not match the hashes from the requirements file.”
- [Solved] faiss Failed to install Error: No version of faiss found that meets the requirements
- COLMAP Install Error: Undefined reference to libtiff4.0 [Solved]
- How to Install FFmpeg on Linux
- [Solved] Install docker under windows10 error: error during connect
- Raspberry PI install VIM editor
- Installing VB6.0 under win7 (error accessing the ole Registry)