当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 5 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : 大虾救命
帖子发表于 : 2006-01-24 11:11 

注册: 2005-09-04 21:03
帖子: 106
送出感谢: 0 次
接收感谢: 0 次
原来装了XP和Ubuntu
昨天又装了个SuSE,mbr上的grub换成SuSE的了,Ubuntu就启动不了了
在SuSE的menu.lst里加了Ubuntu也是不行,启不来

我的分区是这样的
Disk /dev/hda: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 1721 13823901 c W95 FAT32 (LBA)
/dev/hda2 1722 3230 12121042+ 83 Linux 数据盘1
/dev/hda3 3231 3254 192780 83 Linux ubuntu的/boot
/dev/hda4 3255 4865 12940357+ 83 Linux ubuntu的/

Disk /dev/hdd: 82.3 GB, 82348277760 bytes
255 heads, 63 sectors/track, 10011 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdd1 * 1 3825 30724281 c W95 FAT32 (LBA)
/dev/hdd2 3826 10011 49689045 f W95 Ext'd (LBA)
/dev/hdd5 3826 8565 38074018+ 83 Linux 数据盘2
/dev/hdd6 * 8566 9840 10241406 83 Linux SuSE的/
/dev/hdd7 9841 10011 1373526 82 Linux swap / Solaris


我用安装盘来装Grub也不行
请问现在怎么办呀?

3x


页首
 用户资料  
 
2 楼 
 文章标题 :
帖子发表于 : 2006-01-24 11:33 
头像

注册: 2005-03-26 9:38
帖子: 521
送出感谢: 0 次
接收感谢: 0 次
把你的menu.lst贴出来看看


_________________
图片


页首
 用户资料  
 
3 楼 
 文章标题 :
帖子发表于 : 2006-01-24 11:39 

注册: 2005-09-04 21:03
帖子: 106
送出感谢: 0 次
接收感谢: 0 次
SuSE下的

# Modified by YaST2. Last modification on Mon Jan 23 03:06:20 UTC 2006

color white/blue black/light-gray
default 0
timeout 8
gfxmenu (hd1,5)/boot/message

###Don't change this comment - YaST2 identifier: Original name: linux###
title SUSE LINUX 10.0
root (hd1,5)
kernel /boot/vmlinuz root=/dev/hdd6 vga=0x31a selinux=0 resume=/dev/hdd7 splash=silent showopts
initrd /boot/initrd

###Don't change this comment - YaST2 identifier: Original name: windows 1###
title windows 1
chainloader (hd0,0)+1

###Don't change this comment - YaST2 identifier: Original name: windows 2###
title windows 2
chainloader (hd1,0)+1

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- SUSE LINUX 10.0
root (hd1,5)
kernel /boot/vmlinuz root=/dev/hdd6 vga=normal showopts ide=nodma apm=off acpi=off noresume selinux=0 nosmp noapic maxcpus=0 edd=off 3
initrd /boot/initrd

title Ubuntu, kernel 2.6.12-10-k7
root (hd0,2)
kernel (hd0,2)/vmlinuz-2.6.12-10-k7 root=/dev/hda4 ro quiet splash
initrd (hd0,2)/initrd.img-2.6.12-10-k7
savedefault
boot



Ubuntu下的

# 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'.
default 11

## 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 specifiv 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=root=/dev/hda4 ro

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

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

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

## nonaltoption boot targets option
## This option controls options to pass to only the
## primary kernel menu item.
## You can have ONLY one nonaltoptions line
# nonaltoptions=quiet splash

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

## ## End Default Options ##

title Ubuntu, kernel 2.6.12-10-k7
root (hd0,2)
kernel /vmlinuz-2.6.12-10-k7 root=/dev/hda4 ro quiet splash
initrd /initrd.img-2.6.12-10-k7
savedefault
boot

title Ubuntu, kernel 2.6.12-10-k7 (recovery mode)
root (hd0,2)
kernel /vmlinuz-2.6.12-10-k7 root=/dev/hda4 ro single
initrd /initrd.img-2.6.12-10-k7
boot

title Ubuntu, kernel 2.6.12-10-686
root (hd0,2)
kernel /vmlinuz-2.6.12-10-686 root=/dev/hda4 ro quiet splash
initrd /initrd.img-2.6.12-10-686
savedefault
boot

title Ubuntu, kernel 2.6.12-10-686 (recovery mode)
root (hd0,2)
kernel /vmlinuz-2.6.12-10-686 root=/dev/hda4 ro single
initrd /initrd.img-2.6.12-10-686
boot


title Ubuntu, kernel 2.6.12-9-386
root (hd0,2)
kernel /vmlinuz-2.6.12-9-386 root=/dev/hda4 ro quiet splash
initrd /initrd.img-2.6.12-9-386
savedefault
boot

title Ubuntu, kernel 2.6.12-9-386 (recovery mode)
root (hd0,2)
kernel /vmlinuz-2.6.12-9-386 root=/dev/hda4 ro single
initrd /initrd.img-2.6.12-9-386
boot

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

### 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 an existing
# linux installation on /dev/hdd6.
title Fedora Core (2.6.12-1.1376_FC3) (on /dev/hdd6)
root (hd1,5)
kernel /boot/vmlinuz-2.6.12-1.1376_FC3 ro root=/dev/hdd6 rhgb quiet
initrd /boot/initrd-2.6.12-1.1376_FC3.img
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/hdd6.
title Fedora Core (2.6.11-1.14_FC3) (on /dev/hdd6)
root (hd1,5)
kernel /boot/vmlinuz-2.6.11-1.14_FC3 ro root=LABEL=/ rhgb quiet
initrd /boot/initrd-2.6.11-1.14_FC3.img
savedefault
boot


# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/hdd1
title Windows NT/2000/XP
root (hd1,0)
savedefault
makeactive
chainloader +1


# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/hda1
title Microsoft Windows XP Professional
root (hd0,0)
savedefault
makeactive
chainloader +1


我是把原来的FC3删了,装SuSE的


页首
 用户资料  
 
4 楼 
 文章标题 :
帖子发表于 : 2006-01-24 14:05 

注册: 2005-05-17 0:10
帖子: 45
送出感谢: 0 次
接收感谢: 0 次
..


最后由 liaojunmin 编辑于 2011-02-19 4:22,总共编辑了 1 次

页首
 用户资料  
 
5 楼 
 文章标题 :
帖子发表于 : 2006-01-24 14:10 

注册: 2005-09-04 21:03
帖子: 106
送出感谢: 0 次
接收感谢: 0 次
liaojunmin 写道:
引用:
SUSE下的
title Ubuntu, kernel 2.6.12-10-k7
root (hd0,2)
kernel (hd0,2)/vmlinuz-2.6.12-10-k7 root=/dev/hda4 ro quiet splash
initrd (hd0,2)/initrd.img-2.6.12-10-k7
savedefault
boot

Ubuntu下的
title Ubuntu, kernel 2.6.12-10-k7
root (hd0,2)
kernel /vmlinuz-2.6.12-10-k7 root=/dev/hda4 ro quiet splash
initrd /initrd.img-2.6.12-10-k7
savedefault
boot

直接使用ubuntu的应该没有问题,“root (hd0,2)”后kernel和initrd都不需要“(hd0,2)”了


不行的呀,试过之后才改成(hd0,2)的


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 5 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:Google [Bot], Yahoo [Bot] 和 4 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译