制作grub 0.97启动盘

本文档介绍了如何在Centos 6环境下制作一个包含grub 0.97的U盘启动盘。首先确保U盘有一个MBR和boot分区,如sdb1。然后通过两个步骤完成:1. 将grub写入U盘;2. 从grub4dos官网下载grub.exe并存入U盘boot分区。参考链接包括grub 0.97官方文档和grub4dos使用指南。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

前提:

U盘:需要MBR和至少一个分区,假设u盘boot分区为sdb1

操作系统:Centos 6


step1.将grub写入u盘

#写入bootsector
[root@localhost ~]# grub-install --root-directory=/mnt/extend/usbdisk /dev/sdb1
Probing devices to guess BIOS drives. This may take a long time.
Installation finished. No error reported.
This is the contents of the device map /mnt/extend/usbdisk/boot/grub/device.map.
Check if this is correct or not. If any of the lines is incorrect,
fix it and re-run the script `grub-install'.

(fd0)	/dev/fd0
(hd0)	/dev/sda
(hd1)	/dev/sdb

#写入MBR
[root@localhost ~]# grub
Probing devices to guess BIOS drives. This may take a long time.


    GNU GRUB  version 0.97  (640K lower / 3072K upper memory)

 [ Minimal BASH-like line editing is supported.  For the first word, TAB
   lists possible command completions.  Anywhere else TAB lists the possible
   completions of a device/filen
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值