After upgrade grub to 1.98 20100128 i could not boot to kubuntu because grub hangs, so I reinstalled grub using livecd. Now I can boot to Kubuntu but can't to Windows, when select Widows grub display only
I have tried to fix this with a windows recovery console and fixboot , fixmbr but after reboot i have message
I have 2 disks , one with Kubuntu and one with windows. Is there way to fix this ?
My grub.cfg
boot info script
Sorry for my English and thanks for any advice .
Code:
GRUB_
Code:
ntldr is missing
My grub.cfg
Code:
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/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
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
}
insmod ext2
set root=(hd0,3)
search --no-floppy --fs-uuid --set 7a08b606-ec94-4955-9dbd-26701f6ee847
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=640x480
insmod gfxterm
insmod vbe
if terminal_output gfxterm ; then true ; else
# For backward compatibility with versions of terminal.mod that don't
# understand terminal_output
terminal gfxterm
fi
fi
insmod ext2
set root=(hd0,3)
search --no-floppy --fs-uuid --set 7a08b606-ec94-4955-9dbd-26701f6ee847
set locale_dir=($root)/boot/grub/locale
set lang=pl
insmod gettext
if [ ${recordfail} = 1 ]; then
set timeout=-1
else
set timeout=10
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/white
### END /etc/grub.d/05_debian_theme ###
### BEGIN /etc/grub.d/10_linux ###
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_memtest86+ ###
### END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Microsoft Windows XP Professional (on /dev/sdb1)" {
insmod ntfs
set root=(hd1,1)
search --no-floppy --fs-uuid --set 06b04554b0454aff
drivemap -s (hd0) ${root}
chainloader +1
}
menuentry "Microsoft Windows XP Professional (on /dev/sdb5)" {
insmod ntfs
set root=(hd1,5)
search --no-floppy --fs-uuid --set 348c46cc8c4687f6
drivemap -s (hd0) ${root}
chainloader +1
}
menuentry "Microsoft Windows XP Professional (on /dev/sdb6)" {
insmod ntfs
set root=(hd1,6)
search --no-floppy --fs-uuid --set a8dc4822dc47e8e0
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 ###
Code:
============================= Boot Info Summary: ==============================
=> Grub 1.97 is installed in the MBR of /dev/sda and looks on the same drive
in partition #3 for /boot/grub.
=> Grub 1.97 is installed in the MBR of /dev/sdb and looks on the same drive
in partition #3 for /boot/grub.
sda1: _________________________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:
sda2: _________________________________________________________________________
File system: Extended Partition
Boot sector type: -
Boot sector info:
sda5: _________________________________________________________________________
File system: ntfs
Boot sector type: Windows XP
Boot sector info: According to the info in the boot sector, sda5 starts
at sector 63.
Operating System:
Boot files/dirs:
sda3: _________________________________________________________________________
File system: ext4
Boot sector type: Fat16
Boot sector info:
Operating System: Ubuntu lucid (development
branch)
Boot files/dirs: /grub/grub.cfg /boot/grub/grub.cfg /etc/fstab
/grub/core.img /boot/grub/core.img
sda4: _________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files/dirs:
sdb1: _________________________________________________________________________
File system: ntfs
Boot sector type: Grub 1.97
Boot sector info: Grub 1.97 is installed in the boot sector of sdb1 and
looks at sector 194111969 of the same hard drive for
core.img, but core.img can not be found at this
location. No errors found in the Boot Parameter Block.
Operating System: Windows XP
Boot files/dirs: /boot.ini /ntldr /NTDETECT.COM
sdb2: _________________________________________________________________________
File system: Extended Partition
Boot sector type: -
Boot sector info:
sdb5: _________________________________________________________________________
File system: ntfs
Boot sector type: Grub 1.97
Boot sector info: Grub 1.97 is installed in the boot sector of sdb5 and
looks at sector 194111969 of the same hard drive for
core.img, but core.img can not be found at this
location. According to the info in the boot sector,
sdb5 starts at sector 63.
Operating System:
Boot files/dirs: /boot.ini /ntldr /ntdetect.com
sdb6: _________________________________________________________________________
File system: ntfs
Boot sector type: Grub 1.97
Boot sector info: Grub 1.97 is installed in the boot sector of sdb6 and
looks at sector 194111969 of the same hard drive for
core.img, but core.img can not be found at this
location. According to the info in the boot sector,
sdb6 starts at sector 65. But according to the info
from fdisk, sdb6 starts at sector 108744050.
Operating System:
Boot files/dirs: /boot.ini /ntldr /ntdetect.com
=========================== Drive/Partition Info: =============================
Drive: sda ___________________ _____________________________________________________
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders, total 312581808 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical / optimal IO): 512 bytes / 512 bytes
Partition Boot Start End Size Id System
/dev/sda1 310,472,190 312,576,704 2,104,515 82 Linux swap / Solaris
/dev/sda2 16,065 193,053,104 193,037,040 5 Extended
/dev/sda5 16,128 193,053,104 193,036,977 7 HPFS/NTFS
/dev/sda3 * 193,053,105 226,612,889 33,559,785 83 Linux
/dev/sda4 226,612,890 310,472,189 83,859,300 83 Linux
Drive: sdb ___________________ _____________________________________________________
Disk /dev/sdb: 251.0 GB, 251000193024 bytes
255 heads, 63 sectors/track, 30515 cylinders, total 490234752 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical / optimal IO): 512 bytes / 512 bytes
Partition Boot Start End Size Id System
/dev/sdb1 * 63 96,357,869 96,357,807 7 HPFS/NTFS
/dev/sdb2 96,357,870 490,223,474 393,865,605 5 Extended
/dev/sdb5 96,357,933 108,743,984 12,386,052 7 HPFS/NTFS
/dev/sdb6 108,744,050 490,223,474 381,479,425 7 HPFS/NTFS
blkid -c /dev/null: ____________________________________________________________
/dev/sda1: UUID="d7bf9cb4-4488-437c-861b-34a7c3d9d4b4" TYPE="swap"
/dev/sda3: UUID="7a08b606-ec94-4955-9dbd-26701f6ee847" TYPE="ext4"
/dev/sda4: UUID="11ebab37-a2be-492f-b681-aae0c38ca410" TYPE="ext4"
/dev/sda5: LABEL="Dysk" UUID="1BF8C64CEA45D521" TYPE="ntfs"
/dev/sdb1: LABEL="Dysk" UUID="06B04554B0454AFF" TYPE="ntfs"
/dev/sdb5: LABEL="SWAP" UUID="348C46CC8C4687F6" TYPE="ntfs"
/dev/sdb6: LABEL="Dysk" UUID="A8DC4822DC47E8E0" TYPE="ntfs"
=============================== "mount" output: ===============================
/dev/sda3 on / type ext4 (rw,errors=remount-ro)
proc on /proc type proc (rw)
none on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
none on /dev type devtmpfs (rw,mode=0755)
none on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
none on /dev/shm type tmpfs (rw,nosuid,nodev)
none on /var/run type tmpfs (rw,nosuid,mode=0755)
none on /var/lock type tmpfs (rw,noexec,nosuid,nodev)
none on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
/dev/sda4 on /home type ext4 (rw)
/dev/sdb6 on /media/Dysk type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
/dev/sdb1 on /media/Dysk1 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
/dev/sda5 on /media/Dysk2 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
============================= sda3/grub/grub.cfg: =============================
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/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
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
}
insmod ext2
set root=(hd0,3)
search --no-floppy --fs-uuid --set 7a08b606-ec94-4955-9dbd-26701f6ee847
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=640x480
insmod gfxterm
insmod vbe
if terminal_output gfxterm ; then true ; else
# For backward compatibility with versions of terminal.mod that don't
# understand terminal_output
terminal gfxterm
fi
fi
insmod ext2
set root=(hd0,3)
search --no-floppy --fs-uuid --set 7a08b606-ec94-4955-9dbd-26701f6ee847
set locale_dir=($root)/boot/grub/locale
set lang=pl
insmod gettext
if [ ${recordfail} = 1 ]; then
set timeout=-1
else
set timeout=10
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/white
### END /etc/grub.d/05_debian_theme ###
### BEGIN /etc/grub.d/10_linux ###
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_memtest86+ ###
### END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Microsoft Windows XP Professional (on /dev/sdb1)" {
insmod ntfs
set root=(hd1,1)
search --no-floppy --fs-uuid --set 06b04554b0454aff
drivemap -s (hd0) ${root}
chainloader +1
}
menuentry "Microsoft Windows XP Professional (on /dev/sdb5)" {
insmod ntfs
set root=(hd1,5)
search --no-floppy --fs-uuid --set 348c46cc8c4687f6
drivemap -s (hd0) ${root}
chainloader +1
}
menuentry "Microsoft Windows XP Professional (on /dev/sdb6)" {
insmod ntfs
set root=(hd1,6)
search --no-floppy --fs-uuid --set a8dc4822dc47e8e0
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 ###
=========================== sda3/boot/grub/grub.cfg: ===========================
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/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
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
}
if [ ${recordfail} = 1 ]; then
set timeout=-1
else
set timeout=10
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/white
### END /etc/grub.d/05_debian_theme ###
### BEGIN /etc/grub.d/10_linux ###
menuentry "Ubuntu, with Linux 2.6.32-12-generic" {
recordfail
insmod ext2
set root=(hd0,3)
search --no-floppy --fs-uuid --set 7a08b606-ec94-4955-9dbd-26701f6ee847
linux /boot/vmlinuz-2.6.32-12-generic root=UUID=7a08b606-ec94-4955-9dbd-26701f6ee847 ro quiet splash
initrd /boot/initrd.img-2.6.32-12-generic
}
menuentry "Ubuntu, with Linux 2.6.32-12-generic (recovery mode)" {
recordfail
insmod ext2
set root=(hd0,3)
search --no-floppy --fs-uuid --set 7a08b606-ec94-4955-9dbd-26701f6ee847
echo Loading Linux 2.6.32-12-generic ...
linux /boot/vmlinuz-2.6.32-12-generic root=UUID=7a08b606-ec94-4955-9dbd-26701f6ee847 ro single
echo Loading initial ramdisk ...
initrd /boot/initrd.img-2.6.32-12-generic
}
menuentry "Ubuntu, with Linux 2.6.32-11-generic" {
recordfail
insmod ext2
set root=(hd0,3)
search --no-floppy --fs-uuid --set 7a08b606-ec94-4955-9dbd-26701f6ee847
linux /boot/vmlinuz-2.6.32-11-generic root=UUID=7a08b606-ec94-4955-9dbd-26701f6ee847 ro quiet splash
initrd /boot/initrd.img-2.6.32-11-generic
}
menuentry "Ubuntu, with Linux 2.6.32-11-generic (recovery mode)" {
recordfail
insmod ext2
set root=(hd0,3)
search --no-floppy --fs-uuid --set 7a08b606-ec94-4955-9dbd-26701f6ee847
echo Loading Linux 2.6.32-11-generic ...
linux /boot/vmlinuz-2.6.32-11-generic root=UUID=7a08b606-ec94-4955-9dbd-26701f6ee847 ro single
echo Loading initial ramdisk ...
initrd /boot/initrd.img-2.6.32-11-generic
}
menuentry "Ubuntu, with Linux 2.6.32-10-generic" {
recordfail
insmod ext2
set root=(hd0,3)
search --no-floppy --fs-uuid --set 7a08b606-ec94-4955-9dbd-26701f6ee847
linux /boot/vmlinuz-2.6.32-10-generic root=UUID=7a08b606-ec94-4955-9dbd-26701f6ee847 ro quiet splash
initrd /boot/initrd.img-2.6.32-10-generic
}
menuentry "Ubuntu, with Linux 2.6.32-10-generic (recovery mode)" {
recordfail
insmod ext2
set root=(hd0,3)
search --no-floppy --fs-uuid --set 7a08b606-ec94-4955-9dbd-26701f6ee847
echo Loading Linux 2.6.32-10-generic ...
linux /boot/vmlinuz-2.6.32-10-generic root=UUID=7a08b606-ec94-4955-9dbd-26701f6ee847 ro single
echo Loading initial ramdisk ...
initrd /boot/initrd.img-2.6.32-10-generic
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
insmod ext2
set root=(hd0,3)
search --no-floppy --fs-uuid --set 7a08b606-ec94-4955-9dbd-26701f6ee847
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod ext2
set root=(hd0,3)
search --no-floppy --fs-uuid --set 7a08b606-ec94-4955-9dbd-26701f6ee847
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Microsoft Windows XP Professional (on /dev/sdb1)" {
insmod ntfs
set root=(hd1,1)
search --no-floppy --fs-uuid --set 06b04554b0454aff
drivemap -s (hd0) ${root}
chainloader +1
}
menuentry "Microsoft Windows XP Professional (on /dev/sdb5)" {
insmod ntfs
set root=(hd1,5)
search --no-floppy --fs-uuid --set 348c46cc8c4687f6
drivemap -s (hd0) ${root}
chainloader +1
}
menuentry "Microsoft Windows XP Professional (on /dev/sdb6)" {
insmod ntfs
set root=(hd1,6)
search --no-floppy --fs-uuid --set a8dc4822dc47e8e0
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 ###
=============================== sda3/etc/fstab: ===============================
# /etc/fstab: static file system information.
#
# -- This file has been automaticly generated by ntfs-config --
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# Entry for /dev/sda3 :
UUID=7a08b606-ec94-4955-9dbd-26701f6ee847 / ext4 errors=remount-ro 0 1
# Entry for /dev/sda4 :
UUID=11ebab37-a2be-492f-b681-aae0c38ca410 /home ext4 defaults 0 2
# Entry for /dev/sda1 :
UUID=d7bf9cb4-4488-437c-861b-34a7c3d9d4b4 none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0
/dev/sdb6 /media/Dysk ntfs-3g defaults,locale=pl_PL.UTF-8 0 0
/dev/sdb1 /media/Dysk1 ntfs-3g defaults,locale=pl_PL.UTF-8 0 0
/dev/sda5 /media/Dysk2 ntfs-3g defaults,locale=pl_PL.UTF-8 0 0
=================== sda3: Location of files loaded by Grub: ===================
98.8GB: boot/grub/grub.cfg
98.8GB: boot/initrd.img-2.6.32-10-generic
98.8GB: boot/initrd.img-2.6.32-11-generic
98.8GB: boot/initrd.img-2.6.32-12-generic
98.8GB: boot/vmlinuz-2.6.32-10-generic
98.8GB: boot/vmlinuz-2.6.32-11-generic
98.8GB: boot/vmlinuz-2.6.32-12-generic
98.8GB: grub/grub.cfg
98.8GB: initrd.img
98.8GB: initrd.img.old
98.8GB: vmlinuz
98.8GB: vmlinuz.old
================================ sdb1/boot.ini: ================================
[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /noexecute=optin /fastdetect
================================ sdb5/boot.ini: ================================
[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /noexecute=optin /fastdetect
================================ sdb6/boot.ini: ================================
[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /noexecute=optin /fastdetect





Comment