hi, i'm trying to "unhide" my /dev/hda2 drive (the NTFS XP drive) so that i can boot XP. i found this advice from a google search:
"All I had to do was boot from a Linux CD-ROM, start fdisk, and change the type of the WinXP file system from 0x17 (Hidden HPFS/NTFS) to 0x7 (HPFS/NTFS). "
i've never used fdisk before so i'm not sure how to translate this into a executable code. could some1 please tell me the command i'll need to execute to do this (i.e. change the drive from hidden to unhidden)
It's quite easy.
su to your admin account
use fdisk -l /dev/hda to list the partitions on that drive.
If you use fdisk -l -u /dev/hda it'll be displayed in a different set of units, which may be more useful
save and/or print the listed information so you know how things were before you changed things
use fdisk /dev/hda to load fdisk and work with the appropriate partition
Now that you're in the fdisk program you can type m for the menu use p to display the partition table use t to change the type of a partition then p again to make sure it looks right when you're ready, use w to write it to disk and q to quit.
Did I miss anything?
Oh yea, exit out of your admin session and reboot.
-- Paul Wilkins
