LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 05-28-2004, 11:29 AM   #1
donni
Member
 
Registered: Aug 2003
Location: Crawley
Distribution: Debian GNU/Linux Sid
Posts: 49

Rep: Reputation: 15
Unhide FAT32 partition fails


I seem to have the most bizarre problems - oh well, give you Gurus a challenge eh?

For some reason my Docs partition has become Hidden Win95 FAT32 (LBA) - I would post fdisk -l output but but I'm in Winblows atm.

I tried unhiding with QTParted, Ranish PM, Paragon PM and cfdisk, and I ran fdisk /MBR for the hell of it, but I cannot get Win98 to detect the partition. I don't believe there are any tools with Windows to add undetected partitions - fdisk requires a reboot, after which Win98 still fails to find it, and Drive Converter etc. are completely useless.

If anyone can tell me why, that would be very nice indeed.

P.S. Why would fdisk be able to say disk usage of NON-DOS partitions but not be able to say what they were?
 
Old 05-28-2004, 11:37 AM   #2
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
Just use Linux fdisk, and change the partition type to "c"(W95 FAT32 (LBA))
 
Old 05-28-2004, 11:48 AM   #3
donni
Member
 
Registered: Aug 2003
Location: Crawley
Distribution: Debian GNU/Linux Sid
Posts: 49

Original Poster
Rep: Reputation: 15
I'll keep on trying, but I used cfdisk for exactly that, and on reboot, Win98 can't spot the stupid thing.

Should I wipe the vile OS?
The family would complain but...I think it's worth it.

And I could always reinstall - again...
 
Old 05-28-2004, 02:27 PM   #4
donni
Member
 
Registered: Aug 2003
Location: Crawley
Distribution: Debian GNU/Linux Sid
Posts: 49

Original Poster
Rep: Reputation: 15
I thought that would getcha!

Tried what you said - and no, it doesn't work. It is the strangest problem I have come accross with my history of strange problems:

Duplicated entries in debian menu.
Can't get ACPI/APM power off to work.
Custom kernel caused all terminal emulators to be unable to open a shell (blank win).
LILO complains device_mapper or similar not found after kernel compilation.
LILO complains "Cannot detect sound device in use in present system." or similar.
Numerous problems installing debian unstable packages ( by definition unstable).
... and many more.
 
Old 05-28-2004, 02:53 PM   #5
lyceum
Member
 
Registered: Aug 2003
Location: N.C.
Distribution: rh9, fc1, slack 9.1, 10
Posts: 229

Rep: Reputation: 30
donni,
Quote:
Custom kernel caused all terminal emulators to be unable to open a shell (blank win)
did you ever find a solution to this problem? i have the same problem, and haven't really tried to fix it, as i had no idea where to even start. though i don't have a custom kernel. at work now, but will post the kernel version when i get home.
 
Old 05-28-2004, 03:44 PM   #6
donni
Member
 
Registered: Aug 2003
Location: Crawley
Distribution: Debian GNU/Linux Sid
Posts: 49

Original Poster
Rep: Reputation: 15
No, no idea what is wrong.

Google returned nothing, but I've always been hopeless at using it effectively.

It could be software or something to do with the workings of a terminal emulator that requires kernel support for something, but I have no clue. It wouldn't be something like "Virtual Terminal support", I don't think.

It's a tricky one.

Oh, BTW, I'm using 2.6.6-k7
 
Old 05-28-2004, 04:34 PM   #7
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
Quote:

Custom kernel caused all terminal emulators to be unable to open a shell (blank win).

Make sure you have pty support compiled into the kernel, in the .config file its "CONFIG_UNIX98_PTYS"

As for the partition problem, are you able to mount it in Linux? Or if you want to try reconstructing the partition table, you can use these 2 tools

Parted
http://www.gnu.org/software/parted

Testdisk
http://www.cgsecurity.org/index.html?testdisk.html

Also IIRC Win98 doesn't like having more than one primary partitions in a single disk, maybe that's something you can look into? I could be wrong though.

Quote:

P.S. Why would fdisk be able to say disk usage of NON-DOS partitions but not be able to say what they were?

Because that info is read off the partition table which resides in the MBR, not the partition themselves. In each partition table entry there's an one byte field which specifies the partition type(remember the hex codes for partition types you see in Linux fdisk), and dos fdisk can only identify a limited number of them.

Last edited by Demonbane; 05-28-2004 at 04:37 PM.
 
Old 05-30-2004, 01:17 PM   #8
donni
Member
 
Registered: Aug 2003
Location: Crawley
Distribution: Debian GNU/Linux Sid
Posts: 49

Original Poster
Rep: Reputation: 15
Sorry, yeah, I realised this quite recently - don't worry, just me thinking "legacy? why do I want that?!" and removing the necessary module with it!

I gave up with the hidden partition - I just transferred the stuff onto the C: drive. The only real reason it was there was because it would be a bad idea to put shared documents which I would need to recover on WinXP's NTFS. Now since we use 98 instead, it doesn't really matter much.

Does anyone know how to enable the computer to power off automatically? I installed acpid, apmd and compiled stuff in to the kernel, added apm=power-off to the boot options etc. - nothing.
I can't find anything on the web to help me.
 
Old 06-16-2004, 08:42 AM   #9
schevon
LQ Newbie
 
Registered: Sep 2003
Posts: 5

Rep: Reputation: 0
I am also trying to get a 2.6.5 kernel to work, and I ran into exactly the same
problem with getting a shell. Everything else seems to work. I do have the
UNIX98_PTYS option set, but not "LEGACY_PTYS" - I'll have to try that. Did anybody
else manage to solve this problem?

I also had problems with getting Windows XP to recognize a vfat partition. It was
working fine then it stopped after one of the ubiquitous Windows upgrades were
installed. I solved the problem using PartitionMagic from Windows - turned out that
XP couldn't cope with having two primary partitions on the drive, so I changed it to a
logical partition then was able to un-hide it (took two separate reboots).
Unfortunately this resulted in renumbering the partitions so that Linux was no longer
able to boot. This required booting with a rescue CD (Knoppix), fixing /etc/fstab and
/etc/lilo.conf to reflect the new partition numbers, and rerunning lilo. I ran into a
sticky problem there as well ("/dev/hda permission denied") and solved it as
follows:

su
mount /dev/hda7 /mnt/hda7 /* my root partition is on hda7
chroot /mnt/hda7
lilo

You have to do the mounting from an su shell to make this work.

Good luck!
 
  


Reply



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
How to format to FAT32, and how to mount my FAT32 partition. bonniehandi Linux - Newbie 16 03-05-2006 07:54 PM
Windows Messed Up My FAT32 Data Partition--Using FC4 to Access Fails Trip in VA Fedora 6 10-29-2005 08:48 PM
Unhide a partition? Help plz den-den Linux - Newbie 1 08-23-2005 03:08 PM
NTFS partition got hidden, how to unhide? Whyaken Linux - Newbie 4 03-22-2005 07:44 PM
Unhide partition with lilo ragingchihuahua Linux - Newbie 3 07-25-2004 11:26 PM

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

All times are GMT -5. The time now is 04:51 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