D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Problem with partition

 

On 18/08/07, Rob Beard <rob@xxxxxxxxxxxxx> wrote:
> Mike Martin wrote:
> > Hi I have a wierd problem with a partition on my laptop.
> > I have a partition which screwd up resizing (original vista partition)
> > I fdisked the format to linux and then did mkefs and copied a bunch of
> > files over - everything seemed to go well - however when I try to
> > mount I get
> >
> > mount: wrong fs type, bad option, bad superblock on /dev/sda2,
> > missing codepage or other error
> >        In some cases useful info is found in syslog - try
> >        dmesg | tail  or so
> >
> >  /sbin/e2fsck /dev/sda2
> > e2fsck 1.39 (29-May-2006)
> > Couldn't find ext2 superblock, trying backup blocks...
> > /sbin/e2fsck: Bad magic number in super-block while trying to open /dev/sda2
> >
> > The superblock could not be read or does not describe a correct ext2
> > filesystem.  If the device is valid and it really contains an ext2
> > filesystem (and not swap or ufs or something else), then the superblock
> > is corrupt, and you might try running e2fsck with an alternate superblock:
> >     e2fsck -b 8193 <device>
> >
> > mount  /dev/sda2 /mnt
> > $MFT has invalid magic.
> > Failed to load $MFT: Input/output error
> > Failed to startup volume: Input/output error
> > Failed to mount '/dev/sda2': Input/output error
> > NTFS is inconsistent. Run chkdsk /f on Windows then reboot it TWICE!
> > The usage of the /f parameter is very IMPORTANT! No modification was
> > made to NTFS by this software.
> >
> > cant understand now (it shouldn't be fscking ntfs)
> >
>
> Hmmm.... maybe it didn't format properly.  Could you write zeroes over
> the partition with...
>
> dd if=/dev/zero of=/dev/sda2 bs=1M
>
> and then try creating a filesystem on it?
>
> Other than that I guess try deleting the partition in fdisk and recreate it?
>
> Rob
>
>
> --
> The Mailing List for the Devon & Cornwall LUG
> http://mailman.dclug.org.uk/listinfo/list
> FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html
>

problem is the data on the partition - be a lot of hassle to recreate it

any ideas around this

-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html