LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-26-2004, 03:00 PM   #1
Wyelle
LQ Newbie
 
Registered: Apr 2004
Posts: 3

Rep: Reputation: 0
Windows partition hidden - how to change this?


I used Partition Magic to partition the hard drive and then successfully installed Redhat onto the computer. Unfortunately, grub doesn't recognize Windows XP AT ALL.

So, first, I changed grub.conf, adding these lines:

Code:
title Windows XP
        rootnoverify (hd0,0)
        makeactive
        chainloader +1
Now Windows XP does appear and the loading screen for XP appears as well, but then it gives me an error that says:

Code:
xmnt2002 program not found - skipping autochk
autochk program not found - skipping autochk
So, I went back to Linux and typed fdisk -l and saw this:

Code:
Disk /dev/hda: 60.0 GB, 60040544256 bytes
240 heads, 63 sectors/track, 7755 cylinders
Units = cylinders of 15120 * 512 = 7741440 bytes
 
   Device Boot    Start       End    Blocks   Id  System
/dev/hda1   *        69      4521  33664648+  17  Hidden HPFS/NTFS
/dev/hda2             1        14    105808+  83  Linux
/dev/hda3          4522      7686  23927400   83  Linux
/dev/hda4          7687      7755    521640    f  Win95 Ext'd (LBA)
/dev/hda5          7687      7755    521608+  82  Linux swap
 
Partition table entries are not in disk order
For some reason, /dev/hda1, which is my Windows partition, is hidden!

Can anyone please help me? I want to make it visible. I've done google searches and it seems that everyone who has had the same problem as me solved it by making the partition visible, but they never disclosed their method. One of them used a Partition Magic boot disk, but I don't have one. Are there any other methods to doing this? Someone mentioned using one of Linux's fdisk utilities to make it visible, but I don't know which one and what commands they used.

Any help would be appreciated!
 
Old 04-26-2004, 04:07 PM   #2
7ux_spirit
LQ Newbie
 
Registered: Apr 2004
Distribution: Redhat 8.0
Posts: 21

Rep: Reputation: 15
u could change the partition type with fdisk
give fdisk /dev/hda
Inside fidisk by pressing 't' u could change the partition's id (partition type)
[edit]
giving the partition type to HPFS/NTFS wont corrupt the partion since Hidden HPFS/NTFS and HPFS/NTFS have the same layout
[/edit]

Last edited by 7ux_spirit; 04-26-2004 at 04:14 PM.
 
Old 04-26-2004, 04:41 PM   #3
Wyelle
LQ Newbie
 
Registered: Apr 2004
Posts: 3

Original Poster
Rep: Reputation: 0
Thank you! That worked perfectly!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't change permissions of Windows partition Dimension User Fedora 5 06-05-2005 02:17 PM
How do I change permissions for my windows partition? cereal83 Slackware 9 07-15-2004 02:06 PM
Linux Partition Table Editor - Need to change "Hidden Sectors" value Ouch_Taser Linux - Newbie 3 02-11-2004 10:03 AM
Windows partition - cannot change permissions elitecodex Linux - Newbie 1 02-02-2004 05:55 PM
cant change permissions on a mounted windows partition groovin Linux - Newbie 10 11-02-2002 07:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration