In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-10 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly explains "How to solve The file /boot/grub/stage1 not read cor". Interested friends may wish to take a look. The method introduced in this paper is simple, fast and practical. The file /boot/grub/stage1 does not read cor.
First mount the original/partition
sudo mkdir /mnt/root
sudo mount /dev/sda7 /mnt/root
sudo mount -t proc none /mnt/root/proc
sudo mount -o bind /dev /mnt/root/dev
If you don't know the device name of the/partition, you can use sudo fdisk -l to see it.
Use chroot to enter the original/partition
chroot /mnt/root /bin/bash
source /etc/profile
Recovery grub
sudo grub-install --no-floppy /dev/sda
"The file /boot/grub/stage1 not read correctly"
From the Internet search about the relevant articles, found that there are changes in the partition caused by the file fstab and mtab.
Edit/etc/mtab and find that the partition device of/is incorrect. After modifying the alignment, run it again.
grub-install /dev/sda succeeded.
After restarting, enter grub, select linux, and find that the partition cannot be found. Edit the grub option with e, and change the root to the correct partition device.
Then enter the b command to start. If menu.lst is modified before restarting, this problem will not occur.
At this point, I believe that everyone has a deeper understanding of "how to solve The file /boot/grub/stage1 not read cor". Let's actually operate it! Here is the website, more related content can enter the relevant channels for inquiry, pay attention to us, continue to learn!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.