本帖最後由 角色 於 2010-8-11 21:15 編輯
现在终于可以用手指或者用Hard Drive multi-boot 硬盘里面系统如下:
/dev/sda1 (hd0,0) : primary partition : Windows Xp
/dev/sda2 (hd0,1) : primary partition : Windows 7
/dev/sda3 (hd0,2) : primary partition : Data
/dev/sda4 (hd0,3) : extended partition for logical partition
/dev/sda5 (hd0,4) : logical partition : swap
/dev/sda6 (hd0,5) : logical partition : Asterisk 1.4 + Asterisk-GUI 2.0
/dev/sda7 (hd0,6) : logical partition : Asterisk 1.4
/dev/sda8 (hd0,7) : logical partition : Astrisk 1.6 + FreePBX 2.0 (Pending)
/dev/sda9 (hd0,8) : logical partition : Asterisk 1.6 (Pending)
/dev/sda10 (hd0,9) : logical partition : Elastix 2.0
/dev/sda11 (hd0,10) : logical partition : Asterisk 1.8 (Pending)
/dev/sda12 (hd0,11) : logical partition : Ubuntu 10.04 LTS (Pending)
/dev/sda13 (hd0,12) : logical partition : Reserved
/dev/sda14 (hd0,13) : logical partition : Reserved
/dev/sda15 (hd0,14) : logical partition : Reserved
用hard drive boot时,menu.lst会有下面句子:
title Windows Xp
unhide (hd0,0)
hide (hd0,1)
rootnoverify (hd0,0)
chainloader +1
title Windows 7
hide (hd0,0)
unhide (hd0,1)
rootnoverify (hd0,1)
chainloader +1
其他CentOS可以根据个别/boot/grub/mene.lst来修改。
用USB flash drive做multi-boot时,USB本身是hd0,而hard drive是hd1, 我们要在开始用map指令把他们对调就可以。
map (hd0) (hd1)
map (hd1) (hd0)
map --hook
那么在USB Flash Drive的menu.lst去启动Windows Xp和Windows 7如下:
title Windows Xp
map (hd0) (hd1)
map (hd1) (hd0)
map --hook
unhide (hd0,0)
hide (hd0,1)
rootnoverify (hd0,0)
chainloader +1
title Windows 7
map (hd0) (hd1)
map (hd1) (hd0)
map --hook
hide (hd0,0)
unhide (hd0,1)
rootnoverify (hd0,1)
chainloader +1
角色 |