LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-19-2008, 12:52 PM   #1
zero_cool666
Member
 
Registered: Jan 2006
Posts: 31

Rep: Reputation: 15
changing default root in GRUB...


Hey .I have a dual boot system with vista and fedora 7.. wel i first instaled fedora 7 on my (hd0,7) drive and then i actualy removed a vista partition from partition table.. so wot hapened that my fedora 7 drive is now (hd0,6). my GRUB is in mbr.. the problem is that wen the system starts it gets me into the grub console (the grub.conf or menu.lst wont load)... then when i write the 'root' command it says (hd0,7) is my root.. so i have to change it by using 'root (hd0,6)' .. nd then by using the configfile command have to give GRUB the menu.lst file.. then it loads smoothly.. inside the grub.conf file the root is already set at (hd0,6)

Please tel me how can i change the the root location for GRUB so that it loads the grub.conf automatically from (hd0,6)..

Thanx
 
Old 04-19-2008, 01:13 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Linux Mint 17, Debian 8
Posts: 7,865

Rep: Reputation: 311Reputation: 311Reputation: 311Reputation: 311
Reinstall the MBR by using the grub-install command:

grub-install hd0

See:

man grub-install

------------------
Steve Stites
 
  


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
changing default OS in Suse 10.2 grub tm2383 SUSE / openSUSE 2 04-01-2007 06:58 AM
Setting password on grub, wha to do after changing default values in /boot/grub/menu. sarajevo Linux - Security 1 08-17-2005 09:01 PM
changing the default in grub hari78 Linux - Newbie 2 06-03-2005 11:43 AM
Changing default OS in Grub .95 gautcha Linux - Newbie 8 05-04-2005 12:30 AM
changing grub boot default tumnus Linux - Newbie 2 02-04-2003 04:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:46 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration