LinuxQuestions.org
Visit Jeremy's Blog.
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 02-18-2004, 10:22 AM   #1
TroelsSmit
Member
 
Registered: Feb 2004
Location: Denmark
Distribution: Debian / Suse
Posts: 223

Rep: Reputation: 30
Change "Hidden W95 FAT32 (LBA)" to ""W95 FAT32 (LBA)"


Hi,

Somehow my W95 FAT32 partition was hidden, and windows can no longer see it.

I have tried changing the type through cfdisk but after a reboot nothing has changed.

1) Does anyone know how to change it back (make it not-hidden) ?
2) Does anyone know how this could possibly have happened ?

thanks !
 
Old 02-18-2004, 10:47 AM   #2
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 61
Run the command:fdisk -l /dev/hda to get an idea of what things look like. The partition in question probably has an id of 1c, 1b or 1e .
You can change that from fdisk with the type command ( t ) . If your not sure what one to use, you can list them with list ( l ) .
Most likely the one you do want is c and that could explain how it got changed to something like 1c
Don't forget to write the table when you get it the way you want it to be.
 
Old 02-18-2004, 11:44 AM   #3
TroelsSmit
Member
 
Registered: Feb 2004
Location: Denmark
Distribution: Debian / Suse
Posts: 223

Original Poster
Rep: Reputation: 30
I have tried using cfdisk, which shows the following:

Name Flags Part Type FS Type [Label] Size (MB)
------------------------------------------------------------------------------
hdb1 Boot Primary W95 FAT32 (LBA) 30000.15
hdb2 Boot Primary Hidden W95 FAT32 (LBA) 4999.94
hdb3 Boot Primary Hidden W95 FAT32 (LBA) 32504.80*
hdb4 Boot Primary Linux ext3 55437.46*

Then I choose type "0C" as the type for hdb2 and hdb3 (one at a time and both at one time has been tried) and write it, which seems to work. Then I reboot and everything is back to what you see above. Im sure I tell it to write the partition table, and I am the root user.
Can a wrong fstab set the hidden parameter ? (im quite lost at this point)

Thanks for the reply !
 
Old 02-18-2004, 12:36 PM   #4
homey
Senior Member
 
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 61
Quote:
Then I choose type "0C"
Try it without the 0 in front and I use a lower case c like this.... c
 
Old 02-19-2004, 12:32 AM   #5
TroelsSmit
Member
 
Registered: Feb 2004
Location: Denmark
Distribution: Debian / Suse
Posts: 223

Original Poster
Rep: Reputation: 30
Hi,

I tried changing the partition type by writing 0c as you say in cfdisk, and then wrote the partition table - and when I exited and entered cfdisk again the patition was no longer hidden. After a reboot though, the partition was hidden again. So, I doubt the problem was the "0".

But, Im out of guesses, so please tell me (as I don't seem to be able to figure it out myself) what is the exact commands I need to use for fdisk: (I have moderately important data on the other partitions and am a bit scared).

1. Change a partition /dev/hdb2 from 1c to c, and write the partition table.

Thanks a bunch homie,

Troels
 
Old 03-27-2004, 08:20 AM   #6
bigorilla
LQ Newbie
 
Registered: Mar 2004
Posts: 1

Rep: Reputation: 0
Hey
I had the same problem
and eventually found the solution
the cause is a new beature of LILO
LILO hides the partition when you boot,
to disable it,
add the lines:

change-rules
reset

to the start of lilo.conf
then run lilo
then change the partition back to what it should be
and reboot
 
Old 03-27-2004, 07:01 PM   #7
TroelsSmit
Member
 
Registered: Feb 2004
Location: Denmark
Distribution: Debian / Suse
Posts: 223

Original Poster
Rep: Reputation: 30
thanks, I also found that LILO was the problem and solved it that way :-)
 
  


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
Unexpected "W95 Ext'd (LBA)" partition Hawkboy Linux - General 3 10-02-2005 04:21 PM
Ndiswrapper install failure - LBA-Linux "make" command fails petteril Linux - Wireless Networking 1 04-23-2005 08:22 AM
Cedega from Fat32 (Invalid path "." given for "--use-dos-cwd") bdox Linux - Software 0 03-30-2005 11:24 AM
Cedega and Fat32 (Invalid path "." given for "--use-dos-cwd") bdox Linux - Games 0 03-26-2005 02:48 AM
mounting W95 FAT32 LBA in Slack 9.1 meisjohn Linux - Newbie 5 12-11-2003 09:15 AM

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

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