LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 01-20-2012, 07:08 AM   #1
frank75riz
LQ Newbie
 
Registered: Jul 2011
Location: South Carolina
Distribution: Squeeze, Mint (Debian Edition), Mint (Julia), Ubuntu 10, XP
Posts: 4

Rep: Reputation: Disabled
MBR


I am running Debian, Ubuntu, Mint10, Mint12 and just installed Mandriva. Mandriva took over grub. I had to re-install Debian to get the full grub menu, but now I can't get into Mandriva.

Everything I have been reading says I need to edit the MBR, but (always a but) I don't know how to get into the MBR to edit it?

How do I do that?

Help ....Please
 
Old 01-20-2012, 08:36 AM   #2
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Rep: Reputation: Disabled
You don't. MBR is the master boot record i.e. the first 512 bytes of your hard disk. Here resides code to start the boot loader (and the partition table of the primary and extended partitions), which means the place where to find GRUB is "hardwired". Thus the problems with your installations.

In short: leave the MBR alone, it only chooses which installation of GRUB to use and (presumably) they all work.

When you want to change the boot menu you have to change (edit) /boot/grub/menu.lst of your "ruling" GRUB.

For more information and how to do that read first:

http://en.wikipedia.org/wiki/Master_boot_record

and then e.g:

http://www.dedoimedo.com/computers/grub.html
http://www.troubleshooters.com/linux/grub/grub.htm
http://www.linuxselfhelp.com/gnu/gru...er/grub_1.html
http://www.gnu.org/software/grub/manual/
http://www.justlinux.com/forum/showthread.php?t=147959
http://www.linuxquestions.org/questi...hooter-237511/
http://www.linuxquestions.org/questi...7/#post4159819
 
Old 01-20-2012, 08:39 AM   #3
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,215

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
You don't edit the MBR directly.

You are mixing systems that use different boot loaders. Each install you do, if you let it, will install its boot loader, and it will install where you tell it. The usual place is the MBR.

Mandriva uses Grub1, The buntus use Grub2. I have never used Debain, so I don't know what boot loader it uses by default.

It sounds like from what you posted, Debain uses Grub1 ? is that correct?

If that is correct, in Deb go in and edit grub; the file will be /boot/grub/menu.lst and put an entry in for Mandy. If you get the entry correct, Mandy should boot. There are How To's around for editing Grub. Look for one of them if you need help.

I have Magia 1 installed, I got away from running Mandriva after many years of use. I now use Slackware as my main system. I boot it with grub installed with Magia.
 
Old 01-20-2012, 08:45 AM   #4
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Rep: Reputation: Disabled
Indeed. I overlooked Ubuntu, which uses GRUB2. You can either chainload that or load the /boot/core.img. This is probably bewildering, start slowly with one step after another. This is a short tutorial on GRUB2:

http://www.dedoimedo.com/computers/grub-2.html
 
Old 01-30-2012, 01:18 AM   #5
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Rep: Reputation: Disabled
Not a good idea to highjack a foreign thread marked as solved (with a redundant copied post)...

@frank75riz Solved how? It would be nice if you gave a short explanation for other interested readers to see a solution which worked for you.

I doubt that this is a GRUB problem, since you can't even mount the partition housing presumably your /boot directory. So, fire up Knoppix and run "fsck". For more information and options (if needed) "man fsck".

Last edited by JZL240I-U; 01-30-2012 at 01:20 AM.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Which program can boot a copy of the MBR (fake MBR) using mbr.bin Xeratul Linux - Software 6 12-03-2010 11:40 PM
want to nuke the MBR & create new MBR di11rod Linux - Software 9 12-30-2006 08:25 AM
Restoring MBR :partitions are detected only after the reboot after MBR restoration? sharathksin Linux - Newbie 2 04-14-2006 07:48 AM
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

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 09:45 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
Open Source Consulting | Domain Registration