[问题]上一帖我确实没说清楚 在这里再描述一遍开机的问题

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

[问题]上一帖我确实没说清楚 在这里再描述一遍开机的问题

#1

帖子 傀儡師の夢 » 2008-09-15 0:39

我的ubuntu是在win下面用iso文件安装的

开机主板自检以后 到ubuntu系统加载条出现之前会出现一个error

文字闪现的太快了 一眼里只能捕捉到最后闪现出来的error一词

然后会出现“press esc to menu -count down“

按了esc键以后会出现很多选项:
ubuntu 8.0.4 kerel 2.6.X.X genertic
ubuntu 8.0.4 kerel 2.6.X.X genertic(recover)
windows vista/longhorn

知记得这么一些 拼写上可能还有点错误

每次开机都会出现这个 不知道是什么问题

选了第一项以后就正常进入系统了
傀儡師の夢
帖子: 24
注册时间: 2008-09-13 21:45

#2

帖子 傀儡師の夢 » 2008-09-15 2:51

是不是需要我提供系统日志

如许要请告诉我要提供哪一部分

实在坚持不住先去睡了 明天早上来看
头像
冲浪板
论坛版主
帖子: 7513
注册时间: 2007-05-06 8:19

#3

帖子 冲浪板 » 2008-09-15 9:28

menu.lst有问题
傀儡師の夢
帖子: 24
注册时间: 2008-09-13 21:45

#4

帖子 傀儡師の夢 » 2008-09-15 11:32

请问要如何改动 或者给一个类似问题的解决链接

谢谢
头像
jimmerlin
帖子: 252
注册时间: 2008-08-24 9:41

#5

帖子 jimmerlin » 2008-09-15 13:57

一般安装正常后是这样的,开机出现
winxp
ubuntu

然后进ubuntu后,是grub,这个时候按esc后进入ubuntu选项,也就是楼主的:


ubuntu 8.0.4 kerel 2.6.X.X genertic
ubuntu 8.0.4 kerel 2.6.X.X genertic(recover)
windows vista/longhorn

第一行是正常进入
第二行是ubuntu的安全模式
第三行是进入vista系统
qyzyd
帖子: 3
注册时间: 2008-09-15 8:00

#6

帖子 qyzyd » 2008-09-15 14:59

menu.lst文件有问题了,是不是里面比正常的多了些什么。
其实只要这些就够了:
default 0
timeout 10
title Ubuntu 8.04.1, kernel 2.6.24-21-generic
root (hd0,5)
kernel /vmlinuz-2.6.24-21-generic root=UUID=d02b9172-a221-47b1-a176-6cc1a2ebf17e ro quiet splash
initrd /initrd.img-2.6.24-21-generic
quiet

title Ubuntu 8.04.1, kernel 2.6.24-21-generic (recovery mode)
root (hd0,5)
kernel /vmlinuz-2.6.24-21-generic root=UUID=d02b9172-a221-47b1-a176-6cc1a2ebf17e ro single
initrd /initrd.img-2.6.24-21-generic

title Ubuntu 8.04.1, memtest86+
root (hd0,5)
kernel /memtest86+.bin
quiet

title Other operating systems:
root

title Microsoft Windows XP Professional
root (hd0,0)
savedefault
makeactive
chainloader +1
我也是在XP下面用ISO文件硬盘安装的,最后2项是它添加的XP的启动项。
jerro
帖子: 279
注册时间: 2007-03-31 12:56

#7

帖子 jerro » 2008-09-15 15:36

是啊,把你的menu。lst文件贴上来看看了。
傀儡師の夢
帖子: 24
注册时间: 2008-09-13 21:45

#8

帖子 傀儡師の夢 » 2008-09-15 16:33

# 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=E80EB8DC0EB8A54A loop=/ubuntu/disks/root.disk ro

## Setup crashdump menu entries
## e.g. crashdump=1
# crashdump=0

## default grub root device
## e.g. groot=(hd0,0)
# groot=()/ubuntu/disks

## 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.1, kernel 2.6.24-19-generic
root ()/ubuntu/disks
kernel /boot/vmlinuz-2.6.24-19-generic root=UUID=E80EB8DC0EB8A54A loop=/ubuntu/disks/root.disk ro quiet splash
initrd /boot/initrd.img-2.6.24-19-generic

title Ubuntu 8.04.1, kernel 2.6.24-19-generic (recovery mode)
root ()/ubuntu/disks
kernel /boot/vmlinuz-2.6.24-19-generic root=UUID=E80EB8DC0EB8A54A loop=/ubuntu/disks/root.disk ro single
initrd /boot/initrd.img-2.6.24-19-generic

title Ubuntu 8.04.1, memtest86+
root ()/ubuntu/disks
kernel /boot/memtest86+.bin

### END DEBIAN AUTOMAGIC KERNELS LIST

# This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems:
root


# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda2
title Windows Vista/Longhorn (loader)
root (hd0,1)
savedefault
chainloader +1


# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda4
title Windows Vista/Longhorn (loader)
root (hd0,3)
savedefault
chainloader +1
傀儡師の夢
帖子: 24
注册时间: 2008-09-13 21:45

#9

帖子 傀儡師の夢 » 2008-09-15 16:36

我的ubutnu装在C 盘
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙

#10

帖子 eexpress » 2008-09-15 18:28

☎ type dog
dog 已被别名为“grep -v -E "(^$|^#)"”

你应该用dog,吧无用的行去掉。

alias dog=“grep -v -E "(^$|^#)"
dog /boot/grub/menu.lst
● 鸣学
傀儡師の夢
帖子: 24
注册时间: 2008-09-13 21:45

#11

帖子 傀儡師の夢 » 2008-09-15 18:42

eexpress 写了:☎ type dog
dog 已被别名为“grep -v -E "(^$|^#)"”

你应该用dog,吧无用的行去掉。

alias dog=“grep -v -E "(^$|^#)"
dog /boot/grub/menu.lst
dog? 这是什么指令?

dog:command not found
回复