LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-02-2009, 03:56 AM   #1
hakmn
LQ Newbie
 
Registered: Nov 2008
Posts: 27

Rep: Reputation: 15
Grub settings!!!!


hii all,
My f10 was working superbly until yesterday nite error 15:file not found occurs.
& with the help of sites like linuxquestions, i gotta hold of my grub,i altered the grub settings & then again i m here.
But the fact i can't digest is how does my grub settings changed--

Before it was like this---

root (hd0,10)

After that i changed it to--

root (hd0,8)

df -h looks like this--


Filesystem Size Used Avail Use% Mounted on
/dev/sda6 2.0G 614M 1.3G 33% /
/dev/sda11 773M 527M 207M 72% /home
/dev/sda8 4.6G 911M 3.5G 21% /var
/dev/sda7 4.3G 3.8G 226M 95% /usr
/dev/sda10 1.6G 169M 1.3G 12% /usr/local
/dev/sda9 1.6G 42M 1.4G 3% /boot
tmpfs 500M 1.1M 499M 1% /dev/shm
/dev/sda1 9.8G 2.6G 7.3G 26% /media/disk
/dev/sda5 25G 18G 6.8G 73% /media/New Volume
/dev/sda14 25G 18G 6.8G 73% /media/Edus
/dev/sda15 16G 12G 3.7G 77% /media/disk-1
/dev/sda13 15G 6.5G 8.3G 44% /media/W7
/dev/sda12 40G 29G 11G 73% /media/Miscellaneous
/dev/sr0 6.0G 6.0G 0 100% /media/The Lord Of The Rings


I m not getting how does settings changed???
Cud anyone please assist.....

Last edited by hakmn; 04-02-2009 at 03:58 AM.
 
Old 04-02-2009, 05:43 AM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,362

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
If grub/mbr gets stuffed, there are 2 options:

1. /sbin/grub-install /dev/sda

2. grub
grub> root (hd0,0)
grub> setup hd(0)
quit

noting in the 2nd case that grub counts disks and partitions from 0 (zero)... and always uses 'hd' even if you'd expect 'sd' there...

http://www.gnu.org/software/grub/man...b-install.html
 
Old 04-02-2009, 06:51 AM   #3
hifun
LQ Newbie
 
Registered: Dec 2008
Distribution: Fedora 8
Posts: 28

Rep: Reputation: 15
chrism01,
I have a doubt in your second solution.His /boot directory is /dev/sda9 ,so while installing grub shouldn't the command is grub> root(hd0,8)
grub> setup(hd0)
 
Old 04-02-2009, 11:09 AM   #4
Larry Webb
LQ Veteran
 
Registered: Jul 2006
Location: Crystal Beach, Texas
Distribution: Suse for mail +
Posts: 5,100
Blog Entries: 7

Rep: Reputation: 229Reputation: 229Reputation: 229
Quote:
Originally Posted by hifun View Post
chrism01,
I have a doubt in your second solution.His /boot directory is /dev/sda9 ,so while installing grub shouldn't the command is grub> root(hd0,8)
grub> setup(hd0)

Yes you are right about the root (hd0,8)

The only way is somehow you have to be changing the menu.lst when booting.

Last edited by Larry Webb; 04-02-2009 at 11:11 AM.
 
Old 04-05-2009, 02:43 PM   #5
hakmn
LQ Newbie
 
Registered: Nov 2008
Posts: 27

Original Poster
Rep: Reputation: 15
What i'd like to ask is that how does my settings changed??
before changing it to (hd0,8) it was (hd0,10)

could u specify the reason?
 
Old 04-05-2009, 05:30 PM   #6
Larry Webb
LQ Veteran
 
Registered: Jul 2006
Location: Crystal Beach, Texas
Distribution: Suse for mail +
Posts: 5,100
Blog Entries: 7

Rep: Reputation: 229Reputation: 229Reputation: 229
The only way that is if you changed the partitions on the hd or added partitions since installation of grub.
 
  


Reply



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
Problems with grub-settings after update Cazed Linux - Newbie 5 02-25-2009 07:54 AM
grub settings ubuntu 8.04 and xp home smudger Linux - Newbie 2 05-26-2008 08:15 AM
Grub/fstab settings Taevin Linux - General 2 09-04-2007 03:51 PM
GRUB-settings: are they permanent? JZL240I-U Linux - Software 21 10-13-2005 03:06 AM
GRUB settings greg108 Linux - Newbie 2 08-18-2003 12:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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