help-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with booting Windows 7 from grub 2


From: Peter Asplund
Subject: Re: Problem with booting Windows 7 from grub 2
Date: Sat, 22 Oct 2011 15:58:53 +0200

Thank you for your quick answer! Here's the info from
boot-info-script.sh (personally I'm a bit confused regarding the "grub
legacy part"):

address@hidden cat RESULTS.txt
                 Boot Info Script 0.60    from 17 May 2011


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

 => Windows is installed in the MBR of /dev/sda.
 => No boot loader is installed in the MBR of /dev/sdb.
 => Windows is installed in the MBR of /dev/sdc.
 => Grub2 (v1.99) is installed in the MBR of /dev/sdd and looks at sector 1 of
   the same hard drive for core.img. core.img is at this location and looks
   for  on this drive.

sda1: __________________________________________________________________________

   File system:       vfat
   Boot sector type:  Unknown
   Boot sector info:   No errors found in the Boot Parameter Block.
   Operating System:
   Boot files:        /bootmgr /boot/bcd

sda2: __________________________________________________________________________

   File system:       ext4
   Boot sector type:  -
   Boot sector info:
   Operating System:
   Boot files:

sdb1: __________________________________________________________________________

   File system:       vfat
   Boot sector type:  -
   Boot sector info:   No errors found in the Boot Parameter Block.
   Operating System:
   Boot files:

sdc1: __________________________________________________________________________

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

sdc2: __________________________________________________________________________

   File system:       xfs
   Boot sector type:  -
   Boot sector info:
   Operating System:
   Boot files:

sdc3: __________________________________________________________________________

   File system:       ext3
   Boot sector type:  -
   Boot sector info:
   Operating System:
   Boot files:

sdc4: __________________________________________________________________________

   File system:       ext4
   Boot sector type:  -
   Boot sector info:
   Operating System:
   Boot files:

sdd1: __________________________________________________________________________

   File system:       ext2
   Boot sector type:  Grub Legacy
   Boot sector info:   Grub Legacy (v) is installed in the boot sector of
                      sdd1 and looks at sector 192577 of the same hard drive
                      for the stage2 file, but no stage2 files can be found
                      at this location.
   Operating System:
   Boot files:        /grub2/core.img /boot/grub2/core.img

sdd2: __________________________________________________________________________

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

sdd3: __________________________________________________________________________

   File system:       ext2
   Boot sector type:  -
   Boot sector info:
   Operating System:
   Boot files:

sdd4: __________________________________________________________________________

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

sdd5: __________________________________________________________________________

   File system:       ext3
   Boot sector type:  -
   Boot sector info:
   Operating System:   This is .()
   Boot files:        /etc/fstab /boot/grub2/core.img

sdd6: __________________________________________________________________________

   File system:       ext3
   Boot sector type:  -
   Boot sector info:
   Operating System:
   Boot files:

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

Drive: sda _____________________________________________________________________

Disk /dev/sda: 320.1 GB, 320071851520 bytes
255 huvuden, 63 sektorer/spår, 38913 cylindrar, totalt 625140335 sektorer
Enheter = sektorer av 1 · 512 = 512 byte
Sector size (logical/physical): 512 bytes / 512 bytes

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sda1    *             63   308,817,494   308,817,432   b W95 FAT32
/dev/sda2         308,817,495   625,137,344   316,319,850  83 Linux


Drive: sdb _____________________________________________________________________

Disk /dev/sdb: 2048 MB, 2048901120 byte
255 huvuden, 63 sektorer/spår, 249 cylindrar, totalt 4001760 sektorer
Enheter = sektorer av 1 · 512 = 512 byte
Sector size (logical/physical): 512 bytes / 512 bytes

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sdb1    *             63     3,984,119     3,984,057   6 FAT16


Drive: sdc _____________________________________________________________________

Disk /dev/sdc: 1500.3 GB, 1500301910016 bytes
255 huvuden, 63 sektorer/spår, 182401 cylindrar, totalt 2930277168 sektorer
Enheter = sektorer av 1 · 512 = 512 byte
Sector size (logical/physical): 512 bytes / 512 bytes

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sdc1    *          2,048   416,098,303   416,096,256   7 NTFS /
exFAT / HPFS
/dev/sdc2         416,099,565 1,446,910,289 1,030,810,725  83 Linux
/dev/sdc3       1,446,910,290 2,191,555,169   744,644,880  83 Linux
/dev/sdc4       2,191,555,170 2,930,272,064   738,716,895  83 Linux


Drive: sdd _____________________________________________________________________

Disk /dev/sdd: 250.1 GB, 250059350016 bytes
255 huvuden, 63 sektorer/spår, 30401 cylindrar, totalt 488397168 sektorer
Enheter = sektorer av 1 · 512 = 512 byte
Sector size (logical/physical): 512 bytes / 512 bytes

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sdd1    *             63       208,844       208,782  83 Linux
/dev/sdd2             208,845     4,353,614     4,144,770  82 Linux
swap / Solaris
/dev/sdd3           4,353,615    24,836,489    20,482,875  83 Linux
/dev/sdd4          24,836,490   488,392,064   463,555,575   5 Extended
/dev/sdd5          24,836,553   129,082,274   104,245,722  83 Linux
/dev/sdd6         129,082,338   488,392,064   359,309,727  83 Linux


"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/sda1        46BB-2319                              vfat       rand
/dev/sda2        571a7a76-d033-4120-abb7-d189fc5eb71e   ext4       perrin
/dev/sdb1                                               vfat       EOS_DIGITAL
/dev/sdc1        4E7E79F57E79D5E5                       ntfs
/dev/sdc2        ec5a0ba8-1ab6-4863-b334-ad980c5656fc   xfs        Film
/dev/sdc3        98a0dcbf-d77a-40e3-8c60-db323f4a889e   ext3       Download
/dev/sdc4        361b78fd-7df7-44ea-91ea-58f1898d8d78   ext4       Foton
/dev/sdd1        0fbf4cbc-e910-4607-a91d-9a4995498b53   ext2       boot
/dev/sdd2        138a24a0-64a0-4c02-9c48-b5cafae186a1   swap       Swap
/dev/sdd3        f8561fd7-f45e-4098-a465-ae55a3472659   ext2       portage
/dev/sdd5        cf869dfa-1fae-47bf-a678-bbc5128c4df3   ext3       root
/dev/sdd6        cd057f76-9c6e-4e0a-9308-6dfad0803f57   ext3       home

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

Device           Mount_Point              Type       Options

/dev/sda1        /mnt/rand                vfat       (rw,noexec,nosuid,nodev)
/dev/sda2        /mnt/perrin              ext4
(rw,noexec,nosuid,nodev,noatime,commit=0)
/dev/sdb1        /media/EOS_DIGITAL_      vfat
(rw,nosuid,nodev,uhelper=udisks,uid=1000,gid=100,shortname=mixed,dmask=0077,utf8=1,showexec,flush)
/dev/sdc1        /mnt/windows             fuseblk
(rw,noexec,nosuid,nodev,allow_other,blksize=4096)
/dev/sdc2        /mnt/media               xfs        (rw)
/dev/sdc3        /mnt/download            ext4       (rw,noatime,commit=0)
/dev/sdc4        /mnt/foto                ext4       (rw,noatime,commit=0)
/dev/sdd1        /boot                    ext2       (rw)
/dev/sdd3        /usr/portage             ext2       (rw,noatime)
/dev/sdd5        /                        ext3       (rw,noatime,commit=0)
/dev/sdd6        /home                    ext4       (rw,noatime,commit=0)
/dev/sr0         /media/Kungshamn 2011    udf
(ro,nosuid,nodev,uhelper=udisks,uid=1000,gid=100,iocharset=utf8,umask=0077,dmode=0500)


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

          GiB - GB             File                                 Fragment(s)

  0.051718235 = 0.055532032    boot/initramfs-3.0.3-gentoo.img                7
  0.072396755 = 0.077735424    boot/initramfs-3.0.4-gentoo.img                6
  0.043164730 = 0.046347776    boot/initramfs-3.0.6-gentoo.img                9
  0.041089535 = 0.044119552    boot/vmlinuz                                  20
  0.027685642 = 0.029727232    boot/vmlinuz-3.0.1-gentoo                     19
  0.048346043 = 0.051911168    boot/vmlinuz-3.0.3-gentoo                     20
  0.021106243 = 0.022662656    boot/vmlinuz-3.0.4-gentoo                     21
  0.037037373 = 0.039768576    boot/vmlinuz-3.0.6-gentoo                     18
  0.031850338 = 0.034199040    boot/vmlinuz.old                              19
  0.051718235 = 0.055532032    initramfs-3.0.3-gentoo.img                     7
  0.072396755 = 0.077735424    initramfs-3.0.4-gentoo.img                     6
  0.043164730 = 0.046347776    initramfs-3.0.6-gentoo.img                     9
  0.041089535 = 0.044119552    vmlinuz                                       20
  0.027685642 = 0.029727232    vmlinuz-3.0.1-gentoo                          19
  0.048346043 = 0.051911168    vmlinuz-3.0.3-gentoo                          20
  0.021106243 = 0.022662656    vmlinuz-3.0.4-gentoo                          21
  0.037037373 = 0.039768576    vmlinuz-3.0.6-gentoo                          18
  0.031850338 = 0.034199040    vmlinuz.old                                   19

=============================== sdd5/etc/fstab: ================================

--------------------------------------------------------------------------------
# Sata Disk 1
LABEL="boot"            /boot                   ext2    defaults
                 0 1
LABEL="portage"         /usr/portage    ext2    defaults,noatime        0 2
LABEL="root"            /                               ext3
defaults,noatime        0 1
LABEL="home"            /home                   ext4
defaults,noatime        0 2

# Seagate
UUID="4E7E79F57E79D5E5"         /mnt/windows    ntfs-3g
defaults,users,locale=en_US.utf8                        0
2
LABEL="Film"                            /mnt/media              xfs
         defaults                        0 2
LABEL="Foton"                           /mnt/foto               ext4
 defaults,noatime        0 2
LABEL="Download"                        /mnt/download   ext4
defaults,noatime        0 2

# SATA Disk 2
LABEL="rand"            /mnt/rand       vfat    defaults,user
                 0 0
LABEL="perrin"          /mnt/perrin     ext4    defaults,noatime,user
         0 2

# Bubba
b3:/home/storage                /mnt/b3                         nfs
         defaults,_netdev,user   0 0
b3:/home/peter/torrents /mnt/torrents           nfs
defaults,_netdev,user   0 0
b3:/home/peter/                 /mnt/b3home                     nfs
         defaults,_netdev,user   0 0


# DVD + CDRW
#/dev/dvd: TYPE="udf" LABEL="NO LABEL"
#/dev/sde: LABEL="Nokia N900" UUID="4ACD-9AA4" TYPE="vfat"

none            /dev/shm        tmpfs   nodev,nosuid,noexec             0 0
none            /proc           proc    defaults                        0 0
--------------------------------------------------------------------------------

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

          GiB - GB             File                                 Fragment(s)

 11.894679546 = 12.771814912   boot/initramfs-3.0.3-gentoo.img                7
 11.915358067 = 12.794018304   boot/initramfs-3.0.4-gentoo.img                6
 11.886126041 = 12.762630656   boot/initramfs-3.0.6-gentoo.img                9
 11.884050846 = 12.760402432   boot/vmlinuz                                  20
 11.870646954 = 12.746010112   boot/vmlinuz-3.0.1-gentoo                     19
 11.891307354 = 12.768194048   boot/vmlinuz-3.0.3-gentoo                     20
 11.864067554 = 12.738945536   boot/vmlinuz-3.0.4-gentoo                     21
 11.879998684 = 12.756051456   boot/vmlinuz-3.0.6-gentoo                     18
 11.874811649 = 12.750481920   boot/vmlinuz.old                              19

======================== Unknown MBRs/Boot Sectors/etc: ========================

Unknown BootLoader on sda1

00000000  eb 58 90 4d 53 57 49 4e  34 2e 31 00 02 20 3c 00  |.X.MSWIN4.1.. <.|
00000010  02 00 00 00 00 f8 00 00  3f 00 ff 00 3f 00 00 00  |........?...?...|
00000020  18 2e 68 12 71 26 01 00  00 00 00 00 02 00 00 00  |..h.q&..........|
00000030  01 00 06 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000040  80 00 29 19 23 bb 46 4e  4f 20 4e 41 4d 45 20 20  |..).#.FNO NAME  |
00000050  20 20 46 41 54 33 32 20  20 20 33 c9 8e d1 bc f4  |  FAT32   3.....|
00000060  7b 8e c1 8e d9 bd 00 7c  88 4e 02 8a 56 40 b4 41  
|{......|address@hidden|
00000070  bb aa 55 cd 13 72 10 81  fb 55 aa 75 0a f6 c1 01  |..U..r...U.u....|
00000080  74 05 fe 46 02 eb 2d 8a  56 40 b4 08 cd 13 73 05  |address@hidden|
00000090  b9 ff ff 8a f1 66 0f b6  c6 40 66 0f b6 d1 80 e2  |address@hidden|
000000a0  3f f7 e2 86 cd c0 ed 06  41 66 0f b7 c9 66 f7 e1  |?.......Af...f..|
000000b0  66 89 46 f8 83 7e 16 00  75 38 83 7e 2a 00 77 32  |f.F..~..u8.~*.w2|
000000c0  66 8b 46 1c 66 83 c0 0c  bb 00 80 b9 01 00 e8 2b  |f.F.f..........+|
000000d0  00 e9 2c 03 a0 fa 7d b4  7d 8b f0 ac 84 c0 74 17  |..,...}.}.....t.|
000000e0  3c ff 74 09 b4 0e bb 07  00 cd 10 eb ee a0 fb 7d  |<.t............}|
000000f0  eb e5 a0 f9 7d eb e0 98  cd 16 cd 19 66 60 80 7e  |....}.......f`.~|
00000100  02 00 0f 84 20 00 66 6a  00 66 50 06 53 66 68 10  |.... .fj.fP.Sfh.|
00000110  00 01 00 b4 42 8a 56 40  8b f4 cd 13 66 58 66 58  |address@hidden|
00000120  66 58 66 58 eb 33 66 3b  46 f8 72 03 f9 eb 2a 66  |fXfX.3f;F.r...*f|
00000130  33 d2 66 0f b7 4e 18 66  f7 f1 fe c2 8a ca 66 8b  |3.f..N.f......f.|
00000140  d0 66 c1 ea 10 f7 76 1a  86 d6 8a 56 40 8a e8 c0  |address@hidden|
00000150  e4 06 0a cc b8 01 02 cd  13 66 61 0f 82 75 ff 81  |.........fa..u..|
00000160  c3 00 02 66 40 49 75 94  c3 42 4f 4f 54 4d 47 52  |address@hidden|
00000170  20 20 20 20 00 00 00 00  00 00 00 00 00 00 00 00  |    ............|
00000180  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
000001a0  00 00 00 00 00 00 00 00  00 00 00 00 0d 0a 42 4f  |..............BO|
000001b0  4f 54 4d 47 52 20 69 73  20 6d 69 73 73 69 6e 67  |OTMGR is missing|
000001c0  ff 0d 0a 44 69 73 6b 20  65 72 72 6f 72 ff 0d 0a  |...Disk error...|
000001d0  50 72 65 73 73 20 61 6e  79 20 6b 65 79 20 74 6f  |Press any key to|
000001e0  20 72 65 73 74 61 72 74  0d 0a 00 00 00 00 00 00  | restart........|
000001f0  00 00 00 00 00 00 00 00  00 ac c1 ce 00 00 55 aa  |..............U.|
00000200


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

unlzma: (stdin): Compressed data is corrupt
 No volume groups found

----
Peter


2011/10/19 Jordan Uggla <address@hidden>:
> On Tue, Oct 18, 2011 at 7:13 AM, Peter Asplund <address@hidden> wrote:
>> Hi, I've tried migrating to Grub 2, and I can't get the Windows 7
>> partition to boot. I'm on Gentoo and since Grub 2 isn't officially the
>> "bootloader of choice" it's a bit hard to get support there.
>>
>> OS-proper seems to do the job, but Windows just refuses to boot. It
>> does work by changing the boot setup in BIOS, so there does not seem
>> to be anything wrong with the Windows MBR.
>>
>> My disks are set up as (sorry about the Swedish):
>
> Boot info script is a great utility for giving this type of
> information plus much more very useful information. Please run boot
> info script: http://sourceforge.net/projects/bootinfoscript/ and post
> the contents of the RESULTS.txt it produces.
>
> --
> Jordan Uggla (Jordan_U on irc.freenode.net)
>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]