歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux綜合 >> Linux資訊 >> Linux文化 >> 分別將linux和windows裝到兩塊硬盤上如何設置grub引導

分別將linux和windows裝到兩塊硬盤上如何設置grub引導

日期:2017/2/27 12:03:33   编辑:Linux文化

>>> 此貼的回復 >> 修改menu.lst內容如下,引導問題可解決 title Microsoft Windows 2000 Advanced Server root (hd1,0) savedefault makeactive map (hd0) (hd1) map (hd1) (hd0) chainloader +1

資料,修改原因如下: If you have installed DOS (or Windows) on a non-first hard disk, you have to use the disk swapping technique, because that OS cannot boot from any disks but the first one. The workaround used in GRUB is the command map (see map), like this:

grub> map (hd0) (hd1) grub> map (hd1) (hd0)

就是hd0的分區變成了hd1的,而hd1的分區變成了hd0的,用map命令可以虛擬掉換兩硬盤的id.

[ 關閉窗口 ]

Copyright © 1999-2000 LSLNET.COM. All rights reserved. 藍森林網站 版權所有。 E-mail : [email protected]
Copyright © Linux教程網 All Rights Reserved