LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   I think I blew away my grub (old redhat 4) (https://www.linuxquestions.org/questions/linux-newbie-8/i-think-i-blew-away-my-grub-old-redhat-4-a-690319/)

pellicle 12-13-2008 08:53 AM

I think I blew away my grub (old redhat 4)
 
Folks

I think I did a major goof. I issued a command I found on a website without checking exactly what my config was (yep, I see you shaking your head now ... what ever your saying is perhaps true)

I ran:
mkfs.ext3 /dev/sda1

so, after trying to get my rhel to reboot this morning the expected happened ... nothing

well ... the grub prompt is all. I've tried using the redhat recover option to attempt to reload a boot loader on /dev/sda (the main system is apparently on /dev/VolGroup00/LogVol00). But this just fails saying nothing will be done as I've not got any new modules to install.

so, have I wiped out my main system or have I got a chance to recover this?

pellicle 12-13-2008 08:54 AM

btw ... if someone gets a laugh out of this then it won't have been pointless.

:-)

camelrider 12-14-2008 08:56 AM

You've formatted /dev/hda1. I don't see much chance of recovery.

By the way, what kernel version does Red Hat 4 run? Is it a 1.x.x?
I ask because when the Linux 2.0 came out with a module that supported my ATI graphics card Red Hat was the first distro to release a version with 2.0 kernel and I thought I remembered it as being RH5.

It's been a long time since I manually changed my ext2 filesystem to ext3, but I do remember the main argument to the command was -j, to enable the journal.

pellicle 12-15-2008 07:14 AM

Quote:

Originally Posted by camelrider (Post 3375100)
You've formatted /dev/hda1. I don't see much chance of recovery.

By the way, what kernel version does Red Hat 4 run? Is it a 1.x.x?


if I do a uname -a I get:
Code:

# uname -a
Linux oracle.koti 2.6.9-22.ELsmp #1 SMP Mon Sep 19 18:32:14 EDT 2005 i686 athlon i386 GNU/Linux

so I think its 2.x.x


All times are GMT -5. The time now is 05:30 AM.