Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

Fedora 7 Boot Loader Question


  • Please log in to reply
4 replies to this topic

#1 pro-n00b

pro-n00b

  • Members
  • 70 posts
  • OFFLINE
  •  
  • Local time:04:32 AM

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

BC AdBot (Login to Remove)

 


#2 BlackSpyder

BlackSpyder

    Bleeping Big Rig


  • BC Advisor
  • 2,456 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Huddleston, VA USA (Home Sweet Home)
  • Local time:05:32 AM

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) :

# 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 pro-n00b

pro-n00b
  • Topic Starter

  • Members
  • 70 posts
  • OFFLINE
  •  
  • Local time:04:32 AM

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 BlackSpyder

BlackSpyder

    Bleeping Big Rig


  • BC Advisor
  • 2,456 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Huddleston, VA USA (Home Sweet Home)
  • Local time:05:32 AM

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 pro-n00b

pro-n00b
  • Topic Starter

  • Members
  • 70 posts
  • OFFLINE
  •  
  • Local time:04:32 AM

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




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users