LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-31-2002, 08:44 PM   #1
jblaven
Member
 
Registered: May 2002
Posts: 37

Rep: Reputation: 15
How do I restore the old boot sector with...


How do I restore the old boot sector in the installed system with "lilo -u /dev/hdb"?

This is what has happened so far....

1) Install SuSE 7.3 using entire 40 Gig Hard Drive
-I get a message at the end of the install stating... "The lilo boot sector has been written to disk. Restore the old boot sector in the installed system with "lilo -u /dev/hdb" and then I have an "ok" button to click.

The install finishes and it says the install was successful and to remove media prior to reboot. I do this.

2)The computer reboots. Then this is the message I get...

"Invalid system disk. Replace the disk, and then press any key."

-At this point, there is no media in the drive bays, nothing but the hard drive with Linux installed on it.

3)I think I might can use the CD-ROM as a boot disk to get into a GUI and figure something out.... since I am a Windows user, I know nothing about the Linux command line. I am successful in getting the a few options on the screen... one of them being -Rescue System- or something like that. The problem is, I don't know what to do when it gives me the command line. Can I "restore the old boot sector" from this command line?


I am really stuck. How do I get my computer to boot into Linux?

All replys welcome.
 
Old 05-31-2002, 09:51 PM   #2
AcidRain
Member
 
Registered: May 2002
Location: Greece
Distribution: Mandrake 8.1
Posts: 59

Rep: Reputation: 15
Do you have a windows 98 or windows me boot disk?
If not find one and boot into dos. Then type when you get this

A:\

fdisk/mbr

it will restore you boot sector and you will enter into windows




AcidRain
 
Old 05-31-2002, 10:02 PM   #3
jblaven
Member
 
Registered: May 2002
Posts: 37

Original Poster
Rep: Reputation: 15
Hi, I am kind of confused. I am not wanting Windows on the computer, just SuSE Linux 7.3 .... So I am not sure how booting into Windows is going to help me boot into Linux.
 
Old 05-31-2002, 10:05 PM   #4
AcidRain
Member
 
Registered: May 2002
Location: Greece
Distribution: Mandrake 8.1
Posts: 59

Rep: Reputation: 15
Do you have a linux boot disk?
 
Old 05-31-2002, 10:11 PM   #5
jblaven
Member
 
Registered: May 2002
Posts: 37

Original Poster
Rep: Reputation: 15
Yeah, I have the SuSE Boot Disk ( I also have my computer where it can boot from the CD-ROM), I can use either the floppy boot disk or CD-ROM #1 of the SuSE Distro.
 
Old 05-31-2002, 10:25 PM   #6
AcidRain
Member
 
Registered: May 2002
Location: Greece
Distribution: Mandrake 8.1
Posts: 59

Rep: Reputation: 15
the problem is because you do not set a primary partion. Listen try this. Use a dos bootdisk. Boot to dos..type "fdisk"
enter fdisk and go to the place that say "make partion activate "and activate the first one. You want just linux on you pc. So you do not matter if you format your disk and put again SUSE.are u? So boot with linux cd delete the linux istallation partion. reboot. enter in the floppy a windows 98 boot disk.type

A:\fdisk

"make activate the partiotion"

reboot

enter linux suse cd

install it
 
Old 05-31-2002, 10:31 PM   #7
jblaven
Member
 
Registered: May 2002
Posts: 37

Original Poster
Rep: Reputation: 15
OK, Thanks, I will do as you suggest.... it may take me a few min. ( I am typing on my laptop and installing SuSE on my desktop). If I come across a problem I will let you know.

Thanks again,

I will try it now and will keep you posted.

Joe
 
Old 05-31-2002, 10:39 PM   #8
AcidRain
Member
 
Registered: May 2002
Location: Greece
Distribution: Mandrake 8.1
Posts: 59

Rep: Reputation: 15
Ok. I hope what i said help u. I will be clad if i can help u solve your problem.
 
Old 05-31-2002, 10:41 PM   #9
jblaven
Member
 
Registered: May 2002
Posts: 37

Original Poster
Rep: Reputation: 15
Things are looking good so far. Just as you said. I used fdisk and made the non-dos partiton the active one and rebooted. Now I am reinstalling Linux. I will let you know how it goes.
 
Old 05-31-2002, 10:42 PM   #10
AcidRain
Member
 
Registered: May 2002
Location: Greece
Distribution: Mandrake 8.1
Posts: 59

Rep: Reputation: 15
Use LILO as bootloader
 
Old 05-31-2002, 10:48 PM   #11
jblaven
Member
 
Registered: May 2002
Posts: 37

Original Poster
Rep: Reputation: 15
I am at 60% on the install. LILO seems to be the default boot loader when I try and install.
 
Old 05-31-2002, 10:55 PM   #12
jblaven
Member
 
Registered: May 2002
Posts: 37

Original Poster
Rep: Reputation: 15
When it tries to install the boot loader, I get the same message... "The lilo boot sector has been written to disk. Restore the old boot sector in the installed system with "lilo -u /dev/hdb" and then I have an "ok" button to click. Is this ok? I really don't have a choice but to click ok. I will see what happens, after all, I did change the active partition like you said... let me try it.
 
Old 05-31-2002, 10:57 PM   #13
jblaven
Member
 
Registered: May 2002
Posts: 37

Original Poster
Rep: Reputation: 15
when I clicked OK, the screen went black with the "x" (for the mouse) on the screen, and it locked up and is not responding. Any ideas?

Last edited by jblaven; 05-31-2002 at 11:00 PM.
 
Old 05-31-2002, 10:58 PM   #14
AcidRain
Member
 
Registered: May 2002
Location: Greece
Distribution: Mandrake 8.1
Posts: 59

Rep: Reputation: 15
It boots? Or you have the same problem?
 
Old 05-31-2002, 11:01 PM   #15
jblaven
Member
 
Registered: May 2002
Posts: 37

Original Poster
Rep: Reputation: 15
When I rebooted, I removed the Linux install CD, and instead of getting the "Invalid system disk. Replace the disk, and then press any key." message, it said....

"Missing operating system"
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to back up boot sector? Rohan_mk1 Linux - Software 1 12-15-2004 02:07 PM
Boot Sector phoenix7 Linux - General 1 11-25-2004 11:22 AM
Boot Sector on dual boot PC. Remove Mandrake and replace with FreeBSD Phin666 *BSD 1 10-30-2004 06:02 PM
restore old boot sector gildfosh Linux - Software 2 04-12-2004 12:34 PM
No boot sector found, error at boot areeves88 Linux - General 3 01-18-2003 09:13 PM


All times are GMT -5. The time now is 01:53 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration