1.

Solve : boot entry edit for windows 7?

Answer»

hi, i have windows 7 ultimate and i have a stuck boot line that do nothing - does not boot - and i want to remove them, i tryed System Configuration but it can see only windows 7 boot line, i alsow tryed easybcd and the same can see only windows 7 boot line. can some one help.

note : i am a dual boot : ubuntu 12.04 and windows 7 64 bit
and i am using burg manager .

this video shows the problem :
http://www.youtube.com/watch?v=CzIHht3dgso&feature=plcp

this may help :

Boot Info Script 0.61-git [12 April 2012]




Boot Info Script 0.61-git [12 April 2012]


============================= Boot Info Summary: ===============================

=> Grub2 (v1.99) is installed in the MBR of /dev/sda and looks at sector 1 of
the same hard drive for core.img. core.img is at this location and looks
for (,msdos6)/boot/grub on this drive.

sda1: _______________________________________ ___________________________________

File system: ntfs
Boot sector type: Windows Vista/7: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System: Windows 7
Boot files: /boot.ini /bootmgr /Boot/BCD
/Windows/System32/winload.exe

sda2: _______________________________________ ___________________________________

File system: ntfs
Boot sector type: Windows Vista/7: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:

sda3: _______________________________________ ___________________________________

File system: Extended Partition
Boot sector type: -
Boot sector info:

sda5: _______________________________________ ___________________________________

File system: swap
Boot sector type: -
Boot sector info:

sda6: _______________________________________ ___________________________________

File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 12.04 LTS
Boot files: /boot/grub/grub.cfg /boot/burg/burg.cfg /etc/fstab
/boot/grub/core.img /boot/burg/core.img

sda4: _______________________________________ ___________________________________

File system: ntfs
Boot sector type: Windows Vista/7: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /BOOTMGR /BOOT/BCD

============================ Drive/Partition Info: =============================

Drive: sda _______________________________________ ______________________________

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes

Partition Boot Start Sector End Sector # of Sectors Id System

/dev/sda1 * 2,048 409,602,047 409,600,000 7 NTFS / exFAT / HPFS
/dev/sda2 409,602,048 678,105,087 268,503,040 7 NTFS / exFAT / HPFS
/dev/sda3 678,107,134 946,608,127 268,500,994 5 Extended
/dev/sda5 938,397,696 946,608,127 8,210,432 82 Linux swap / Solaris
/dev/sda6 678,107,136 938,397,695 260,290,560 83 Linux
/dev/sda4 946,608,128 976,771,071 30,162,944 12 Compaq diagnostics


"blkid" output: _______________________________________ _________________________

Device UUID TYPE LABEL

/dev/loop0 squashfs
/dev/sda1 906268CE6268BB1C ntfs
/dev/sda2 678F82DC7691785C ntfs
/dev/sda4 1266EB3C66EB1EEB ntfs LENOVO_PART
/dev/sda5 e04794c7-b20a-44b3-a55d-094612ea173c swap
/dev/sda6 26d8c865-4b13-45f9-9a69-b176745844cd ext4

================================ Mount points: =================================

Device Mount_Point Type Options

/dev/sr1 /live/image iso9660 (ro,noatime)


================================ sda1/boot.ini: ================================

--------------------------------------------------------------------------------
[boot loader]
timeout=30
[operating systems]
C:\grldr="openSUSE 11.2 installer (NET)" i need to remove openSUSE 11.2 installer (NET)
C:\buldr.mbr="Start BURG" and remove Start BURG
--------------------------------------------------------------------------------

=========================== sda6/boot/grub/grub.cfg: ===========================

--------------------------------------------------------------------------------
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
set have_grubenv=true
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 recordfail {
set recordfail=1
if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
}

function load_video {
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
}

