|

楼主 |
发表于 2011-5-4 10:28
|
显示全部楼层
windows下安装总结:
windows下的安装大同小异:差异主要来自不同windows版本,其系统文件本身和位置不同。
1、多引导配置
xp下简单可以直接编辑boot.ini,[operating systems]下增加选择项目,[boot loader]下可修改default的值,改变缺省指向。win7下boot.ini可能是空的。所以可以采用网上某同学的配置包,把boot.ini覆盖系统文件即可。
menu.lst可以自行编辑,但不必太费心了,照抄即可。
# 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 blue/green yellow/red white/magenta white/magenta
timeout 30
default /default
title veket C
kernel (hd0,0)/veket/vmlinuz root=/dev/ram0 PMEDIA=idehd
initrd (hd0,0)/veket/initrd.gz
title veket D
kernel (hd0,4)/veket/vmlinuz root=/dev/ram0 PMEDIA=idehd
initrd (hd0,4)/veket/initrd.gz
title veket E
kernel (hd0,5)/veket/vmlinuz root=/dev/ram0 PMEDIA=idehd
initrd (hd0,5)/veket/initrd.gz
title veket F
kernel (hd0,6)/veket/vmlinuz root=/dev/ram0 PMEDIA=idehd
initrd (hd0,6)/veket/initrd.gz
title veket G
kernel (hd0,7)/veket/vmlinuz root=/dev/ram0 PMEDIA=idehd
initrd (hd0,7)/veket/initrd.gz
title veket H
kernel (hd0,8)/veket/vmlinuz root=/dev/ram0 PMEDIA=idehd
initrd (hd0,8)/veket/initrd.gz
title veket I
kernel (hd0,9)/veket/vmlinuz root=/dev/ram0 PMEDIA=idehd
initrd (hd0,9)/veket/initrd.gz
title find and load NTLDR of Windows NT/2K/XP
fallback 1
find --set-root --ignore-floppies /ntldr
chainloader /ntldr
savedefault --wait=2
title find and load BOOTMGR of Windows VISTA
fallback 2
find --set-root --ignore-floppies /bootmgr
chainloader /bootmgr
savedefault --wait=2
title find and load CMLDR, the Recovery Console of Windows NT/2K/XP
fallback 3
find --set-root --ignore-floppies /cmldr
chainloader /cmldr
#####################################################################
# write string "cmdcons" to memory 0000:7C03 in 2 steps:
#####################################################################
# step 1. Write 4 chars "cmdc" at 0000:7C03
write 0x7C03 0x63646D63
# step 2. Write 3 chars "ons" and an ending null at 0000:7C07
write 0x7C07 0x00736E6F
savedefault --wait=2
title find and load IO.SYS of Windows 9x/Me
fallback 4
find --set-root /io.sys
chainloader /io.sys
savedefault --wait=2
title find and boot 0PE.ISO
fallback 5
find --set-root /0PE/0PE.ISO
map /0PE/0PE.ISO (0xff) || map --mem /0PE/0PE.ISO (0xff)
map --hook
chainloader (0xff)
savedefault --wait=2
title find and boot MicroPE.ISO
fallback 6
find --set-root /boot/MicroPE.ISO
map /boot/MicroPE.ISO (0xff) || map --mem /boot/MicroPE.ISO (0xff)
map --hook
chainloader (0xff)
savedefault --wait=2
title Parted Magic ISO
fallback 7
find --set-root /pmagic.iso
map /pmagic.iso (0xff) || map --mem /pmagic.iso (0xff)
map --hook
chainloader (0xff)
savedefault --wait=2
title Ultimate Boot CD ISO
fallback 8
find --set-root /ubcd.iso
map /ubcd.iso (0xff) || map --mem /ubcd.iso (0xff)
map --hook
chainloader (0xff)
savedefault --wait=2
title commandline
commandline
title floppy (fd0)
chainloader (fd0)+1
rootnoverify (fd0)
title back to dos
quit
title reboot
reboot
title halt
halt
title MAXDOS.IMG
find --set-root --ignore-floppies /boot/MAXDOS.IMG
map --mem /boot/MAXDOS.IMG (fd0)
map --hook
chainloader (fd0)+1
rootnoverify (fd0)
如果要编辑,一定注意盘符对应的盘,linux下和windows下表示有差异,尤其是主盘和扩展盘的linux写法。
为了简单,之后将打包文件附上。
2、系统安装
需要主要的是对于小内存机器,一定要(1)建立swap分区;(2)系统初次启动中选择低分辨率,以保证能正常显示出来;(3)启动界面正常后要立即重启动,出现sfs文件保存,这里一定要保存qrkysave.2fs文件,立即重启就是为了生成这个文件(这样可避免系统因内存问题死机)。其中(3)是最重要的了,swap分区可以放在系统正常能运行后,在veket下就可以完成。
----未完待续
|
|