Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

how do i modify GRUB

  • 15-01-2005 3:06pm
    #1
    Closed Accounts Posts: 839 ✭✭✭


    I installed fedora core 3.0, on a dual boot with windows xp everything went fine.

    i could select which os i wanted from grub but then i downloaded all the fedora updates and now i have 3 choices in grub xp and two fedora core options? which one do i use and how do i get rid of the other 1?


Comments

  • Registered Users, Registered Users 2 Posts: 3,958 ✭✭✭Chad ghostal


    should be something like
    /boot/grub/menu.*
    edit that file..
    or you can edit it on the fly at boot time, when it starts up ( these changes wont stick )

    i assume theres an extra option for a different kernal..
    use the newest one i guess :confused:


  • Closed Accounts Posts: 839 ✭✭✭zap


    ye its an extra option for an updated kernel, also its changed itself fo its boots fedora by default now rather than windows


  • Registered Users, Registered Users 2 Posts: 3,958 ✭✭✭Chad ghostal


    just change the order of the configs in the file,
    i.e. cut and paste the full windows config above the fedora config lines,
    that will make it default.

    make a backup before you change it just in case..

    did you find the file /boot/grub/menu.lst?


  • Closed Accounts Posts: 4,763 ✭✭✭Fenster


    /etc/grub.conf

    It'll look something like this:
    # grub.conf generated by anaconda
    #
    # Note that you do not have to rerun grub after making changes to this file
    # NOTICE:  You have a /boot partition.  This means that
    #          all kernel and initrd paths are relative to /boot/, eg.
    #          root (hd1,0)
    #          kernel /vmlinuz-version ro root=/dev/hdb3
    #          initrd /initrd-version.img
    #boot=/dev/hda
    default=4
    timeout=5
    splashimage=(hd1,0)/grub/splash.xpm.gz
    hiddenmenu
    #title Fedora Core (2.6.10-1.741_FC3)
    #	root (hd1,0)
    #	kernel /vmlinuz-2.6.10-1.741_FC3 ro root=/dev/hdb3 exec-shield=0
    #	initrd /initrd-2.6.10-1.741_FC3.img
    #title Fedora Core (2.6.9-1.724_FC3)
    #	root (hd1,0)
    #	kernel /vmlinuz-2.6.9-1.724_FC3 ro root=/dev/hdb3 exec-shield=0
    #	initrd /initrd-2.6.9-1.724_FC3.img
    #title Fedora Core (2.6.9-1.681_FC3)
    #	root (hd1,0)
    #	kernel /vmlinuz-2.6.9-1.681_FC3 ro root=/dev/hdb3 exec-shield=0
    #	initrd /initrd-2.6.9-1.681_FC3.img
    title Fedora Core (2.6.9-1.667)
    	root (hd1,0)
    	kernel /vmlinuz-2.6.9-1.667 ro root=/dev/hdb3 exec-shield=0
    	initrd /initrd-2.6.9-1.667.img
    title Windows XP
    	rootnoverify (hd0,0)
    	chainloader +1
    

    default=4 is what you edit: Counting from 0, you set the number to whatever entry you want to go to by default. In my case its "Fedora Core (2.6.9-1.667)"

    You comment out those entries you don't want to see by putting "#" at the start of the line. As for which one you use, its entirely up to yourself. When you update the kernel, you have the choice to boot to either the old kernel (as I do, my sound card doesn't work with the other ones), or boot to a newer kernel.


  • Closed Accounts Posts: 4,943 ✭✭✭Mutant_Fruit


    just before you remove anything, is one of the Fedora options a "Recovery" option?

    I have 3 options in mine....
    Debian (normal mode)
    Debian (Recovery mode)
    Windows XP


  • Advertisement
  • Closed Accounts Posts: 839 ✭✭✭zap


    just before you remove anything, is one of the Fedora options a "Recovery" option?

    I have 3 options in mine....
    Debian (normal mode)
    Debian (Recovery mode)
    Windows XP

    no none were recovery 1 was xp others wer ethe version of the kernel that came on the cd and other was the updated kernel i downloaded


Advertisement