insmod part_msdos
insmod ext2
set root='(hd0,msdos6)'
search --no-floppy --fs-uuid --set=root 26d8c865-4b13-45f9-9a69-b176745844cd
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=auto
load_video
insmod gfxterm
insmod part_msdos
insmod ext2
set root='(hd0,msdos6)'
search --no-floppy --fs-uuid --set=root 26d8c865-4b13-45f9-9a69-b176745844cd
set locale_dir=($root)/boot/grub/locale
set lang=en_US
insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ]; then
set timeout=10
else
set timeout=10
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
insmod part_msdos
insmod ext2
set root='(hd0,msdos6)'
search --no-floppy --fs-uuid --set=root 26d8c865-4b13-45f9-9a69-b176745844cd
insmod png
if background_image /usr/share/images/desktop-base/spacefun-grub.png; then
set color_normal=light-gray/black
set color_highlight=white/black
else
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
if background_color 44,0,30; then
clear
fi
fi
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
set gfxpayload="${1}"
if [ "${1}" = "keep" ]; then
set vt_handoff=vt.handoff=7
else
set vt_handoff=
fi
}
if [ "${recordfail}" != 1 ]; then
if [ -e ${prefix}/gfxblacklist.txt ]; then
if hwmatch ${prefix}/gfxblacklist.txt 3; then
if [ ${match} = 0 ]; then
set linux_gfx_mode=keep
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=keep
fi
else
set linux_gfx_mode=text
fi
export linux_gfx_mode
if [ "${linux_gfx_mode}" != "text" ]; then load_video; fi
menuentry 'Ubuntu, with Linux 3.2.0-27-generic-pae' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
gfxmode $linux_gfx_mode
insmod gzio
insmod part_msdos
insmod ext2
set root='(hd0,msdos6)'
search --no-floppy --fs-uuid --set=root 26d8c865-4b13-45f9-9a69-b176745844cd
linux/boot/vmlinuz-3.2.0-27-generic-pae root=UUID=26d8c865-4b13-45f9-9a69-b176745844cd ro quiet splash $vt_handoff
initrd/boot/initrd.img-3.2.0-27-generic-pae
}
menuentry 'Ubuntu, with Linux 3.2.0-27-generic-pae (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod gzio
insmod part_msdos
insmod ext2
set root='(hd0,msdos6)'
search --no-floppy --fs-uuid --set=root 26d8c865-4b13-45f9-9a69-b176745844cd
echo'Loading Linux 3.2.0-27-generic-pae ...'
linux/boot/vmlinuz-3.2.0-27-generic-pae root=UUID=26d8c865-4b13-45f9-9a69-b176745844cd ro recovery nomodeset
echo'Loading initial ramdisk ...'
initrd/boot/initrd.img-3.2.0-27-generic-pae
}
submenu "Previous Linux versions" {
menuentry 'Ubuntu, with Linux 3.2.0-26-generic-pae' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
gfxmode $linux_gfx_mode
insmod gzio
insmod part_msdos
insmod ext2
set root='(hd0,msdos6)'
search --no-floppy --fs-uuid --set=root 26d8c865-4b13-45f9-9a69-b176745844cd
linux/boot/vmlinuz-3.2.0-26-generic-pae root=UUID=26d8c865-4b13-45f9-9a69-b176745844cd ro quiet splash $vt_handoff
initrd/boot/initrd.img-3.2.0-26-generic-pae
}
menuentry 'Ubuntu, with Linux 3.2.0-26-generic-pae (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod gzio
insmod part_msdos
insmod ext2
set root='(hd0,msdos6)'
search --no-floppy --fs-uuid --set=root 26d8c865-4b13-45f9-9a69-b176745844cd
echo'Loading Linux 3.2.0-26-generic-pae ...'
linux/boot/vmlinuz-3.2.0-26-generic-pae root=UUID=26d8c865-4b13-45f9-9a69-b176745844cd ro recovery nomodeset
echo'Loading initial ramdisk ...'
initrd/boot/initrd.img-3.2.0-26-generic-pae
}
menuentry 'Ubuntu, with Linux 3.2.0-25-generic-pae' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
gfxmode $linux_gfx_mode
insmod gzio
insmod part_msdos
insmod ext2
set root='(hd0,msdos6)'
search --no-floppy --fs-uuid --set=root 26d8c865-4b13-45f9-9a69-b176745844cd
linux/boot/vmlinuz-3.2.0-25-generic-pae root=UUID=26d8c865-4b13-45f9-9a69-b176745844cd ro quiet splash $vt_handoff
initrd/boot/initrd.img-3.2.0-25-generic-pae
}
menuentry 'Ubuntu, with Linux 3.2.0-25-generic-pae (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod gzio
insmod part_msdos
insmod ext2
set root='(hd0,msdos6)'
search --no-floppy --fs-uuid --set=root 26d8c865-4b13-45f9-9a69-b176745844cd
echo'Loading Linux 3.2.0-25-generic-pae ...'
linux/boot/vmlinuz-3.2.0-25-generic-pae root=UUID=26d8c865-4b13-45f9-9a69-b176745844cd ro recovery nomodeset
echo'Loading initial ramdisk ...'
initrd/boot/initrd.img-3.2.0-25-generic-pae
}
menuentry 'Ubuntu, with Linux 3.2.0-24-generic-pae' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
gfxmode $linux_gfx_mode
insmod gzio
insmod part_msdos
insmod ext2
set root='(hd0,msdos6)'
search --no-floppy --fs-uuid --set=root 26d8c865-4b13-45f9-9a69-b176745844cd
linux/boot/vmlinuz-3.2.0-24-generic-pae root=UUID=26d8c865-4b13-45f9-9a69-b176745844cd ro quiet splash $vt_handoff
initrd/boot/initrd.img-3.2.0-24-generic-pae
}
menuentry 'Ubuntu, with Linux 3.2.0-24-generic-pae (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod gzio
insmod part_msdos
insmod ext2
set root='(hd0,msdos6)'
search --no-floppy --fs-uuid --set=root 26d8c865-4b13-45f9-9a69-b176745844cd
echo'Loading Linux 3.2.0-24-generic-pae ...'
linux/boot/vmlinuz-3.2.0-24-generic-pae root=UUID=26d8c865-4b13-45f9-9a69-b176745844cd ro recovery nomodeset
echo'Loading initial ramdisk ...'
initrd/boot/initrd.img-3.2.0-24-generic-pae
}
menuentry 'Ubuntu, with Linux 3.2.0-23-generic-pae' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
gfxmode $linux_gfx_mode
insmod gzio
insmod part_msdos
insmod ext2
set root='(hd0,msdos6)'
search --no-floppy --fs-uuid --set=root 26d8c865-4b13-45f9-9a69-b176745844cd
linux/boot/vmlinuz-3.2.0-23-generic-pae root=UUID=26d8c865-4b13-45f9-9a69-b176745844cd ro quiet splash $vt_handoff
initrd/boot/initrd.img-3.2.0-23-generic-pae
}
menuentry 'Ubuntu, with Linux 3.2.0-23-generic-pae (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod gzio
insmod part_msdos
insmod ext2
set root='(hd0,msdos6)'
search --no-floppy --fs-uuid --set=root 26d8c865-4b13-45f9-9a69-b176745844cd
echo'Loading Linux 3.2.0-23-generic-pae ...'
linux/boot/vmlinuz-3.2.0-23-generic-pae root=UUID=26d8c865-4b13-45f9-9a69-b176745844cd ro recovery nomodeset
echo'Loading initial ramdisk ...'
initrd/boot/initrd.img-3.2.0-23-generic-pae
}
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
insmod part_msdos
insmod ext2
set root='(hd0,msdos6)'
search --no-floppy --fs-uuid --set=root 26d8c865-4b13-45f9-9a69-b176745844cd
linux16/boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod part_msdos
insmod ext2
set root='(hd0,msdos6)'
search --no-floppy --fs-uuid --set=root 26d8c865-4b13-45f9-9a69-b176745844cd
linux16/boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Windows 7 (loader) (on /dev/sda1)" --class windows --class os {
insmod part_msdos
insmod ntfs
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set=root 906268CE6268BB1C
chainloader +1
}
menuentry "Windows Recovery Environment (loader) (on /dev/sda4)" --class windows --class os {
insmod part_msdos
insmod ntfs
set root='(hd0,msdos4)'
search --no-floppy --fs-uuid --set=root 1266EB3C66EB1EEB
drivemap -s (hd0) ${root}
chainloader +1
}
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.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/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
--------------------------------------------------------------------------------

