LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (http://www.linuxquestions.org/questions/fedora-35/)
-   -   finding grub.conf (http://www.linuxquestions.org/questions/fedora-35/finding-grub-conf-527804/)

surban99 02-12-2007 09:19 AM

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.

Penguin of Wonder 02-12-2007 09:24 AM

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


michaelk 02-12-2007 09:26 AM

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)

sandgroper 02-12-2007 09:29 AM

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/

b0uncer 02-12-2007 09:40 AM

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.

jschiwal 02-12-2007 09:46 AM

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.


All times are GMT -5. The time now is 08:57 AM.