Fedora Linux Support Community & Resources Center
  #1  
Old 29th April 2006, 07:22 AM
Cipera Offline
Registered User
 
Join Date: Apr 2006
Posts: 12
Updating grub.conf....?

Hello All,

PC specs:
P4, 3ghz, 1024 ram, 2 disks.
Disk 1
- C: Windows XP, 25 Gigs, ntfs.
- D: Files, 55 Gigs, ntfs
Disk 2
- X: Fedora Core 5, 20 Gigs
- Y: still empty, maybe soon Debian.

Note: everything works like it should work.


But....
I want to change my grub bootloader a bit...

What happens now is, that PC starts, grub bootloader appears, and says something like:
"Fedora Core 5 will start in X seconds" (which it does) and when i press enter, i have the choice between:
- Fedora Core 5
- Windows XP

What i want now is that Windows becomes the default OS....
And soon, it would be nice to add the 3rd os (maybe debian) to the boot menu to choose from, as option 3.

Here is my current grub.conf:

# 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 (hd1,0)
# kernel /boot/vmlinuz-version ro root=/dev/hdb1
# initrd /boot/initrd-version.img
#boot=/dev/hda
default=0
timeout=10
splashimage=(hd1,0)/boot/grub/splash.xpm.gz
hiddenmenu
title Fedora Core 5
root (hd1,0)
kernel /boot/vmlinuz-2.6.15-1.2054_FC5smp ro root=LABEL=/ rhgb quiet
initrd /boot/initrd-2.6.15-1.2054_FC5smp.img
title Windows XP
rootnoverify (hd0,0)
chainloader +1


To get Windows Xp as Default, is it just a matter of changing in this file the order, so the last part would look like this ?

hiddenmenu
title Windows XP
rootnoverify (hd0,0)
chainloader +1
title Fedora Core 5
root (hd1,0)
kernel /boot/vmlinuz-2.6.15-1.2054_FC5smp ro root=LABEL=/ rhgb quiet
initrd /boot/initrd-2.6.15-1.2054_FC5smp.img


or is there more too it ? I prefer in this case to double check this, as i have some real important stuff on my windows part, which i really can not affort to loose or whatever.

And once the Y drive is also installed with lets say Debain, it is then possible to do something like this in the last part of the grub installer ?

hiddenmenu
title Windows XP
rootnoverify (hd0,0)
chainloader +1
title Fedora Core 5
root (hd1,0)
kernel /boot/vmlinuz-2.6.15-1.2054_FC5smp ro root=LABEL=/ rhgb quiet
initrd /boot/initrd-2.6.15-1.2054_FC5smp.img
title Debian
root (hd1,1)
kernel *the debain stuff here*
initrd *more debian stuff here*


Cipera
Reply With Quote
  #2  
Old 29th April 2006, 07:32 AM
robghealey Offline
Registered User
 
Join Date: Apr 2004
Location: Tacoma, WA
Age: 43
Posts: 455
I can answer or help with the first part. To get grub to load windows instead of fc5 by default, change the line that says default=0 to default=1 and to be able to see the boot menu without having to hit enter first: remove the line hiddenmenu
__________________
Sincerely,
Rob

"Deliberately choose to surround yourself with people that inspire you to greatness!"
Reply With Quote
  #3  
Old 29th April 2006, 01:53 PM
ccrvic Offline
Registered User
 
Join Date: Apr 2006
Posts: 1,092
Quote:
Originally Posted by Cipera
And once the Y drive is also installed
It won't be a "Y drive". Drive letters are part of DOS, and you're not running DOS any more...

It's also unlikely that you Win installation will be able to read any data off that drive; although you can get code to read Linux partitions under Windows, most people don't.

Quote:
Originally Posted by Cipera
with lets say Debain, it is then possible to do something like this in the last part of the grub installer ?
IIWY, I'd just let the Debian installer sort that out. Manhandling grub.conf is very straightforward, but the installers all do it for you, so any dibbling you might do beforehand can only serve to complicate things...

Vic.
Reply With Quote
Reply

Tags
grubconf, updating

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
possible to edit /boot/grub/grub.conf from live cd? mailman1175 Using Fedora 4 29th December 2008 01:28 AM
resolv.conf not updating lancherider Servers & Networking 1 2nd December 2005 11:02 PM
editing the /boot/grub/grub.conf file Debaser13 Using Fedora 10 10th June 2005 05:40 PM


Current GMT-time: 23:04 (Thursday, 23-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat