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

How to install ubuntu Grub

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

Share

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

This article mainly shows you "how to install ubuntu Grub", the content is easy to understand, clear, hope to help you solve your doubts, the following let the editor lead you to study and learn "how to install ubuntu Grub" this article.

Ubuntu Grub installation is also very simple: sudo apt-get install startupmanager grub-splashimages

1. Delete the ubuntu Grub package installed by Ubuntu (if you don't delete it, the second step will not succeed)

Code: grub-gfxboot.deb

two。 Reinstall a new ubuntu Grub package (if the * step is not deleted, the installation will not be successful)

Code: sudo apt-get install grub-gfxboot

If it is not in the source, you can click the link below to download it.

Grub-gfxboot.deb

3. Download the message package, which is the key to modifying the interface

Message.tar.tar

Message.ububrown is as follows

Message.ububrown is as follows

Message.snow is as follows

Message.blusplash is as follows

4. Extract the message package and put the files in the package into the boot directory

Code: sudo tar jxvf message.tar.bz2-C / boot

If the code is unsuccessful, it is recommended that you open the folder with root permission

Sudo apt-get install nautilus-gksu

Right-click the file or folder and select to open it as an administrator to extract the message package.

Put the files in the bag, such as message.snow, into the boot directory!

5. Modify the / boot/grub/menu.lst file code:

Sudo cp / boot/grub/menu.lst / boot/grub/menu.lst_back\\ backup menu.lst sudo gedit / boot/grub/menu.lst

Fill in the following contents under timeout XX

Code: gfxmenu (hd0,6) / boot/message.ubugrey\\ (hd0,6) if you only have one hard drive: change it to (hd0,y) fill in Y according to your actual location to represent the location of your partition!

Or gfxmenu (hd0,6) / boot/message.ububrown\\ (hd0,6) fill in according to your actual location, message.xxxx according to your choice

6. Set up ubuntu Grub and execute the command:

Code: sudo grub

Execute the following commands under the ubuntu Grub > command line

Code:

Find / boot/grub/stage1\\ find the location of your grub installation, such as / grub/stage1

The value of root (hd0,6)\\ depends on the value of groot in your menu.lst.

Setup (hd0)\\ fill in the location according to the actual situation

7. Install ubuntu Grub

Code: sudo grub-install / dev/hda

If displayed as "Not found or not a block device.", please execute the

Code: sudo grub-install / dev/sda

If it is displayed as "/ dev/sda does not have any corresponding BIOS drive.", execute the command code first: sudo grub-install-- recheck / dev/sda

Then execute the code: sudo grub-install / dev/sda

8. It's done. Restart the computer. Ubuntu Grub is so easily installed.

The above is all the contents of the article "how to install ubuntu Grub". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, 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: 300

*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