Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

The solution to the problem of Ubuntu Grub configuring Ubuntu Vista dual system

2025-03-30 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article shows you the solution to the problem of Ubuntu Grub configuring Ubuntu Vista dual system, which is concise and easy to understand, which will definitely brighten your eyes. I hope you can get something through the detailed introduction of this article.

With regard to the grub problem of ubuntu, I don't know what has been deleted by me recently, and I can't continue it when I start up to grub. I found a lot of information on the Internet, and found that there is still a certain gap with my own problems.

1Jing Ubuntu Grub configuration grub is corrupted

If you enter rescue mode at startup (you cannot enter the operating system selection menu), you can fix it as follows:

Set root= (hd0,x)

Set prefix= (hd0,x) / root/grub

Insmod normal

Normal

It depends on your own system. You should be able to enter the operating system selection menu.

You can't enter ubuntu after reinstalling the operating system. 2.

Start with ubuntu live CD.

Open the command line terminal

Enter the following command

Sudo mkdir / mnt/root

Sudo mount-t ext4 / dev/sda7 / mnt/root (ext4, change to your own file system format, and sda7 to your own ubuntu boot partition)

Sudo mount-t proc none / mnt/root/proc

Sudo mount-o bind / dev / mnt/root/dev

Sudo chroot / mnt/root / bin/bash

Sudo grub-install / dev/sda

Sudo update-grub

Restart, you should be able to enter ubuntu, but you can't enter windows yet. Open the command line terminal in ubuntu and modify menu.lst:

Sudo gedit / boot/menu.lst

Put

# title Windows 95/98/NT/2000

# root (hd0,0)

# makeactive

# chainloader + 1

Change it to:

Title Windows 95/98/NT/2000

Root (hd0,0)

Makeactive

Chainloader + 1

Restart and you can see the menu for windows.

The above is the solution to the problem of Ubuntu Grub configuring Ubuntu Vista dual system. Have you learned the knowledge or skills? If you want to learn more skills or enrich your knowledge reserve, you are welcome to follow the industry information channel.

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: 302

*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.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report