Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - General
User Name
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.


  Search this Thread
Old 04-20-2008, 06:31 PM   #1
Registered: Sep 2005
Distribution: Ubuntu
Posts: 249

Rep: Reputation: 30
(FIXED) Switch Grub to use conf files on different partition

I have two copies of Linux (MythBuntu) in a system.
One on /dev/sda1 and the other on /dev/sda2.
Grub is using the boot-files on /dev/sda2.
I want to switch Grub to use files on /dev/sda1.

I have tried using from the command line:
root (hd0,0)
setup (hd0,0)
There were no errors, but nothing changed. I also tried:
sudo grub-install /dev/sda1
But no change. I have read that Grub does not see the partitions.

Help please?

Last edited by sadarax; 04-20-2008 at 06:42 PM. Reason: solved
Old 04-20-2008, 06:34 PM   #2
LQ Guru
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 130Reputation: 130
I think this

setup (hd0,0)
needs to be

setup (hd0)
Old 04-20-2008, 06:42 PM   #3
Registered: Sep 2005
Distribution: Ubuntu
Posts: 249

Original Poster
Rep: Reputation: 30
Originally Posted by jay73 View Post
I think this

needs to be
Thank you, that solved the problem.


configuration, different, grub, partition, switch

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Grub.conf to add a windows partition SpartacusJones Linux - Software 4 06-16-2007 01:01 AM
Grub: 2 entrys for 2 different xorg.conf files shadowsa Linux - Newbie 15 12-23-2006 09:29 PM
add linux booting partition / option to grub.conf powah Linux - General 2 04-04-2006 06:07 PM
Moving grub.conf to another partition oO0agentcow0Oo Linux - Newbie 5 07-27-2005 03:05 PM
grub configure to take it's conf file from a fat32 partition hq4ever Linux - General 1 11-20-2004 05:55 PM

All times are GMT -5. The time now is 04:48 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration