Page 1 of 3 123 LastLast
Results 1 to 10 of 21

Thread: Burg refuses to change the OS order

  1. #1
    Join Date
    Oct 2006
    Location
    Sacramento, California
    Beans
    529
    Distro
    Ubuntu 12.04 Precise Pangolin

    Burg refuses to change the OS order

    No matter what I do, the default OS that will be booted is Ubuntu. This is an Ubuntu/Windows dual boot.

    I have changed GRUB_DEFAULT=0 to GRUB_DEFAULT=4 (4 is the Windows entry) in both /boot/burg/burg.cfg and /boot/burg/grub.cfg and done both update-grub and update-burg. I have even used the GUI for Burg and changed it in there (though Windows was already selected as the dafault OS), but still Ubuntu is the default OS.

    What else can I do to change so that Windows will be the default OS?

  2. #2
    Join Date
    Oct 2007
    Location
    KMRY/KASE
    Beans
    138
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Burg refuses to change the OS order

    You can ignore the Grub files if you are using Burg.

    Make your changes in
    /etc/default/burg not in /boot/burg/burg.cfg.

    Don't forget that the number you put as the default is one less than the OSs position in the menu as the numbering starts an zero

    then run update-burg

    Let us know if you need more detail.

    Also
    edit the /etc/kernel-img.conf
    replace “update-grub” with “update-burg”
    if you don't want a grub update to re-take control of the boot.
    Last edited by Elmer Fudd; August 12th, 2010 at 08:55 PM.
    PLEASE Don't leave those trying to help you hanging.
    Report Success, Failure or Giving up.
    MARK as SOLVED if it is.
    Help others help you by reading THIS THREAD first.

  3. #3
    Join Date
    Oct 2006
    Location
    Sacramento, California
    Beans
    529
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Burg refuses to change the OS order

    I edited /etc/default/burg and changed the first line to GRUB_DEFAULT=4.
    I then ran update-burg
    Reboot, but Ubuntu is still the first OS.

    I rechecked /etc/default/burg and the entry GRUB_DEFAULT=4 is still present but that does not make a difference it seems since Ubuntu is still the default OS.

  4. #4
    Join Date
    Oct 2007
    Location
    KMRY/KASE
    Beans
    138
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Burg refuses to change the OS order

    please post your
    /boot/burg/burg.cfg
    PLEASE Don't leave those trying to help you hanging.
    Report Success, Failure or Giving up.
    MARK as SOLVED if it is.
    Help others help you by reading THIS THREAD first.

  5. #5
    Join Date
    Oct 2006
    Location
    Sacramento, California
    Beans
    529
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Burg refuses to change the OS order

    Code:
    #
    # DO NOT EDIT THIS FILE
    #
    # It is automatically generated by /usr/sbin/burg-mkconfig using templates
    # from /etc/burg.d and settings from /etc/default/burg
    #
    
    ### BEGIN /etc/burg.d/00_header ###
    set theme_name=ubuntu
    set gfxmode=640x480
    if [ -s $prefix/burgenv ]; then
      load_env
    fi
    set default="4"
    if [ ${prev_saved_entry} ]; then
      set saved_entry=${prev_saved_entry}
      save_env saved_entry
      set prev_saved_entry=
      save_env prev_saved_entry
      set boot_once=true
    fi
    
    function savedefault {
      if [ -z ${boot_once} ]; then
        saved_entry=${chosen}
        save_env saved_entry
      fi
    }
    function select_menu {
      if menu_popup -t template_popup theme_menu ; then
        free_config template_popup template_subitem menu class screen
        load_config ${prefix}/themes/${theme_name}/theme ${prefix}/themes/custom/theme_${theme_name}
        save_env theme_name
        menu_refresh
      fi
    }
    function toggle_fold {
      if test -z $theme_fold ; then
        set theme_fold=1
      else
        set theme_fold=
      fi
      save_env theme_fold
      menu_refresh
    }
    function select_resolution {
      if menu_popup -t template_popup resolution_menu ; then
        menu_reload_mode
        save_env gfxmode
      fi
    }
    if test -f ${prefix}/themes/${theme_name}/theme ; then
      insmod coreui
      menu_region.text
      load_string '+theme_menu { -Minimal { command="set theme_name=Minimal" }}'
      load_string '+theme_menu { -MinimalText { command="set theme_name=MinimalText" }}'
      load_string '+theme_menu { -arabic_and_freedom { command="set theme_name=arabic_and_freedom" }}'
      load_string '+theme_menu { -black_and_white { command="set theme_name=black_and_white" }}'
      load_string '+theme_menu { -burg { command="set theme_name=burg" }}'
      load_string '+theme_menu { -chiva { command="set theme_name=chiva" }}'
      load_string '+theme_menu { -coffee { command="set theme_name=coffee" }}'
      load_string '+theme_menu { -goldensea { command="set theme_name=goldensea" }}'
      load_string '+theme_menu { -minimum { command="set theme_name=minimum" }}'
      load_string '+theme_menu { -proto { command="set theme_name=proto" }}'
      load_string '+theme_menu { -radiance { command="set theme_name=radiance" }}'
      load_string '+theme_menu { -radiancetext { command="set theme_name=radiancetext" }}'
      load_string '+theme_menu { -refit { command="set theme_name=refit" }}'
      load_string '+theme_menu { -sora { command="set theme_name=sora" }}'
      load_string '+theme_menu { -sora_clean { command="set theme_name=sora_clean" }}'
      load_string '+theme_menu { -sora_extended { command="set theme_name=sora_extended" }}'
      load_string '+theme_menu { -ubuntu { command="set theme_name=ubuntu" }}'
      load_string '+theme_menu { -ubuntu2 { command="set theme_name=ubuntu2" }}'
      load_string '+theme_menu { -winter { command="set theme_name=winter" }}'
      load_config ${prefix}/themes/conf.d/10_hotkey
      load_config ${prefix}/themes/${theme_name}/theme ${prefix}/themes/custom/theme_${theme_name}
      insmod vbe
      insmod png
      insmod jpeg
      set gfxfont="Unifont Regular 16"
      menu_region.gfx
      vmenu resolution_menu
      controller.ext
    fi
    insmod ext2
    set root='(hd0,6)'
    search --no-floppy --fs-uuid --set 395d2e00-5bda-4bc8-be9d-77717f6d45bf
    set locale_dir=($root)/boot/burg/locale
    set lang=en
    insmod gettext
    set timeout=5
    ### END /etc/burg.d/00_header ###
    
    ### BEGIN /etc/burg.d/10_linux ###
    menuentry 'Ubuntu GNU/Linux, with Linux 2.6.32-24-generic' --class ubuntu --class gnu-linux --class gnu --class os --group group_main {
    	insmod ext2
    	set root='(hd0,6)'
    	search --no-floppy --fs-uuid --set 395d2e00-5bda-4bc8-be9d-77717f6d45bf
    	echo	'Loading Linux 2.6.32-24-generic ...'
    	linux	/boot/vmlinuz-2.6.32-24-generic root=UUID=395d2e00-5bda-4bc8-be9d-77717f6d45bf ro  quiet splash
    	echo	'Loading initial ramdisk ...'
    	initrd	/boot/initrd.img-2.6.32-24-generic
    }
    menuentry 'Ubuntu GNU/Linux, with Linux 2.6.32-24-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os --group group_main {
    	insmod ext2
    	set root='(hd0,6)'
    	search --no-floppy --fs-uuid --set 395d2e00-5bda-4bc8-be9d-77717f6d45bf
    	echo	'Loading Linux 2.6.32-24-generic ...'
    	linux	/boot/vmlinuz-2.6.32-24-generic root=UUID=395d2e00-5bda-4bc8-be9d-77717f6d45bf ro single 
    	echo	'Loading initial ramdisk ...'
    	initrd	/boot/initrd.img-2.6.32-24-generic
    }
    ### END /etc/burg.d/10_linux ###
    
    ### BEGIN /etc/burg.d/30_os-prober ###
    menuentry "Microsoft Windows XP Home Edition (on /dev/sda1)" --class windows --class os {
    	insmod ntfs
    	set root='(hd0,1)'
    	search --no-floppy --fs-uuid --set 3220e5c920e5945f
    	drivemap -s (hd0) ${root}
    	chainloader +1
    }
    ### END /etc/burg.d/30_os-prober ###
    
    ### BEGIN /etc/burg.d/40_custom ###
    # This file provides an easy way to add custom menu entries.  Simply type the
    # menu entries you want to add after this comment.  Be careful not to change
    # the 'exec tail' line above.
    ### END /etc/burg.d/40_custom ###
    leslie@leslie-desktop:~$ cat /boot/burg/burg.cfg 
    #
    # DO NOT EDIT THIS FILE
    #
    # It is automatically generated by /usr/sbin/burg-mkconfig using templates
    # from /etc/burg.d and settings from /etc/default/burg
    #
    
    ### BEGIN /etc/burg.d/00_header ###
    set theme_name=ubuntu
    set gfxmode=640x480
    if [ -s $prefix/burgenv ]; then
      load_env
    fi
    set default="4"
    if [ ${prev_saved_entry} ]; then
      set saved_entry=${prev_saved_entry}
      save_env saved_entry
      set prev_saved_entry=
      save_env prev_saved_entry
      set boot_once=true
    fi
    
    function savedefault {
      if [ -z ${boot_once} ]; then
        saved_entry=${chosen}
        save_env saved_entry
      fi
    }
    function select_menu {
      if menu_popup -t template_popup theme_menu ; then
        free_config template_popup template_subitem menu class screen
        load_config ${prefix}/themes/${theme_name}/theme ${prefix}/themes/custom/theme_${theme_name}
        save_env theme_name
        menu_refresh
      fi
    }
    function toggle_fold {
      if test -z $theme_fold ; then
        set theme_fold=1
      else
        set theme_fold=
      fi
      save_env theme_fold
      menu_refresh
    }
    function select_resolution {
      if menu_popup -t template_popup resolution_menu ; then
        menu_reload_mode
        save_env gfxmode
      fi
    }
    if test -f ${prefix}/themes/${theme_name}/theme ; then
      insmod coreui
      menu_region.text
      load_string '+theme_menu { -Minimal { command="set theme_name=Minimal" }}'
      load_string '+theme_menu { -MinimalText { command="set theme_name=MinimalText" }}'
      load_string '+theme_menu { -arabic_and_freedom { command="set theme_name=arabic_and_freedom" }}'
      load_string '+theme_menu { -black_and_white { command="set theme_name=black_and_white" }}'
      load_string '+theme_menu { -burg { command="set theme_name=burg" }}'
      load_string '+theme_menu { -chiva { command="set theme_name=chiva" }}'
      load_string '+theme_menu { -coffee { command="set theme_name=coffee" }}'
      load_string '+theme_menu { -goldensea { command="set theme_name=goldensea" }}'
      load_string '+theme_menu { -minimum { command="set theme_name=minimum" }}'
      load_string '+theme_menu { -proto { command="set theme_name=proto" }}'
      load_string '+theme_menu { -radiance { command="set theme_name=radiance" }}'
      load_string '+theme_menu { -radiancetext { command="set theme_name=radiancetext" }}'
      load_string '+theme_menu { -refit { command="set theme_name=refit" }}'
      load_string '+theme_menu { -sora { command="set theme_name=sora" }}'
      load_string '+theme_menu { -sora_clean { command="set theme_name=sora_clean" }}'
      load_string '+theme_menu { -sora_extended { command="set theme_name=sora_extended" }}'
      load_string '+theme_menu { -ubuntu { command="set theme_name=ubuntu" }}'
      load_string '+theme_menu { -ubuntu2 { command="set theme_name=ubuntu2" }}'
      load_string '+theme_menu { -winter { command="set theme_name=winter" }}'
      load_config ${prefix}/themes/conf.d/10_hotkey
      load_config ${prefix}/themes/${theme_name}/theme ${prefix}/themes/custom/theme_${theme_name}
      insmod vbe
      insmod png
      insmod jpeg
      set gfxfont="Unifont Regular 16"
      menu_region.gfx
      vmenu resolution_menu
      controller.ext
    fi
    insmod ext2
    set root='(hd0,6)'
    search --no-floppy --fs-uuid --set 395d2e00-5bda-4bc8-be9d-77717f6d45bf
    set locale_dir=($root)/boot/burg/locale
    set lang=en
    insmod gettext
    set timeout=5
    ### END /etc/burg.d/00_header ###
    
    ### BEGIN /etc/burg.d/10_linux ###
    menuentry 'Ubuntu GNU/Linux, with Linux 2.6.32-24-generic' --class ubuntu --class gnu-linux --class gnu --class os --group group_main {
    	insmod ext2
    	set root='(hd0,6)'
    	search --no-floppy --fs-uuid --set 395d2e00-5bda-4bc8-be9d-77717f6d45bf
    	echo	'Loading Linux 2.6.32-24-generic ...'
    	linux	/boot/vmlinuz-2.6.32-24-generic root=UUID=395d2e00-5bda-4bc8-be9d-77717f6d45bf ro  quiet splash
    	echo	'Loading initial ramdisk ...'
    	initrd	/boot/initrd.img-2.6.32-24-generic
    }
    menuentry 'Ubuntu GNU/Linux, with Linux 2.6.32-24-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os --group group_main {
    	insmod ext2
    	set root='(hd0,6)'
    	search --no-floppy --fs-uuid --set 395d2e00-5bda-4bc8-be9d-77717f6d45bf
    	echo	'Loading Linux 2.6.32-24-generic ...'
    	linux	/boot/vmlinuz-2.6.32-24-generic root=UUID=395d2e00-5bda-4bc8-be9d-77717f6d45bf ro single 
    	echo	'Loading initial ramdisk ...'
    	initrd	/boot/initrd.img-2.6.32-24-generic
    }
    ### END /etc/burg.d/10_linux ###
    
    ### BEGIN /etc/burg.d/30_os-prober ###
    menuentry "Microsoft Windows XP Home Edition (on /dev/sda1)" --class windows --class os {
    	insmod ntfs
    	set root='(hd0,1)'
    	search --no-floppy --fs-uuid --set 3220e5c920e5945f
    	drivemap -s (hd0) ${root}
    	chainloader +1
    }
    ### END /etc/burg.d/30_os-prober ###
    
    ### BEGIN /etc/burg.d/40_custom ###
    # This file provides an easy way to add custom menu entries.  Simply type the
    # menu entries you want to add after this comment.  Be careful not to change
    # the 'exec tail' line above.
    ### END /etc/burg.d/40_custom ###

  6. #6
    Join Date
    Oct 2007
    Location
    KMRY/KASE
    Beans
    138
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Burg refuses to change the OS order

    It appears that there are multiple instances of the file here.
    Would you delete /boot/burg/burg.cfg then run update-burg then repost the burg.cfg file.

    If it is the same then I think we need to look at the files in /etc/burg.d
    PLEASE Don't leave those trying to help you hanging.
    Report Success, Failure or Giving up.
    MARK as SOLVED if it is.
    Help others help you by reading THIS THREAD first.

  7. #7
    Join Date
    Oct 2006
    Location
    Sacramento, California
    Beans
    529
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Burg refuses to change the OS order

    Code:
    #
    # DO NOT EDIT THIS FILE
    #
    # It is automatically generated by /usr/sbin/burg-mkconfig using templates
    # from /etc/burg.d and settings from /etc/default/burg
    #
    
    ### BEGIN /etc/burg.d/00_header ###
    set theme_name=ubuntu
    set gfxmode=640x480
    if [ -s $prefix/burgenv ]; then
      load_env
    fi
    set default="4"
    if [ ${prev_saved_entry} ]; then
      set saved_entry=${prev_saved_entry}
      save_env saved_entry
      set prev_saved_entry=
      save_env prev_saved_entry
      set boot_once=true
    fi
    
    function savedefault {
      if [ -z ${boot_once} ]; then
        saved_entry=${chosen}
        save_env saved_entry
      fi
    }
    function select_menu {
      if menu_popup -t template_popup theme_menu ; then
        free_config template_popup template_subitem menu class screen
        load_config ${prefix}/themes/${theme_name}/theme ${prefix}/themes/custom/theme_${theme_name}
        save_env theme_name
        menu_refresh
      fi
    }
    function toggle_fold {
      if test -z $theme_fold ; then
        set theme_fold=1
      else
        set theme_fold=
      fi
      save_env theme_fold
      menu_refresh
    }
    function select_resolution {
      if menu_popup -t template_popup resolution_menu ; then
        menu_reload_mode
        save_env gfxmode
      fi
    }
    if test -f ${prefix}/themes/${theme_name}/theme ; then
      insmod coreui
      menu_region.text
      load_string '+theme_menu { -Minimal { command="set theme_name=Minimal" }}'
      load_string '+theme_menu { -MinimalText { command="set theme_name=MinimalText" }}'
      load_string '+theme_menu { -arabic_and_freedom { command="set theme_name=arabic_and_freedom" }}'
      load_string '+theme_menu { -black_and_white { command="set theme_name=black_and_white" }}'
      load_string '+theme_menu { -burg { command="set theme_name=burg" }}'
      load_string '+theme_menu { -chiva { command="set theme_name=chiva" }}'
      load_string '+theme_menu { -coffee { command="set theme_name=coffee" }}'
      load_string '+theme_menu { -goldensea { command="set theme_name=goldensea" }}'
      load_string '+theme_menu { -minimum { command="set theme_name=minimum" }}'
      load_string '+theme_menu { -proto { command="set theme_name=proto" }}'
      load_string '+theme_menu { -radiance { command="set theme_name=radiance" }}'
      load_string '+theme_menu { -radiancetext { command="set theme_name=radiancetext" }}'
      load_string '+theme_menu { -refit { command="set theme_name=refit" }}'
      load_string '+theme_menu { -sora { command="set theme_name=sora" }}'
      load_string '+theme_menu { -sora_clean { command="set theme_name=sora_clean" }}'
      load_string '+theme_menu { -sora_extended { command="set theme_name=sora_extended" }}'
      load_string '+theme_menu { -ubuntu { command="set theme_name=ubuntu" }}'
      load_string '+theme_menu { -ubuntu2 { command="set theme_name=ubuntu2" }}'
      load_string '+theme_menu { -winter { command="set theme_name=winter" }}'
      load_config ${prefix}/themes/conf.d/10_hotkey
      load_config ${prefix}/themes/${theme_name}/theme ${prefix}/themes/custom/theme_${theme_name}
      insmod vbe
      insmod png
      insmod jpeg
      set gfxfont="Unifont Regular 16"
      menu_region.gfx
      vmenu resolution_menu
      controller.ext
    fi
    insmod ext2
    set root='(hd0,6)'
    search --no-floppy --fs-uuid --set 395d2e00-5bda-4bc8-be9d-77717f6d45bf
    set locale_dir=($root)/boot/burg/locale
    set lang=en
    insmod gettext
    set timeout=5
    ### END /etc/burg.d/00_header ###
    
    ### BEGIN /etc/burg.d/10_linux ###
    menuentry 'Ubuntu GNU/Linux, with Linux 2.6.32-24-generic' --class ubuntu --class gnu-linux --class gnu --class os --group group_main {
    	insmod ext2
    	set root='(hd0,6)'
    	search --no-floppy --fs-uuid --set 395d2e00-5bda-4bc8-be9d-77717f6d45bf
    	echo	'Loading Linux 2.6.32-24-generic ...'
    	linux	/boot/vmlinuz-2.6.32-24-generic root=UUID=395d2e00-5bda-4bc8-be9d-77717f6d45bf ro  quiet splash
    	echo	'Loading initial ramdisk ...'
    	initrd	/boot/initrd.img-2.6.32-24-generic
    }
    menuentry 'Ubuntu GNU/Linux, with Linux 2.6.32-24-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os --group group_main {
    	insmod ext2
    	set root='(hd0,6)'
    	search --no-floppy --fs-uuid --set 395d2e00-5bda-4bc8-be9d-77717f6d45bf
    	echo	'Loading Linux 2.6.32-24-generic ...'
    	linux	/boot/vmlinuz-2.6.32-24-generic root=UUID=395d2e00-5bda-4bc8-be9d-77717f6d45bf ro single 
    	echo	'Loading initial ramdisk ...'
    	initrd	/boot/initrd.img-2.6.32-24-generic
    }
    ### END /etc/burg.d/10_linux ###
    
    ### BEGIN /etc/burg.d/30_os-prober ###
    menuentry "Microsoft Windows XP Home Edition (on /dev/sda1)" --class windows --class os {
    	insmod ntfs
    	set root='(hd0,1)'
    	search --no-floppy --fs-uuid --set 3220e5c920e5945f
    	drivemap -s (hd0) ${root}
    	chainloader +1
    }
    ### END /etc/burg.d/30_os-prober ###
    
    ### BEGIN /etc/burg.d/40_custom ###
    # This file provides an easy way to add custom menu entries.  Simply type the
    # menu entries you want to add after this comment.  Be careful not to change
    # the 'exec tail' line above.
    ### END /etc/burg.d/40_custom ###

  8. #8
    Join Date
    Oct 2007
    Location
    KMRY/KASE
    Beans
    138
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Burg refuses to change the OS order

    Just to confirm:
    When the Burg menu comes up at boot, are you saying that the 5th item on the menu is Windows?
    PLEASE Don't leave those trying to help you hanging.
    Report Success, Failure or Giving up.
    MARK as SOLVED if it is.
    Help others help you by reading THIS THREAD first.

  9. #9
    Join Date
    Oct 2006
    Location
    Sacramento, California
    Beans
    529
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Burg refuses to change the OS order

    Well, if I execute grep menuentry /boot/grub/grub.cfg it gives me
    Code:
    menuentry 'Ubuntu, with Linux 2.6.32-24-generic' --class ubuntu --class gnu-linux --class gnu --class os {
    menuentry 'Ubuntu, with Linux 2.6.32-24-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
    menuentry "Memory test (memtest86+)" {
    menuentry "Memory test (memtest86+, serial console 115200)" {
    menuentry "Microsoft Windows XP Home Edition (on /dev/sda1)" {
    so since the count start at 0, it tells me that Windows is number 4.

  10. #10
    Join Date
    Oct 2007
    Location
    KMRY/KASE
    Beans
    138
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Burg refuses to change the OS order

    that's cuz your looking at grub.cfg
    Just for grins try putting 2 into /etc/default/burg
    rerun update-burg
    reboot
    PLEASE Don't leave those trying to help you hanging.
    Report Success, Failure or Giving up.
    MARK as SOLVED if it is.
    Help others help you by reading THIS THREAD first.

Page 1 of 3 123 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •