Chinaunix首页 | 论坛 | 博客
  • 博客访问: 898028
  • 博文数量: 194
  • 博客积分: 7991
  • 博客等级: 少将
  • 技术积分: 2067
  • 用 户 组: 普通用户
  • 注册时间: 2007-12-09 22:03
文章分类

全部博文(194)

文章存档

2010年(8)

2009年(71)

2008年(109)

2007年(6)

我的朋友

分类: LINUX

2009-11-19 09:16:01

How to add an entry for Fedora12 to Vista/Win7's boot menu
Chinese title: 在Vista/Win7的启动菜单中为Fedora12添加启动入口
 
Keyword: BCD, Fedora 12, Linux, Vista, Windows 7, boot menu, dd, bcdedit
 
STEP ONE: Dump F12's boot record to f12.bin
Under Fedora12
1) Install grub to the partition where "/boot" directory resides
# grub-install /dev/sda2
2) Dump boot record
# dd if=/dev/sda2 of=/path/to/C:/f12.bin bs=512 count=1
 
STEP TWO: add entry to BCD Store
Under Vista/Win7
C:\>bcdedit /create /d "Fedora release 12 (Constantine)" /application BOOTSECTOR
C:\>bcdedit /set {xxxx--xxxxx.....xxx} device partition=C:
C:\>bcdedit /set {xxxx--xxxxx.....xxx} path \f12.bin
C:\>bcdedit /displayorder {xxxx--xxxxx.....xxx} /addlast
 
You are done! good luck~
阅读(2280) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~