新手求助~双系统启动问题 在现等
-
- 帖子: 149
- 注册时间: 2009-04-14 11:11
新手求助~双系统启动问题 在现等
用WUBI安装感觉没有技术性
所以今天下午尝试了硬盘安装。
安装成功
但是启动后发现 没有系统选择界面 直接进入UBANTU - -
C盘 D盘 没分 还在
C盘根目录下menu.lst文件里面是这样的
default 0
timeout 10
title WinXP
rootnoverity (hd0,0)
chainloader +1
title Install Ubuntu 8.10
root (hd0,0)
kernel /vmlinuz boot=casper iso-scan/filename=/ubuntu-8.10-desktop-amd64.iso ro quiet
splash locale=zh_CN.UTF-8
initrd /initrd.gz
请各路高手指点~
所以今天下午尝试了硬盘安装。
安装成功
但是启动后发现 没有系统选择界面 直接进入UBANTU - -
C盘 D盘 没分 还在
C盘根目录下menu.lst文件里面是这样的
default 0
timeout 10
title WinXP
rootnoverity (hd0,0)
chainloader +1
title Install Ubuntu 8.10
root (hd0,0)
kernel /vmlinuz boot=casper iso-scan/filename=/ubuntu-8.10-desktop-amd64.iso ro quiet
splash locale=zh_CN.UTF-8
initrd /initrd.gz
请各路高手指点~
蹲在路边等风吹.........
群舞飞扬 - -
群舞飞扬 - -
- pcbird
- 帖子: 2337
- 注册时间: 2008-12-19 13:44
- 来自: 东8区
- qj3325
- 帖子: 116
- 注册时间: 2009-03-26 12:51
-
- 帖子: 149
- 注册时间: 2009-04-14 11:11
-
- 帖子: 817
- 注册时间: 2008-11-13 16:03
Re: 新手求助~双系统启动问题 在现等
我不太明白你的意思
你要告诉大家 你将ubuntu 装在那个分区 你的xp在那里
如果你的ubuntu没装在 第一分区 那来的 c盘的menu.lst
真正 调用的是boot/grub/menu.lst
你要告诉大家 你将ubuntu 装在那个分区 你的xp在那里
如果你的ubuntu没装在 第一分区 那来的 c盘的menu.lst
真正 调用的是boot/grub/menu.lst
-
- 帖子: 149
- 注册时间: 2009-04-14 11:11
Re: 新手求助~双系统启动问题 在现等
我分区的时候把E,F,G盘删了 UNBUNTU就是装在删除了之后 重新分区 那些空闲内存上的
一点没动C。D 盘
一点没动C。D 盘
蹲在路边等风吹.........
群舞飞扬 - -
群舞飞扬 - -
-
- 帖子: 817
- 注册时间: 2008-11-13 16:03
Re: 新手求助~双系统启动问题 在现等
看你/boot/grub/menu.lst l里的内容是怎么?
-
- 帖子: 149
- 注册时间: 2009-04-14 11:11
Re: 新手求助~双系统启动问题 在现等
汗 这么 一大片 看不懂
# 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 3
## 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=b0c22daa-a721-4874-a010-67f84fd1dbc7 ro
## default grub root device
## e.g. groot=(hd0,0)
# groot=842f6368-ec81-4da1-a8cc-b2d3b5f821b9
## 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.10, kernel 2.6.27-7-generic
uuid 842f6368-ec81-4da1-a8cc-b2d3b5f821b9
kernel /vmlinuz-2.6.27-7-generic root=UUID=b0c22daa-a721-4874-a010-67f84fd1dbc7 ro quiet splash
initrd /initrd.img-2.6.27-7-generic
quiet
title Ubuntu 8.10, kernel 2.6.27-7-generic (recovery mode)
uuid 842f6368-ec81-4da1-a8cc-b2d3b5f821b9
kernel /vmlinuz-2.6.27-7-generic root=UUID=b0c22daa-a721-4874-a010-67f84fd1dbc7 ro single
initrd /initrd.img-2.6.27-7-generic
title Ubuntu 8.10, memtest86+
uuid 842f6368-ec81-4da1-a8cc-b2d3b5f821b9
kernel /memtest86+.bin
quiet
### END DEBIAN AUTOMAGIC KERNELS LIST
# 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 3
## 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=b0c22daa-a721-4874-a010-67f84fd1dbc7 ro
## default grub root device
## e.g. groot=(hd0,0)
# groot=842f6368-ec81-4da1-a8cc-b2d3b5f821b9
## 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.10, kernel 2.6.27-7-generic
uuid 842f6368-ec81-4da1-a8cc-b2d3b5f821b9
kernel /vmlinuz-2.6.27-7-generic root=UUID=b0c22daa-a721-4874-a010-67f84fd1dbc7 ro quiet splash
initrd /initrd.img-2.6.27-7-generic
quiet
title Ubuntu 8.10, kernel 2.6.27-7-generic (recovery mode)
uuid 842f6368-ec81-4da1-a8cc-b2d3b5f821b9
kernel /vmlinuz-2.6.27-7-generic root=UUID=b0c22daa-a721-4874-a010-67f84fd1dbc7 ro single
initrd /initrd.img-2.6.27-7-generic
title Ubuntu 8.10, memtest86+
uuid 842f6368-ec81-4da1-a8cc-b2d3b5f821b9
kernel /memtest86+.bin
quiet
### END DEBIAN AUTOMAGIC KERNELS LIST
蹲在路边等风吹.........
群舞飞扬 - -
群舞飞扬 - -
-
- 帖子: 817
- 注册时间: 2008-11-13 16:03
Re: 新手求助~双系统启动问题 在现等
## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
hiddenmenu
改为
## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
#hiddenmenu
看看
# Hides the menu by default (press ESC to see the menu)
hiddenmenu
改为
## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
#hiddenmenu
看看
-
- 帖子: 149
- 注册时间: 2009-04-14 11:11
-
- 帖子: 149
- 注册时间: 2009-04-14 11:11
Re: 新手求助~双系统启动问题 在现等
我在## ## End Default Options ## 下面加了一句
title WinXP
rootnoverity (hd0,0)
chainloader +1
结果出现了XP选项
但还是进不去
选择之后显示
Error 13 :invalid or unsupported executable format
title WinXP
rootnoverity (hd0,0)
chainloader +1
结果出现了XP选项
但还是进不去
选择之后显示
Error 13 :invalid or unsupported executable format
蹲在路边等风吹.........
群舞飞扬 - -
群舞飞扬 - -
-
- 帖子: 149
- 注册时间: 2009-04-14 11:11
Re: 新手求助~双系统启动问题 在现等
ye@ye-desktop:~$ sudo fdisk -l
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x624aa2e0
Device Boot Start End Blocks Id System
/dev/sda1 * 1 1567 12586896 c W95 FAT32 (LBA)
/dev/sda2 1568 19457 143701425 f W95 Ext'd (LBA)
/dev/sda5 1568 6029 35840983+ b W95 FAT32
/dev/sda6 6030 6045 128488+ 83 Linux
/dev/sda7 6046 6169 995998+ 82 Linux swap / Solaris
/dev/sda8 6170 8114 15623181 83 Linux
/dev/sda9 8115 19457 91112616 83 Linux
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x624aa2e0
Device Boot Start End Blocks Id System
/dev/sda1 * 1 1567 12586896 c W95 FAT32 (LBA)
/dev/sda2 1568 19457 143701425 f W95 Ext'd (LBA)
/dev/sda5 1568 6029 35840983+ b W95 FAT32
/dev/sda6 6030 6045 128488+ 83 Linux
/dev/sda7 6046 6169 995998+ 82 Linux swap / Solaris
/dev/sda8 6170 8114 15623181 83 Linux
/dev/sda9 8115 19457 91112616 83 Linux
蹲在路边等风吹.........
群舞飞扬 - -
群舞飞扬 - -
-
- 帖子: 817
- 注册时间: 2008-11-13 16:03
Re: 新手求助~双系统启动问题 在现等
# title Windows
root (hd0,0)
makeactive
chainloader +1
root (hd0,0)
makeactive
chainloader +1
-
- 帖子: 817
- 注册时间: 2008-11-13 16:03
Re: 新手求助~双系统启动问题 在现等
如果还不行就看 grub 引导 viewtopic.php?f=139&t=195805
-
- 帖子: 149
- 注册时间: 2009-04-14 11:11