Skip to contentSkip to conversation

Help I just destroyed my Root filesystem

DISCUSSION Richard Heycock 3 participants 3 messages Jun 13, 2003

lore
Share & tools
lore
#0 lore raw

Hi,

I'm new to this list and I need some help! I just ran grub-install on my root partition instead of my boot partition and it appears to have wreaked it. If I run file -s /dev/hda5 I now get 'x86 boot sector' instead of 'ReiserFS V3.6 block...' and I can no longer mount it.
When the machine tries to boot it loads the kernel (from /dev/hda6) but when it comes to mount the root partition it kernel panics as it cannot mountthe filesystem.

I know at least some of the data is on the partition (less /dev/hda5). I'm guessing that grub-install has overwritten N number of bytes at the beginning of the partition but beyond that I'm at a complete loss of what to do.
Help!

Thanks

rgh

#1 lore raw
Quoted 2 lines · Richard Heycock

Hi,

Hello

Quoted 18 lines

I'm new to this list and I need some help! I just ran grub-install on my root partition instead of my boot partition and it appears to have wreaked it. If I run file -s /dev/hda5 I now get 'x86 boot sector' instead of 'ReiserFS V3.6 block...'

and I can no longer mount it.
When the machine tries to boot it loads the kernel (from /dev/hda6) but when it comes to mount the root partition it kernel panics as it cannot mountthe filesystem.

I know at least some of the data is on the partition (less /dev/hda5). I'm guessing that grub-install has overwritten N number of bytes at the beginning of the partition but beyond that I'm at a complete loss of what to do.
Help!

Quoted 10 lines

Thanks

rgh

Can you pay us for support in compliance http://www.namesys.com/support.html?

Signature · 1 line
Yury Umanets
#2 lore raw
In reply to Richard Heycock

Hello!

Quoted 4 lines · Richard Heycock

I'm new to this list and I need some help! I just ran grub-install on my root partition instead of my boot partition and it appears to have wreaked it. If I run file -s /dev/hda5 I now get 'x86 boot sector' instead of 'ReiserFS V3.6 block...' and I can no longer mount it.

Quoted 8 lines

When the machine tries to boot it loads the kernel (from /dev/hda6) but when it comes to mount the root partition it kernel panics as it cannot mountthe filesystem.
I know at least some of the data is on the partition (less /dev/hda5). I'm guessing that grub-install has overwritten N number of bytes at the beginning of the partition but beyond that I'm at a complete loss of what to do.
Help!

If the latest reiserfsck run with --rebuild-sb switch does not help you, then refer to http://namesys.com/support.html as this is clearly user error on your side.

Bye,
Oleg