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 solve the problems in Ubuntu 9.10 Grub

2025-01-20 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)05/31 Report--

This article introduces the relevant knowledge of "how to solve the problems in Ubuntu 9.10 Grub". In the operation of actual cases, many people will encounter such a dilemma, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!

Ubuntu has been guided by Grub2 since 9.10, leaving aside the advantages of grub2, we may encounter the following two different problems

1.Ubuntu 9.10 Grub in order not to destroy the startup of windows, if we do not load grub on mbr, simply installing grub4dos to disk C will not be able to boot grub2 smoothly. We need to create a menu.lst file under disk C with the following contents:

Timeout 3 default 0 title grub2 find-set-root / grub/core.img kernel / grub/core.img

You need to know more about what Grub4Dos can access

Http://grub4dos.sourceforge.net/wiki/index.php?title=Grub4dos_%E7%AE%80%E4%BB%8B&redirect=no

two。 You can't modify the startup configuration in ubuntu by modifying the menu.lst file. Grub2 mainly contains

1./boot/grub/grub.cfg file

2./etc/grub.d/ folder

3./etc/default/grub file

Grub.cfg is the configuration option, similar to menu.lst, but we cannot modify the configuration directly by modifying this file. Instead, we need to make corresponding changes in items 2 and 3 and execute the update-grub command to make the / boot/grub/grub.cfg update automatically.

Take the simplest and most commonly used startup items, the default selection order and the selection wait time, as an example, we just need to do

1. Sudo gedit / etc/default/grub

two。 Change the numbers after the GRUB_DEFAULT= and GRUB_TIMEOUT= strings to what we want and save them off.

3. Sudo update-grub

This is the end of the content of "how to solve the problems in Ubuntu 9.10 Grub". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!

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.

Share To

Servers

Wechat

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

12
Report