[問題] 加windows xp 64bits進GRUB2

看板Linux作者 (笨神)時間14年前 (2012/01/27 16:31), 編輯推噓0(004)
留言4則, 2人參與, 最新討論串1/1
Hi 板上的各位 我最近在我的Ubuntu lucid桌電上多裝了windows xp 64bits的作業系統 兩個作業系統分別裝在不同的硬碟裡 因為不太會處理GRUB2, 花了我很多時間, 所以決定讓它分開啟動(從BIOS裡選硬碟) 但是現在我希望能把windows加入我的grub2裡面 所以我在/boot/grub/grub.cfg底部加入了下列內容 menuentry 'Windows XP 64-bits' { insmod ntfs set root='(hd3)' search --no-floopy --fs-uuid --set 4018969E18969310 drivemap -s (hd3) ${root} chainloader +1 } 很幸運的這個選項出現在我的選單裡 很不幸的點入後它就死掉了 除了左上角有游標在閃以外啥都看不到 /boot/grub/device.map裡看 hd3的確是我的XP硬碟沒錯 可以給點意見嗎 謝謝 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 219.69.113.141

01/27 18:27, , 1F
(hd3,1) grub2現可用ntldr=/path來啟動xp和win7
01/27 18:27, 1F

01/28 04:02, , 2F
(hd3,1)我試過了無效
01/28 04:02, 2F

01/28 10:57, , 3F
fdisk 貼上來看看.天知道你xp灌在哪...
01/28 10:57, 3F
Disk /dev/sda: 60.0 GB, 60022480896 bytes 255 heads, 63 sectors/track, 7297 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00057ba2 Device Boot Start End Blocks Id System /dev/sda1 1 973 7812500 83 Linux Partition 1 does not end on cylinder boundary. /dev/sda2 * 3649 7298 29306880 17 Hidden HPFS/NTFS Partition 2 does not end on cylinder boundary. WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT. Use GNU Parted. Disk /dev/sdb: 2000.4 GB, 2000398934016 bytes 255 heads, 63 sectors/track, 243201 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x9a011244 Device Boot Start End Blocks Id System /dev/sdb1 1 243202 1953514583+ ee GPT Disk /dev/sdc: 2000.4 GB, 2000398934016 bytes 255 heads, 63 sectors/track, 243201 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0xa15b7bee Device Boot Start End Blocks Id System /dev/sdc2 133 243201 1952451742+ 83 Linux Disk /dev/sdd: 250.1 GB, 250059350016 bytes 255 heads, 63 sectors/track, 30401 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x000a1571 Device Boot Start End Blocks Id System /dev/sdd1 * 1 653 5245191 7 HPFS/NTFS /dev/sdd2 654 30401 238950810 7 HPFS/NTFS Disk /dev/md0: 1999.3 GB, 1999310487552 bytes 2 heads, 4 sectors/track, 488112912 cylinders Units = cylinders of 8 * 512 = 4096 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00000000 Disk /dev/md0 doesn't contain a valid partition table 大概長這樣吧, 在/dev/sdd1 ※ 編輯: stupidgod08 來自: 219.69.113.141 (01/28 11:09)

01/29 14:07, , 4F
root=hd3,1 3.4行拿掉試試
01/29 14:07, 4F
文章代碼(AID): #1F8c3GHk (Linux)