虫二的博客分享 http://blog.sciencenet.cn/u/ws3285 GIS

博文

2012-12-9---晴

已有 1765 次阅读 2012-12-9 10:58 |个人分类:额度|系统分类:生活其它|关键词:学者

1. grubinst_gui.exe将GRLDR的启动代码写入到MBR

2. Copy====grub4dos下的grldr, grub.exe, menu.lst

3. Copy====grldr, grub.exe, menu.lst, isolinux, images, Fedora17-DVD.iso

4.修改menu.lst
color black/cyan yellow/cyan
timeout
30
default /default

title boot
MicroPE.iso
fallback
1
find
--set-root /WinPEtool.iso
map
/WinPEtool.iso (0xff) || map --mem /WinPEtool.iso (0xff)
map
--hook
chainloader
(0xff)
savedefault
--wait=2

title install fedora
-17-i386
find
--set-root /isolinux/vmlinuz
kernel
/isolinux/vmlinuz repo=hd:/dev/sdb1:/
initrd /
isolinux/initrd.img
boot

title grub command line
commandline

title reboot
savedefault
--wait=2
reboot

title shutdown
savedefault
--wait=2
halt

menu.lst中的repo=hd:/sdb1:/为Fedora的iso文件的目录位置, sdb表示U盘

若kernel /isolinux/vmlinuz …这一行写成:

kernel /isolinux/vmlinuz root=live:/dev/sdb1
则会在安装过程中要求联网,否则不能完成安装。

5.引导  

6.H的配置


https://m.sciencenet.cn/blog-704935-640786.html


下一篇:2013-7-13--晴--Overview of GIScience

0

该博文允许注册用户评论 请点击登录 评论 (0 个评论)

数据加载中...

Archiver|手机版|科学网 ( 京ICP备07017567号-12 )

GMT+8, 2024-3-29 14:41

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部