Public bug reported:

Binary package hint: grub2

OOOook!
Hi there!
I have 2 HDD, on first I've intalled Ubuntu 11.04, on second - Windows 7. The 
problem is if i try to boot from grub Windows 7 it shows "Starting Windows" and 
then automaticly Reboot. If i try to boot from Second HDD (Windows 7) it boots 
normally, without any BSoD (no dumps in logs system).

/boot/grub/grub.cfg
### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Windows 7 (loader) (on /dev/sdb1)" --class windows --class os {
   insmod part_msdos
   insmod ntfs
   drivemap -s (hd1) ${root}
   search --no-floppy --fs-uuid --set=root 8400117300116D84
   chainloader +1
}
### END /etc/grub.d/30_os-prober ###

Well i wrote it by myself, coz it didn't boot from default grub.cfg
(sudo update-grub)

Default grub.cfg (IT WAS)
if [ "$linux_gfx_mode" != "text" ]; then load_video; fi
menuentry 'Ubuntu, с Linux 2.6.38-8-generic-pae' --class ubuntu --class 
gnu-linux --class gnu --class os {
   recordfail
   set gfxpayload=$linux_gfx_mode
   insmod part_msdos
   insmod ext2
   set root='(/dev/sda,msdos5)'
   search --no-floppy --fs-uuid --set=root 564a69eb-fe9d-4dd2-a329-1cc43d36a1d8
   linux   /boot/vmlinuz-2.6.38-8-generic-pae 
root=UUID=564a69eb-fe9d-4dd2-a329-1cc43d36a1d8 ro   quiet splash vt.handoff=7
   initrd   /boot/initrd.img-2.6.38-8-generic-pae
}
menuentry 'Ubuntu, с Linux 2.6.38-8-generic-pae (режим восстановления)' --class 
ubuntu --class gnu-linux --class gnu --class os {
   recordfail
   set gfxpayload=$linux_gfx_mode
   insmod part_msdos
   insmod ext2
   set root='(/dev/sda,msdos5)'
   search --no-floppy --fs-uuid --set=root 564a69eb-fe9d-4dd2-a329-1cc43d36a1d8
   echo   'Loading Linux 2.6.38-8-generic-pae ...'
   linux   /boot/vmlinuz-2.6.38-8-generic-pae 
root=UUID=564a69eb-fe9d-4dd2-a329-1cc43d36a1d8 ro single 
   echo   'Loading initial ramdisk ...'
   initrd   /boot/initrd.img-2.6.38-8-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='(/dev/sda,msdos5)'
   search --no-floppy --fs-uuid --set=root 564a69eb-fe9d-4dd2-a329-1cc43d36a1d8
   linux16   /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
   insmod part_msdos
   insmod ext2
   set root='(/dev/sda,msdos5)'
   search --no-floppy --fs-uuid --set=root 564a69eb-fe9d-4dd2-a329-1cc43d36a1d8
   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/sdb1)" --class windows --class os {
   insmod part_msdos
   insmod ntfs
   set root='(/dev/sdb,msdos1)'
   search --no-floppy --fs-uuid --set=root 8400117300116D84
   chainloader +1
}
### END /etc/grub.d/30_os-prober ###


sudo update-grub
georgeek@georgeek-P55-UD3L:~$ sudo update-grub
[sudo] password for georgeek: 
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-2.6.38-8-generic-pae
Found initrd image: /boot/initrd.img-2.6.38-8-generic-pae
Found memtest86+ image: /boot/memtest86+.bin
Found Windows 7 (loader) on /dev/sdb1
done

sudo fdisk -l
georgeek@georgeek-P55-UD3L:~$ sudo fdisk -l

Диск /dev/sda: 1000.2 ГБ, 1000204886016 байт
255 heads, 63 sectors/track, 121601 cylinders
Units = цилиндры of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x5973c364

Устр-во Загр     Начало       Конец       Блоки   Id  Система
/dev/sda1   *           1      121601   976759746    5  Расширенный
/dev/sda5               1        3892    31262427   83  Linux
/dev/sda6            3893        4530     5124703+  82  Linux своп / Solaris
/dev/sda7            4531      121601   940371968   83  Linux

Диск /dev/sdb: 500.1 ГБ, 500107862016 байт
255 heads, 63 sectors/track, 60801 cylinders
Units = цилиндры of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0460045f

Устр-во Загр     Начало       Конец       Блоки   Id  Система
/dev/sdb1   *           1       12748   102398278+   7  HPFS/NTFS
/dev/sdb2           12749       60801   385985722+   7  HPFS/NTFS
========================================================
any solutions??

** Affects: grub2 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/793597

Title:
  grub 2 doesn't boot windows from second HDD

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to