1.准备分区
一种情况是在全新的硬盘做系统,一种是在xp上作系统
建议从硬盘的尾部分割出一块作为linux以及swap分区之用。
2.安装xp
3.安装linux
我喜欢用ubuntu,他的启动管理器是grub,他将接管xp的启动管理权限
这里需要留意他的grub启动菜单,将他上传到邮箱备用。一般在/boot/grub/grub.conf或者menu.lst
4.利用工具盘如雨浪飘零的windows故障恢复控制台修复mbr,恢复xp的启动管理
5.移植ubuntu提供的grub或者下载简体中文grub到c盘也即使用 XP的引导器(NTLDR)载入GRUB
修改c盘的boot.ini添加C:\GRLDR="Boot Grub with Full Set"
修改c盘下的menu.lst
添加刚才保存的grub菜单
以下为我以前自己做的grub启动菜单
#grub.conf generated by star1025
timeout 150
default 0
#color light-gray/blue black/light-red
#Fallback to the second entry.
fallback 1
fontfile (hd0,5)/boot/grub/fonts
splashimage (hd0,5)/boot/grub/5.xpm.gz
#gfxmenu (hd0,5)/boot/grub/grub_chs.msg
title *=*=*=*=*=*=*=*=*=-star1025---DIY---^_^ -=*=*=*=*=*=*=*=*=*=*=
root
title WINXP PRO操作系统
rootnoverify (hd0,0)
chainloader +1
title MagicLinux2.0
root (hd0,7)
kernel /boot/vmlinuz-2.6.15.3 init 5 ro root=/dev/hda8 vga=791 splash=silent
initrd /boot/initrd-2.6.15.3.img
title Geexbox 媒体中心
kernel (hd0,5)/geexbox/boot/vmlinuz root=/dev/ram0 rw init=linuxrc boot=hda7 vga=785 video=vesa:ywrp,mtrr console=/dev/tty1
initrd (hd0,5)/geexbox/boot/initrd.bz2
title slax livecd
kernel (hd0,5)/slax/boot/vmlinuz max_loop=255 init=linuxrc livecd_subdir=/ slax/ hdsubdir=/slax/ load_ramdisk=1 prompt_ramdisk=0 ramdisk_size=15000 root=/dev/ram0 rw
initrd (hd0,5)/slax/boot/initrd.gz
title Ubuntu, kernel 2.6.15-26-386
root (hd0,2)
kernel /boot/vmlinuz-2.6.15-26-386 root=/dev/hda3 ro quiet splash
initrd /boot/initrd.img-2.6.15-26-386
boot
title Ubuntu, kernel 2.6.15-26-386 (recovery mode)
root (hd0,2)
kernel /boot/vmlinuz-2.6.15-26-386 root=/dev/hda3 ro single
initrd /boot/initrd.img-2.6.15-26-386
boot
title Ubuntu, memtest86+
root (hd0,2)
kernel /boot/memtest86+.bin
boot
title Slackware Linux (on /dev/hda8)
root (hd0,7)
kernel /boot/vmlinuz root=/dev/hda8 ro
boot
title Fanx 中文linux livecd
kernel (hd0,6)/fanx/boot/vmlinuz max_loop=255 init=linuxrc livecd_subdir=/fanx/ hdsubdir=/fanx/ load_ramdisk=1 prompt_ramdisk=0 ramdisk_size=15000 root=/dev/ram0 rw
initrd (hd0,6)/fanx/boot/initrd.gz
title hiweed 中文linux livecd
kernel (hd0,6)/boot/vmlinuz lang=cn ramdisk_size=100000 init=/etc/init noapic acpi=off apm=power-off vga=791 splash=silent initrd=miniroot.gz quiet BOOT_IMAGE=morphix
initrd (hd0,6)/boot/miniroot.gz
title MenuetOS 另类操作系统
kernel (hd0,5)/boot/bootdisk/memdisk
initrd=(hd0,5)/boot/bootdisk/m078cn.img
title kvdos 2006 杀毒伴侣 and GHOST
kernel (hd0,5)/boot/bootdisk/memdisk
initrd=(hd0,5)/boot/bootdisk/dos98.ima
title kvhdfix 江民硬盘修复王
kernel (hd0,5)/boot/bootdisk/memdisk
initrd=(hd0,5)/boot/bootdisk/kvfix.img
title Win98SE DOS启动盘
kernel (hd0,5)/boot/bootdisk/memdisk
initrd=(hd0,5)/boot/dos98.ima
title 超级中文dos启动盘
kernel (hd0,5)/boot/bootdisk/memdisk
initrd=(hd0,5)/boot/doscn.ima
title SOS-2005 超级急救盘
kernel (hd0,5)/boot/bootdisk/memdisk
initrd=(hd0,5)/boot/bootdisk/sos.ima
title HWiNFO 硬件检测程序
kernel (hd0,5)/boot/bootdisk/memdisk
initrd=(hd0,5)/boot/bootdisk/hwinfo.ima
title Disk Genius 硬盘分区工具
kernel (hd0,5)/boot/bootdisk/memdisk
initrd=(hd0,5)/boot/bootdisk/DISKGEN.IMA
title HDD Regenerator硬盘坏道修复工具
kernel (hd0,5)/boot/bootdisk/memdisk
initrd=(hd0,5)/boot/bootdisk/HDDREG141.IMG
title 重启
reboot
title 关闭计算机
halt
title *=*=*=*=*=*=*=*=*=*=*=- 更换背景 -=*=*=*=*=*=*=*=*=*=*=*=*
root
title default
splashimage (hd0,5)/boot/grub/5.xpm.gz
title Apple-1
splashimage (hd0,5)/boot/grub/apple2.xpm.gz
title Apple-2
splashimage (hd0,5)/boot/grub/apple3.xpm.gz
title Apple-3
splashimage (hd0,5)/boot/grub/apple.xpm.gz
title Apple-4
splashimage (hd0,5)/boot/grub/apple4.xpm.gz
title Apple-5
splashimage (hd0,5)/boot/grub/4.xpm.gz
title Apple-6
splashimage (hd0,5)/boot/grub/apple6.xpm.gz
title Apple-7
splashimage (hd0,5)/boot/grub/apple7.xpm.gz
title qi'e
splashimage (hd0,5)/boot/grub/d.xpm.gz
title *=*=*=*=*=*=*=*=*=*=*=- Powered By star1025 -=*=*=*=*=*=*=*=*=*=*=*=*
root
6.安装vista
最终启动效果:
首先是vista的启动管理器——然后进入xp的启动管理器——进入grub的启动管理器
或者进入vista 或者进入xp
阅读(417) | 评论(0) | 转发(0) |