Re: How to config grub???

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2006-03-21 at 22:48 +0200, Ter Strom wrote:
> I am a nooby i linux :D
> I instaled FC5 and know i want that first boot would be Win and then
> Grub. When i try to open grub.conf it says i have no permission. Must
> i log in as user: root pass: rootpass ??? or how can i edit it???? :(
> 
Open a terminal and become root with su and entering the root password.

Then, edit /etc/grub.conf with your favorite editor; for example

gedit /etc/grub.conf &

For example, my grub.conf is:

# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this
file
# NOTICE:  You do not have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /, eg.
#          root (hd0,7)
#          kernel /boot/vmlinuz-version ro root=/dev/hda8
#          initrd /boot/initrd-version.img
#boot=/dev/hda8
default=0
timeout=5
splashimage=(hd0,7)/boot/grub/splash.xpm.gz
hiddenmenu
title Fedora Core 5 (2.6.15-1.2054_FC5)
	root (hd0,7)
	kernel /boot/vmlinuz-2.6.15-1.2054_FC5 ro root=LABEL=/1 
	initrd /boot/initrd-2.6.15-1.2054_FC5.img
title Other
	rootnoverify (hd0,0)
	chainloader +1

To get windows (Other above) to boot first, change the 

default=0 
line to
default=1

then save and exit.

Gerry




[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux