Unix Technical Forum

Help recovering from disk failure

This is a discussion on Help recovering from disk failure within the Linux Operating System forums, part of the Unix Operating Systems category; --> Hello All, I've had a disk failure and need a little help on best way around it have w2k ...


Go Back   Unix Technical Forum > Unix Operating Systems > Linux Operating System

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-17-2008, 05:27 PM
drobbins
 
Posts: n/a
Default Help recovering from disk failure

Hello All,

I've had a disk failure and need a little help on best way around it
have w2k on hd0
fedora core 1 on hd1
hd0 died (not like I lost anything valuable )
ok, pull cover off machine, throw windows drive in trashcan
make linux drive master
now I have no boot loader
what's the best way around this?
I guess I need to somehow make a bootdisc and then reinstall grub

Ideas??

Dave


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-17-2008, 05:27 PM
TCS
 
Posts: n/a
Default Re: Help recovering from disk failure

On Thu, 8 Jan 2004 15:02:51 -0500, drobbins <drobbins@cgn.net> wrote:
>Hello All,


>I've had a disk failure and need a little help on best way around it
>have w2k on hd0
>fedora core 1 on hd1
>hd0 died (not like I lost anything valuable )
>ok, pull cover off machine, throw windows drive in trashcan
>make linux drive master
>now I have no boot loader
>what's the best way around this?
>I guess I need to somehow make a bootdisc and then reinstall grub


see if your distro had a bootable CD. If so, boot it and see if there's
a "recover" mode where it'll reinstall a bootloader.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-17-2008, 05:28 PM
John Thompson
 
Posts: n/a
Default Re: Help recovering from disk failure

On 2004-01-08, drobbins <drobbins@cgn.net> wrote:

> I've had a disk failure and need a little help on best way around it
> have w2k on hd0
> fedora core 1 on hd1
> hd0 died (not like I lost anything valuable )
> ok, pull cover off machine, throw windows drive in trashcan
> make linux drive master
> now I have no boot loader
> what's the best way around this?
> I guess I need to somehow make a bootdisc and then reinstall grub


Boot from the install CD in "rescue" mode. Mount the linux partition,
chroot to the root of that partition, edit your grub config file
(remember that your linux disk is now hda instead of hdb) and reinstall
the boot loader.

--

-John (JohnThompson@new.rr.com)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-17-2008, 05:28 PM
Thomas Maguin
 
Posts: n/a
Default Re: Help recovering from disk failure

o.k. try this:

boot from your linux-cd. Choose
linux rescue

Redhat/Fedora will look for an installed linux.
You have to
( perhaps mount /mnt/sysimage )
chroot /mnt/sysimage

start grub with
grub

root (hd0,1) # linux root partiton
setup (hd0) # install in mbr
quit

this should install grub to the mbr. then
exit

bye

Tom
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 10:54 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com