囝泺的博客[www.bluenuo.cn]

网盘[disk.bluenuo.cn]
随笔 - 6, 文章 - 1, 评论 - 11, 引用 - 0
数据加载中……

GRUB唤醒沉睡的SUSE

用linux也一段时间了,前前后后装了不少版本的linux,也看了不少linux的书,但在各种发行版中,还是对suse情有独钟,因为它的友好的界面还有广泛的硬件支持,特别是suse附带了功能齐全的软件,就连播放器的解码也做得非常周到,基本上能播放大多数格式的电影跟音乐了。但由于几个月前重装windows系统,把引导破坏了,suse就一直沉睡在硬盘中,今天,借用grub,又把沉睡的suse唤醒,在使用grub的时候也遇到了不少麻烦,下面做个总结,好让下次少走点弯路。
文/囝泺 www.bluenuo.cn



首先把GRUB下下来,为方便下次使用我把grub支持多文件系统的版本放在我的网盘http://disk.bluenuo.cn的linux目录下,下载后提取grldr文件到C:\,现在只需要把系统的启动菜单中加上C:\GRLDR=My Grub一行,下次启动的时候就可以通过My Linux Suse10这个菜单进入grub,但现在只能使用命令来使用GRUB,接下来我们为GRUB加入菜单。
在C:\下建立boot文件夹,然后进入刚建立的boot文件夹建立grub文件夹,最后,在grub目录下建立menu.lst文件,至于menu.lst里面写什么你可以查阅相关资料,笔者是通过光盘引导了以前的linux系统,仿照/boot/grub下面的menu.lst写的,原linux下的menu.lst如下

# Modified by YaST2. Last modification on 日  4月  1 06:48:42 UTC 2007
color white/blue black/light-gray
default 1
timeout 8
gfxmenu (hd1,7)/boot/message

###Don't change this comment - YaST2 identifier: Original name: linux###
title SUSE Linux Enterprise Desktop 10
    root (hd1,7)
    kernel /boot/vmlinuz root=/dev/sda8 vga=0x314    resume=/dev/sda7  splash=silent showopts
    initrd /boot/initrd

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

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


由于现在我只需要引导suse10,所以我把启动设置跟最后一条复制到我的menu.lst里面就可以了
# Modified by YaST2. Last modification on 日  4月  1 06:48:42 UTC 2007
color white
/blue black/light-gray
default 1
timeout 
8
###Don't change this comment - YaST2 identifier: Original name: linux###
title SUSE Linux Enterprise Desktop 10
    root (hd1,7)
    kernel /boot/vmlinuz root=/dev/sda8 vga=0x314    resume=/dev/sda7  splash=silent showopts
    initrd /boot/initrd
其中红色标记的因个人系统而定
现在grub已经能唤醒沉睡的suse了,至于grub更详细的使用,可以在网上搜索grub使用的文章,这里不在细述

囝泺,武汉科技学院
您可以通过其博客了解更多信息和文章:http://www.bluenuo.cn

囝泺,深圳康拓普信息技术有限公司
您可以通过其博客了解更多信息和文章:http://www.bluenuo.cn

posted on 2007-10-16 16:41 囝泺 阅读(389) 评论(0)  编辑  收藏 所属分类: Linux


只有注册用户登录后才能发表评论。


网站导航: