→ v9190009:醬麼麻煩阿 我的頭又大囉 來亂的 61.231.183.198 10/16
※ 引述《yanunix (臣知罪...)》之銘言:
: I got some trouble between winxp and linux.
: When I made a partition for linux, reset my computer, then I can't load my
: winxp.
: Who can tell me why? I can't use English to type my question clearly at all.
: Now I just can use chun-jet and dar-yi.
: Please answer me. Thanks a lot.
正確方法:
若要用Win2000/XP的Loader讀取Linux的話
先進Linux 然後編輯/etc/lilo.conf
裡面會有一行 boot=/dev/hdxn(x為英文,n為數字)
要看你的Linux分割區是在哪一個 像我自己的是在/dev/hdb2
我就改成 boot=/dev/hdb2
然後存檔
接下來執行/etc/lilo 這樣子LILO就會存進hdb2裡面了
然後再 dd if=/dev/hdb2 of=/bootsect.lnx bs=512 count=1
接下來就要看你的Win2000/XP是NTFS還是FAT32
如果是NTFS的話 預設為唯讀
a. 所以要先umount /mnt/hda1 (假設你的Win2000/XP分割區是在hda1)
b. 然後mount -t ntfs /dev/hda1 /mnt/hda1
c. 最後cp /bootsect.lnx /mnt/hda1
如果你是FAT32的話 只要執行c就可以了
最後重開機 reboot
然後再進到Win2000/XP 編輯 C:\boot.ini
在最後一行打入 C:\bootsect.lnx="Linux"
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 220.135.159.16