[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

bad superblock recovery help?



here is a strange problem i can't quite debug.

on a thinkpad x20 i have set up to dual boot debian (potato) and
windows, i just got done burning a cd, using xcdroast. to do this i
shutdown the box, put attach the ultrabase which has the burner and boot
into linux.

i've done this many times in the past, but for some reason i ran into
a problem this time. after my last burning session i shut down and
disconnected the ultrabase. i don't like the feel of typing with the
base connected so i only use it to burn or rip. anyway, after a reboot,
i went to mount my windows partition (cause it is where i store all my
mp3 files) and got the following message:


serge@bluesky:~$ mount /win98
mount: wrong fs type, bad option, bad superblock on /dev/hda1,
       or too many mounted file systems

in the past this mount worked fine.

since this previously worked, i'm ruling out the wrong "fs type" option,
leaving the bad superblock or too many mounted file systems as the
source of the problem.

as for the too many mounted file systems, i'm leaning towards ruling
that out as well:

serge@bluesky:~$ mount
/dev/hda4 on / type ext2 (rw,errors=remount-ro,errors=remount-ro)
proc on /proc type proc (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)


i'm posting this to user as i don't think it is a laptop specific
problem.


here is what /etc/fstab looks like:
# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>                       <dump>  
<pass>
/dev/hda4       /               ext2    defaults,errors=remount-ro      0       
1
/dev/hda3       none            swap    sw                      0       0
proc            /proc           proc    defaults                        0       
0
/dev/fd0        /floppy         auto    defaults,user,noauto            0       
0
/dev/cdrom      /cdrom          iso9660 defaults,ro,user,noauto         0       
0
/dev/hda1       /win98  vfat    noauto,rw,user,nosuid,sync,mode=0777

i tried a reboot, to see if i could get into the windows partition but
when  i selected that stanza in lilo, lilo hangs at "L?"
(again, this used to work prior to this recent problem).

i can boot into linux just fine. a look at my partition table reveals:

Disk /dev/hda: 240 heads, 63 sectors, 2584 cylinders
Units = cylinders of 15120 * 512 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/hda1   *         1       814   6153808+   c  Win95 FAT32 (LBA)
/dev/hda2          2504      2584    612360   1c  Hidden Win95 FAT32 (LBA)
/dev/hda3           815       847    249480   82  Linux swap
/dev/hda4           848      2503  12519360   83  Linux


i'm thinking something got hozed on hda1 during my recent cdburning
session? but i'm not sure how to proceed.  i was (perhaps stupidly)
using the windows partition to store the images mastered under xcdroast
- this seemed to cause no problems previously, but perhaps this is a
possible source of my problem.

any suggestions about how to go about repairing hda1 would be most
appreciated. 

thanks,
serge

-- 
Sergio J. Rey	http://typhoon.sdsu.edu/rey.html
Frankly, Windows networking is the worst thing that could ever have
happened to mankind.
	- Stephen Cope



Reply to: