Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
12-08-2005, 07:19 PM
|
#1
|
LQ Newbie
Registered: Jul 2005
Location: Philadelphia
Distribution: Xandros
Posts: 21
Rep:
|
Partition magic made my windows hidden
I bought another hd I put windows 98se then partition magic. I then made a partition of 20 for Xandros 3.0. I installed xandros which seems to work fine. Now I can't access my windows partition.
When I go into my other hd under qtparted it says it is hidden. How do I unhide it?
I've read on here not to do a reinstall. I put the partition magic disk in to boot to that and it wants dos commands. I don't know how to do dos. When windows tries to load it goes to an A prompt wanting a \windows\command. I don't know what it wants.
Is there a way to fix this through xandros? Did xandros loading Lilo do something? I've seen that on here too.
I am not very computer literate so I do need simplified directions, I apologize in advance.
|
|
|
12-09-2005, 12:36 AM
|
#2
|
Senior Member
Registered: Oct 2003
Location: /earth/usa/nj (UTC-5)
Distribution: RHEL, AltimaLinux, Rocky
Posts: 1,151
Rep:
|
Welcome to the PartitionMagic Victims Club.
You can use the grub shell to unhide a partition. If grub is not available in your distribution, then you can run it from Knoppix.
For example, assume that you want to unhide hda3, where hda will be assumed to be the first drive in your system. In grub-speak, that partition is (hd0,2), since grub numbering starts at zero. You would start the grub shell and then invoke the unhide command like this:
#grub
grub> unhide (hd0,2)
grub> quit
#
For more details, read section 4.2.6 “DOS/Windows” in the Grub Manual for an example of using unhide: http://www.gnu.org/software/grub/man...OS_002fWindows
|
|
|
12-09-2005, 12:47 AM
|
#3
|
LQ Newbie
Registered: Jul 2005
Location: Philadelphia
Distribution: Xandros
Posts: 21
Original Poster
Rep:
|
This is what comes up on fdisk. Xandros I believe uses Lilo. Will the grub commands still work?
Yeah, I read use partition magic it's great, Now this and I'm seeing all the horror stories when I actually googled the outcome on how to fix this.
Disk /dev/hdb: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hdb1 1 7179 57665286 1c Hidden W95 FAT32 (LBA)
/dev/hdb2 7244 9729 19968795 83 Linux
/dev/hdb3 7180 7243 514080 82 Linux swap
/dev/hdb4 * 9730 9730 0 e W95 FAT16 (LBA)
Partition table entries are not in disk order
/home/dean#
|
|
|
12-09-2005, 02:17 AM
|
#4
|
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,442
|
Easily fixed from fdisk.
Once in ("fdisk /dev/hdb"), "m" lists all the commands.
"p" is a good place to start, then maybe "l".
Use "t" to change the id - you'll notice the (M$oft) hidden types are all just x'10' more than the normal types.
In your case change partition 4 to "6", and partition 1 to "c".
"w" writes the changes out, and then "q" quits.
Easy - er, note no quotes when you are entering data.
|
|
|
12-09-2005, 02:47 AM
|
#5
|
LQ Newbie
Registered: Jul 2005
Location: Philadelphia
Distribution: Xandros
Posts: 21
Original Poster
Rep:
|
Ok, there is my first problem. I really don't understand what you're saying to do. I know how to get into fdisk. It's when the commands come into play I mess everything up. I'm not really computer literate (self taught) so the directions are kinda greek to me. I'm really not sure it what order everything needs to be.
Here are the usage directions (commands below)
Usage: fdisk [-b SSZ] [-u] DISK Change partition table
fdisk -l [-b SSZ] [-u] DISK List partition table(s)
fdisk -s PARTITION Give partition size(s) in blocks
fdisk -v Give fdisk version
Here DISK is something like /dev/hdb or /dev/sda
and PARTITION is something like /dev/hda7
-u: give Start and End in sector (instead of cylinder) units
-b 2048: (for certain MO disks) use 2048-byte sectors
Here are my list of commands
Command action
a toggle a bootable flag
b edit bsd disklabel
c toggle the dos compatibility flag
d delete a partition
l list known partition types
m print this menu
n add a new partition
o create a new empty DOS partition table
p print the partition table
q quit without saving changes
s create a new empty Sun disklabel
t change a partition's system id
u change display/entry units
v verify the partition table
w write table to disk and exit
x extra functionality (experts only)
|
|
|
12-09-2005, 04:01 AM
|
#6
|
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,442
|
Self taught is good.
Reread what I said - you should be able to follow.
Do as you wish - if you screw up, use the "q" command. You can do no damage.
When you are confident you understand what you have done, commit the changes with the "w".
Play and learn ... 
|
|
|
12-10-2005, 02:39 AM
|
#7
|
LQ Newbie
Registered: Jul 2005
Location: Philadelphia
Distribution: Xandros
Posts: 21
Original Poster
Rep:
|
Are you kidding me? I already said I don't know how to put the commands in and this is the response you give. Play and learn.
Whatever, if you had no intention of ACTUALLY helping you should not be responding to people. What a jerk! 
|
|
|
All times are GMT -5. The time now is 05:37 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|