================
**Win7->Ubuntu**
================
1.准备文件
1)grub4dos
2)ubuntu-10.04-desktop-i386.iso
2.win7设置
1)bcdedit设置windwos启动管理器
a)启动administrator账户权限。win7的administrator用户默认被锁定。开启步骤:
我的电脑->管理->系统工具->本地用户和组->用户->右键administrator->属性->账户已禁用复选框->切换用户
b)cmd:
A:bcdedit /create /d “GRUB4DOS” /application bootsector
产生GUID
B.bcdedit /set {GUID} device partition=C:
设置添加启动项的启动分区,此处C盘,因为我们的文件都在C盘。
C.bcdedit /set {GUID} path \grldr.mbr
设置启动时运行的文件。
D.bcdedit /displayorder {GUID} /addlast
将增加的启动项放到其他启动项的后面
E.bcdedit /enum 查看启动项配置
F.bcdedit /delete {90e14995-d284-11de-a325-a4ab4deca1b7} /f
删除启动项
3.C盘新建menu.lst文件:
title Install Ubuntu
root (hd0,0)
kernel (hd0,0)/vmlinuz boot=casper iso-scan/filename=/ubuntu-10.04RC-desktop-i386.iso ro quiet splash locale=zh_CN.UTF-8
initrd (hd0,0)/initrd.lz
4.重启->GRUB4DOS->Install Ubuntu
==================
**Fedora->Ubuntu**
==================
1./boot/grub/grub.cfg添加
title Install Ubuntu
root (hd0,x)
kernel /vmlinuz boot=casper iso-scan/filename=/ubuntu-10.04-desktop-i386.iso ro quiet splash locale=zh_CN.UTF-8
initrd /initrd.lz
2.ubuntu-10.04-desktop-i386.iso与解压出的/crasper/vmlinuz;initrd.lz放入/boot区3.reboot
==================
**Win7 -> Fedora**
==================
1.E:Fat32,16G
2.C:\
grldr,
grldr.mbr,
initrd.img,
vmlinuz
menu.lst
E:\
images\
isolinux\
Fedora-14-Alpha-x86_64-DVD.iso
initrd.img
vmlinuz
3.menu.lst:
title Install Fedora
kernel (hd0,1)/vmlinuz
initrd (hd0,1)/initrd.img
4.Install EasyBCD 2.0.2
Add New Entry -> Linux/BSD -> Grub(legacy):Grub isn't installed to MBR/bootsector ->Add Entry
5.reboot
阅读(922) | 评论(0) | 转发(0) |