Page 4 of 5 FirstFirst ... 2345 LastLast
Results 31 to 40 of 45

Thread: 8.04 cleared the MBR partition table

  1. #31
    Join Date
    Dec 2008
    Location
    San Jose, California
    Beans
    13
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Question Re: 8.04 cleared the MBR partition table

    Quote Originally Posted by pxwpxw View Post
    Check the attachment like this, you should see exactly this result, or we may need to do it another way.

    I had to rename it with .txt extension to attach it.

    This is from terminal in macosx.
    Code:
    wd:~/test pxw$ hexdump -C dummymbr 
    00000000  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
    *
    000001c0  01 00 ee fe ff ff 01 00  00 00 af ea 42 25 00 00  |............B%..|
    000001d0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
    *
    000001f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 55 aa  |..............U.|
    00000200
    I will post next step.
    hm. slightly different. is this normal?

    00000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
    *
    000001c0 01 00 ee fe ff ff 01 00 00 00 af ea 42 25 00 00 |..????....??B%..|
    000001d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
    *
    000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U?|
    00000200

  2. #32
    Join Date
    Dec 2008
    Location
    San Jose, California
    Beans
    13
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: 8.04 cleared the MBR partition table

    Quote Originally Posted by applesjgtl View Post
    hm. slightly different. is this normal?

    00000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
    *
    000001c0 01 00 ee fe ff ff 01 00 00 00 af ea 42 25 00 00 |..????....??B%..|
    000001d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
    *
    000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U?|
    00000200
    0xED hex editor reports the same as your output.

  3. #33
    Join Date
    Dec 2008
    Beans
    4

    Re: 8.04 cleared the MBR partition table

    Quote Originally Posted by pxwpxw View Post
    Check the attachment like this, you should see exactly this result, or we may need to do it another way.

    I had to rename it with .txt extension to attach it.

    This is from terminal in macosx.
    Code:
    wd:~/test pxw$ hexdump -C dummymbr 
    00000000  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
    *
    000001c0  01 00 ee fe ff ff 01 00  00 00 af ea 42 25 00 00  |............B%..|
    000001d0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
    *
    000001f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 55 aa  |..............U.|
    00000200
    I will post next step.

    Quote Originally Posted by applesjgtl View Post
    hm. slightly different. is this normal?

    Code:
    00000000  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
    *
    000001c0  01 00 ee fe ff ff 01 00  00 00 af ea 42 25 00 00  |..????....??B%..|
    000001d0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
    *
    000001f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 55 aa  |..............U?|
    00000200
    Code:
    00000000  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
    *
    000001c0  01 00 ee fe ff ff 01 00  00 00 af ea 42 25 00 00  |..????....??B%..|
    000001d0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
    *
    000001f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 55 aa  |..............U?|
    00000200
    It looks like the hex part is the same, so I don't know why the part on the right is different...

    By the way, thanks for the help!

  4. #34
    Join Date
    Apr 2006
    Beans
    Hidden!
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: 8.04 cleared the MBR partition table

    Quote Originally Posted by pxwpxw View Post
    Check the attachment like this, you should see exactly this result, or we may need to do it another way.

    I had to rename it with .txt extension to attach it.

    This is from terminal in macosx.
    Code:
    wd:~/test pxw$ hexdump -C dummymbr 
    00000000  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
    *
    000001c0  01 00 ee fe ff ff 01 00  00 00 af ea 42 25 00 00  |............B%..|
    000001d0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
    *
    000001f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 55 aa  |..............U.|
    00000200
    I will post next step.
    Please confirm the correct hexdump of dummymbr before proceeding.

    and post the partition info from dislkutil

    This example is from terminal in macosx on external 300GB, when the internal hd is 80GB. You need to be absolutely sure to write the dummymbr to the correct drive. I will post the dd howto info after seeing your diskutil list and the name of drive you need to fix (/dev/disk? ).
    Code:
    wd:~/test pxw$ diskutil list
    /dev/disk0
       #:                   type name               size      identifier
       0:  GUID_partition_scheme                    *74.5 GB  disk0
       1:                    EFI                    200.0 MB  disk0s1
       2:              Apple_HFS macosx             20.0 GB   disk0s2
       3:              Apple_HFS hfsplus            5.4 GB    disk0s3
       4:   Microsoft Basic Data                    23.3 GB   disk0s4
       5:             Linux Swap                    1.9 GB    disk0s5
       6:   Microsoft Basic Data                    8.0 GB    disk0s6
       7:   Microsoft Basic Data                    7.4 GB    disk0s7
       8:   Microsoft Basic Data DISK0S8            8.3 GB    disk0s8
    /dev/disk1
       #:                   type name               size      identifier
       0:  GUID_partition_scheme                    *298.1 GB disk1
       1:                    EFI                    200.0 MB  disk1s1
       2:              Apple_HFS wdp2               19.4 GB   disk1s2
       3:   Microsoft Basic Data                    39.5 GB   disk1s3
       4:             Linux Swap                    2.4 GB    disk1s4
       5:   Microsoft Basic Data                    39.7 GB   disk1s5
       6:     Microsoft Reserved                    10.2 GB   disk1s6
    wd:~/test pxw$
    ========================
    Last edited by pxwpxw; December 9th, 2008 at 12:28 AM. Reason: spelling

  5. #35
    Join Date
    Dec 2008
    Location
    San Jose, California
    Beans
    13
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: 8.04 cleared the MBR partition table

    Quote Originally Posted by pxwpxw View Post
    Please confirm the correct hexdump of dummymbr before proceeding.

    and post the partition info form dislkutil

    This example is from terminal in macosx on external 300GB, when the internal hd is 80GB. You need to be absolutely sure to write the dummymbr to the correct drive. I will post the dd howto info after seeing your diskutil list and the name of drive you need to fix (/dev/disk? ).
    Code:
    wd:~/test pxw$ diskutil list
    /dev/disk0
       #:                   type name               size      identifier
       0:  GUID_partition_scheme                    *74.5 GB  disk0
       1:                    EFI                    200.0 MB  disk0s1
       2:              Apple_HFS macosx             20.0 GB   disk0s2
       3:              Apple_HFS hfsplus            5.4 GB    disk0s3
       4:   Microsoft Basic Data                    23.3 GB   disk0s4
       5:             Linux Swap                    1.9 GB    disk0s5
       6:   Microsoft Basic Data                    8.0 GB    disk0s6
       7:   Microsoft Basic Data                    7.4 GB    disk0s7
       8:   Microsoft Basic Data DISK0S8            8.3 GB    disk0s8
    /dev/disk1
       #:                   type name               size      identifier
       0:  GUID_partition_scheme                    *298.1 GB disk1
       1:                    EFI                    200.0 MB  disk1s1
       2:              Apple_HFS wdp2               19.4 GB   disk1s2
       3:   Microsoft Basic Data                    39.5 GB   disk1s3
       4:             Linux Swap                    2.4 GB    disk1s4
       5:   Microsoft Basic Data                    39.7 GB   disk1s5
       6:     Microsoft Reserved                    10.2 GB   disk1s6
    wd:~/test pxw$
    ========================
    I was already aware that my internal drive was disk0, but anyway, here are the results:

    /dev/disk0
    #: TYPE NAME SIZE IDENTIFIER
    0: *931.5 Gi disk0
    /dev/disk1
    #: TYPE NAME SIZE IDENTIFIER
    0: GUID_partition_scheme *465.8 Gi disk1
    1: EFI 200.0 Mi disk1s1
    2: Apple_HFS Scooby! 465.4 Gi disk1s2
    /dev/disk2
    #: TYPE NAME SIZE IDENTIFIER
    0: GUID_partition_scheme *931.5 Gi disk2
    1: EFI 200.0 Mi disk2s1
    2: Apple_HFS Time Machine 931.2 Gi disk2s2
    /dev/disk3
    #: TYPE NAME SIZE IDENTIFIER
    0: Apple_partition_scheme *465.8 Gi disk3
    1: Apple_partition_map 31.5 Ki disk3s1
    2: Apple_HFS Bootish 465.6 Gi disk3s3
    /dev/disk4
    #: TYPE NAME SIZE IDENTIFIER
    0: Apple_partition_scheme *16.0 Mi disk4
    1: Apple_partition_map 31.5 Ki disk4s1
    2: Apple_HFS rEFIt 16.0 Mi disk4s2

    I have two terabyte drives, as well as two 500GB drives. I also have a DVD with rEFIt mounted.

  6. #36
    Join Date
    Apr 2006
    Beans
    Hidden!
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: 8.04 cleared the MBR partition table

    Quote Originally Posted by thekid42 View Post
    Code:
    00000000  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
    *
    000001c0  01 00 ee fe ff ff 01 00  00 00 af ea 42 25 00 00  |..????....??B%..|
    000001d0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
    *
    000001f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 55 aa  |..............U?|
    00000200
    It looks like the hex part is the same, so I don't know why the part on the right is different...

    By the way, thanks for the help!
    Yes thats ok, just need to see your diskutil results before next bit

  7. #37
    Join Date
    Apr 2006
    Beans
    Hidden!
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: 8.04 cleared the MBR partition table

    Writing the new mbr sector - this is an example log
    Code:
    1. recheck what you are about to write. 
    wd:~/test pxw$ hexdump -C dummymbr.txt 
    00000000  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
    *
    000001c0  01 00 ee fe ff ff 01 00  00 00 af ea 42 25 00 00  |............B%..|
    000001d0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
    *
    000001f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 55 aa  |..............U.|
    00000200
    
    2. Be sure you are writing to the disk you intend to fix. Here it is /dev/disk0.
    
    wd:~/test pxw$ sudo dd if=dummymbr.txt of=/dev/disk0 bs=512 count=1
    Password:
    dd: /dev/disk0: Resource busy
    
    If that happens, you need to use the Macosx graphical Disk Utility to Unmount anything from the target drive. (I am using Macosx Tiger, Leopard might be slightly different.)
    
    wd:~/test pxw$ sudo dd if=dummymbr.txt of=/dev/disk0 bs=512 count=1
    1+0 records in
    1+0 records out
    512 bytes transferred in 0.350948 secs (1459 bytes/sec)
    wd:~/test pxw$ 
    
    check the disk 
    
    wd:~/test pxw$ sudo hexdump -Cn512  /dev/disk0
    00000000  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
    *
    000001c0  01 00 ee fe ff ff 01 00  00 00 af ea 42 25 00 00  |............B%..|
    000001d0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
    *
    000001f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 55 aa  |..............U.|
    00000200
    wd:~/test pxw$
    If that looks good, try a restart, the internal should start up, please report the result, there are other options.

    I may need to edit this after posting.
    Looks ok, post if in doubt.
    Last edited by pxwpxw; December 9th, 2008 at 01:00 AM.

  8. #38
    Join Date
    Apr 2006
    Beans
    Hidden!
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: 8.04 cleared the MBR partition table

    deleted
    Last edited by pxwpxw; December 9th, 2008 at 04:01 AM. Reason: correction

  9. #39
    Join Date
    Dec 2008
    Location
    San Jose, California
    Beans
    13
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Thumbs down Re: 8.04 cleared the MBR partition table

    Quote Originally Posted by pxwpxw View Post
    Looking at that, your internal Macosx (if there is only 1) is not on /dev/disk0 in that configuration, it looks like disk1 or disk2 - but only in that configuration.
    disk0 is illegible to diskutil due to its hybrid nature and missing MBR. I am booting off of disk1 externally to write this comment, and disk2 is my Time Machine Backup.

  10. #40
    Join Date
    Apr 2006
    Beans
    Hidden!
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: 8.04 cleared the MBR partition table

    deleted
    Last edited by pxwpxw; December 9th, 2008 at 04:03 AM.

Page 4 of 5 FirstFirst ... 2345 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •