Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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, 05: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 05:42 PM. Reason: solved
Old 04-20-2008, 05: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, 05: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 12:01 AM
Grub: 2 entrys for 2 different xorg.conf files shadowsa Linux - Newbie 15 12-23-2006 08:29 PM
add linux booting partition / option to grub.conf powah Linux - General 2 04-04-2006 05:07 PM
Moving grub.conf to another partition oO0agentcow0Oo Linux - Newbie 5 07-27-2005 02:05 PM
grub configure to take it's conf file from a fat32 partition hq4ever Linux - General 1 11-20-2004 04:55 PM > Forums > Linux Forums > Linux - General

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