Search:

Type: Posts; User: YesWeCan; Keyword(s):

Page 1 of 10 1 2 3 4

Search: Search took 0.11 seconds.

  1. Replies
    7
    Views
    1,394

    [SOLVED] Re: Need help fixing MBR table of external drive

    http://www.sevenforums.com/
    When it comes to Windows stuff this is a very good website.

    I am curious as to how GParted was able to expand the partition to 2TB on a 1TB disk. That's very odd....
  2. Replies
    7
    Views
    1,394

    [SOLVED] Re: Need help fixing MBR table of external drive

    The external drive has a single NTFS partition. You may want to use Windows to do a filesystem check.
    What application reported it as 2TB?
  3. Replies
    60
    Views
    4,927

    [SOLVED] Re: GPT messed up, cant boot or access harddrive

    This means that the size of the partition is too small for the size of the ext4 filesystem. The ext4 filesystem
    uses 4096 byte blocks whereas the disk uses 512 byte logical sectors. So 7903059...
  4. Replies
    60
    Views
    4,927

    [SOLVED] Re: GPT messed up, cant boot or access harddrive

    This is a /boot partition. It may or may not be the correct one. It's worth taking a look at grub/grub.cfg.
    Unfortunately, we still haven't found / or /home, tho.
  5. Replies
    60
    Views
    4,927

    [SOLVED] Re: GPT messed up, cant boot or access harddrive

    ls /mnt

    The error is because the size of the partition is too large for the size of the filesystem.
  6. Replies
    60
    Views
    4,927

    [SOLVED] Re: GPT messed up, cant boot or access harddrive

    Doesn't look good. That partition looked like the most likely to be intact. Try the other two.
  7. Replies
    60
    Views
    4,927

    [SOLVED] Re: GPT messed up, cant boot or access harddrive

    Now run

    sudo fdisk -l /dev/sda
    to confirm the MBR partition table is as we want.

    Next, try to mount sda1 and see what it contains. It ought to look like /boot.

    sudo mount /dev/sda1 /mnt
  8. Replies
    60
    Views
    4,927

    [SOLVED] Re: GPT messed up, cant boot or access harddrive

    # partition table of /dev/sda
    unit: sectors

    /dev/sda1 : start= 280582, size= 1024000, Id=83
    /dev/sda2 : start=118786048, size= 68059160, Id=83
    /dev/sda3 : start=186845208, size= 63224472,...
  9. Replies
    60
    Views
    4,927

    [SOLVED] Re: GPT messed up, cant boot or access harddrive

    Same mistake again - I copied the GPT partition size for sda2. The size of sda2 needs to be reduced as well.
    The size of sda2 should be 68059160 to stop the overlap.
  10. Replies
    60
    Views
    4,927

    [SOLVED] Re: GPT messed up, cant boot or access harddrive

    Or maybe 63224472. Or just something smaller until it works.
  11. Replies
    60
    Views
    4,927

    [SOLVED] Re: GPT messed up, cant boot or access harddrive

    Oh, the total number of sectors is 250069680. I mistook 128GB for 128GiB.
    Try a sda3 sector size of 63224473
  12. Replies
    60
    Views
    4,927

    [SOLVED] Re: GPT messed up, cant boot or access harddrive

    Ok, the size of the last partition is too big for the size of the disk. I copied the size from the dodgy GPT table! The last sector on the disk is 268435455 so I reckon the size of sda3 should be no...
  13. Replies
    60
    Views
    4,927

    [SOLVED] Re: GPT messed up, cant boot or access harddrive

    Try

    sudo hdparm -z /dev/sda
    before using sfdisk. This causes the kernel to re-read the disk partition table.
  14. Replies
    60
    Views
    4,927

    [SOLVED] Re: GPT messed up, cant boot or access harddrive

    It may be that sfdisk now looks for the backup GPT table at the end of the disk. It has been a while since I've done this.
    While I look this up, try writing the new MBR table to the disk.
  15. Replies
    60
    Views
    4,927

    [SOLVED] Re: GPT messed up, cant boot or access harddrive

    Deleting the GPT header means there is no chance of using the GPT partition table to recover your data. I am assuming this doesn't work anyhow. Instead, we can create an equivalent MBR partition...
  16. Replies
    60
    Views
    4,927

    [SOLVED] Re: GPT messed up, cant boot or access harddrive

    Then edit "mbrtable" to look like this:

    # partition table of /dev/sda
    unit: sectors

    /dev/sda1 : start= 280582, size= 1024000, Id=83
    /dev/sda2 : start=118786048, size=118317056, Id=83...
  17. Replies
    60
    Views
    4,927

    [SOLVED] Re: GPT messed up, cant boot or access harddrive

    Oh yes. Delete the GPT header first.

    sudo dd if=/dev/zero bs=512 count=1 seek=1 of=/dev/sda
  18. Replies
    60
    Views
    4,927

    [SOLVED] Re: GPT messed up, cant boot or access harddrive

    Good. It is likely that either 118786048 or 186845208 are starts of usable linux ext4 partitions. Not sure why the former was 1 sector out in the GPT partition table. Anyhow, we can proceed to...
  19. Replies
    60
    Views
    4,927

    [SOLVED] Re: GPT messed up, cant boot or access harddrive

    Ok, try this. This will show the byte values on the disk for 2048 bytes starting at the given sector. For example, for start sector 76255608:

    sudo dd if=/dev/sda skip=76255608 bs=512 count=4 |...
  20. Replies
    60
    Views
    4,927

    [SOLVED] Re: GPT messed up, cant boot or access harddrive

    I think these are potentially real partitions, although not all of them as some overlap!


    GPT start end sectors size usage
    1 2048 206847 ...
  21. Replies
    60
    Views
    4,927

    [SOLVED] Re: GPT messed up, cant boot or access harddrive

    Would you post the output of

    swapon -s
    and then turn swap off

    sudo swapoff -a

    I am reading through this: https://help.ubuntu.com/community/DataRecovery

    I am trying to figure out how to...
  22. Replies
    60
    Views
    4,927

    [SOLVED] Re: GPT messed up, cant boot or access harddrive

    This is tricky. I think these three are probably real partitions:


    start sector end sector sectors size use
    2048 206847 204800 100.00 MiB ...
  23. Replies
    60
    Views
    4,927

    [SOLVED] Re: GPT messed up, cant boot or access harddrive

    The challenge is to try to find where the original partitions started and ended. The only one that seems known is the 500MB linux.
    Can you run testdisk on sda again and do a "deep search"?
    See:...
  24. Replies
    60
    Views
    4,927

    [SOLVED] Re: GPT messed up, cant boot or access harddrive

    Hi. Well it seems to me that you have inadvertently mangled the partition table of your disk. It doesn't look
    good but it may be possible to do a manual reconstruction of the partition table.
    ...
  25. Replies
    26
    Views
    114,053

    [ubuntu] Re: RAID starting at md127 instead of md0

    Sort of normal. mdadm can create sub-partitions within a single md device. I have never used this "feature" and my brief experiments failed when trying to use normal tools to recognize the sub...
Results 1 to 25 of 250
Page 1 of 10 1 2 3 4