Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#174 Large hard drive (640GByte) will not work with rEFIt #2

open
nobody
None
5
2010-08-05
2010-08-05
Anonymous
No

I can confirm exactly the same behaviour on my Western Digital WD7500BPVT 2,5" drive with 750 GB as mentioned in id 3016982 on 2010/06/16. Might the larger sector size of 4 KByte instead of 512 Byte be the reason?!? No chance to get rEFIt 0.14 working.

Discussion

  • Joe van Tunen
    Joe van Tunen
    2010-08-05

    Can you post your partition info using the following commands:

    diskutil list

    sudo fdisk /dev/rdisk0

    sudo gpt -r show -l /dev/disk0

    sudo dd if="/dev/disk0" bs=1 count=512 2> /dev/null | xxd -c 16

    Compare the output of the commands between the time when rEFIt launches the first time and when it fails the second time. Also when rEFIt does launch, run Partitioning Tool (gptsync.efi) in rEFIt to see what it thinks the partition table is set to (without syncing anything).

     
  • Hyperhomer
    Hyperhomer
    2010-08-24

    Here are the results. Hope this helps you to investigate the problems...

    REFIT INSTALLED BUT NOT YET BOOTED:

    bash-3.2$ diskutil list
    /dev/disk0
    #: TYPE NAME SIZE IDENTIFIER
    0: GUID_partition_scheme *750.2 GB disk0
    1: EFI 209.7 MB disk0s1
    2: Apple_HFS Mac OS X 700.0 GB disk0s2
    3: Microsoft Basic Data Windows 7 49.8 GB disk0s3
    bash-3.2$
    bash-3.2$
    bash-3.2$
    bash-3.2$ sudo fdisk /dev/rdisk0
    Disk: /dev/rdisk0 geometry: 91201/255/63 [1465149168 sectors]
    Signature: 0xAA55
    Starting Ending
    #: id cyl hd sec - cyl hd sec [ start - size]
    ------------------------------------------------------------------------
    1: EE 1023 254 63 - 1023 254 63 [ 1 - 409639] <Unknown ID>
    2: AF 1023 254 63 - 1023 254 63 [ 409640 - 1367180424] HFS+
    *3: 07 1023 254 63 - 1023 254 63 [1367853056 - 97294336] HPFS/QNX/AUX
    4: 00 0 0 0 - 0 0 0 [ 0 - 0] unused
    bash-3.2$
    bash-3.2$
    bash-3.2$
    bash-3.2$ sudo gpt -r show -l /dev/disk0
    gpt show: /dev/disk0: Suspicious MBR at sector 0
    start size index contents
    0 1 MBR
    1 1 Pri GPT header
    2 32 Pri GPT table
    34 6
    40 409600 1 GPT part - "EFI System Partition"
    409640 1367180424 2 GPT part - "Mac OS X"
    1367590064 262992
    1367853056 97294336 3 GPT part - "WINDOWS 7"
    1465147392 1743
    1465149135 32 Sec GPT table
    1465149167 1 Sec GPT header
    bash-3.2$
    bash-3.2$
    bash-3.2$
    bash-3.2$ sudo dd if="/dev/disk0" bs=1 count=512 2> /dev/null | xxd -c 16
    0000000: 33c0 8ed0 bc00 7c8e c08e d8be 007c bf00 3.....|......|..
    0000010: 06b9 0002 fcf3 a450 681c 06cb fbb9 0400 .......Ph.......
    0000020: bdbe 0780 7e00 007c 0b0f 850e 0183 c510 ....~..|........
    0000030: e2f1 cd18 8856 0055 c646 1105 c646 1000 .....V.U.F...F..
    0000040: b441 bbaa 55cd 135d 720f 81fb 55aa 7509 .A..U..]r...U.u.
    0000050: f7c1 0100 7403 fe46 1066 6080 7e10 0074 ....t..F.f`.~..t
    0000060: 2666 6800 0000 0066 ff76 0868 0000 6800 &fh....f.v.h..h.
    0000070: 7c68 0100 6810 00b4 428a 5600 8bf4 cd13 |h..h...B.V.....
    0000080: 9f83 c410 9eeb 14b8 0102 bb00 7c8a 5600 ............|.V.
    0000090: 8a76 018a 4e02 8a6e 03cd 1366 6173 1cfe .v..N..n...fas..
    00000a0: 4e11 750c 807e 0080 0f84 8a00 b280 eb84 N.u..~..........
    00000b0: 5532 e48a 5600 cd13 5deb 9e81 3efe 7d55 U2..V...]...>.}U
    00000c0: aa75 6eff 7600 e88d 0075 17fa b0d1 e664 .un.v....u.....d
    00000d0: e883 00b0 dfe6 60e8 7c00 b0ff e664 e875 ......`.|....d.u
    00000e0: 00fb b800 bbcd 1a66 23c0 753b 6681 fb54 .......f#.u;f..T
    00000f0: 4350 4175 3281 f902 0172 2c66 6807 bb00 CPAu2....r,fh...
    0000100: 0066 6800 0200 0066 6808 0000 0066 5366 .fh....fh....fSf
    0000110: 5366 5566 6800 0000 0066 6800 7c00 0066 SfUfh....fh.|..f
    0000120: 6168 0000 07cd 1a5a 32f6 ea00 7c00 00cd ah.....Z2...|...
    0000130: 18a0 b707 eb08 a0b6 07eb 03a0 b507 32e4 ..............2.
    0000140: 0500 078b f0ac 3c00 7409 bb07 00b4 0ecd ......<.t.......
    0000150: 10eb f2f4 ebfd 2bc9 e464 eb00 2402 e0f8 ......+..d..$...
    0000160: 2402 c349 6e76 616c 6964 2070 6172 7469 $..Invalid parti
    0000170: 7469 6f6e 2074 6162 6c65 0045 7272 6f72 tion table.Error
    0000180: 206c 6f61 6469 6e67 206f 7065 7261 7469 loading operati
    0000190: 6e67 2073 7973 7465 6d00 4d69 7373 696e ng system.Missin
    00001a0: 6720 6f70 6572 6174 696e 6720 7379 7374 g operating syst
    00001b0: 656d 0000 0063 7b9a 9280 e535 0000 00fe em...c{....5....
    00001c0: ffff eefe ffff 0100 0000 2740 0600 00fe ..........'@....
    00001d0: ffff affe ffff 2840 0600 8884 7d51 80fe ......(@....}Q..
    00001e0: ffff 07fe ffff 00c8 8751 0098 cc05 0000 .........Q......
    00001f0: 0000 0000 0000 0000 0000 0000 0000 55aa ..............U.

    FIRST REFIT-BOOT:

    bash-3.2$ diskutil list
    /dev/disk0
    #: TYPE NAME SIZE IDENTIFIER
    0: GUID_partition_scheme *750.2 GB disk0
    1: EFI 209.7 MB disk0s1
    2: Apple_HFS Mac OS X 700.0 GB disk0s2
    3: Microsoft Basic Data Windows 7 49.8 GB disk0s3
    bash-3.2$
    bash-3.2$
    bash-3.2$
    bash-3.2$ sudo fdisk /dev/rdisk0
    Disk: /dev/rdisk0 geometry: 91201/255/63 [1465149168 sectors]
    Signature: 0xAA55
    Starting Ending
    #: id cyl hd sec - cyl hd sec [ start - size]
    ------------------------------------------------------------------------
    1: EE 1023 254 63 - 1023 254 63 [ 1 - 409639] <Unknown ID>
    2: AF 1023 254 63 - 1023 254 63 [ 409640 - 1367180424] HFS+
    *3: 07 1023 254 63 - 1023 254 63 [1367853056 - 97294336] HPFS/QNX/AUX
    4: 00 0 0 0 - 0 0 0 [ 0 - 0] unused
    bash-3.2$
    bash-3.2$
    bash-3.2$
    bash-3.2$ sudo gpt -r show -l /dev/disk0
    gpt show: /dev/disk0: Suspicious MBR at sector 0
    start size index contents
    0 1 MBR
    1 1 Pri GPT header
    2 32 Pri GPT table
    34 6
    40 409600 1 GPT part - "EFI System Partition"
    409640 1367180424 2 GPT part - "Mac OS X"
    1367590064 262992
    1367853056 97294336 3 GPT part - "WINDOWS 7"
    1465147392 1743
    1465149135 32 Sec GPT table
    1465149167 1 Sec GPT header
    bash-3.2$
    bash-3.2$
    bash-3.2$
    bash-3.2$ sudo dd if="/dev/disk0" bs=1 count=512 2> /dev/null | xxd -c 16
    0000000: 33c0 8ed0 bc00 7c8e c08e d8be 007c bf00 3.....|......|..
    0000010: 06b9 0002 fcf3 a450 681c 06cb fbb9 0400 .......Ph.......
    0000020: bdbe 0780 7e00 007c 0b0f 850e 0183 c510 ....~..|........
    0000030: e2f1 cd18 8856 0055 c646 1105 c646 1000 .....V.U.F...F..
    0000040: b441 bbaa 55cd 135d 720f 81fb 55aa 7509 .A..U..]r...U.u.
    0000050: f7c1 0100 7403 fe46 1066 6080 7e10 0074 ....t..F.f`.~..t
    0000060: 2666 6800 0000 0066 ff76 0868 0000 6800 &fh....f.v.h..h.
    0000070: 7c68 0100 6810 00b4 428a 5600 8bf4 cd13 |h..h...B.V.....
    0000080: 9f83 c410 9eeb 14b8 0102 bb00 7c8a 5600 ............|.V.
    0000090: 8a76 018a 4e02 8a6e 03cd 1366 6173 1cfe .v..N..n...fas..
    00000a0: 4e11 750c 807e 0080 0f84 8a00 b280 eb84 N.u..~..........
    00000b0: 5532 e48a 5600 cd13 5deb 9e81 3efe 7d55 U2..V...]...>.}U
    00000c0: aa75 6eff 7600 e88d 0075 17fa b0d1 e664 .un.v....u.....d
    00000d0: e883 00b0 dfe6 60e8 7c00 b0ff e664 e875 ......`.|....d.u
    00000e0: 00fb b800 bbcd 1a66 23c0 753b 6681 fb54 .......f#.u;f..T
    00000f0: 4350 4175 3281 f902 0172 2c66 6807 bb00 CPAu2....r,fh...
    0000100: 0066 6800 0200 0066 6808 0000 0066 5366 .fh....fh....fSf
    0000110: 5366 5566 6800 0000 0066 6800 7c00 0066 SfUfh....fh.|..f
    0000120: 6168 0000 07cd 1a5a 32f6 ea00 7c00 00cd ah.....Z2...|...
    0000130: 18a0 b707 eb08 a0b6 07eb 03a0 b507 32e4 ..............2.
    0000140: 0500 078b f0ac 3c00 7409 bb07 00b4 0ecd ......<.t.......
    0000150: 10eb f2f4 ebfd 2bc9 e464 eb00 2402 e0f8 ......+..d..$...
    0000160: 2402 c349 6e76 616c 6964 2070 6172 7469 $..Invalid parti
    0000170: 7469 6f6e 2074 6162 6c65 0045 7272 6f72 tion table.Error
    0000180: 206c 6f61 6469 6e67 206f 7065 7261 7469 loading operati
    0000190: 6e67 2073 7973 7465 6d00 4d69 7373 696e ng system.Missin
    00001a0: 6720 6f70 6572 6174 696e 6720 7379 7374 g operating syst
    00001b0: 656d 0000 0063 7b9a 9280 e535 0000 00fe em...c{....5....
    00001c0: ffff eefe ffff 0100 0000 2740 0600 00fe ..........'@....
    00001d0: ffff affe ffff 2840 0600 8884 7d51 80fe ......(@....}Q..
    00001e0: ffff 07fe ffff 00c8 8751 0098 cc05 0000 .........Q......
    00001f0: 0000 0000 0000 0000 0000 0000 0000 55aa ..............U.

    SECOND REFIT BOOT (MAC OS X BOOT FORCED BY PRESSING "X"):

    bash-3.2$ diskutil list
    /dev/disk0
    #: TYPE NAME SIZE IDENTIFIER
    0: GUID_partition_scheme *750.2 GB disk0
    1: EFI 209.7 MB disk0s1
    2: Apple_HFS Mac OS X 700.0 GB disk0s2
    3: Microsoft Basic Data Windows 7 49.8 GB disk0s3
    bash-3.2$
    bash-3.2$
    bash-3.2$
    bash-3.2$ sudo fdisk /dev/rdisk0
    Disk: /dev/rdisk0 geometry: 91201/255/63 [1465149168 sectors]
    Signature: 0xAA55
    Starting Ending
    #: id cyl hd sec - cyl hd sec [ start - size]
    ------------------------------------------------------------------------
    1: EE 1023 254 63 - 1023 254 63 [ 1 - 409639] <Unknown ID>
    2: AF 1023 254 63 - 1023 254 63 [ 409640 - 1367180424] HFS+
    *3: 07 1023 254 63 - 1023 254 63 [1367853056 - 97294336] HPFS/QNX/AUX
    4: 00 0 0 0 - 0 0 0 [ 0 - 0] unused
    bash-3.2$
    bash-3.2$
    bash-3.2$
    bash-3.2$ sudo gpt -r show -l /dev/disk0
    gpt show: /dev/disk0: Suspicious MBR at sector 0
    start size index contents
    0 1 MBR
    1 1 Pri GPT header
    2 32 Pri GPT table
    34 6
    40 409600 1 GPT part - "EFI System Partition"
    409640 1367180424 2 GPT part - "Mac OS X"
    1367590064 262992
    1367853056 97294336 3 GPT part - "WINDOWS 7"
    1465147392 1743
    1465149135 32 Sec GPT table
    1465149167 1 Sec GPT header
    bash-3.2$
    bash-3.2$
    bash-3.2$
    bash-3.2$ sudo dd if="/dev/disk0" bs=1 count=512 2> /dev/null | xxd -c 16
    0000000: 33c0 8ed0 bc00 7c8e c08e d8be 007c bf00 3.....|......|..
    0000010: 06b9 0002 fcf3 a450 681c 06cb fbb9 0400 .......Ph.......
    0000020: bdbe 0780 7e00 007c 0b0f 850e 0183 c510 ....~..|........
    0000030: e2f1 cd18 8856 0055 c646 1105 c646 1000 .....V.U.F...F..
    0000040: b441 bbaa 55cd 135d 720f 81fb 55aa 7509 .A..U..]r...U.u.
    0000050: f7c1 0100 7403 fe46 1066 6080 7e10 0074 ....t..F.f`.~..t
    0000060: 2666 6800 0000 0066 ff76 0868 0000 6800 &fh....f.v.h..h.
    0000070: 7c68 0100 6810 00b4 428a 5600 8bf4 cd13 |h..h...B.V.....
    0000080: 9f83 c410 9eeb 14b8 0102 bb00 7c8a 5600 ............|.V.
    0000090: 8a76 018a 4e02 8a6e 03cd 1366 6173 1cfe .v..N..n...fas..
    00000a0: 4e11 750c 807e 0080 0f84 8a00 b280 eb84 N.u..~..........
    00000b0: 5532 e48a 5600 cd13 5deb 9e81 3efe 7d55 U2..V...]...>.}U
    00000c0: aa75 6eff 7600 e88d 0075 17fa b0d1 e664 .un.v....u.....d
    00000d0: e883 00b0 dfe6 60e8 7c00 b0ff e664 e875 ......`.|....d.u
    00000e0: 00fb b800 bbcd 1a66 23c0 753b 6681 fb54 .......f#.u;f..T
    00000f0: 4350 4175 3281 f902 0172 2c66 6807 bb00 CPAu2....r,fh...
    0000100: 0066 6800 0200 0066 6808 0000 0066 5366 .fh....fh....fSf
    0000110: 5366 5566 6800 0000 0066 6800 7c00 0066 SfUfh....fh.|..f
    0000120: 6168 0000 07cd 1a5a 32f6 ea00 7c00 00cd ah.....Z2...|...
    0000130: 18a0 b707 eb08 a0b6 07eb 03a0 b507 32e4 ..............2.
    0000140: 0500 078b f0ac 3c00 7409 bb07 00b4 0ecd ......<.t.......
    0000150: 10eb f2f4 ebfd 2bc9 e464 eb00 2402 e0f8 ......+..d..$...
    0000160: 2402 c349 6e76 616c 6964 2070 6172 7469 $..Invalid parti
    0000170: 7469 6f6e 2074 6162 6c65 0045 7272 6f72 tion table.Error
    0000180: 206c 6f61 6469 6e67 206f 7065 7261 7469 loading operati
    0000190: 6e67 2073 7973 7465 6d00 4d69 7373 696e ng system.Missin
    00001a0: 6720 6f70 6572 6174 696e 6720 7379 7374 g operating syst
    00001b0: 656d 0000 0063 7b9a 9280 e535 0000 00fe em...c{....5....
    00001c0: ffff eefe ffff 0100 0000 2740 0600 00fe ..........'@....
    00001d0: ffff affe ffff 2840 0600 8884 7d51 80fe ......(@....}Q..
    00001e0: ffff 07fe ffff 00c8 8751 0098 cc05 0000 .........Q......
    00001f0: 0000 0000 0000 0000 0000 0000 0000 55aa ..............U.

     
  • Joe van Tunen
    Joe van Tunen
    2010-08-24

    You have a standard Boot Camp setup which all looks good. The output did not change at all between reboots.

    You did not show the output from Partitioning Tool. Are you able to run the Partitioning Tool in rEFIt?

    How do you know the sector size is 4 KBytes instead of 512 Bytes?

    (MAC OS X BOOT FORCED BY PRESSING "X") Is there documentation somewhere that says that pressing 'X' forces Mac OS X to boot? I can't tell if this is a rEFIt feature or a Mac feature. I don't see it in the rEFIt source code or documentation or at http://support.apple.com/kb/ht1533

    Can you describe in more detail what you are seeing when you run rEFIt?

    Note: rEFIt is not needed when your hard drive only has one legacy OS (Windows/Linux). You can hold option key during boot to get the Mac's built in boot menu (called the Startup Manager by Apple) then select Windows to boot using BIOS which will load the boot code in the MBR and run the boot code on the partition that has the active flag set (your Windows partition).

     
  • Sorry, but as I am not able to boot rEFIt (rEFIt menu does not appear at startup, the Apple logo on silver background appears immediately) I couldn't run the Partitioning Tool too.

    As i read here:

    http://www.storagereview.com/western_digital_scorpio_blue_review_750gb_wd7500bpvt

    the drive uses the so-called "Advanced Format with a 4K sector size" instead pf 512 Byte sectors.

    Forcing Mac OS boot by pressing X at startup is described here:

    http://support.apple.com/kb/HT1343?viewlocale=en_US

    I know that rEFIt isn't needed in my case of two operating systems. But I am using my MBP with closed lid using an Apple Wireless Keyboard. And holding down the option key on my wireless keyboard simply doesn't get recognized by my MBP so that Mac OS always boots before I can descide, which OS I'd like to boot. In rEFIt, I got 20 sec to descide and thats enough for my MBP to detect my wireless keyboard and connect to it, so that I can choose a different OS to boot. You understand? And also, rEFIt simply looks cooler ;-)

     
  • Joe van Tunen
    Joe van Tunen
    2010-08-25

    If your Mac can boot Mac OS X (/System/Library/CoreServices/boot.efi) then it should be able to at least start refit.efi (/efi/refit/refit.efi). Is rEFIt blessed correctly?

    sudo bless --folder "/efi/refit" --file "/efi/refit/refit.efi" --label "rEFIt" --setBoot

    Also enable textonly mode in the refit.conf file in /efi/refit/ to see if there's any messages that appear.

     
  • Joe van Tunen
    Joe van Tunen
    2010-08-25

    That sudo command should be all on one line.

     
  • I gave it a try but nothing happened. rEFIt still does NOT appear at startup, although I explicitely blessed it once again by entering your command line. After startup the Apple-logo appears immediately. Textonly-mode was also enabled.

     
  • I can confirm the same problem with the same Western Digital WD7500BPVT 2.5" drive. I just bought the new 750 GB to replace my 320 in my Macbook and I install refit and it doesn't show. After 2nd or 3rd boot the system will not even start. I have tried reinstalling OSX and refit numerous times with no success. Have also tried everything listed in the thread with no success. Maybe it does have something to do with the 4KByte sectors. Hope this gets worked out soon

     
  • Joe van Tunen
    Joe van Tunen
    2010-08-30

    If you can't boot Mac OS X, then try zapping the PRAM (Press Command Option P R at startup).

    I wonder if you could boot a different Mac using FireWire disk mode (press T at startup) on the MacBook or Mac mini that contains this drive.

    I don't think this problem will get solved unless someone has this problem and has enough coding experience to build rEFIt (which isn't difficult if you have Windows installed). I don't understand why booting /System/Library/CoreServices/boot.efi would work but booting /efi/refit/refit.efi does nothing. I would start by making rEFIt not read anything and just go directly to text mode, print some status messages, then directly boot /System/Library/CoreServices/boot.efi.

     
  • Instead of booting into rEFIt, you could try booting into the EFI shell using the following command (all on one line):

    sudo bless --folder "/efi/refit" --file "/efi/tools/shell.efi" --label "shell" --setBoot

    When you reboot, you should see an EFI command line. Here are some useful commands:

    help -get help
    mode -get a list of graphics modes (you want to use the biggest one for your screen)
    help mode -get help on the mode command
    mode x y -change mode to one of the listed modes (where x and y are dimensions)
    fs0: -change to first file system
    fs1: -change to second file system. fs2: fs3: fs4: etc.
    ls -list file on file system
    cd -change directory

    If you can boot the EFI shell, then find the file system containing refit. e.g.
    fs2:
    ls
    cd /efi/tools
    ls

    Then try running the gptsync.efi:
    gptsync

    You can also run refit:
    cd /efi/refit
    ls
    refit

    Or you could boot into Mac OS X:
    /System/Library/CoreServices/boot.efi

     
  • It's me again, the creator of this topic. Yesterday I bought the new Seagate Momentus 7200.5 ST9750420AS with 7200 rpm and installed refit on it. Exactly the same behaviour as with the WD7500BPVT...

     
  • EDIT: The Seagate HDD also has 750 GB

     
  • Hi,

    I'm experiencing the same issues with my new ST9750420AS. If I uninstall rEFIt completely, OSX will boot just fine. If installed it the rEFIt menu won't appear unless I manually run enable-always.sh after every boot. Moreover, installing rEFIt will also cause OSX to run fsck at every boot, reporting (and correcting) errors as in bug 3143295.

    A few more points to help underpinning the causes of this issue:
    - I'm sure the disk is not failing
    - there is no mis-alignment between MBR and GPT
    - OSX is *not* installed anywhere near the beginning of the drive (see my 'diskutil list' below)
    - rEFIt will work just fine if I manually install it in the EFI partition, and no fsck will happen on OSX boot

    thorin@khazad-dum ~ $ diskutil list
    /dev/disk0
    #: TYPE NAME SIZE IDENTIFIER
    0: GUID_partition_scheme *750.2 GB disk0
    1: EFI 209.7 MB disk0s1
    2: Microsoft Basic Data 21.5 GB disk0s2
    3: Microsoft Basic Data Vista 76.5 GB disk0s3
    4: Apple_HFS Macintosh HD 651.6 GB disk0s4