LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 07-08-2010, 07:46 PM   #1
th1bill
Member
 
Registered: Dec 2007
Location: SE Texaas
Distribution: Ubuntu, Mint, Fedora
Posts: 168

Rep: Reputation: 24
ruined my grub/ubuntu 10.04


I updated and rebooted. Not paying close enough attention I booted into my old HDD and updated again. Now I have a 314 gig file system that does not appear on my Boot Screen. I booted into the 40 gig that contains my old 10.04 and I did an Update Grub but to no avail. I can access the files of course, so it isn't the end of the world but I really want to et the new install on my new 320 gig back as my sd1 drive, any hope?
 
Old 07-08-2010, 07:51 PM   #2
Mr. Majestic
Member
 
Registered: Dec 2009
Location: Ohio
Distribution: Ubuntu, slackware, fedora, gentoo
Posts: 53

Rep: Reputation: 17
Try the section called booting Linux in this article:
http://lotphelp.com/?p=395
 
Old 07-08-2010, 09:10 PM   #3
th1bill
Member
 
Registered: Dec 2007
Location: SE Texaas
Distribution: Ubuntu, Mint, Fedora
Posts: 168

Original Poster
Rep: Reputation: 24
Quote:
Originally Posted by Mr. Majestic View Post
Try the section called booting Linux in this article:
http://lotphelp.com/?p=395
I did but no help.
 
Old 07-09-2010, 07:29 AM   #4
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 th1bill View Post
I updated and rebooted. Not paying close enough attention I booted into my old HDD and updated again. Now I have a 314 gig file system that does not appear on my Boot Screen. I booted into the 40 gig that contains my old 10.04 and I did an Update Grub but to no avail. I can access the files of course, so it isn't the end of the world but I really want to et the new install on my new 320 gig back as my sd1 drive, any hope?
Try booting from the Ubuntu 10.04 live CD and restore grub2 to the MBR of whatever drive you want to boot from:
https://help.ubuntu.com/community/Gr...ing%20GRUB%202
Just use the first method listed there. Then boot into your Ubuntu and run:
Code:
sudo update-grub
Running sudo update-grub from the Ubuntu on the 40GB system should have picked up the other Ubuntu though. I am not sure why it did not.
Also, make sure that hard drive you want to boot from is selected as the first boot device in the computer's BIOS.

NOTE: If you have 2 Ubuntu installs on your system, and both of them have their grub set to control the MBR, then each time there is a kernel update, each version of Ubuntu will attempt to use it's grub to update the MBR.

Last edited by tommcd; 07-09-2010 at 07:31 AM.
 
Old 07-09-2010, 09:18 PM   #5
th1bill
Member
 
Registered: Dec 2007
Location: SE Texaas
Distribution: Ubuntu, Mint, Fedora
Posts: 168

Original Poster
Rep: Reputation: 24
Quote:
Originally Posted by tommcd View Post
Try booting from the Ubuntu 10.04 live CD and restore grub2 to the MBR of whatever drive you want to boot from:
https://help.ubuntu.com/community/Gr...ing%20GRUB%202
Just use the first method listed there. Then boot into your Ubuntu and run:
Code:
sudo update-grub
Running sudo update-grub from the Ubuntu on the 40GB system should have picked up the other Ubuntu though. I am not sure why it did not.
Also, make sure that hard drive you want to boot from is selected as the first boot device in the computer's BIOS.

NOTE: If you have 2 Ubuntu installs on your system, and both of them have their grub set to control the MBR, then each time there is a kernel update, each version of Ubuntu will attempt to use it's grub to update the MBR.
That worked, thank you.
 
Old 07-11-2010, 01:13 AM   #6
Mr. Majestic
Member
 
Registered: Dec 2009
Location: Ohio
Distribution: Ubuntu, slackware, fedora, gentoo
Posts: 53

Rep: Reputation: 17
Quote:
Originally Posted by tommcd View Post
Try booting from the Ubuntu 10.04 live CD and restore grub2 to the MBR of whatever drive you want to boot from:
https://help.ubuntu.com/community/Gr...ing%20GRUB%202
Just use the first method listed there. Then boot into your Ubuntu and run:
Code:
sudo update-grub
Running sudo update-grub from the Ubuntu on the 40GB system should have picked up the other Ubuntu though. I am not sure why it did not.
Also, make sure that hard drive you want to boot from is selected as the first boot device in the computer's BIOS.

NOTE: If you have 2 Ubuntu installs on your system, and both of them have their grub set to control the MBR, then each time there is a kernel update, each version of Ubuntu will attempt to use it's grub to update the MBR.
I could of sworn I put that in my tutorial. I guess not. I'll have to add that...... oops
 
Old 07-11-2010, 07:46 AM   #7
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 Mr. Majestic View Post
I could of sworn I put that in my tutorial. I guess not. I'll have to add that...... oops
Your tutorial has stuff about grub-legacy. Starting with version 9.10, Ubuntu now uses grub2. The procedures for updating and reinstalling grub2 are a bit different.
 
  


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
I ruined my Window's MBR by trying to install Ubuntu on a USB stick baldurpet Linux - General 13 07-02-2009 04:53 AM
Ubuntu bridging ruined my network connection. What now? Micro420 Linux - Networking 1 03-20-2007 02:56 AM
ubuntu ruined my monitor! hugsar Linux - Hardware 6 04-01-2006 09:27 AM
PLEASE HELP. I ruined windows booter while fixing GRUB Frelov Linux - Newbie 3 03-12-2005 09:05 AM

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

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