因为本人的系统安装的比较多,又不想经历3层启动,希望能够在ubuntu下实现全部系统的引导。
下面是我的boot.ini 文件中的内容
[boot loader]
timeout=1
default=multi(0)disk(0)rdisk(0)partition(4)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(4)\WINDOWS="Microsoft Windows XP Professional" /NOEXECUTE=OPTIN /FASTDETECT
C:\maxldr.mbr="MaxDOS"
C:\WanMei\Wanmei.BIN="WinPE"
C:\GRLDR="Linux"
C:\tboot="Mac"
其中XP安装在sda5也就是windows显示的D盘 vista 安装在sda7 F盘。sda1也就C以前专门用来引导windows的,同时安装了MAXDOS在C:\maxdos 文件夹下,WINPE在wanmei文件夹下,MAC在SDA13分区通过tboot进行引导,以及一个通过GRUB4DOS引导的Puppy。希望能够把这些统统搬到ubuntu的引导菜单上,自己动手试了一下发现不是很成功。希望高手指导指导
新手上路,如何在UBUNTU下修改menu来实现多系统的引导
- changer-chacha
- 帖子: 183
- 注册时间: 2007-09-14 15:41
Re: 新手上路,如何在UBUNTU下修改menu来实现多系统的引导
eee,厉害啊,十几个分区,600G硬盘
-
- 帖子: 249
- 注册时间: 2007-11-06 13:56
Re: 新手上路,如何在UBUNTU下修改menu来实现多系统的引导
这是我的grub4dos的菜单。你参考一下吧!PE段的后面可能有点小错。换装ubuntu后就没有去看对不对了。
主menu.lst
启动windows 的菜单
memuwin.lst
启动linux的菜单
menulin.lst
启动winxpe的菜单
menuxpe.lst
主menu.lst
代码: 全选
timeout 10
default 1
find --set-root /wyboot.ck_
fontfile /minipe/boot/fonts.gz
splashimage /minipe/boot/grass.gz
title (0) 本机windows系列
find --set-root /wyboot.ck_
configfile /menuwin.lst
title (1) 本机linux系列
find --set-root /wyboot.ck_
configfile /menulin.lst
title (2) 本机winxpe系列
find --set-root /wyboot.ck_
configfile /menuxpe.lst
title 【3】 重启计算机
reboot
title 【4】 关闭计算机
halt
memuwin.lst
代码: 全选
timeout 10
default 1
find --set-root /wyboot.ck_
fontfile /MiniPE/boot/fonts.gz
splashimage /MiniPE/boot/grass.gz
title (0) incomputer Microsoft Windows 2008
find --set-root /yyk2008.ck_
chainloader /BOOTMGR
title (1) incomputer Microsoft Windows 2003
find --set-root /yyk2003.ck_
chainloader /ntldr
title (2) incomputer Microsoft Windows 2003
rootnoverify
makeactive
chainloader +1
title (3) goto main menu.lst
find --set-root /wyboot.ck_
configfile /menu.lst
menulin.lst
代码: 全选
timeout 10
default 4
find --set-root /wyboot.ck_
fontfile /minipe/boot/fonts.gz
splashimage /minipe/boot/grass.gz
title (0) Puppy Linux Ram
find --set-root /wyboot.ck_
kernel /puppy/vmlinuz root=/dev/ram0
initrd /puppy/initrd.gz
boot
title (1) ubuntu dvd 8.10
find --set-root /wyboot.ck_
kernel /boot810/vmlinuz boot=casper iso-scan/filename=/ubuntu-8.10-dvd-amd64.iso ro quiet splash locale=zh_CN.UTF-8
initrd /boot810/initrd.gz
title (2) ubuntu livecd 8.10
find --set-root /wyboot.ck_
kernel /boot810/vmlinuz boot=casper iso-scan/filename=/ubuntu-8.10-desktop-amd64.iso ro quiet splash locale=zh_CN.UTF-8
initrd /boot810/initrd.gz
title (3) ubuntu livecd 8.04
find --set-root /wyboot.ck_
kernel /boot804/vmlinuz boot=casper iso-scan/filename=/ubuntu-8.04-desktop-i386.iso ro quiet splash locale=zh_CN.UTF-8
initrd /boot804/initrd.gz
title (4) Ubuntu 8.10, kernel 2.6.27-11-generic
find --set-root /ubuntu810.ck_
mem root (hd1,1)
mem uuid 31d09867-279c-41db-8757-20a0da1d1dc4
# kernel /vmlinuz-2.6.27-11-generic root=UUID=634bb999-4fe3-4604-b502-0c45d213e4df ro quiet splash
kernel /vmlinuz-2.6.27-11-generic root=UUID=634bb999-4fe3-4604-b502-0c45d213e4df ro vga=791
initrd /initrd.img-2.6.27-11-generic
quiet
title (5) Ubuntu 8.10, kernel 2.6.27-11-generic (recovery mode)
find --set-root /ubuntu810.ck_
mem root (hd1,1)
mem uuid 31d09867-279c-41db-8757-20a0da1d1dc4
kernel /vmlinuz-2.6.27-11-generic root=UUID=634bb999-4fe3-4604-b502-0c45d213e4df ro vga=791 single
initrd /initrd.img-2.6.27-11-generic
quiet
title (6) clonezilla livecd
find --set-root /clonezilla.ck_
map --mem /clonezilla-live.iso (hd32)
map --hook
chainloader (hd32)
boot
title (7) goto main menu.lst
find --set-root /wyboot.ck_
configfile /menu.lst
menuxpe.lst
代码: 全选
timeout 10
default 1
find --set-root /wyboot.ck_
fontfile /minipe/boot/fonts.gz
splashimage /minipe/boot/grass.gz
title (00) goto main menu.lst
find --set-root /wyboot.ck_
configfile /menu.lst
title (00) maotao 070911
find --set-root /wyboot.ck_
chainloader /minipe/ldrxpe
title (01) maotao 2003PE
find --set-root /ldr2003
chainloader /ldr2003
title (02) rwin 2003
find --set-root /RWIN.LDR
chainloader /RWIN.LDR
title (03) neo2003PE
find --set-root /neoldr
chainloader /neoldr
title (04) vistaPE
find --set-root /wyboot.ck_
chainloader /BOOTMGR
title (05) rad roof DOS tools
find --set-root /wyboot.ck_
map --mem /minipe/boot/hongye.img (fd0)
map --hook
chainloader (fd0)+1
rootnoverify (fd0)
title (06) DOS 7.1 tools 07.07.07
find --set-root /wyboot.ck_
map --mem /minipe/boot/dostools.img (fd0)
map --hook
chainloader (fd0)+1
rootnoverify (fd0)
title (07) maxdos
find --set-root /wyboot.ck_
map --mem /minipe/boot/rdos.img (fd0)
map --hook
chainloader (fd0)+1
rootnoverify (fd0)
title (08) ai ren DOS tools 5.3
find --set-root /wyboot.ck_
kernel /minipe/boot/memdisk.gz c=80 h=4 s=36 floppy
initrd /minipe/boot/ardos53.img
title (09) windows recover
find --set-root /wyboot.ck_
chainloader /minipe/cmldr
title (10) DOS GHOST 11.0.1
find --set-root /wyboot.ck_
map --mem /minipe/boot/Ghost.img (fd0)
map --hook
chainloader (fd0)+1
rootnoverify (fd0)
title (11) disk XLY 2007
find --set-root /wyboot.ck_
map --mem /minipe/boot/xly2007.img (fd0)
map --hook
chainloader (fd0)+1
rootnoverify (fd0)
title (12) bad road recover
find --set-root /wyboot.ck_
map --mem /minipe/boot/hddreg15.img (fd0)
map --hook
chainloader (fd0)+1
rootnoverify (fd0)
title (13) disk doctor NU 2002
find --set-root /wyboot.ck_
map --mem /minipe/boot/nu2002.img (fd0)
map --hook
chainloader (fd0)+1
rootnoverify (fd0)
title (14) KV2006 DOS
find --set-root /wyboot.ck_
kernel /minipe/boot/memdisk.gz c=240 h=2 s=36 floppy
initrd /minipe/boot/kv2006.img
-
- 帖子: 6
- 注册时间: 2009-01-04 9:39
Re: 新手上路,如何在UBUNTU下修改menu来实现多系统的引导
在windows下已经可以设置了,但是我的目的是设置ubuntu下的menu,lst来进行引导,可是发下同样的东西死活不能成功,继续等待
- lerosua
- 论坛版主
- 帖子: 8455
- 注册时间: 2007-11-29 9:41
- 联系:
Re: 新手上路,如何在UBUNTU下修改menu来实现多系统的引导
好复杂,装虚拟机的路过
-
- 帖子: 6
- 注册时间: 2009-01-04 9:39
Re: 新手上路,如何在UBUNTU下修改menu来实现多系统的引导
下面是我windows下menu.lst的代码
试着将其中的PE代码
转移到ubuntu中的menu.lst中后是
启动时提示 Error 17 : Cannot mount selected partition
那位高手能够给个建议,网上关于使用linux下的grub来进行引导的似乎都不是很全面阿
代码: 全选
default 0
timeout 6
fontfile (hd0,0)/fonts
splashimage (hd0,0)/Grub/splashimages/36907-Blu.xpm
color cyan/black red/light-gray
foreground 76c063
title Puppy Linux
root (hd0,0)
kernel /puppy/vmlinuz PMEDIA=idehd PSUBDIR=puppy
initrd /puppy/initrd.gz
title Puppy Linux in RAM
fallback 5
kernel (hd0,0)/puppy/vmlinuz root=/dev/ram0 PMEDIA=idehd pfix=ram
initrd (hd0,0)/puppy/initrd.gz
title Ubuntu 8.10
uuid 1033d0d4-f350-4df1-899f-1eb29894b003
kernel /boot/vmlinuz-2.6.27-9-generic root=UUID=1033d0d4-f350-4df1-899f-1eb29894b003 ro vga=769 splash
initrd /boot/initrd.img-2.6.27-9-generic
quiet
title Ubuntu 8.10 (recovery mode)
uuid 1033d0d4-f350-4df1-899f-1eb29894b003
kernel /boot/vmlinuz-2.6.27-9-generic root=UUID=1033d0d4-f350-4df1-899f-1eb29894b003 ro single
initrd /boot/initrd.img-2.6.27-9-generic
title Ubuntu 8.10, memtest86+
uuid 1033d0d4-f350-4df1-899f-1eb29894b003
kernel /boot/memtest86+.bin
quiet
title ISO
root (hd0,0)
kernel /vmlinuz boot=casper iso-scan/filename=/x64.iso quiet splash ro
initrd /initrd.gz
title Windows XP
root (hd0,0)
chainloader /NTLDR
title Windows Vista
root (hd0,0)
chainloader /bootmgr
title MaxDOS
root (hd0,0)
chainloader /maxldr.mbr
title WinPE
root (hd0,0)
chainloader /LDRXPE
title Mac
root (hd0,0)
chainloader /tboot
title Goback Windows Meun
root (hd0,0)
chainloader +1
title Restart Computer
reboot
title Rurnoff Computer
halt
试着将其中的PE代码
代码: 全选
title WinPE
root (hd0,0)
chainloader /LDRXPE
转移到ubuntu中的menu.lst中后是
代码: 全选
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
title WinPE
root (hd0,0)
chainloader /LDRXPE
那位高手能够给个建议,网上关于使用linux下的grub来进行引导的似乎都不是很全面阿
-
- 帖子: 249
- 注册时间: 2007-11-06 13:56
Re: 新手上路,如何在UBUNTU下修改menu来实现多系统的引导
下边这句是grub4dos用的。grub能不能用你再找一下资料!
chainloader /LDRXPE
要是不能通用的话。你装一下grub4dos也许是个法。这样你WINDOWS下的menu.lst都能copy过来用了!
chainloader /LDRXPE
要是不能通用的话。你装一下grub4dos也许是个法。这样你WINDOWS下的menu.lst都能copy过来用了!