[求助]menu.lst的默认系统问题

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

[求助]menu.lst的默认系统问题

#1

帖子 fos » 2006-12-03 15:09

昨天收到的cd .今天中午兴致好,就装了在同学的电脑上.
我把电脑原来的F盘13G多空了出来.就一步一步装了.安装过程中在分区这一步里犹豫了很久.看不懂啊.最后就用默认了.很快就装好了,重启.不见了windows.想要进入都找不到.(同学的机子啊,他要用的啊!!)
之后就上来看啊看.看了
[整理]有關設置grub默認進入的操作系統的問題
[分享]Linux与Windows双系统下的Grub引导管理器安装——boot.ini与menu.lst的例解
这两篇,终于进入终端sudo 了
出来的menu.lst让我傻眼了.找不到 title Windows 的字眼
(好像有一个,不过应该是 examples)
复制menu.lst内容上来让各位帮忙看看.
是不是我将 Windows 格了?要不要重装 Windows ?
如果是我话,那装双系统应该怎样分区(我也试过手动分区,不过不知怎样操作? 怎样选择?:em06 )
menu.lst在二楼,(我copy 过来,好像"记事本"认得不是很好.还是用ubuntu 再发上来吧.
先谢谢大家了!!!!!!拜托拜托!!
fos
帖子: 24
注册时间: 2006-11-13 17:28

#2

帖子 fos » 2006-12-03 15:15

menu.lst



代码: 全选

# 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 change this entry to 'saved' 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=/dev/hda1 ro

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

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

## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
##      altoptions=(recovery mode) 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

## ## End Default Options ##

title		Ubuntu, kernel 2.6.15-26-386
root		(hd0,0)
kernel		/boot/vmlinuz-2.6.15-26-386 root=/dev/hda1 ro quiet splash
initrd		/boot/initrd.img-2.6.15-26-386
savedefault
boot

title		Ubuntu, kernel 2.6.15-26-386 (recovery mode)
root		(hd0,0)
kernel		/boot/vmlinuz-2.6.15-26-386 root=/dev/hda1 ro single
initrd		/boot/initrd.img-2.6.15-26-386
boot

title		Ubuntu, memtest86+
root		(hd0,0)
kernel		/boot/memtest86+.bin 
boot

### END DEBIAN AUTOMAGIC KERNELS LIST
dbzhang800
帖子: 3182
注册时间: 2006-03-10 15:10
来自: xi'an China
联系:

#3

帖子 dbzhang800 » 2006-12-03 15:17

不知道默认分区是什么了,照你说的,很可能是你吧windows给干掉了
dbzhang800
帖子: 3182
注册时间: 2006-03-10 15:10
来自: xi'an China
联系:

#4

帖子 dbzhang800 » 2006-12-03 15:19

哦 hda(0,0)
完了,你把linux装到windows下的C盘了

windows让你干掉了
fos
帖子: 24
注册时间: 2006-11-13 17:28

#5

帖子 fos » 2006-12-03 15:19

我现在自己回想,觉得也是!
那是要重装了!哎~~
fos
帖子: 24
注册时间: 2006-11-13 17:28

#6

帖子 fos » 2006-12-03 15:22

那时个就是看不懂手动分区啊. :em19 :em27
fos
帖子: 24
注册时间: 2006-11-13 17:28

#7

帖子 fos » 2006-12-03 15:38

那就是说,我整个硬盘都格掉了!!!
那我就欲哭无泪了.有个么东东可以恢复格的数据吗??
ygmvla
帖子: 82
注册时间: 2006-11-12 9:39
来自: 湖南祁阳

#8

帖子 ygmvla » 2006-12-03 15:50

这么重大的工程,你重装系统了哟,数据都复盖了,如果有重要东西要恢复只有专业工公司了,
头像
karron
帖子: 6226
注册时间: 2005-06-11 14:03
来自: 不明真相的群众
联系:

#9

帖子 karron » 2006-12-03 16:12

你改好好看看分区部分.看样子你是把整个硬盘给干掉了.
我的blog,关于技术,软件,linux,vim <---- 所有博客均被河蟹.
头像
SuperWar3Fan
帖子: 1263
注册时间: 2006-05-20 6:25
来自: 山东淄博
联系:

#10

帖子 SuperWar3Fan » 2006-12-03 16:26

要重新安装了
回复