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~
阅读(2325) | 评论(0) | 转发(0) |