LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 03-19-2011, 11:35 AM   #1
robtreed
LQ Newbie
 
Registered: Apr 2010
Posts: 4

Rep: Reputation: 0
adding existing distro back to boot loader


Have 3 linux distros on 3 hard drives. lost one distro from boot loader. how do I restore missing distro to boot loader? drive was not written to when one distro (drive) was updated.
Example drives a, b, and c each had listing on boot loader, now after upgrade to distro on drive b order on boot loader is drive b then a and none for c.
 
Old 03-19-2011, 11:40 AM   #2
Slackyman
Member
 
Registered: Mar 2011
Location: Rome - Italy
Distribution: Slackware 13.1
Posts: 347

Rep: Reputation: 44
Which bootloader are you using? Lilo? Grub? Grub 2?
 
Old 03-19-2011, 11:40 AM   #3
andrewthomas
Senior Member
 
Registered: May 2010
Location: Chicago Metro
Distribution: Arch, Gentoo, Slackware
Posts: 1,690

Rep: Reputation: 312Reputation: 312Reputation: 312Reputation: 312
What distributions?

Which one has control of the MBR?

Are the others, written to the partition boot record?
 
Old 03-20-2011, 12:48 AM   #4
robtreed
LQ Newbie
 
Registered: Apr 2010
Posts: 4

Original Poster
Rep: Reputation: 0
Which bootloader are you using? Lilo? Grub? Grub 2?

Grub 2

Distributions are Ubuntu 10.04, Lubuntu 10.10 and Ubuntu 11,04
on sdc1, sdd1 and sdb1 with sda1 1000 GB Data drive

Update was to Ubuntu 11.04

Ubuntu 10.10 and 11.04 are now on boot loader
drive with 10.04 can be accessed when when either is booted

MBR appears to be on sdc1
 
Old 03-20-2011, 01:09 AM   #5
tommcd
Senior Member
 
Registered: Jun 2006
Location: Philadelphia PA USA
Distribution: Lubuntu, Slackware
Posts: 2,230

Rep: Reputation: 293Reputation: 293Reputation: 293
Quote:
Originally Posted by robtreed View Post
Distributions are Ubuntu 10.04, Lubuntu 10.10 and Ubuntu 11,04
on sdc1, sdd1 and sdb1 with sda1 1000 GB Data drive
MBR appears to be on sdc1
Just boot whatever distro has control of booting the computer and run:
Code:
sudo update-grub
And hopefully all your distros will be added to your grub2 menu.
From the info you gave in your last post, I assume that Ubuntu 10.04 on sdc1 is controlling the booting of your computer. Is that correct?

Also, as AndrewThomas asked, when you installed the other *buntus did you install their grub2 to the MBR? And if so, the MBR of which hard drive? Or did you install their grub2 to their respective partitions?
If you chose to install all 3 *buntus grub2 to the MBR of the first hard drive (i.e., the one listed as first boot device in the computer's BIOS) then each time there is a kernel update for each *buntu, that *buntu's grub2 will then take over booting the computer.

Last edited by tommcd; 03-20-2011 at 04:33 AM. Reason: fix typo!
 
Old 03-20-2011, 09:52 PM   #6
robtreed
LQ Newbie
 
Registered: Apr 2010
Posts: 4

Original Poster
Rep: Reputation: 0
Work well thanks
 
  


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
Adding Slackware 13 to Grub Boot loader of Ubuntu 9.10 vinnie_vinodh Slackware 3 01-28-2010 09:38 AM
Please help me get back into WinXP. I screwed up Grub Boot Loader deived Linux - Newbie 8 10-31-2008 09:23 PM
Grub boot loader back up? slackass SUSE / openSUSE 2 12-16-2006 09:15 AM
Adding 2nd distro to existing - partioning best practices mulciber Linux - General 3 05-08-2006 07:43 PM
Adding Linux to NT boot loader Fernandoch Linux - General 6 05-17-2002 09:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:30 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