=========================== sda6/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
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
}
set gfxmode=1366x768
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
fi
}
if test -f ${prefix}/themes/${theme_name}/theme ; then
insmod coreui
menu_region.text
load_string '+theme_menu { -abstract { command="set theme_name=abstract" }}'
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 { -gogo-noge-hot-legs { command="set theme_name=gogo-noge-hot-legs" }}'
load_string '+theme_menu { -magic { command="set theme_name=magic" }}'
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 26d8c865-4b13-45f9-9a69-b176745844cd
set locale_dir=($root)/boot/burg/locale
set lang=en
insmod gettext
set timeout=10
### END /etc/burg.d/00_header ###

### BEGIN /etc/burg.d/10_linux ###
menuentry 'Ubuntu GNU/Linux, with Linux 3.2.0-26-generic-pae' --class ubuntu --class gnu-linux --class gnu --class os --group group_main {
insmod ext2
set root='(hd0,6)'
search --no-floppy --fs-uuid --set 26d8c865-4b13-45f9-9a69-b176745844cd
echo'Loading Linux 3.2.0-26-generic-pae ...'
linux/boot/vmlinuz-3.2.0-26-generic-pae root=UUID=26d8c865-4b13-45f9-9a69-b176745844cd ro quiet splash
echo'Loading initial ramdisk ...'
initrd/boot/initrd.img-3.2.0-26-generic-pae
}
menuentry 'Ubuntu GNU/Linux, with Linux 3.2.0-26-generic-pae (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 26d8c865-4b13-45f9-9a69-b176745844cd
echo'Loading Linux 3.2.0-26-generic-pae ...'
linux/boot/vmlinuz-3.2.0-26-generic-pae root=UUID=26d8c865-4b13-45f9-9a69-b176745844cd ro single
echo'Loading initial ramdisk ...'
initrd/boot/initrd.img-3.2.0-26-generic-pae
}
menuentry 'Ubuntu GNU/Linux, with Linux 3.2.0-25-generic-pae' --class ubuntu --class gnu-linux --class gnu --class os --group group_main {
insmod ext2
set root='(hd0,6)'
search --no-floppy --fs-uuid --set 26d8c865-4b13-45f9-9a69-b176745844cd
echo'Loading Linux 3.2.0-25-generic-pae ...'
linux/boot/vmlinuz-3.2.0-25-generic-pae root=UUID=26d8c865-4b13-45f9-9a69-b176745844cd ro quiet splash
echo'Loading initial ramdisk ...'
initrd/boot/initrd.img-3.2.0-25-generic-pae
}
menuentry 'Ubuntu GNU/Linux, with Linux 3.2.0-25-generic-pae (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 26d8c865-4b13-45f9-9a69-b176745844cd
echo'Loading Linux 3.2.0-25-generic-pae ...'
linux/boot/vmlinuz-3.2.0-25-generic-pae root=UUID=26d8c865-4b13-45f9-9a69-b176745844cd ro single
echo'Loading initial ramdisk ...'
initrd/boot/initrd.img-3.2.0-25-generic-pae
}
menuentry 'Ubuntu GNU/Linux, with Linux 3.2.0-24-generic-pae' --class ubuntu --class gnu-linux --class gnu --class os --group group_main {
insmod ext2
set root='(hd0,6)'
search --no-floppy --fs-uuid --set 26d8c865-4b13-45f9-9a69-b176745844cd
echo'Loading Linux 3.2.0-24-generic-pae ...'
linux/boot/vmlinuz-3.2.0-24-generic-pae root=UUID=26d8c865-4b13-45f9-9a69-b176745844cd ro quiet splash
echo'Loading initial ramdisk ...'
initrd/boot/initrd.img-3.2.0-24-generic-pae
}
menuentry 'Ubuntu GNU/Linux, with Linux 3.2.0-24-generic-pae (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 26d8c865-4b13-45f9-9a69-b176745844cd
echo'Loading Linux 3.2.0-24-generic-pae ...'
linux/boot/vmlinuz-3.2.0-24-generic-pae root=UUID=26d8c865-4b13-45f9-9a69-b176745844cd ro single
echo'Loading initial ramdisk ...'
initrd/boot/initrd.img-3.2.0-24-generic-pae
}
menuentry 'Ubuntu GNU/Linux, with Linux 3.2.0-23-generic-pae' --class ubuntu --class gnu-linux --class gnu --class os --group group_main {
insmod ext2
set root='(hd0,6)'
search --no-floppy --fs-uuid --set 26d8c865-4b13-45f9-9a69-b176745844cd
echo'Loading Linux 3.2.0-23-generic-pae ...'
linux/boot/vmlinuz-3.2.0-23-generic-pae root=UUID=26d8c865-4b13-45f9-9a69-b176745844cd ro quiet splash
echo'Loading initial ramdisk ...'
initrd/boot/initrd.img-3.2.0-23-generic-pae
}
menuentry 'Ubuntu GNU/Linux, with Linux 3.2.0-23-generic-pae (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 26d8c865-4b13-45f9-9a69-b176745844cd
echo'Loading Linux 3.2.0-23-generic-pae ...'
linux/boot/vmlinuz-3.2.0-23-generic-pae root=UUID=26d8c865-4b13-45f9-9a69-b176745844cd ro single
echo'Loading initial ramdisk ...'
initrd/boot/initrd.img-3.2.0-23-generic-pae
}
### END /etc/burg.d/10_linux ###

