新手求助~双系统启动问题 在现等

启动讨论 grub/grub2/syslinux/grub4dos/Lilo
斯文de坏蛋
帖子: 149
注册时间: 2009-04-14 11:11

新手求助~双系统启动问题 在现等

#1

帖子 斯文de坏蛋 » 2009-04-18 19:34

用WUBI安装感觉没有技术性
所以今天下午尝试了硬盘安装。
安装成功
但是启动后发现 没有系统选择界面 直接进入UBANTU - - :em20
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

请各路高手指点~ :em06
蹲在路边等风吹.........
群舞飞扬 - -
头像
pcbird
帖子: 2337
注册时间: 2008-12-19 13:44
来自: 东8区

Re: 新手求助~双系统启动问题 在现等

#2

帖子 pcbird » 2009-04-18 19:37

timeout 10

10/10=1S

代码: 全选

 
       \   ,__,
        \  (oo)____
           (__)    )\
              ||--|| *  
 
头像
qj3325
帖子: 116
注册时间: 2009-03-26 12:51

Re: 新手求助~双系统启动问题 在现等

#3

帖子 qj3325 » 2009-04-18 19:38

去C盘找boot.ini 更改下 不过最好找个人传给你一个,直接更改有可能编码绘出现问题
NOPMEUbuntu 初学者的家,欢迎大家访问
斯文de坏蛋
帖子: 149
注册时间: 2009-04-14 11:11

Re: 新手求助~双系统启动问题 在现等

#4

帖子 斯文de坏蛋 » 2009-04-18 19:49

2楼看出什么毛病了么?
3楼 boot.ini 就最后加了一句 什么grub="..."什么的- - :em20
蹲在路边等风吹.........
群舞飞扬 - -
onelynx
帖子: 817
注册时间: 2008-11-13 16:03

Re: 新手求助~双系统启动问题 在现等

#5

帖子 onelynx » 2009-04-18 19:56

我不太明白你的意思

你要告诉大家 你将ubuntu 装在那个分区 你的xp在那里

如果你的ubuntu没装在 第一分区 那来的 c盘的menu.lst

真正 调用的是boot/grub/menu.lst
斯文de坏蛋
帖子: 149
注册时间: 2009-04-14 11:11

Re: 新手求助~双系统启动问题 在现等

#6

帖子 斯文de坏蛋 » 2009-04-18 20:01

我分区的时候把E,F,G盘删了 UNBUNTU就是装在删除了之后 重新分区 那些空闲内存上的
一点没动C。D 盘
蹲在路边等风吹.........
群舞飞扬 - -
onelynx
帖子: 817
注册时间: 2008-11-13 16:03

Re: 新手求助~双系统启动问题 在现等

#7

帖子 onelynx » 2009-04-18 20:28

看你/boot/grub/menu.lst l里的内容是怎么?
斯文de坏蛋
帖子: 149
注册时间: 2009-04-14 11:11

Re: 新手求助~双系统启动问题 在现等

#8

帖子 斯文de坏蛋 » 2009-04-18 20:44

汗 这么 一大片 看不懂 :em06


# 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
蹲在路边等风吹.........
群舞飞扬 - -
onelynx
帖子: 817
注册时间: 2008-11-13 16:03

Re: 新手求助~双系统启动问题 在现等

#9

帖子 onelynx » 2009-04-18 21:10

## 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

看看
斯文de坏蛋
帖子: 149
注册时间: 2009-04-14 11:11

Re: 新手求助~双系统启动问题 在现等

#10

帖子 斯文de坏蛋 » 2009-04-18 21:31

有点效果
不过进去的是UBUNTU的选择界面

没有XP :em20
蹲在路边等风吹.........
群舞飞扬 - -
斯文de坏蛋
帖子: 149
注册时间: 2009-04-14 11:11

Re: 新手求助~双系统启动问题 在现等

#11

帖子 斯文de坏蛋 » 2009-04-18 21:57

我在## ## End Default Options ## 下面加了一句
title WinXP
rootnoverity (hd0,0)
chainloader +1

结果出现了XP选项
但还是进不去
选择之后显示
Error 13 :invalid or unsupported executable format
蹲在路边等风吹.........
群舞飞扬 - -
斯文de坏蛋
帖子: 149
注册时间: 2009-04-14 11:11

Re: 新手求助~双系统启动问题 在现等

#12

帖子 斯文de坏蛋 » 2009-04-18 22:15

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
蹲在路边等风吹.........
群舞飞扬 - -
onelynx
帖子: 817
注册时间: 2008-11-13 16:03

Re: 新手求助~双系统启动问题 在现等

#13

帖子 onelynx » 2009-04-18 22:17

# title Windows
root (hd0,0)
makeactive
chainloader +1
onelynx
帖子: 817
注册时间: 2008-11-13 16:03

Re: 新手求助~双系统启动问题 在现等

#14

帖子 onelynx » 2009-04-18 22:23

如果还不行就看 grub 引导 viewtopic.php?f=139&t=195805
斯文de坏蛋
帖子: 149
注册时间: 2009-04-14 11:11

Re: 新手求助~双系统启动问题 在现等

#15

帖子 斯文de坏蛋 » 2009-04-18 22:26

非常感谢楼上~~ :em03
蹲在路边等风吹.........
群舞飞扬 - -
回复