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 make grub Boot CD of linux system

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

Share

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

This article introduces the relevant knowledge of "how to make a grub boot CD of linux system". 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!

My system is redhat linux 9.0, but the grub package of this distribution does not contain the stage2_eltorito file we need most (this is the most important file for making a grub boot CD), so I downloaded version 0.95 of grub, address: ftp://alpha.gnu.org/gnu/grub/grub-0.95.tar.gz

The next step is to install grub, just like most source packages, we need to:

$tar zxvf grub-0.95.tar.gz

$cd grub-0.95

$. / configure

$make

$make install

All right, grub installation is complete (got stage2_eltorito, in order to save everyone's time, I extracted this file, if anyone can upload for download, mail me)

Now that we do this, we can get our own grub CD image:

$mkdir iso

$mkdir-p iso/boot/grub

Path where $cp / stage2_eltorito is located / stage2_eltorito iso/boot/grub

$cp / boot/grub/menu.lst iso/boot/grub

$mkisofs-R-b boot/grub/stage2_eltorito-no-emul-boot-boot-load-size 4-boot-info-table-o grub.iso iso

Okay, now grub.iso is the mirror you need.

Then use cdrecord or the front end to engrave the image in cdr/rw.

Path to $cdrecord-v dev=0,0,0 / grub.iso / grub.iso speed=8

The above command should be modified according to your own situation.

All right, so we get a grub boot CD.

Of course, since it takes only more than 200k bytes to make a grub boot CD, when making iso, you can put some other useful things in the iso folder to make a mirror.

This is the end of the content of "how to make a grub boot CD of linux system". 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