LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 02-12-2007, 08:19 AM   #1
surban99
Member
 
Registered: Aug 2003
Location: Columbus, Ohio
Distribution: Debian & Suse
Posts: 81

Rep: Reputation: 15
finding grub.conf


new to linux in general.

I have a dual boot system set up(Windows XP and FC[the latest]). when I view the drive in Windows. i can see that there are 3 partitions. I assume one windows, one grub and one linux? how do I access the grub partition when i boot into fc? i want to be able to edit the grub.conf.
 
Old 02-12-2007, 08:24 AM   #2
Penguin of Wonder
Senior Member
 
Registered: Sep 2005
Location: West Virginia
Distribution: Gentoo
Posts: 1,249

Rep: Reputation: 45
I don't know if you automount your /boot or not, but in case you don't
Code:
su
mount /boot
cd /boot/grub
nano -w grub.conf
 
Old 02-12-2007, 08:26 AM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 11,965

Rep: Reputation: 752Reputation: 752Reputation: 752Reputation: 752Reputation: 752Reputation: 752Reputation: 752
grub is boot loader i.e. a special program to boot your computer. It is located in /boot/grub/ but is also linked in /etc. You must be root to change this file. Does Fedora boot ok?

BTW the two linux partitions are /boot which contains the kernel and a special partition called logical volume management (LVM) that contains your / (everything else) and swap (virtual memory)
 
Old 02-12-2007, 08:29 AM   #4
sandgroper
Member
 
Registered: Jul 2004
Location: Perth , Western Australia
Distribution: Fedora Core 5 , Mint 9
Posts: 118

Rep: Reputation: 15
Wink

Quote:
Originally Posted by surban99
new to linux in general.

I have a dual boot system set up(Windows XP and FC[the latest]). when I view the drive in Windows. i can see that there are 3 partitions. I assume one windows, one grub and one linux? how do I access the grub partition when i boot into fc? i want to be able to edit the grub.conf.
From what you have mentioned , the partition set for yor machine up appears to be
Windows
swap ( not shown )
/boot
/ (root )


The grub.conf file is located in the directory

/boot/grub/
 
Old 02-12-2007, 08:40 AM   #5
b0uncer
Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
Note: on some distributions the GRUB configuration file is not called grub.conf but menu.lst instead (I think in GRUB Legacy the file ought to be /boot/grub/menu.lst). Not sure if Fedora calls it grub.conf but I thought it's old information. When GRUB2 starts to ship with distributions, i.e. when it's 'stable' enough, that could change.
 
Old 02-12-2007, 08:46 AM   #6
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
If you have windows and linux on the same drive, the smallest of the partitions may be a swap partition instead.

So /boot may be a directory in the root partition instead. However, you access it the same way. /boot/grub/menu.lst for example.
 
  


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
Grub not finding grub.conf post fc6 upgrade billymayday Fedora - Installation 1 10-30-2006 04:26 AM
can some fc4 user mail his grub.conf and tell me how can i make this grub read this amolgupta Linux - Software 1 03-15-2006 04:04 AM
Is lilo.conf file format is same for grub.conf? Chundo Linux - Newbie 1 01-30-2006 06:21 PM
create lilo.conf or grub.conf through commands newpenguin Linux - Software 1 11-28-2003 08:22 PM
lilo.conf and grub.conf no read access shanenin Linux - Software 1 10-02-2003 03:53 PM


All times are GMT -5. The time now is 06:50 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration