Page 2 of 2 FirstFirst 12
Results 11 to 15 of 15

Thread: How to access/backup a GPT HDD on *buntu?

  1. #11
    Join Date
    Nov 2011
    Location
    /dev/root
    Beans
    Hidden!

    Re: How to access/backup a GPT HDD on *buntu?

    The screenshots suggest that you mount the partitions read-only. Try that and maybe you can read (copy) the important files

    Code:
    sudo mount -r /dev/sdxy /mnt
    From man mount:

    Code:
    -r, --read-only
                  Mount the filesystem read-only. A synonym is -o ro.
    
                  Note  that,  depending on the filesystem type, state and kernel behavior, the system may
                  still write to the device. For example, Ext3 or ext4 will  replay  its  journal  if  the
                  filesystem is dirty. To prevent this kind of write access, you may want to mount ext3 or
                  ext4 filesystem with "ro,noload" mount options or set  the  block  device  to  read-only
                  mode, see command blockdev(8).
    or maybe you should try (It does not tell if it is relevant for NTFS)

    Code:
    sudo mount -o  ro,noload /dev/sdxy /mnt

  2. #12
    Join Date
    Oct 2009
    Location
    Sydney
    Beans
    4,301
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: How to access/backup a GPT HDD on *buntu?

    Quote Originally Posted by sudodus View Post
    The screenshots suggest that you mount the partitions read-only. Try that and maybe you can read (copy) the important files

    Code:
    sudo mount -r /dev/sdxy /mnt
    From man mount:

    Code:
    -r, --read-only
                  Mount the filesystem read-only. A synonym is -o ro.
    
                  Note  that,  depending on the filesystem type, state and kernel behavior, the system may
                  still write to the device. For example, Ext3 or ext4 will  replay  its  journal  if  the
                  filesystem is dirty. To prevent this kind of write access, you may want to mount ext3 or
                  ext4 filesystem with "ro,noload" mount options or set  the  block  device  to  read-only
                  mode, see command blockdev(8).
    Hi,

    I managed to mount it but when I'm trying to copy the content of 'Users' folder from the internal HDD to an external one, I'm getting many errors using Lubuntu 14.04 LiveUSB.

    Code:
    Error splicing file: input/output error
    It says copying but during that, I'm getting these errors ...

  3. #13
    Join Date
    Nov 2011
    Location
    /dev/root
    Beans
    Hidden!

    Re: How to access/backup a GPT HDD on *buntu?

    Something is wrong. I have not encountered the splicing file error before, and I don't know about it. I don't think it is due to the GPT partition table, rather that there is some error in the file system.

  4. #14
    Join Date
    Oct 2009
    Location
    Sydney
    Beans
    4,301
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: How to access/backup a GPT HDD on *buntu?

    Quote Originally Posted by sudodus View Post
    Something is wrong. I have not encountered the splicing file error before, and I don't know about it. I don't think it is due to the GPT partition table, rather that there is some error in the file system.
    Neither do I
    I don't know what is going on ... it is copying the files but so many errors in the process and yes, all of them are the same:

    Code:
    filename.file-type : Error splicing file: input/output error

  5. #15
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: How to access/backup a GPT HDD on *buntu?

    I have been using gpt since version 10.10 and have had no issues. I do not think any issues you have are because of gpt partitioning but Windows hibernation and/or corruption. And from Linux it is difficult to mount a hibernated Windows system and you cannot run chkdsk to repair Windows file stuctures from Linux.

    Best to have a Windows repair flash drive.
    Windows 8 UEFI repair USB must be FAT32, not for reinstall, just repairs
    http://www.eightforums.com/tutorials...ndows-8-a.html
    http://www.winhelp.us/create-a-recov...ows-8.html#USB
    http://social.msdn.microsoft.com/For...-166dddf32205/
    http://www.ghacks.net/2012/11/01/how...m-repair-disc/

    With gpt you should not dd copy a partition as partition table, backup partition table & partitions have internal data that must be in sync. It may be possible to fix gpt internal data with gdisk but better to dd image an entire drive if that is what you need to do.
    UEFI boot install & repair info - Regularly Updated :
    https://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

Page 2 of 2 FirstFirst 12

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
  •