分页: 1 / 1
有没有办法在windows下安装grub到某个盘?
发表于 : 2007-04-28 16:45
由 CatPity
如题,或者把grldr放在c盘以外该怎么写boot.ini?我用D:\grldr="GRLDR"会直接重启。
我的是七彩虹的主板,开了还原卡的功能,grldr放在C盘下是读不出来的,现在我不想还原,好多东西啊。
我以前用fc6把grub装在linux的分区正常使用,但是刚刚装ubuntu时在删除原分区后出错,fc6没了,grub也没了,哭啊。。。
更要命的时我连光驱都没,想刻盘都没用。
发表于 : 2007-04-28 16:58
由 Nile
给你说个简单的方法
好像有一个叫wingrub的软件,安装后可以用ntloader引导grub,
还有一个方法,下载一个叫 “一键GHOST硬盘版”的软件,安装,实际上就是利用grub引导ghost.img镜像,你自己修改一下C:\boot\ghost\menu.lst就可以让它引导linux了
我的menu.lst 和boot.ini参考一下:
代码: 全选
timeout 5
default 2
#foreground E0E0E0
#background 505050
#gfxmenu /boot/ghos/grub_chs.msg
#fontfile /boot/ghos/fonts
#splashimage /boot/ghos/black.xpm
#title 1KEY GHOST v8.3
#clear
#password
# MODE1
#map --mem /boot/ghos/ghost83.img (fd0)
#map --hook
#chainloader (fd0)+1
#rootnoverify (fd0)
# MODE2
#kernel /boot/ghos/memdisk
#initrd /boot/ghos/ghost83.img
title Ubuntu, kernel 2.6.20-1-nilemake
root (hd0,14)
kernel /vmlinuz-2.6.20.1-2.6.20.1ubuntu2.6.20.1-nilecomplete root=/dev/hda3 ro splash locale=zh_CN
vga=normal s
initrd /initrd.img-2.6.20.1-2.6.20.1ubuntu2.6.20.1-nilecomplete
quiet
boot
title Ubuntu, kernel 2.6.20-1-nilemake (recovery mode)
root (hd0,14)
kernel /vmlinuz-2.6.20.1-2.6.20.1ubuntu2.6.20.1-nilecomplete root=/dev/hda3 ro single
initrd /initrd.img-2.6.20.1-2.6.20.1ubuntu2.6.20.1-nilecomplete
boot
title Ubuntu, kernel 2.6.17-11-generic
root (hd0,14)
kernel /vmlinuz-2.6.17-11-generic root=/dev/hda3 ro splash locale=zh_CN
vga=792
initrd /initrd.img-2.6.17-11-generic
boot
title Ubuntu, kernel 2.6.17-11-generic (recovery mode)
root (hd0,14)
kernel /vmlinuz-2.6.17-11-generic root=/dev/hda3 ro single
initrd /initrd.img-2.6.17-11-generic
boot
title Ubuntu, kernel 2.6.17-10-generic
root (hd0,14)
kernel /vmlinuz-2.6.17-10-generic root=/dev/hda3 ro splash locale=zh_CN
vga=normal s
initrd /initrd.img-2.6.17-10-generic
quiet
boot
title Ubuntu, kernel 2.6.17-10-generic (recovery mode)
root (hd0,14)
kernel /vmlinuz-2.6.17-10-generic root=/dev/hda3 ro single
initrd /initrd.img-2.6.17-10-generic
boot
boot
title Ubuntu, memtest86+
root (hd0,14)
kernel /memtest86+.bin
quiet
boot
title DOS
root (hd0,0)
kernel /dos/memdisk
initrd /dos/dos98.img
boot
代码: 全选
[boot loader]
timeout=5
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /noexecute=optin /fastdetect
C:\GHLDR=Grub ubuntu-Linux DOS-NTFS
发表于 : 2007-04-28 17:09
由 CatPity
谢谢楼上的,我看了wingrub的介绍,对我没效果。
据我对我这块主板的理解,在windows下,所有对C盘MFT的操作都被重定向了,没写到MFT中,而没进入windows前由于没有装载必须的驱动,C盘根本就读不到写在MFT外的东西,所以我才想把grlder弄到C盘以外。