LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
LinkBack Search this Thread
Old 07-16-2004, 02:04 PM   #1
sodhilogin
LQ Newbie
 
Registered: May 2003
Distribution: RH 8.0
Posts: 21

Rep: Reputation: 15
MBR over written... boot floppy doesn;t work


I have 2 20GB hdd with win2k on the 1st one and rh8 on the second.

I just formatted the win2k and have created 2 partitions there of 10GB each. I have installed win2k on the 1st 10GB partition and have partitioned both the 10GBs to FAT32 format.

I had created a boot floopy using the collong command:

dd if=/mnt/hda of/mnt/fd0 bs=512 count=1

I used this floopy to boot into linux and recopied

dd if=/mnt/fd0 of/mnt/hda bs=512 count=1

Ones this is doesn, I couldn;t get into windows as BSOD appears saying some error etc.

I booted into Linux and say that partitions, the harware browser shows a single 20GB FAT32 partition, probably, since I created the floopy when I was having the abv config.

Is there some way of getting my win2k and RH8.0 to working again?
 
Old 07-16-2004, 02:13 PM   #2
druisgod
Member
 
Registered: Jun 2004
Location: Maine
Distribution: LFS Mint OS, LFS, CENTos,
Posts: 117

Rep: Reputation: 18
Yes.




j/k. First off grab disk one from the RH installation. Start up your computer and put that disk in as if you were doing an install. On the main screen it gives you the ability to do advanced stuff. I think your supposed to hit F1 or something, nevertheless, the message will be there. It will bring you to another screen in which you can do a rescue. Type rescue at the command line and hit enter. It will load a kernel off from the cdrom and bring you up. I'm not sure if RH mounts your disk automatically, you might have to do that. Once you have mounted your old RH partition, cd to the directory it is mounted on and chroot it. For ex. if the partition was mounted on /mnt then you can cd to /mnt and type in chroot /mnt. This temporarily makes the system think that the directory you specified is root. From there you can rerun the lilo config. If lilo is ok, then it will be as easy as /sbin/lilo -V -V. Look for errors in lilo, if present fix them. If not, type exit, type reboot or init 6, remove the cdrom and hopefully lilo will work. If not . . .I am here


Druisgod
 
Old 07-16-2004, 02:19 PM   #3
sodhilogin
LQ Newbie
 
Registered: May 2003
Distribution: RH 8.0
Posts: 21

Original Poster
Rep: Reputation: 15
Hi druisgod

Thanks for the reply... but I have a doubt...I was using GRUB to boot earlier... so will the present procedure help me out?
 
Old 07-16-2004, 02:32 PM   #4
sodhilogin
LQ Newbie
 
Registered: May 2003
Distribution: RH 8.0
Posts: 21

Original Poster
Rep: Reputation: 15
I put in RH8.0 CD-1 and rebooted. It gave a few messages and said exiting abnormally.
and that the system is safe to reboot.

But when I put the floppy I created using the DD command, I a am able to boot to Linux.
And without the floopy, I am able to boot to win2k

I read about using the command "linux rescue" at some stage but am unable to recollect where I can type this command...
 
Old 07-18-2004, 12:03 AM   #5
sodhilogin
LQ Newbie
 
Registered: May 2003
Distribution: RH 8.0
Posts: 21

Original Poster
Rep: Reputation: 15
I could get grud working by doing the following:

/sbin/grub-install /mnt/hda

Read somewhere in the net and used it. It worked fine. Both linux and win2k are being shown again.
 
Old 07-19-2004, 06:27 AM   #6
druisgod
Member
 
Registered: Jun 2004
Location: Maine
Distribution: LFS Mint OS, LFS, CENTos,
Posts: 117

Rep: Reputation: 18
The linux rescue can be done if you boot off the cd and hit f1 when it asks you to press enter if you want to do an install. I think its F1. I'm at a slight disadvantage, because I don't use grub. And because I don't, I would say that if you had anything important, use a cdrom based distribution like knoppix, to recover all your files and then burn them on a cd. Then do a reinstall. I would only do this if you can't find anyone else on the boards to help you with grub. Like I said, I just don't use it, so I'm not sure about how to repair it. Good luck.

Druisgod
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
vnc4server doesn`t work! tyranus Debian 4 06-02-2006 06:08 PM
Lost Linux boot and boot floppy doesn't work marquedios Linux - Newbie 9 05-22-2005 02:21 PM
PS/2 mouse doesnīt work :( teekaay Slackware 7 01-08-2004 02:22 AM
Dual boot, linux MBR on floppy question? Dobie Linux - Newbie 1 12-15-2003 10:19 AM
"LI" from boot floppy? Can't load XP or Linux. Damaged MBR or boot sector or ...? SparceMatrix Linux - General 10 09-27-2002 01:20 PM


All times are GMT -5. The time now is 10:30 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration