BleepingComputer.com: Fedora 7 Boot Loader Question

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Fedora 7 Boot Loader Question

#1 User is offline   pro-n00b 

  • Member
  • PipPip
  • Find Topics
  • Group: Members
  • Posts: 70
  • Joined: 01-June 07

Posted 18 September 2007 - 10:33 PM

hey i Installed Windows XP Pro onto my computer first ... then as suggested , i insalled Fedora Core 7 onto my computer second ... ive been working with both of them for a while now and they work great


however , i really dont like the boot loader that fedora has cause it starts up fedora automaticly unless i manually click to stop and then arrow down to other and then hit enter ... its just alot more button pressing then i want to deal with


question ? oh yes ... lol

how can i make it so that the fedora 7 boot loader will set "other " or windows XP Pro as the default load and then fedora as the secondary ...

so then i can just press the button and it will load windows up ... but if i want to use linux i have to stop it on the bootloader


NOTE THIS ISNT THE WINDOWS LOADER



thanks alot all u linux smarties

#2 User is offline   BlackSpyder 

  • Bleeping Big Rig
  • PipPipPipPipPipPip
  • Find Topics
  • Group: BC Advisor
  • Posts: 2,366
  • Joined: 23-January 06
  • Gender:Male
  • Location:Huddleston, VA USA (Home Sweet Home)

Posted 18 September 2007 - 11:10 PM

Im going to assume you went with the Standard GRUB boot loader.

open the terminal and login as root Copy and paste this command into it.

gedit /boot/grub/grub.conf


that will allow you to open gedit with the grub.conf file in it. It should resemble this (minus the xen kenels) (note: this has been slightly formatted for easier reading) :

Quote

# 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,2)
# kernel /boot/vmlinuz-version ro root=/dev/sda3
# initrd /boot/initrd-version.img
#boot=/dev/sda
default=6
timeout=5
splashimage=(hd0,2)/boot/grub/splash.xpm.gz
hiddenmenu

title Fedora (2.6.22.4-65.fc7)
root (hd0,2)
kernel /boot/vmlinuz-2.6.22.4-65.fc7 ro root=LABEL=/ rhgb quiet
initrd /boot/initrd-2.6.22.4-65.fc7.img

title Fedora (2.6.22.1-41.fc7debug)
root (hd0,2)
kernel /boot/vmlinuz-2.6.22.1-41.fc7debug ro root=LABEL=/ rhgb quiet
initrd /boot/initrd-2.6.22.1-41.fc7debug.img

title Fedora (2.6.20-2925.13.fc7xen)
root (hd0,2)
kernel /boot/xen.gz-2.6.20-2925.13.fc7
module /boot/vmlinuz-2.6.20-2925.13.fc7xen ro root=LABEL=/ rhgb quiet
module /boot/initrd-2.6.20-2925.13.fc7xen.img

title Fedora (2.6.22.1-41.fc7)
root (hd0,2)
kernel /boot/vmlinuz-2.6.22.1-41.fc7 ro root=LABEL=/ rhgb quiet
initrd /boot/initrd-2.6.22.1-41.fc7.img

title Fedora (2.6.22.1-33.fc7debug)
root (hd0,2)
kernel /boot/vmlinuz-2.6.22.1-33.fc7debug ro root=LABEL=/ rhgb quiet
initrd /boot/initrd-2.6.22.1-33.fc7debug.img

title Fedora (2.6.20-2925.9.fc7xen)
root (hd0,2)
kernel /boot/xen.gz-2.6.20-2925.9.fc7
module /boot/vmlinuz-2.6.20-2925.9.fc7xen ro root=LABEL=/ rhgb quiet
module /boot/initrd-2.6.20-2925.9.fc7xen.img

title WINXP_SP2
rootnoverify (hd0,0)
chainloader +1


Using this as an example I would change the Default (bold) to 7 for a windows XP boot, you can change the time out (red) (how long before it auto-boots the default) to any number you choose. Finally you may comment any unused kernels (older kernels you dont use or a new one thats not working right) by putting a # next to the title.

Reboot your PC and It should work


note: The grub.conf file I posted was borrowed from the Fedora Forums as i dont currently have a dual boot system. (Source: http://forums.fedoraforum.org/showthread.p...light=edit+grub)
Posted Image




#3 User is offline   pro-n00b 

  • Member
  • PipPip
  • Find Topics
  • Group: Members
  • Posts: 70
  • Joined: 01-June 07

Posted 19 September 2007 - 03:15 PM

THANK YOU SO MUCH .....


ill try it out and then update this post if it works or not


again thanks

#4 User is offline   BlackSpyder 

  • Bleeping Big Rig
  • PipPipPipPipPipPip
  • Find Topics
  • Group: BC Advisor
  • Posts: 2,366
  • Joined: 23-January 06
  • Gender:Male
  • Location:Huddleston, VA USA (Home Sweet Home)

Posted 20 September 2007 - 10:57 PM

A little note for Ubuntu Feisty users the command is:
 gksudo gedit /boot/grub/menu.lst



(guess who needed that command today)
Posted Image




#5 User is offline   pro-n00b 

  • Member
  • PipPip
  • Find Topics
  • Group: Members
  • Posts: 70
  • Joined: 01-June 07

Posted 21 September 2007 - 04:16 PM

ok i actually got a error message ... it wouldnt let me even open the file to see the data


this happens on a lot of files ... i hdid open it wil root access



i will post the exact error message ASAP

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users