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

Using linux's grub command Multibootstrap grub's command line shell tool

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

Share

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

This article will explain in detail about the use of linux grub command multi-boot program grub command shell tool, the editor thinks it is very practical, so share it for you to do a reference, I hope you can get something after reading this article.

The grub command is a command-line shell tool for the multi-boot program grub.

Grub is a bootstrap program or a system boot tool. You can boot a wide variety of systems, such as linux, freebsd, windows, and so on, through the grub command.

After entering the linux operating system, you can enter the grub command, enter the "grub >" prompt state, and then enter to operate several commands. Grub is similar to shell,bash. And provides two modes: interactive mode and non-interactive mode.

Syntax format: grub [parameters / commands]

Common parameters:

Common commands:

Reference example

The grub information is corrupted, use the command to start the system:

Grub > root (hd0,1) / * suppose / dev/hda2 is your / boot partition * / grub > kernel / boot/vmlinuz-2.6.15-26-386ro dev=/dev/hda3 / * suppose / dev/hda3 is your / partition * / grub > initrd / boot/initrd.img-2.6.15-26-386grub > boot

Install grub on the partition device:

Grub > setup (hd0)

Specify the initialization file:

Grub > initrd / boot/initrd-2.6.11-1.1369_FC4.img [Linux-initrd @ 0x2e1000, 0x10e685 bytes] the command line shell tool for using linux's grub command multibootstrap grub is shared here. I hope the above can be helpful and learn more. If you think the article is good, you can share it for more people to see.

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