LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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
  Search this Thread
Old 04-02-2004, 11:54 AM   #1
jpokrzyk
LQ Newbie
 
Registered: Feb 2004
Posts: 17

Rep: Reputation: 0
mbr problem


This ones been asked plenty of time but I couldn't seen to find the answer I was looking for. I have a slackware 9.1 box with 2 hardrives hda, hdb. I put slackware on hdb and made hda my /home directory. Then I put lilo on the mbr. When I boot I get a message with some error. I forget exactly what it was.

I messed up the mbr before I put slackware on and it didn't straighten it out.

What should I do?
I'm at work right now so I can't post my lilo.conf file. I just want to get some ideas.

Please be as exact as possible. Not just something like "run fixmbr". I know how to do it with windows but I don't have it on that comptuer.

I didn't look at the active boot flag with fdisk, but I think the mbr is corrupted anyways. Can it be corrupted? What are someways the mbr can become corrupted? Can you tell me what info is in the mbr?

Thanks,
JP
 
Old 04-02-2004, 12:53 PM   #2
aaa
LQ Guru
 
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194

Rep: Reputation: 47
boot flag is irrelevant (it's a windows thing).
You can boot your Slack with the Slack cd. After you boot, you can configure lilo. Remember you need to run 'lilo' to apply changes to lilo.conf. When you get to your pc, post your lilo.conf and the output of 'fdisk -l' here.
 
Old 04-02-2004, 01:51 PM   #3
jpokrzyk
LQ Newbie
 
Registered: Feb 2004
Posts: 17

Original Poster
Rep: Reputation: 0
If the boot flag is irrelevant how does it know which mbr to boot from. I have the two HDs on the same chain.

I had a version of slack on hda. Now I'm trying to boot from the hdb HD.

I'm guessing that the mbr on hda still has lilo installed on it from before. How can I remove it?

I still haven' t been home so I can't post the lilo.conf file yet.

thanks,
JP
 
Old 04-02-2004, 11:29 PM   #4
rnturn
Senior Member
 
Registered: Jan 2003
Location: Illinois (SW Chicago 'burbs)
Distribution: openSUSE, Raspbian, Slackware. Previous: MacOS, Red Hat, Coherent, Consensys SVR4.2, Tru64, Solaris
Posts: 2,801

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Quote:
I had a version of slack on hda. Now I'm trying to boot from the hdb HD.
Shouldn't be a problem.
Quote:
I'm guessing that the mbr on hda still has lilo installed on it from before. How can I remove it?
I don't think you need to. A previous post told you how to boot from the Slackware CD so you could fix lilo.conf and reinstall the bootloader. You can install lilo into the MBR of the first drive and have lilo boot linux from the second drive. In fact, my main system does something very similar. My lilo.conf specifies "boot=/dev/sda". but the root filesystem is on /dev/sdc. Works like a charm.
Quote:
I can't post the lilo.conf file yet.
That'd be interesting to see.

Cheers,
RT
 
Old 04-03-2004, 05:53 PM   #5
johntramp
Member
 
Registered: Sep 2003
Location: Christchurch, New Zealand
Distribution: Gentoo / Slackware
Posts: 72

Rep: Reputation: 15
Question similar problem

i am having a similar problem here too, i am using 2 hdd's and installing slack 9.1 to hda. when i get to installing lilo it gives an error saying lilo can't be installed. i have a 32mb partition at hda1 from some other linux install, do i need to mount that as /boot/ at the begining of the install process? -do i even need this partition at all ? thanks
 
Old 04-03-2004, 06:10 PM   #6
AutOPSY
Member
 
Registered: Mar 2004
Location: US
Distribution: Redhat 9 - Linux 2.6.3
Posts: 836

Rep: Reputation: 31
actually, the bootable partition flag is relavant, whatever you have lilo set to boot as default is the partition that gets flagged bootable.

The bios directly interacts with the mbr of a disk.

This is not just a windows thing, it goes for any OS usually.
 
Old 04-08-2004, 08:52 AM   #7
jpokrzyk
LQ Newbie
 
Registered: Feb 2004
Posts: 17

Original Poster
Rep: Reputation: 0
I messed around with a bunch of stuff and I really don't think its an mbr problem anymore so I made a new post.

http://www.linuxquestions.org/questi...hreadid=167729

Thanks for the help
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
MBR problem sayemchii Linux - Software 5 11-09-2005 05:06 PM
MBR zeroed. Can I verify backup MBR? TomF Linux - General 7 06-20-2005 05:28 PM
by tring to fix the MBR i damage the MBR that was help... AKAKAK Fedora 4 03-21-2005 08:18 AM
GRUB MBR overwritten by WIN98 MBR TOuseef Linux - General 7 11-14-2004 04:25 PM
MBR problem Detriamus Linux - Newbie 5 08-09-2004 11:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:39 AM.

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
Open Source Consulting | Domain Registration