使用wubi安装多个ubuntu的问题【已解决】

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
luce
帖子: 34
注册时间: 2007-03-07 23:52

使用wubi安装多个ubuntu的问题【已解决】

#1

帖子 luce » 2009-04-13 21:52

我想在电脑上使用wubi同时安装多个ubuntu版本
但是每次只能选择一个版本的ubuntu启动


boot.ini文件:
[boot loader]
timeout=3
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:\wubildr.mbr = "ubuntu"


我试着修改grub启动,但是不知道怎么样子修改才能支持多个启动菜单

title Ubuntu 8.04.1
root ()/ubuntu/disks
kernel /boot/vmlinuz-2.6.24-19-generic root=UUID=7220D13F20D10ACD loop=/ubuntu/disks/root.disk ro quiet splash
initrd /boot/initrd.img-2.6.24-19-generic



我感觉ubuntu会自动逐盘在各个根目录搜索ubuntu文件夹,来启动第一个搜索到得ubuntu系统

我尝试把下面的:
root ()/ubuntu/disks
修改为类似以下:
root (hd0,7)/ubuntu/disks
就启动不了了
上次由 luce 在 2009-04-13 22:40,总共编辑 1 次。
头像
pcbird
帖子: 2337
注册时间: 2008-12-19 13:44
来自: 东8区

Re: 使用wubi安装多个ubuntu的问题

#2

帖子 pcbird » 2009-04-13 21:55

你把两个的ubuntu文件夹里面的menu.lst 合并下就可以了,
然后在C盘放那个合并的menu.lst

代码: 全选

 
       \   ,__,
        \  (oo)____
           (__)    )\
              ||--|| *  
 
billbear
帖子: 3681
注册时间: 2008-05-03 23:42

Re: 使用wubi安装多个ubuntu的问题

#3

帖子 billbear » 2009-04-13 22:04

我想,你可以在 c 盘根目录建立一个 menu.lst,来调用各个 wubi 的 menu.lst。像这样:
title wubi1
root (hd0,x)
configfile /ubuntu/disks/boot/grub/menu.lst

title wubi2
root (hd0,y)
configfile /ubuntu/disks/boot/grub/menu.lst
luce
帖子: 34
注册时间: 2007-03-07 23:52

Re: 使用wubi安装多个ubuntu的问题

#4

帖子 luce » 2009-04-13 22:37

billbear 写了:我想,你可以在 c 盘根目录建立一个 menu.lst,来调用各个 wubi 的 menu.lst。像这样:
title wubi1
root (hd0,x)
configfile /ubuntu/disks/boot/grub/menu.lst

title wubi2
root (hd0,y)
configfile /ubuntu/disks/boot/grub/menu.lst

果然OK,呵呵

修改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 black/cyan yellow/cyan
timeout 2
default /default

title find and load NTLDR of Windows NT/2K/XP
fallback 1
find --set-root /ntldr
chainloader /ntldr
savedefault --wait=2

title Kubuntu 9.04-beta
root (hd0,8)
configfile /ubuntu/disks/boot/grub/menu.lst

title Ubuntu 8.04
root (hd0,10)
configfile /ubuntu/disks/boot/grub/menu.lst
回复