分页: 1 / 1

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

发表于 : 2006-12-03 15:09
fos
昨天收到的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 再发上来吧.
先谢谢大家了!!!!!!拜托拜托!!

发表于 : 2006-12-03 15:15
fos
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

发表于 : 2006-12-03 15:17
dbzhang800
不知道默认分区是什么了,照你说的,很可能是你吧windows给干掉了

发表于 : 2006-12-03 15:19
dbzhang800
哦 hda(0,0)
完了,你把linux装到windows下的C盘了

windows让你干掉了

发表于 : 2006-12-03 15:19
fos
我现在自己回想,觉得也是!
那是要重装了!哎~~

发表于 : 2006-12-03 15:22
fos
那时个就是看不懂手动分区啊. :em19 :em27

发表于 : 2006-12-03 15:38
fos
那就是说,我整个硬盘都格掉了!!!
那我就欲哭无泪了.有个么东东可以恢复格的数据吗??

发表于 : 2006-12-03 15:50
ygmvla
这么重大的工程,你重装系统了哟,数据都复盖了,如果有重要东西要恢复只有专业工公司了,

发表于 : 2006-12-03 16:12
karron
你改好好看看分区部分.看样子你是把整个硬盘给干掉了.

发表于 : 2006-12-03 16:26
SuperWar3Fan
要重新安装了