作者:login 出自:http://forum.ubuntu.org.cn/viewtopic.php?f=77&t=161106
1、从各种途径取得guub.exe、grldr,复制到C:/
2、从iso中解压出casper至C:/,其中的vmlinuz、initrd.gz复制到C:/
2、从iso中解压出.disk至C:/,其中内容复制到C:/
4、C:/下建menu.lst文件,内容:
title Install Ubuntu 8.10
root (hd0,0)
kernel /vmlinuz boot=casper iso-scan/filename=/ubuntu-8.10-desktop-i386.iso ro quiet splash locale=zh_CN.UTF-8
initrd /initrd.gz
boot
5、编辑boot.ini,在最后加一行:C:\GRLDR="Grub"
6、将ubuntu-8.10-desktop-i386.iso移至其他硬盘根目录(不是其他分区)或U盘上,待安装硬盘上若有则改名。
7、重启,顺利安装。


hongyu315 于 2010-04-19 09:01:15发表:
这种方法在我机器上会出现找不到分区的问题
boyyes 于 2008-11-01 18:55:22发表:
谢谢了 我都看蒙了
hhaichun 于 2008-10-31 22:56:29发表:
还真是麻烦啊:0w223dc
zyj224 于 2008-10-31 22:50:14发表:
楼上的,可以参考我对menu.lst的修改。我是用grldr来引导fedora和ubuntu,构建了winxp+fedora9+ubuntu8.04三系统,注意需要在windowsxp下用到totalcommander和Ext2IFS两个软件来复制、读取和编辑linux下的boot文件,费了我很多的心思,终于成功了,并且我现在备份了c盘下的grldr、menu.lst、和boot.ini三个文件后,可以随时重装任一系统而不会破坏另外的系统,这样也满足了linux系统需要经常安装的要求,安逸惨了。
# menu.lst - See: grub(8), info grub, update-grub(8)
# grub-install(8), grub-floppy(8),
# grub-md5-crypt, /usr/share/doc/grub
# and /usr/share/doc/grub-doc/.
## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not use 'savedefault' or your
# array will desync and will not let you boot your system.
default 0
## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout 10
## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
#hiddenmenu
# Pretty colours
#color cyan/blue white/blue
## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line) and entries protected by the
# command 'lock'
# e.g. password topsecret
# password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret
#
# examples
#
# title Windows 95/98/NT/2000
# root (hd0,0)
# makeactive
# chainloader +1
#
# title Linux
# root (hd0,1)
# kernel /vmlinuz root=/dev/hda2 ro
#
#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST
### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below
## DO NOT UNCOMMENT THEM, Just edit them to your needs
## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
## kopt_2_6_8=root=/dev/hdc1 ro
## kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=UUID=c5512ba4-251b-4391-8246-ee23e8788122 ro
## Setup crashdump menu entries
## e.g. crashdump=1
# crashdump=0
## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd1,6)
## should update-grub create alternative automagic boot options
## e.g. alternative=true
## alternative=false
# alternative=true
## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
## lockalternative=false
# lockalternative=false
## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=quiet splash
## should update-grub lock old automagic boot options
## e.g. lockold=false
## lockold=true
# lockold=false
## Xen hypervisor options to use with the default Xen boot option
# xenhopt=
## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=console=tty0
## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
## altoptions=(recovery) single
# altoptions=(recovery mode) single
## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
## howmany=7
# howmany=all
## should update-grub create memtest86 boot option
## e.g. memtest86=true
## memtest86=false
# memtest86=true
## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false
## should update-grub add savedefault to the default options
## can be true or false
# savedefault=false
## ## End Default Options ##
title Ubuntu 8.04, kernel 2.6.24-19-generic
root (hd1,6)
kernel /boot/vmlinuz-2.6.24-19-generic root=UUID=c5512ba4-251b-4391-8246-ee23e8788122 ro quiet splash
initrd /boot/initrd.img-2.6.24-19-generic
quiet
title Ubuntu 8.04, kernel 2.6.24-19-generic (recovery mode)
root (hd1,6)
kernel /boot/vmlinuz-2.6.24-19-generic root=UUID=c5512ba4-251b-4391-8246-ee23e8788122 ro single
initrd /boot/initrd.img-2.6.24-19-generic
title Ubuntu 8.04, memtest86+
root (hd1,6)
kernel /memtest86+.bin
quiet
title Install Ubuntu Linux
root (hd0,5)
kernel /vmlinuz boot=casper iso-scan/filename=/ubuntu-8.04-dvd-i386.iso
initrd /initrd.gz
### END DEBIAN AUTOMAGIC KERNELS LIST
# This is a divider, added to separate the menu items below from the Debian
# ones.
title Fedora 9 (2.6.26.5-45.fc9.i686)
root (hd1,5)
kernel /vmlinuz-2.6.26.5-45.fc9.i686 ro root=UUID=29623230-2c32-4e3d-af22-894d4d103743 rhgb quiet
initrd /initrd-2.6.26.5-45.fc9.i686.img
title Fedora 9 (2.6.25-14.fc9.i686)
root (hd1,5)
kernel /vmlinuz-2.6.25-14.fc9.i686 ro root=UUID=29623230-2c32-4e3d-af22-894d4d103743 rhgb quiet
initrd /initrd-2.6.25-14.fc9.i686.img
title Install Fedora
root (hd0,5)
kernel /vmlinuz
initrd /initrd.img
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
title Microsoft Windows XP Professional
root (hd0,0)
savedefault
chainloader +1
boyyes 于 2008-10-31 19:04:14发表:
已经安装红旗再硬盘安装该如何操作呢?