修改了menu.lst却还是没用!

系统安装、升级讨论
gogoloby
帖子: 37
注册时间: 2008-12-06 10:41
送出感谢: 0
接收感谢: 0

修改了menu.lst却还是没用!

#1

帖子 gogoloby » 2009-03-14 17:28

寒假那会重装了XP,结果没时间弄UBUNTU,现在到学校了,按照论坛里的那个拷贝grldr的方法试了下,却出现了还是进不去的问题。而用live CD则出现错误,详情请见截图,希望高手们帮我解决下这个问题,谢谢拉! :em06
附件
Screenshot-1.png
上次由 gogoloby 在 2009-03-15 13:32,总共编辑 2 次。
头像
adagio
论坛版主
帖子: 22110
注册时间: 2008-02-17 23:47
来自: 美丽富饶的那啥星球
送出感谢: 7 次
接收感谢: 74 次

Re: 多次重装XP后按论坛里方法却没用!

#2

帖子 adagio » 2009-03-14 17:39

拷贝grldr是grub4dos的方法,ubuntu用的是GNU GRUB0.97,两个不一样的
明天就换大三八!
——8核CPU、8G内存、8T硬盘……
8卡交火,80寸大屏放8个……
IPv8的光纤要8条……

---------------------------------------------------------------------------------
[图片版]新手当自强(续)FAQ
[新手进阶]挂载、fstab、调整linux分区
[图片版]E17桌面环境配置手把手
gogoloby
帖子: 37
注册时间: 2008-12-06 10:41
送出感谢: 0
接收感谢: 0

Re: 多次重装XP后按论坛里方法却没用!

#3

帖子 gogoloby » 2009-03-14 18:52

:em06 哦,那LS的大大,那该怎么搞定呢???有没有链接,给我发个看看!谢谢啦 :em05
那grldr的方法开机有个XP,UBUNTU的选择项,选UBUNTU后出现重装XP前的grub选框,但是选择Ubuntu后却显示找不到FILES
上次由 gogoloby 在 2009-03-14 19:02,总共编辑 1 次。
a0147520
帖子: 147
注册时间: 2007-10-04 15:23
送出感谢: 0
接收感谢: 0

Re: 多次重装XP后按论坛里方法却没用!

#4

帖子 a0147520 » 2009-03-14 19:02

好像是:
root (hd0,x)
setup (hd0)
billbear
帖子: 3681
注册时间: 2008-05-03 23:42
送出感谢: 0
接收感谢: 3 次

Re: 多次重装XP后按论坛里方法却没用!

#5

帖子 billbear » 2009-03-14 20:08

上 menu.lst :em09
gogoloby
帖子: 37
注册时间: 2008-12-06 10:41
送出感谢: 0
接收感谢: 0

Re: 多次重装XP后按论坛里方法却没用!

#6

帖子 gogoloby » 2009-03-14 20:34

billbear 写了:上 menu.lst :em09
怎么上啊?这个menu.lst能通用吗?能通用的话,大哥给我一个吧! :em06
billbear
帖子: 3681
注册时间: 2008-05-03 23:42
送出感谢: 0
接收感谢: 3 次

Re: 多次重装XP后按论坛里方法却没用!

#7

帖子 billbear » 2009-03-14 21:44

让你贴上来大家看看 :em06
你既然提问了,就要给出细节,不是每个人都有耐心跟你这一问一答的。
gogoloby
帖子: 37
注册时间: 2008-12-06 10:41
送出感谢: 0
接收感谢: 0

Re: 多次重装XP后按论坛里方法却没用!

#8

帖子 gogoloby » 2009-03-15 0:51

billbear 写了:让你贴上来大家看看 :em06
你既然提问了,就要给出细节,不是每个人都有耐心跟你这一问一答的。
谢谢,不过我是新手,在其他论坛也是这样聊的啊!
先复制下,还贴上原文件,谢谢大虾们 :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 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=0d082665-4877-477e-af6a-7becfd165daa ro

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

## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,6)

## 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 locale=zh_CN

## 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 (hd0,6)
kernel /boot/vmlinuz-2.6.24-19-generic root=UUID=0d082665-4877-477e-af6a-7becfd165daa ro quiet splash locale=zh_CN
initrd /boot/initrd.img-2.6.24-19-generic
quiet

title Ubuntu 8.04.1, kernel 2.6.24-19-generic (recovery mode)
root (hd0,6)
kernel /boot/vmlinuz-2.6.24-19-generic root=UUID=0d082665-4877-477e-af6a-7becfd165daa ro single
initrd /boot/initrd.img-2.6.24-19-generic

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

