LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 04-20-2008, 05:31 PM   #1
sadarax
Member
 
Registered: Sep 2005
Distribution: Ubuntu
Posts: 252

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:
Quote:
grub
root (hd0,0)
setup (hd0,0)
quit
There were no errors, but nothing changed. I also tried:
Quote:
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
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 133Reputation: 133
I think this

Quote:
setup (hd0,0)
needs to be

Quote:
setup (hd0)
 
Old 04-20-2008, 05:42 PM   #3
sadarax
Member
 
Registered: Sep 2005
Distribution: Ubuntu
Posts: 252

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



needs to be
Thank you, that solved the problem.
 
  


Reply

Tags
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

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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