[lug] Re: superblock erased by windows. Help! (II)
D. Stimits
stimits at idcomm.com
Tue Feb 27 15:18:24 MST 2001
It is possible to backup those blocks with dd. I don't recall the exact
lines, but if you look at the NT boot loader howto, one of the ways it
has of providing this information to NT is to copy via dd, the
superblock and/or partition records, to a floppy, then save that as a
file in the NT boot system. As a side effect, you could use dd to
overwrite a given block record for bootup purposes, using dd, and
restore to the original sector. I don't know how much you could save
with that process, aside from booting, but I suspect you could save
things that way. Look for the NT boot loader howto, it has a reference
to dd in that.
Jesus Molina wrote:
>
> On Mon, 26 Feb 2001, Jesus Molina wrote:
>
> Hello,
> First, thanks for the responses.
> Using TOMstrb utility, I issue the following commands
>
> I tried e2fsck -b /dev/sda2 <8192*[1-20]+1 but without success.
>
> mke2fs -S /dev/sda2
> ANd the system recreated my superblock
>
> e2fsck /dev/sda2
> And lots of errors were issued. But my filenames appeared, so they still
> were there, but with inode problems.
> I issued
>
> e2fsck -y /dev/sda2 (say yes to everything)
>
> Now I can mount /dev/sda2 /tmp/linux
> And I have only one directoy lost+found. With a lot of files set to 0.
> So I lost all my data.
> I would like to know If, as my data was still there, if I could have used
> a better method.
>
> Before blowing up everything I tried mke2fs -b /dev/sda2 <8192*[1-20]+1
> but without success.
>
> And yes, my Windows 98 is the one doing the mess. I run again mplayer2
> now I dont mind to lose my super-block again and it dissapeared again.I
> guess is
> because I do not have a correct audio driver installed, but what It has do
> with my linux partition? Any guesses? You know any way to track what
> actions windows 98 is performing to erase the superblock?
>
> Is there anyway to make a bakup of my superblock to another
> computer, so ifthis happens again I can restore it?
>
> Regards,
>
> JEsus
>
> >
> > Hello,
> >
> >
> > I am using lilo ina a pentium 3 Intellistation, I have
> >
> > win 98 in /dev/sda1, partition id 6 (DOS 16-bit >=32M
> > linux native in /dev/sda2 id 83 (Linux native)
> > swap in /dev/sda3 id 82 (Linux swap)
> > WIN 95 FAT32(LBA) in /dev/sda4 id 0c, for storing windows data
> >
> > After runnig a mpg in windows, my computer crashed
> > I cannot boot linux anymore. Lilo works, but linux does not finf
> > init.
> >
> > Booting Using TOMsrtbt, and running fdisk:
> >
> > VFS: Wrong blocksize on device 08:00
> > VFS: Wrong blocksize on device 08:00
> > LL_RW_BLOCK: DEVICE 08:00: only 512-char blocks implemented (1024)
> >
> > Trying e2fsck
> > e2fsck: Bad magic number in super-block while trying to open /dev/sda2
> >
> > I have really important data in that partition. So i will truly appreciate
> > any help in recovering ot.
> > Anyway, How It comes that win98 can crash linux only trying to run a
> > video?
> >
> > Thanks,
> >
> > Jesus
> >
> >
>
> _______________________________________________
> Web Page: http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
More information about the LUG
mailing list