Results 1 to 7 of 7
I accidentally formated /boot partition of my RHEL 5 box.
Can any one tell me steps to recover /boot partition.
Thanx & Regard's
Ashish...
- 07-28-2009 #1Just Joined!
- Join Date
- Sep 2006
- Posts
- 6
How to recover /boot partition.
I accidentally formated /boot partition of my RHEL 5 box.

Can any one tell me steps to recover /boot partition.
Thanx & Regard's
Ashish
- 07-28-2009 #2forum.guy
- Join Date
- May 2004
- Location
- arch linux
- Posts
- 18,099
Welcome to the forums!
Check out the SuperGRUB LiveCD:
Super Grub Disk Homepage
It's usually very good for repairing Linux and Windows bootloaders.
Edit: oops... sorry, I just realized that you are talking about the /boot partition and not the MBR. I'm not sure what files would need to be replaced in a boot partition since I don't ever create one. Perhaps someone that has one will reply with some info for you.Last edited by oz; 07-28-2009 at 04:17 PM.
oz
→ new members/users: read this first | new member faq
→ no private messages requesting computer support - post them on the forums!
→ please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.
- 07-28-2009 #3forum.guy
- Join Date
- May 2004
- Location
- arch linux
- Posts
- 18,099
Doh! I wasn't thinking again... you should check out TestDisk because it's able to recover deleted partitions and such:
TestDisk - CGSecurity
You can get a copy of it on the Parted Magic LiveCD and other such live disks.oz
→ new members/users: read this first | new member faq
→ no private messages requesting computer support - post them on the forums!
→ please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.
- 07-29-2009 #4Just Joined!
- Join Date
- Sep 2006
- Posts
- 6
Hi
Thanx for the reply, But i think we can do it by Rescue mode in Linux ... But how i donno.
Regard's
Ashish
- 07-29-2009 #5
first recover data
Dear ashish
You formatted your boot partition. so first think about recover data present on boot partition and then think about 'Linux rescue' mode. Linux rescue doesn't recover data from formatted partition.
- 07-29-2009 #6Just Joined!
- Join Date
- Sep 2006
- Posts
- 6
Hi Vishesh ,
/boot was the independent 100MB partition & i didn't stored any other data on it.
All the files related to Grub & Kernel was there on /boot.
So do you have any idea how we can create /boot working as before ?
Thanx & Regard's
Ashish
- 07-29-2009 #7
put linux dvd in drive. on prompt type 'linux rescue' command.
use 'grub_install' command. But remember this will install just grub into mbr not on boot partition. So i don't think 'linux rescue' can help you because you lost your kernel, initrd and grub by formatting /boot partition
Thanks


Reply With Quote