hello! this is urgent, so i'm writing to the LUG while also searching myself..;-) I'm having to mount a FAT32 partition, but it refuses to mount - giving that "wrong fs type, bad superblock" blah blah error.. If i try autodetection in fstab, it gives me a seg fault..whats up? can someone play Saviour urgently?
kishor
_________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
--- Kishor Bhagwat aaaaarrrgghhh@yahoo.com wrote:
hello! this is urgent, so i'm writing to the LUG while also I'm having to mount a FAT32 partition, but it refuses to mount - giving that "wrong fs type, bad superblock" blah blah error..
[snip] sigh....:( tried the -t vfat, normally it's the soln. But ur case is wuite xtreme with core dumps....:D Did u recompile the kernel or somethin like that...
Trevor Warren
If i try autodetection in fstab, it gives me a seg fault..whats up? can someone play Saviour urgently?
kishor
_________________________________________________________
Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
===== ( >- LINUX, It's all about CHOICE -< ) /~\ __ http://www.trevorwarren.com __ /~\ | ) / mailto: trevorwarren@yahoo.com \ (/ | |_|_ \ Urgent ->9820349221@maxtouch.co.in / / _|_| ___________________________________/
__________________________________________________ Do You Yahoo!? Find a job, post your resume. http://careers.yahoo.com
sigh....:( tried the -t vfat, normally it's the soln. But ur case is wuite xtreme with core dumps....:D Did u recompile the kernel or somethin like that...
Trevor Warren
yeah..its a linux_from_scratch system, so everything's compiled... the problem is, hda1 is also a FAT32, and it mounts cleanly, but hda2 doesnt.(duh?) I did something pretty weird..i changed the partition type of hda2 to FAT16, (it was FAT32 formatted), blanked out its first 512 bytes, and then mounted it.. voila, it works now!! IO works alright..everything's hunky dory..but i aint going to explain what i did in a million years!!
kishor
__________________________________________________ Do You Yahoo!? Find a job, post your resume. http://careers.yahoo.com
On Thu, 8 Nov 2001, kishor bhagwat wrote:
I did something pretty weird..i changed the partition type of hda2 to FAT16, (it was FAT32 formatted), blanked out its first 512 bytes, and then mounted it.. voila, it works now!! IO works alright..everything's hunky dory..but i aint going to explain what i
I could try an explanation. Windows FAT partitions are not identified by the partition id in the partition table, but by the first 512 bytes on the partition. If these bytes are zeroed out, then it is a FAT partition. Check what Windows fdisk reports this partition as, and check what linux fdisk reports it as. Post the results.
Philip
Hi Windows ME and even the boot floppy doesnt recognise the partition via the 512 bytes but the partition id.... I think win 2k does that.. . I had once a frozen partition magic resizing ... PM had set the partitoin type to its own registered partition type and my friends partition wasnt getting detected even in the boot floppy but win 2k use to detect it Under linux I could mount the partition using mount -t vfat...
Kisor did you try keeping it fat32 and mounting it via vfat -t vfat??
Also.... maybe that partition IS FAT 16??? thus the prob... manne after installing win 98 you didn ot convert it to fat 32 which has to be done manually... -Ritesh --- Philip S Tellis philip.tellis@iname.com wrote:
On Thu, 8 Nov 2001, kishor bhagwat wrote:
I did something pretty weird..i changed the
partition type of hda2
to FAT16, (it was FAT32 formatted), blanked out
its first 512 bytes,
and then mounted it.. voila, it works now!! IO
works
alright..everything's hunky dory..but i aint going
to explain what i
I could try an explanation. Windows FAT partitions are not identified by the partition id in the partition table, but by the first 512 bytes on the partition. If these bytes are zeroed out, then it is a FAT partition. Check what Windows fdisk reports this partition as, and check what linux fdisk reports it as. Post the results.
Philip
-- We'll pivot at warp 2 and bring all tubes to bear, Mr. Sulu!
Visit my webpage at http://www.ncst.ernet.in/~philip/ Read my writings at http://www.ncst.ernet.in/~philip/writings/
MSN philiptellis Yahoo! philiptellis AIM philiptellis ICQ 129711328
__________________________________________________ Do You Yahoo!? Find a job, post your resume. http://careers.yahoo.com
----- Original Message ----- Subject: Re: [ILUG-BOM] mounting fat32 partition
On Thu, 8 Nov 2001, kishor bhagwat wrote:
I did something pretty weird..i changed the partition type of hda2 to FAT16, (it was FAT32 formatted), blanked out its first 512 bytes,
partition. Check what Windows fdisk reports this partition as, and check what linux fdisk reports it as. Post the results.
Philip
both report it as a FAT16 partition
kishor
"I feel like I'm diagonally parked in a parallel universe. "
_________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
On Fri, 9 Nov 2001, Kishor Bhagwat wrote:
partition. Check what Windows fdisk reports this partition as, and check what linux fdisk reports it as. Post the results.
both report it as a FAT16 partition
Oops. Should have done that before changing partitions.
"I feel like I'm diagonally parked in a parallel universe. "
You're a transversal?
----- Original Message ----- From: Philip S Tellis philip.tellis@iname.com Subject: Re: [ILUG-BOM] mounting fat32 partition
On Thu, 8 Nov 2001, kishor bhagwat wrote:
I did something pretty weird..i changed the partition type of hda2 to FAT16, (it was FAT32 formatted), blanked out its first 512 bytes, and then mounted it.. voila, it works now!! IO works alright..everything's hunky dory..but i aint going to explain what i
I could try an explanation. Windows FAT partitions are not identified by the partition id in the partition table, but by the first 512 bytes on the partition.
I'm in a soup again...today morning, i find that my /dev/hda2 is no longer visible in Windows.. so i boot into linux, and that the partition type for /dev/hda2 is suddenly Hidden FAT16!! how did that happen? anyway, i changed it to FAT16 again, but Windows refuses to see it... so i try FAT32,,that doesnt work either..so i make it FAT16, then blank out first 512 bytes, now Windows shows it as drive letter D: (earlier it was E:) , but i still cant access it(says drive not ready) Also, i'm unable to mount it from Linux, i either get : fatfs:invalid logical cluster sector 0 OR segmentation fault
it means i've been effectively blocked out from this partition..i cant try most stunts becoz i dont have a backup. I'm at a total loss as to how/why this happened... Somebody please make some sense outta this and help!
partition table : /dev/hda1 Win95 FAT32 C: /dev/hda2 FAT16 E: (FAT32 formatted ) /dev/hda3 Linux RedHat root /dev/hda5 Linux /boot /dev/hda6 swap /dev/hda7 Linux LFS root /dev/hda8 Linux SuSE root
regards, kishor
_________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
At 01:16 PM 11/15/01 +0530, Kishor wrote:
partition table : /dev/hda1 Win95 FAT32 C: /dev/hda2 FAT16 E: (FAT32 formatted ) /dev/hda3 Linux RedHat root /dev/hda5 Linux /boot /dev/hda6 swap /dev/hda7 Linux LFS root /dev/hda8 Linux SuSE root
regards, kishor
I dont think that the partition Id matters for windows... It may check for some magic numbers instead... I am not sure.
All FAT (12/16/32) volumes have a Bios Parameter Block which is located at the first sector of the volume. Now inside this BPB (structure) there are various fields with different information for the FAT type. Your zeroing out the first 512 bytes may have (permanently) damaged this information. Before zeroing out, if it is possible (philip?), you could have taken a backup??
A few questions for (quenching)my curiosity. If hda1 is C: then how come hda2 is E: ? Do you have a hdb installed ? I think if you have hdb also installed then generally you get hda1=C: and hdb1=D: etc.etc. But if you don't, then shouldn't hda2 be d: ? Also as hda5-8 are logical drives, where is their parent Extended partition? Is it hda4?
quasi
_________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com