安装参考(我用的linuxmint):
1、准备
linuxmint启动盘启动电脑,进入linuxlive
用usb image write把下载的镜像写入u盘
打开gparted,调整分区,分出一个ext3分区以便安装linux(记下分区编号如sda3),再分出一个swap分区(我用了5g)
2、安装系统
2.1安装win7
2.2安装linux
用linuxmint启动盘启动电脑,点桌面的install linuxmint
选择安装分区时,把ext3分区挂载为根分区,swap分区为swap
grub启动安装到ext3分区
安装完毕后不要重启,打开一个非windows分区,右键,open in terminal(在终端中打开),输入下列命令
sudo dd if=/dev/sda? of=linux.bin bs=512 count=1(sda?代表你安装linux的分区编号,在gparted时可以看到)
如果linux启动菜单不能启动windows,在linux终端中输入下列命令修复
sudo update-grub
3、多重启动
3.1win7与linux双启动
把linuxmint.bin 拷到c盘根目录
打开命令窗口运行以下命令:
bcdedit /create /d "linux" /application bootsector
这里记下{}中的一串号代替下列命令中的guid
bcdedit /set {guid} device partition=c:
bcdedit /set {guid} path \linux.bin
bcdedit /displayorder {guid} /addlast
bcdedit /timeout 5
完成后即可,开机5秒显示启动选择菜单
如果先安装windows,后安装linux,可以实现双系统开机随意反复切换(即windows启动菜单有linux,linux启动菜单有windows)