由於某台機器有這樣子的需求....所以找到了相關的教學(如下)
http://hi.baidu.com/enjoyunix/blog/item/4f152e3d820dfc0abba167ca.html
但是跟著做之後發現了些問題(默)...(而且機器已經在跑東西了)
3. 告诉GRUB boot sector 位置
#grub
root (hd0,0) <--出現錯誤訊息 Filesystem type is ext2fs, partition type 0x83
setup (hd0)
grub> setup (hd0)_
Checking if "/boot/grub/stage1" exists... no
Checking if "/grub/stage1" exists... yes
Checking if "/grub/stage2" exists... yes
Checking if "/grub/e2fs_stage1_5" exists... yes
Running "embed /grub/e2fs_stage1_5 (hd0)"... 15 sectors are embedded.
succeeded
Running "install /grub/stage1 (hd0) (hd0)1+15 p (hd0,0)/grub/stage2 /grub/grub.conf"... succee
ded
Done.
grub> root (hd1,0)
Filesystem type is ext2fs, partition type 0xfdsetup (hd1)
grub> setup (hd1)
Checking if "/boot/grub/stage1" exists... yes
Checking if "/boot/grub/stage2" exists... yes
Checking if "/boot/grub/e2fs_stage1_5" exists... yes
Running "embed /boot/grub/e2fs_stage1_5 (hd1)"... 15 sectors are embedded.
succeeded
Running "install /boot/grub/stage1 (hd1) (hd1)1+15 p (hd1,0)/boot/grub/stage2 /boot/grub/grub.
conf"... succeeded
Done.
麻煩各位前輩們給點提示 <(_ _)>
--
All Comments