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

          網(wǎng)盤[disk.bluenuo.cn]
          隨筆 - 6, 文章 - 1, 評論 - 11, 引用 - 0
          數(shù)據(jù)加載中……

          GRUB喚醒沉睡的SUSE

          用linux也一段時間了,前前后后裝了不少版本的linux,也看了不少linux的書,但在各種發(fā)行版中,還是對suse情有獨鐘,因為它的友好的界面還有廣泛的硬件支持,特別是suse附帶了功能齊全的軟件,就連播放器的解碼也做得非常周到,基本上能播放大多數(shù)格式的電影跟音樂了。但由于幾個月前重裝windows系統(tǒng),把引導(dǎo)破壞了,suse就一直沉睡在硬盤中,今天,借用grub,又把沉睡的suse喚醒,在使用grub的時候也遇到了不少麻煩,下面做個總結(jié),好讓下次少走點彎路。
          文/囝濼 www.bluenuo.cn



          首先把GRUB下下來,為方便下次使用我把grub支持多文件系統(tǒng)的版本放在我的網(wǎng)盤http://disk.bluenuo.cn的linux目錄下,下載后提取grldr文件到C:\,現(xiàn)在只需要把系統(tǒng)的啟動菜單中加上C:\GRLDR=My Grub一行,下次啟動的時候就可以通過My Linux Suse10這個菜單進入grub,但現(xiàn)在只能使用命令來使用GRUB,接下來我們?yōu)镚RUB加入菜單。
          在C:\下建立boot文件夾,然后進入剛建立的boot文件夾建立grub文件夾,最后,在grub目錄下建立menu.lst文件,至于menu.lst里面寫什么你可以查閱相關(guān)資料,筆者是通過光盤引導(dǎo)了以前的linux系統(tǒng),仿照/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


          由于現(xiàn)在我只需要引導(dǎo)suse10,所以我把啟動設(shè)置跟最后一條復(fù)制到我的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
          其中紅色標記的因個人系統(tǒng)而定
          現(xiàn)在grub已經(jīng)能喚醒沉睡的suse了,至于grub更詳細的使用,可以在網(wǎng)上搜索grub使用的文章,這里不在細述

          囝濼,武漢科技學(xué)院
          您可以通過其博客了解更多信息和文章:http://www.bluenuo.cn

          囝濼,深圳康拓普信息技術(shù)有限公司
          您可以通過其博客了解更多信息和文章:http://www.bluenuo.cn

          posted on 2007-10-16 16:41 囝濼 閱讀(409) 評論(0)  編輯  收藏 所屬分類: Linux


          只有注冊用戶登錄后才能發(fā)表評論。


          網(wǎng)站導(dǎo)航:
           
          主站蜘蛛池模板: 陆丰市| 麦盖提县| 杭州市| 巴中市| 绥宁县| 邢台市| 汤阴县| 江达县| 高雄市| 玉环县| 庆云县| 汕尾市| 湄潭县| 贵港市| 义马市| 城固县| 肃北| 唐山市| 额尔古纳市| 闸北区| 石柱| 临潭县| 文成县| 德令哈市| 米易县| 宁安市| 阿瓦提县| 天门市| 大连市| 景泰县| 正宁县| 南昌县| 冕宁县| 桦南县| 安陆市| 稷山县| 南充市| 九寨沟县| 海原县| 江源县| 乳山市|