LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   ruined my grub/ubuntu 10.04 (https://www.linuxquestions.org/questions/ubuntu-63/ruined-my-grub-ubuntu-10-04-a-818794/)

th1bill 07-08-2010 07:46 PM

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?

Mr. Majestic 07-08-2010 07:51 PM

Try the section called booting Linux in this article:
http://lotphelp.com/?p=395

th1bill 07-08-2010 09:10 PM

Quote:

Originally Posted by Mr. Majestic (Post 4027810)
Try the section called booting Linux in this article:
http://lotphelp.com/?p=395

I did but no help.

tommcd 07-09-2010 07:29 AM

Quote:

Originally Posted by th1bill (Post 4027806)
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.

th1bill 07-09-2010 09:18 PM

Quote:

Originally Posted by tommcd (Post 4028240)
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.

Mr. Majestic 07-11-2010 01:13 AM

Quote:

Originally Posted by tommcd (Post 4028240)
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:o

tommcd 07-11-2010 07:46 AM

Quote:

Originally Posted by Mr. Majestic (Post 4029665)
I could of sworn I put that in my tutorial. I guess not. I'll have to add that...... oops:o

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.


All times are GMT -5. The time now is 02:41 PM.