Home
Categories
WIKI
Topic
User
LANGUAGE:
中文
English
在win7上体验Deepin LiveCD
Experiences and Insight
2285
views ·
3
replies ·
To
floor
Go
sigejek
deepin
2014-03-11 20:04
Author
首先呢,下载一个grub4dos,嗯,好像多年过去还是0.4.4这个版本。
其实只需要其中两个文件:grldr.mbr 和 grldr
把他们提取出来放到C盘根目录下。
然后呢,要让win7的启动菜单出现grub4dos选项,有两种方法:
其一,复杂的、高级的、专业的、装逼的 bcdedit。
1、以管理员权限允许 cmd。
2、备份 bcd 以防万一。
bcdedit /export "D:\BCD.bak"
Copy the Code
3、创建一个名为 "grub4dos" 的启动项,生成 ID。
bcdedit /create /d "grub4dos" /application bootsector
Copy the Code
4、告诉bcd新项对应C盘根目录的grldr.mbr。
bcdedit /set {ID} device partition=C:
bcdedit /set {ID} path \grldr.mbr
Copy the Code
5、将新建项加入到启动列表末尾。
bcdedit /displayorder {ID} /addlast
Copy the Code
其二,简洁的 boot.ini。
不要以为win7没有boot.ini文件,其实一样好用。在C盘根目录新建 boot.ini 文件,写入内容。
[boot loader]
[operating systems]
c:\grldr.mbr="Grub4dos"
Copy the Code
接下来,在 C 盘新建文件夹,用来放deepin的相关文件,譬如 c:\linux\deepin2013。
紧接着,把镜像里casper目录下的 vmlinuz 和 initrd.lz 提取出来放到刚刚建立的文件夹 c:\linux\deepin2013 下面,镜像文件 deepin_2013_zh-hans_i386.iso 也放这里。
最后呢,在 C 盘根目录下新建文件 menu.lst,写入内容。
color blue/green yellow/red white/magenta white/magenta
timeout 30
default /default
title Deepin Linux 2013 Live CD
find --set-root /linux/deepin2013/deepin_2013_zh-hans_i386.iso
kernel /linux/deepin2013/vmlinuz boot=casper iso-scan/filename=/linux/deepin2013/deepin_2013_zh-hans_i386.iso ro quiet splash locale=zh_CN.UTF-8
initrd /linux/deepin2013/initrd.lz
Copy the Code
重启计算机,选择 grub4dos,再选择 Deepin Linux 2013 Live CD 即可体验。
注:如果能确定文件在 C 盘,find --set-root /linux/deepin2013/deepin_2013_zh-hans_i386.iso 其实可以用 root (hd0,0) 替代。
Reply
Like 0
Favorite
View the author
All Replies
xliang9550
deepin
2014-03-11 21:38
#1
谢谢分享,我感觉这个boot.ini的作用原理类似于XP/7双系统的情况,选择“早期Windows版本”的时候,boot.ini才会起作用。
Reply
Like 0
View the author
sigejek
deepin
2014-03-11 22:33
#2
楼上是没试过吧?
我上午就用boot.ini(之前ubuntu用bcdedit),哪里会有“早期windows版本”这种东西。
只不过,boot.ini里面的选项会排在bcd选项的后面,而已。
Reply
Like 0
View the author
xliang9550
deepin
2014-03-12 04:02
#3
当时是双系统,我试着更改boot.ini中的XP启动参数,发现有作用。
至于boot.ini是否如微软官方文档说的那样毫无用处,并没有做深入尝试。
甚至XP的cmd也能像Linux终端那样通过Tab键自动补全,我也是直到XP即将终结的时候才刚刚发现。
Reply
Like 0
View the author
Please
sign
in first
Featured Collection
Change
[Tutorial] deepin25 WSL Offline Installation Guide
UOS AI 2.8 Released! Three New Intelligent Agents & Major Evolution
Solid Q&A | deepin 25 Common Questions – The Immutable System Edition
New Thread
Popular Ranking
Change
Error configurar cara autenticacion biometrica
Hız
add screenshot to message sent early
HP Pavilion extremly slow
HP Printer smart tank 5105 not support
Position of the "UOS AI" Agent moved from left to right?
Popular Events
More
其实只需要其中两个文件:grldr.mbr 和 grldr
把他们提取出来放到C盘根目录下。
然后呢,要让win7的启动菜单出现grub4dos选项,有两种方法:
其一,复杂的、高级的、专业的、装逼的 bcdedit。
1、以管理员权限允许 cmd。
2、备份 bcd 以防万一。
其二,简洁的 boot.ini。
不要以为win7没有boot.ini文件,其实一样好用。在C盘根目录新建 boot.ini 文件,写入内容。
接下来,在 C 盘新建文件夹,用来放deepin的相关文件,譬如 c:\linux\deepin2013。
紧接着,把镜像里casper目录下的 vmlinuz 和 initrd.lz 提取出来放到刚刚建立的文件夹 c:\linux\deepin2013 下面,镜像文件 deepin_2013_zh-hans_i386.iso 也放这里。
最后呢,在 C 盘根目录下新建文件 menu.lst,写入内容。
重启计算机,选择 grub4dos,再选择 Deepin Linux 2013 Live CD 即可体验。
注:如果能确定文件在 C 盘,find --set-root /linux/deepin2013/deepin_2013_zh-hans_i386.iso 其实可以用 root (hd0,0) 替代。