Megat Sri Rama
CG Top Poster Club

- Messages
- 20,266
- Joined
- Aug 28, 2007
- Messages
- 20,266
- Reaction score
- 507
- Points
- 161
- Mula-mula aku pakai WinXP Media Center, yang dah terinstall lebih satu tahun.
- Lepas tu aku install satu hard disk baru.
- Lepas tu aku install CentOS kat hard disk baru. Grub detect windows, dan aku boleh dual boot.
- Lepas tu aku reformat hard disk yang ada CentOS (kerana sebab tertentu)
- lepas tu aku install Fedora 8 kat hard disk baru tu. GRUB tak detect Windows installation.
berikut adalah hasil command df :
Code:
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda3 119031092 15723576 97163460 14% /
/dev/sda1 101086 17540 78327 19% /boot
tmpfs 1037628 396 1037232 1% /dev/shm
/dev/sr0 2930210 2930210 0 100% /media/Fedora 7.92 i386 DVD
/dev/sdc5 69328472 47559604 21768868 69% /media/WinXP
/dev/sdb3 40960076 27191552 13768524 67% /media/Docs
/dev/sdc1 11076784 6814452 4262332 62% /media/System 2
/dev/sdb2 40960076 15640644 25319432 39% /media/Audio
/dev/sdb4 80356244 51447988 28908256 65% /media/Apps
/dev/sdb1 81920128 61325352 20594776 75% /media/Photo
berikut adalah isi boot.ini yang duduk dalam sdc1
ntldr juga duduk dalam sdc1. Windows partition duduk dalam sdc5. windows partition (sdc5) adalah logical partition.
Code:
[boot loader]
timeout=30
default=multi(0)disk(2)rdisk(0)partition(2)\WINDOWS
[operating systems]
multi(0)disk(2)rdisk(0)partition(2)\WINDOWS="Windows XP Media Center Edition" /noexecute=optin /fastdetect /usepmtimer
berikut adalah isi /boot/grub/grub.conf
Code:
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/sda3
# initrd /initrd-version.img
#boot=/dev/sda1
default=0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.23.1-42.fc8)
root (hd0,0)
kernel /vmlinuz-2.6.23.1-42.fc8 ro root=LABEL=/1 rhgb quiet
initrd /initrd-2.6.23.1-42.fc8.img
title Fedora (2.6.23.1-41.fc8)
root (hd0,0)
kernel /vmlinuz-2.6.23.1-41.fc8 ro root=LABEL=/1 rhgb quiet
initrd /initrd-2.6.23.1-41.fc8.img
title WinXP
rootnoverify (hd2,0)
chainloader +1