[問題]安裝ubuntu後grub無法找到XP
看板Linux作者LinGeorge (Canon Kiss Digital X)時間16年前 (2008/07/18 22:23)推噓0(0推 0噓 1→)留言1則, 1人參與討論串1/2 (看更多)
因為想嘗試最近很紅的Ubuntu,今天嘗試安裝,完成後卻遇到問題,麻煩各位幫忙解決
作業環境:
只有一顆硬碟分割為4個磁區
主分割磁區一個、邏輯分割磁區三個
,安裝了win ME(主分割磁區)、win XP(第1邏輯分割區)
==========================================================
因為當初買電腦時灌的是me,所以xp灌在邏輯分割區,平時以xp的開機選單開機
最近因為很少用到me所以想用這個磁區灌ubuntu
順利安裝完成後,卻發現grub無法辨識出xp的磁區,倒置xp無法啟動
後來查詢一些資料後,去改了grub的 menu.lst檔案
在尾端新增
-------------------------------
title Windows XP
root (hd0,4)
makeactive
chainloader +1
-------------------------------
我灌XP的位置在 /dev/sda5
但是這樣子修改完之後,重新開機還是無法進入xp
出現錯誤訊息error12:Invalid device requested
請問我該如何解決呢?
附上我分割區的狀態:
-------------------------------------
Disk /dev/sda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x356d356c
所用裝置 Boot Start End Blocks Id System
/dev/sda1 * 1 1824 14651248+ 83 Linux
/dev/sda2 1825 14593 102566992+ f W95 Ext'd (LBA)
/dev/sda5 3650 6385 21976888+ 7 HPFS/NTFS
/dev/sda6 6386 9122 21984921 7 HPFS/NTFS
/dev/sda7 9123 14593 43945776 7 HPFS/NTFS
/dev/sda8 1825 2073 2000029+ 82 Linux swap / Solaris
Partition table entries are not in disk order
------------------------------------------------
感謝各位
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 118.169.216.103
→
07/19 00:27, , 1F
07/19 00:27, 1F
討論串 (同標題文章)
以下文章回應了本文:
完整討論串 (本文為第 1 之 2 篇):