惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

罗磊的独立博客
小众软件
小众软件
The Cloudflare Blog
博客园 - 【当耐特】
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
酷 壳 – CoolShell
酷 壳 – CoolShell
WordPress大学
WordPress大学
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
V
Visual Studio Blog
量子位
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
美团技术团队
S
SegmentFault 最新的问题
宝玉的分享
宝玉的分享
博客园 - 叶小钗
月光博客
月光博客
Apple Machine Learning Research
Apple Machine Learning Research
T
Tailwind CSS Blog
博客园 - 聂微东
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
J
Java Code Geeks
Y
Y Combinator Blog
D
Docker
Microsoft Azure Blog
Microsoft Azure Blog

博客园 - 月の祭司

eMule需要备份的文件 OpenDNS,独特的免费DNS 用MeGUI压制720x480 MP4视频,详细教程[面向有一定基础者] [转载]avs讲解及其在rmvb压制中的合理运用 - 月の祭司 - 博客园 AVS脚本参数 - 月の祭司 - 博客园 VS2008 download ed2k links 删除 Windows Event Viewer 中不需要的Event ArchLinux Gnome Terminal 优盘中文问号的解决方法 [转载]Image Your Hard Drive using dd - 月の祭司 [转载]dd command of Linux vi中去掉“^M” GNU EMACS字体设置,基本上可以随心所欲 LInux下Mplayer字幕乱码,日文字体部分乱码解决方案 Arch Linux下 让MPlayer用上CoreAVC1.7.0.0解码器 Ubuntu 声卡独占解决方法 [转载]搞定amd64 8.04下面mldonkey自动退出问题(段错误) Ubuntu8.04系统优化 Ubuntu 8.04 Flash中文方块儿解决办法 Install Opera&Config Font on Ubuntu 64bit
Vista和Linux共存的2种方法
月の祭司 · 2008-07-04 · via 博客园 - 月の祭司

环境 Vista SP1 ,Arch Linux

SDA1 vista c
SDA2 /boot
SDA3 SWAP
SDA6 /
SDA7 /home
SDA8 /data
SDA9 vista d

方法1:

1.导出Linux引导记录(Grub没有安装在MBR)

#dd if=/dev/sda2 of=/home/你的用户名/arch.lnx bs=512 count=1
/dev/sda2视你的arch boot所在分区而定。
生成arch.lnx,用此文件取代grldr.mbr。

2.在Vista的引导菜单中加入Ubuntu引导

在vista下,用管理员权限运行cmd,然后
bcdedit /create /d "ArchLinux" /application bootsector 得到了一个id字符串
bcdedit /set {id} device partition=C:
bcdedit /set {id} path \arch.lnx
bcdedit /displayorder {id} /addlast

方法2:

ArchLinux早已安装完毕,并且Vista SP1已经用VistaLoader激活,
下载好grub4dos(wiki:http://grub4dos.sourceforge.net/wiki/index.php/Main_Page

将GRLDR.MBR拷贝至Vista系统盘的根目录下,如C:\。同时,也将GRLDR和menu.lst拷到系统盘的根目录下。
需要注意的是,C:\GRLDR文件本来就存在,任意改个名字即可。

重起后将首先进入grub4dos而不是像2000/2003/XP那样首先进入Windows引导界面。

附上我的menu.1st

# This is a sample menu.lst file. You should make some changes to it.
# The old install method of booting via the stage-files has been removed.
# Please install GRLDR boot strap code to MBR with the bootlace.com
# utility under DOS/Win9x or Linux.

color black/cyan yellow/cyan
timeout 3
default /default

title Windows Vista
find --set-root /bootmgr
chainloader /bootmgr

title    Arch Linux
root    (hd0,1)
kernel    /vmlinuz26 root=/dev/sda6 ro noapic vga=773
initrd    /kernel26.img

title    Arch Linux Fallback
root    (hd0,1)
kernel    /vmlinuz26 root=/dev/sda6 ro noapic vga=773
initrd    /kernel26-fallback.img

title find and load NTLDR of Windows NT/2K/XP
fallback 1
find --set-root /ntldr
chainloader /ntldr
savedefault --wait=2

title commandline
savedefault --wait=2
commandline

title reboot
savedefault --wait=2
reboot

title halt
savedefault --wait=2
halt

title Install Arch
kernel (hd0,0)/isolinux/vmlinuz vga=773
initrd (hd0,0)/isolinux/initrd.img

title Install Ubuntu
find --set-root /ubuntu-8.04-desktop-amd64.iso
kernel (hd0,0)/casper/vmlinuz boot=casper
initrd (hd0,0)/casper/initrd.gz