Code Monkey home page Code Monkey logo

Comments (5)

GoogleCodeExporter avatar GoogleCodeExporter commented on August 11, 2024
Please paste your burg.cfg as well.

Original comment by [email protected] on 21 Jun 2010 at 6:39

from burg.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 11, 2024
#
# 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/grub
#

### BEGIN /etc/burg.d/00_header ###
set theme_name=ubuntu
set gfxmode=640x480
if [ -s $prefix/burgenv ]; then
  load_env
fi
set default="0"
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 { -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 { -chiva { command="set theme_name=chiva" }}'
  load_string '+theme_menu { -coffee { command="set theme_name=coffee" }}'
  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,3)'
search --no-floppy --fs-uuid --set fe6ac39f-292b-4915-affb-4b8f64120dbe
set locale_dir=($root)/boot/burg/locale
set lang=en
insmod gettext
set timeout=30
### END /etc/burg.d/00_header ###

### BEGIN /etc/burg.d/05_os-prober ###
menuentry "Windows 7" {
    insmod ntfs
    set root='(hd0,2)'
    search --no-floppy --fs-uuid --set 5ca8be0aa8bde326
    chainloader +1
}
### END /etc/burg.d/05_os-prober ###

### BEGIN /etc/burg.d/10_linux ###
menuentry 'Ubuntu ' --class ubuntu --class gnu-linux --class gnu --class os {
    recordfail
    insmod ext2
    set root='(hd0,3)'
    search --no-floppy --fs-uuid --set fe6ac39f-292b-4915-affb-4b8f64120dbe
    linux   /boot/vmlinuz-2.6.32-22-generic root=/dev/sda3 ro   quiet splash
}
### END /etc/burg.d/10_linux ###

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

Original comment by [email protected] on 21 Jun 2010 at 5:26

from burg.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 11, 2024
Are you using a customized 05_os-prober ? there is no such file in the default 
installation.

Anyway, you probably use a old version os-prober, or copy it from grub2. In 
burg, you need to use --class option to specify the os, for example, the 
windows entry should be:

menuentry "Windows 7" --class windows {
    insmod ntfs
    set root='(hd0,2)'
    search --no-floppy --fs-uuid --set 5ca8be0aa8bde326
    chainloader +1
}

Original comment by [email protected] on 23 Jun 2010 at 6:30

from burg.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 11, 2024

Original comment by [email protected] on 23 Jun 2010 at 5:12

  • Changed state: Fixed

from burg.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 11, 2024
I'm not using a custom file, I just renumbered them, so that os_prober is run 
before linux, so that Windows is the "default" OS.

However, fix worked, somehow the class information wasn't there. Many thanks!

Original comment by [email protected] on 25 Jun 2010 at 4:32

from burg.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.