### BEGIN /etc/burg.d/30_os-prober ###
menuentry "Windows 7 (loader) (on /dev/sda1)" --class windows --class os {
insmod ntfs
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 906268ce6268bb1c
chainloader +1
}
menuentry "Windows Recovery Environment (loader) (on /dev/sda4)" --class windows --class os {
insmod ntfs
set root='(hd0,4)'
search --no-floppy --fs-uuid --set 1266eb3c66eb1eeb
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 ###
--------------------------------------------------------------------------------

=============================== sda6/etc/fstab: ================================

--------------------------------------------------------------------------------
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
#
proc /proc proc nodev,noexec,nosuid 0 0
# / was on /dev/sda6 during installation
UUID=26d8c865-4b13-45f9-9a69-b176745844cd / ext4 errors=remount-ro 0 1
# swap was on /dev/sda5 during installation
UUID=e04794c7-b20a-44b3-a55d-094612ea173c none swap sw 0 0
--------------------------------------------------------------------------------

=================== sda6: Location of files loaded by Grub: ====================

GiB - GB File Fragment(s)

?? = ?? boot/burg/burg.cfg 2
?? = ?? boot/burg/core.img 1
?? = ?? boot/grub/core.img 1
?? = ?? boot/grub/grub.cfg 1
?? = ?? boot/initrd.img-3.2.0-23-generic-pae 1
?? = ?? boot/initrd.img-3.2.0-24-generic-pae 2
?? = ?? boot/initrd.img-3.2.0-25-generic-pae 2
?? = ?? boot/initrd.img-3.2.0-26-generic-pae 1
?? = ?? boot/initrd.img-3.2.0-27-generic-pae 2
?? = ?? boot/vmlinuz-3.2.0-23-generic-pae 1
?? = ?? boot/vmlinuz-3.2.0-24-generic-pae 1
?? = ?? boot/vmlinuz-3.2.0-25-generic-pae 1
?? = ?? boot/vmlinuz-3.2.0-26-generic-pae 1
?? = ?? boot/vmlinuz-3.2.0-27-generic-pae 2
?? = ?? vmlinuz 2
?? = ?? vmlinuz.old 1

=============================== StdErr Messages: ===============================

File descriptor 7 (pipe:[6965]) leaked on lvscan invocation. Parent PID 10653: bash
File descriptor 8 (pipe:[6965]) leaked on lvscan invocation. Parent PID 10653: bash
No volume groups found
mdadm: No arrays found in config file or automatically

ADDITIONAL INFORMATION :
=================== log of boot-repair 2012-08-27__09h52 ===================
boot-repair version : 3.18-0ppa25~lucid
boot-sav version : 3.18-0ppa83~lucid
glade2script-gtk2 version : 0.0.1-0ppa4~lucid
File descriptor 7 (pipe:[6965]) leaked on lvs invocation. Parent PID 3980: /bin/sh
File descriptor 8 (pipe:[6965]) leaked on lvs invocation. Parent PID 3980: /bin/sh
No volume groups found
boot-repair is executed in live-session (Boot-Repair-Disk 29.05.2012 , squeeze , Debian , x86_64)

=================== OSPROBER:
/dev/sda1:Windows 7 (loader):Windows:chain
/dev/sda4:Windows Recovery Environment (loader):Windows1:chain
/dev/sda6:Ubuntu 12.04 LTS (12.04):Ubuntu:linux

=================== BLKID:
/dev/sda1: UUID="906268CE6268BB1C" TYPE="ntfs"
/dev/sda2: UUID="678F82DC7691785C" TYPE="ntfs"
/dev/sda4: LABEL="LENOVO_PART" UUID="1266EB3C66EB1EEB" TYPE="ntfs"
/dev/sda5: UUID="e04794c7-b20a-44b3-a55d-094612ea173c" TYPE="swap"
/dev/sda6: UUID="26d8c865-4b13-45f9-9a69-b176745844cd" TYPE="ext4"
/dev/loop0: TYPE="squashfs"


1 disks with OS, 3 OS : 1 Linux, 0 MacOS, 2 Windows, 0 unknown type OS.

Warning: extended partition does not start at a cylinder boundary.
DOS and Linux will interpret the contents differently.


=================== /mnt/boot-sav/sda6/etc/default/grub :

# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
# info -f grub -n 'Simple configuration'

GRUB_DEFAULT=0
#GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""

# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that OBTAINS
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"

# Uncomment to DISABLE graphical terminal (grub-pc only)
#GRUB_TERMINAL=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480

# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"

# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"




=================== dmesg | grep EFI :
[ 0.000000] ACPI: UEFI 00000000bafe8000 0003E (v01 LENOVO CB-01 00000001 PTL 00000001)
[ 0.000000] ACPI: UEFI 00000000bafe7000 00042 (v01 PTL COMBUF 00000001 PTL 00000001)
[ 0.000000] ACPI: UEFI 00000000bafe6000 00256 (v01 LENOVO CB-01 00000001 PTL 00000001)


=================== PARTITIONS & DISKS:
sda1: sda,not-sepboot,no-grubenvnogrub,no-docgrub,no-update-grub,32,no-boot,is-os,not-on-gpt-disk,part-has-no-fstab,part-has-no-fstab,no-nt,haswinload,no-recov-nor-hid,bootmgr,no-grldr,Boot/BCD,nopakmgr,nogrubinstall,/mnt/boot-sav/sda1.
sda2: sda,maybesepboot,no-grubenvnogrub,no-docgrub,no-update-grub,32,no-boot,no-os,not-on-gpt-disk,part-has-no-fstab,part-has-no-fstab,no-nt,no-winload,no-recov-nor-hid,no-bmgr,no-grldr,no-b-bcd,nopakmgr,nogrubinstall,/mnt/boot-sav/sda2.
sda4: sda,not-sepboot,no-grubenvnogrub,no-docgrub,no-update-grub,32,no-boot,is-os,not-on-gpt-disk,part-has-no-fstab,part-has-no-fstab,no-nt,no-winload,recovery-or-hidden,BOOTMGR,no-grldr,BOOT/BCD,nopakmgr,nogrubinstall,/mnt/boot-sav/sda4.
sda6: sda,not-sepboot,grubenv-okgrub2,grub-pc,update-grub,32,with-boot,is-os,not-on-gpt-disk,fstab-without-boot,fstab-without-efi,no-nt,no-winload,no-recov-nor-hid,no-bmgr,no-grldr,no-b-bcd,apt-get,grub-install,/mnt/boot-sav/sda6.

sda: MSDos,not-GPT,BIOSboot-not-needed,has-no-EFIpart, 2048 sectors * 512 bytes

=================== PARTED:

Model: ATA WDC WD5000BPVT-2 (scsi)
Disk /dev/sda: 500GB
Sector size (logical/physical): 512B/4096B
Partition Table: msdos

Number Start End Size Type File system Flags
1 1049kB 210GB 210GB primary ntfs boot
2 210GB 347GB 137GB primary ntfs
3 347GB 485GB 137GB extended
6 347GB 480GB 133GB logical ext4
5 480GB 485GB 4204MB logical linux-swap(v1)
4 485GB 500GB 15.4GB primary ntfs diag




Warning: Unable to open /dev/sr1 read-write (Read-only file system). /dev/sr1
has been opened read-only.


Error: /dev/sr1: unrecognised disk label


=================== MOUNT:
aufs on / type aufs (rw)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
/dev/sr1 on /live/image type iso9660 (ro,noatime)
tmpfs on /live/cow type tmpfs (rw,noatime,mode=755)
tmpfs on /live type tmpfs (rw,relatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
/dev/sda1 on /mnt/boot-sav/sda1 type fuseblk (rw,allow_other,blksize=4096)
/dev/sda2 on /mnt/boot-sav/sda2 type fuseblk (rw,allow_other,blksize=4096)
/dev/sda4 on /mnt/boot-sav/sda4 type fuseblk (rw,allow_other,blksize=4096)
/dev/sda6 on /mnt/boot-sav/sda6 type ext4 (rw)


=================== DF:

Filesystem Type Size Used Avail Use% Mounted on
aufs aufs 1.9G 8.3M 1.9G 1% /
tmpfs tmpfs 1.9G 0 1.9G 0% /lib/init/rw
udev tmpfs 1.9G 200K 1.9G 1% /dev
tmpfs tmpfs 1.9G 0 1.9G 0% /dev/shm
/dev/sr1 iso9660 340M 340M 0 100% /live/image
tmpfs tmpfs 1.9G 8.3M 1.9G 1% /live/cow
tmpfs tmpfs 1.9G 0 1.9G 0% /live
tmpfs tmpfs 1.9G 8.0K 1.9G 1% /tmp
/dev/sda1 fuseblk 196G 98G 98G 50% /mnt/boot-sav/sda1
/dev/sda2 fuseblk 129G 91G 38G 71% /mnt/boot-sav/sda2
/dev/sda4 fuseblk 15G 6.6G 7.9G 46% /mnt/boot-sav/sda4
/dev/sda6 ext4 123G 20G 97G 17% /mnt/boot-sav/sda6

=================== FDISK:

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0xbbe712aa

Device Boot Start End Blocks Id System
/dev/sda1 * 1 25497 204800000 7 HPFS/NTFS
/dev/sda2 25497 42211 134251520 7 HPFS/NTFS
/dev/sda3 42211 58924 134250497 5 Extended
Partition 3 does not start on physical sector boundary.
/dev/sda4 58924 60802 15081472 12 Compaq diagnostics
/dev/sda5 58413 58924 4105216 82 Linux swap / Solaris
/dev/sda6 42211 58413 130145280 83 Linux

Partition table entries are not in disk order


=================== Advices
The boot of your PC is in EFI mode, but no EFI partition was detected. You may want to retry after creating a EFI partition (FAT32, >200Mo, start of the disk, boot flag).
Do you want to continue?

=================== Recommended repair
recommendedrepair
This setting will reinstall the grub2 of sda6 into the MBR of sda.
Additional repair will be performed: unhide-bootmenu fix-windows-boot


Reinstall the GRUB of sda6 into the MBR of sda
Generating grub.cfg ...
Found background image: /usr/share/images/desktop-base/desktop-grub.png
Found linux image: /boot/vmlinuz-3.2.0-27-generic-pae
Found initrd image: /boot/initrd.img-3.2.0-27-generic-pae
Found linux image: /boot/vmlinuz-3.2.0-26-generic-pae
Found initrd image: /boot/initrd.img-3.2.0-26-generic-pae
Found linux image: /boot/vmlinuz-3.2.0-25-generic-pae
Found initrd image: /boot/initrd.img-3.2.0-25-generic-pae
Found linux image: /boot/vmlinuz-3.2.0-24-generic-pae
Found initrd image: /boot/initrd.img-3.2.0-24-generic-pae
Found linux image: /boot/vmlinuz-3.2.0-23-generic-pae
Found initrd image: /boot/initrd.img-3.2.0-23-generic-pae
Found memtest86+ image: /boot/memtest86+.bin
Found Windows 7 (loader) on /dev/sda1
Found Windows Recovery Environment (loader) on /dev/sda4
grub-install (GRUB) 1.99-21ubuntu3.1
grub-setup: WARN: Sector 32 is already in use by FlexNet; avoiding it. This software may cause boot or other problems in future. Please ask its authors not to store data in the boot track.
grub-setup /dev/sda: exit code of grub-setup /dev/sda:0
/usr/sbin/grub-setup: warn: Sector 32 is already in use by FlexNet; avoiding it. This software may cause boot or other problems in future. Please ask its authors not to store data in the boot track.
grub-install --recheck /dev/sda: Installation finished. No error reported.
exit code of grub-install /dev/sda:0
Unhide GRUB boot menu in sda6/boot/grub/grub.cfg

Boot successfully repaired.

You can now reboot your computer.Good evening anmar

Do you still intend on dual booting Linux and W7?
Or are you going to just use W7 only or ?

I am very surprised that when you used easybcd and then looked in edit boot menu in easybcd and pick say W7 it should boot right into W7 or Linux what ever one you pick.


Hope to hear from you soon, Mike The boot entries in question are in boot.ini, in the root of the drive that windows 7 is installed in (sda1 in your case.) boot.ini was used by the older boot manager used to boot versions of windows up to XP, but it has been replaced in windows 7 by a different BOOTLOADER. It is, however, compatible with booting XP and older versions, and will PARSE boot.ini and display those entries.

Because the only entries in boot.ini are the ones you want to remove, it should be safe to remove boot.ini (or rename it to boot.ini.old first to test.) If you do this, make sure you also completely remove the OS's that the boot.ini entries reference. The usual warnings about backing up and being careful with what you're doing apply to all of this.Was going to state that in MSConfig on windows 7 you can play with bootloader info under boot tab. TechnoGeek : thanks , i did what you said and edit the "boot.ini" and it worked



Discussion

No Comment Found