### 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/sda1
title Microsoft Windows XP Professional
root (hd0,0)
savedefault
makeactive
chainloader +1
附件
menu.rar
(1.84 KiB) 下载 9 次
billbear
帖子: 3681
注册时间: 2008-05-03 23:42
送出感谢: 0
接收感谢: 3 次

Re: 多次重装XP后按论坛里方法却没用!

#9

帖子 billbear » 2009-03-15 1:29

呵呵,你在 6 楼说的话把我气坏了 :em05
照红色部分修改,共 4 处。
# 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=0d082665-4877-477e-af6a-7becfd165daa ro

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

## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,5)

## 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 locale=zh_CN

## 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 (hd0,5)
kernel /boot/vmlinuz-2.6.24-19-generic root=UUID=0d082665-4877-477e-af6a-7becfd165daa ro quiet splash locale=zh_CN
initrd /boot/initrd.img-2.6.24-19-generic
quiet

title Ubuntu 8.04.1, kernel 2.6.24-19-generic (recovery mode)
root (hd0,5)
kernel /boot/vmlinuz-2.6.24-19-generic root=UUID=0d082665-4877-477e-af6a-7becfd165daa ro single
initrd /boot/initrd.img-2.6.24-19-generic

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

### 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/sda1
title Microsoft Windows XP Professional
root (hd0,0)
savedefault
makeactive
chainloader +1
gogoloby
帖子: 37
注册时间: 2008-12-06 10:41
送出感谢: 0
接收感谢: 0

Re: 多次重装XP后按论坛里方法却没用!

#10

帖子 gogoloby » 2009-03-15 1:46

billbear 写了:呵呵,你在 6 楼说的话把我气坏了 :em05
照红色部分修改,共 4 处。
怎么会自动改成(hd0,6)呢?谢谢楼上的大哥了! :em06还有就是在XP底下怎么查看Ubuntu的文件夹呢,有方法(据说有的,可是没查到)没?
billbear
帖子: 3681
注册时间: 2008-05-03 23:42
送出感谢: 0
接收感谢: 3 次

Re: 多次重装XP后按论坛里方法却没用!

#11

帖子 billbear » 2009-03-15 1:54

不是menu.lst自己变成(hd0,6) ,是你的 原 (hd0,6) 分区变成了 (hd0,5) ,分区编号发生了变化,原因可以有多种,也许你删除了一个分区,也许你的分区原本是乱序的,windows 安装程序做好事把它排了一下,等等。
billbear
帖子: 3681
注册时间: 2008-05-03 23:42
送出感谢: 0
接收感谢: 3 次

Re: 多次重装XP后按论坛里方法却没用!

#12

帖子 billbear » 2009-03-15 1:59

xp 下看 linux 分区?给我个理由先。
我没有用过这类软件,将来也不打算用。
坛子里有这类帖子,搜下
gogoloby
帖子: 37
注册时间: 2008-12-06 10:41
送出感谢: 0
接收感谢: 0

Re: 多次重装XP后按论坛里方法却没用!

#13

帖子 gogoloby » 2009-03-15 2:08

billbear 写了:不是menu.lst自己变成(hd0,6) ,是你的 原 (hd0,6) 分区变成了 (hd0,5) ,分区编号发生了变化,原因可以有多种,也许你删除了一个分区,也许你的分区原本是乱序的,windows 安装程序做好事把它排了一下,等等。
我没删分区,不过还有乱序的说法,这是第一次听说,XP排了下这是好事吗?我以为硬盘的分区号不能变的,就像马路号一样,是不轻易改变的。
不过说句题外话,老大你不睡吗???我是喝了杯咖啡,然后又是有事才睡不着的,不然早睡了! :em20
billbear
帖子: 3681
注册时间: 2008-05-03 23:42
送出感谢: 0
接收感谢: 3 次

Re: 多次重装XP后按论坛里方法却没用!

#14

帖子 billbear » 2009-03-15 2:16

我饿醒了,正在觅食呐
gogoloby
帖子: 37
注册时间: 2008-12-06 10:41
送出感谢: 0
接收感谢: 0

Re: 多次重装XP后按论坛里方法却没用!

#15

帖子 gogoloby » 2009-03-15 2:22

billbear 写了:我饿醒了,正在觅食呐
看你也怪可怜的,要不我给你寄点面包屑去放在床头上,免得你夜晚找不到食物 :em05
88,我先睡了!
回复

回到 “系统安装和升级”