用linux也一段时间了,前前后后装了不少版本的linux,也看了不少linux的书,但在各种发行版中,还是对
suse情有独钟,因为它的友好的
界面还有广泛的硬件支持,特别是
suse附带了功能齐全的
软件,就连
播放器的解码也做得非常周到,基本上能
播放大多数格式的电影跟音乐了。但由于几个月前重装
windows系统,把引导破坏了,
suse就一直沉睡在
硬盘中,今天,借用
grub,又把沉睡的
suse唤醒,在使用
grub的时候也遇到了不少麻烦,下面做个总结,好让下次少走点弯路。
首先把GRUB下下来,为方便下次使用我把grub支持多
文件系统的版本放在我的网盘
http://disk.bluenuo.cn的linux目录下,
下载后提取grldr文件到C:\,现在只需要把系统的启动菜单中加上C:\GRLDR="My
Linux Suse10一行,下次启动的时候就可以通过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使用的文章,这里不在细述。