When I open gparted, I get the following warning:     /dev/sdb contains GPT signatures, indicating that it has a GPT table.   However, it does not have a valid fake msdos partition table, as it should. Perhaps it was corrupted—possibly by a program that doesn't understand GPT partition tables. Or perhaps you deleted the GPT table, and are now using an msdos partition table.  Is this a GPT partition table?   This is on a SSD if it makes any difference.  What is this and how do I fix it?
120460
This is what I got while trying to format a partition in my pendrive:     Error deleting partition /dev/sdb1: Command-line parted --script "/dev/sdb" "rm 1"' exited with non-zero exit status 1: Warning: /dev/sdb contains GPT signatures, indicating that it has a GPT table.  However, it does not have a valid fake msdos partition table, as it should.  Perhaps it was corrupted -- possibly by a program that doesn't understand GPT partition tables.  Or perhaps you deleted the GPT table, and are now using an msdos partition table.  Is this a GPT partition table?      Error: Both the primary and backup GPT tables are corrupt.  Try making a fresh table, and using Parted's rescue feature to recover partitions.  (udisks-error-quark, 0)
112815
I am doing a dd on two identical drives with this command:   dd if=/dev/sda of=/dev/sdb bs=4096   Both hard drives are the exact same model number, and both have 1TB of storage space. /dev/sda  uses a blocksize of 4096. /dev/sda is a local drive and /dev/sdb is a remote caddy. I might be able to use the following protocols:   USB2.0 HighSpeed (Currently the plan) Gigabit Over-The-Network clone (Really do not want to even try this) USB3.0 (If I find my other drive caddy) eSATA (If I find/buy a cable) SATA (If I find/buy a cable, gotta love laptop CD drives)   Is there a way to run this drive copy that takes less that 96 hours? I am open to using tools other than dd.  I need to clone the following partitions (including UUIDs)   Fat32 EFI Partition (*) NTFS Windows Partition (*) HFS+ OSX Partition  EXT4 Ubuntu Partition (*) Swap Partition (*)   * Supported by Clonezilla    I have tried Clonezilla (and it was MUCH faster), but it does not support HFS+ smart copying, which I need. Maybe the newest version supports this?  When I made my first clone, I did all of the partitions except HFS+ and it went very quickly. (No more than 3 hours total)
59138
I have a Transcend Storejet external USB hard disk. This is not an SSD, but a mechanical disk with rotating plates. I have formatted the whole disk, without partitioning, as NTFS. I have used mkntfs tool under Linux.  When plugged into a Linux machine, the system sees a drive with two partitions (/dev/sdc /dev/sdc1 /dev/sdc2). However, as I know it is a partitionless disk, I can mount the whole device (mount -t ntfs /dev/sdc /mnt) and it works without any problems.  When plugged into a MS Windows XP machine, the systems sees a disk with two unformatted partitions, and it does not assign a drive letter to either the whole disk, nor to any of the partitions.  Would anyone know how to get MS Windows to mount my disk as a NTFS superfloppy?  I have already tried removing old USB mounting points and residual devices using 'DriveCleanup'. It did not help.  By the way, I also have an external Kingston USB SSD, also formatted as NTFS superfloppy, without partitioning. However, this one is recognized and mounted normally by MS Windows.
52764
Problem statement: I have an external USB drive that won't mount.   Context:   I neither have nor desire access to MS Windows.  See 1.  External USB drive is NTFS formated. There is no RAID. I've been a Linux user for many years and am not afraid of the CLI.  I would rather not wipe it and start from scratch but it isn't critical if I can't avoid it.    Error looks like:  Error mounting /dev/sdc1 at /media/dude/External HD: Command-line `mount -t "ntfs" -o "uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000" "/dev/sdc1" "/media/dude/External HD"' exited with non-zero exit status 13: $MFTMirr does not match $MFT (record 0). Failed to mount '/dev/sdc1': Input/output error NTFS is either inconsistent, or there is a hardware fault, or it's a SoftRAID/FakeRAID hardware. In the first case run chkdsk /f on Windows then reboot into Windows twice. The usage of the /f parameter is very important! If the device is a SoftRAID/FakeRAID then first activate it and mount a different device under the /dev/mapper/ directory, (e.g. /dev/mapper/nvidia_eahaabcc1). Please see the 'dmraid' documentation for more details.  (udisks-error-quark, 0)
68875
I am setting up my system. The features of it are:   GPT partition table (not sure how important this is) Triple boot - Gentoo, Debian and Mint. Custom kernel (kernel git repo) shared amounst distros.   Now I am wanting to write my own lines for grub and not have the distros place their own lines in grub. I also don't really want one distro to have the role of creating the grub.conf file.  As everybody is advocating the scripts, there is no one mentioning about hand crafting one. I am fairly sure editing it by hand is safe, so long as I make sure no script touches it.  Another solution that I might be forced into is to configure every distro the same way (no kernels in menu, keep the custom config synced between distros), or just use one distro to manage the boot.  How should I implement this?
23848
How do I find gparted in Ubuntu, searching from the launcher sends me to Wiki or shopping?
88585
I have a USB where I'm coping an ISO of 5 Mb aprox with a small OS with its own grub. If I connect the device and check it sudo fdisk -l I get:  ... Device     Boot Start   End Sectors  Size Id Type /dev/sdb1  *        1  9551    9551  4.7M cd unknown   If I copy with dd the ISO sudo dd if=my_os.iso of=/dev/sdb   14852+0 records in 14852+0 records out 7604224 bytes (7.6 MB) copied, 0.538487 s, 14.1 MB/s   It works perfectly. An boot from BIOS in other PC.  The problem is, sometime I forget to connect the USB after update the BIOS, so I do ff WITHOUT the USB connected,  the output is:  14852+0 records in 14852+0 records out 7604224 bytes (7.6 MB) copied, 0.00987684 s, 770 MB/s   Now, the /dev/sdb register is corrupted, the copy speed (770 MB/s) have no sense, and cannot user again dd until reboot.  I have tried to repair it with ddrescue and it doesn't work  sudo ddrescue /dev/zero /dev/sdb conv=noerror,sync   My question is, what is happening exactly and if is possible, how to repair /dev/sdb to avoid reboot and dd start working again?  Thanks.
16159
I have a rooted device, with superuser rights granted to a few apps I trust. I have often found my /system or /vendor partition mounted read/write, and some files chmoded to 0777. Similarly directories/files with random names are created/deleted (e.g. /sdcard/.a03Degpoif), .nomedia files are created inside them to hide their contents from gallery etc.  logcat/dmesg contains no traces of all this happening in background. This doesn't happen periodically but in a slapdash way, internet connectivity isn't a condition either. I have tried disabling/uninstalling apps, looking for any suspicious processes running, but couldn't identify the culprit(s).  Is there a way to figure out who is doing this?
28330
I have encountered a nearly identical issue to the one  (and this too: ), but my hard drive's main partition is formatted in APFS. When I tried correcting the GUID error as shown in the answer, after reaching the step in which the following command: gpt add -i 2 -b 409640 -s 372637568 -t APFS /disk0 had to be entered, it returned an error: usage: gpt add [-b lba] [-i index] [-s lba] [-t uuid] device ....     I cannot boot into macOS, my computer is in internet recovery environment. What's the uuid of the new APFS format? I cannot seem to find it anywhere in the web, and my computer isn't detecting the type of the main macOS partition. My computer's model: MacBook Pro late 2013. My data is not backed up and I would really love to recover it. Update:  gpt -r show disk0:    Update: I created a MacOS High Sierra Installation disk, and rebooted to it. The new disk utility does not recognize the disk0s2 partition at all, and diskutil list included the size of the main osx partition in GUID_partition_scheme part of the disk. Would it be possible (and how) to recover the data of the deleted partition (s2) if I reinstalled macOS on an existing unused partition (the Linux partition disk0s4)?
51471
I just installed gparted because I have a 135 GB flash drive that I want to use for bootables for different OSs.   After I installed gparted and opened it from the Dash, I got the prompt for my password, entered it, the window closed, cursor turned to the loading symbol, I waited, the cursor went back to normal, that was it.  I installed it with sudo apt-get install gparted.  The output from gksudo gparted is  Error copying '/home/amolith/.Xauthority' to '/tmp/libgksu-k9KFpI': No such file or directory   The output from gparted-pkexec is  Created symlink /run/systemd/system/-.mount → /dev/null. Created symlink /run/systemd/system/boot.mount → /dev/null. Created symlink /run/systemd/system/run-user-1000.mount → /dev/null. Created symlink /run/systemd/system/run-user-120.mount → /dev/null. Created symlink /run/systemd/system/snap-core-2381.mount → /dev/null.   Created symlink /run/systemd/system/tmp.mount → /dev/null. No protocol specified  (gpartedbin:6347): Gtk-WARNING **: cannot open display: :0 Removed /run/systemd/system/-.mount. Removed /run/systemd/system/boot.mount. Removed /run/systemd/system/run-user-1000.mount. Removed /run/systemd/system/run-user-120.mount. Removed /run/systemd/system/snap-core-2381.mount. Removed /run/systemd/system/tmp.mount.   Any help would be greatly appreciated.
15103
So I've been having some trouble recently with Ubuntu and decided it was time to switch to windows. But I have no ntfs partitions on my hard disk and GParted will not let me resize my one large partition (/dev/sda1) so that I can allocate some ntfs space to install windows on.  Any help would be greatly appreciated, I've had this problem for quite some time now and it had just become one big headache.  Thanks in advance!
21132
I could use a pointer on fixing the fstab problem to restore earlier working order. I dont have owner in mnt directory and its all snafu. Thank you very much. I tried changing the mount point of a external HDD. Failed. This is the end. mount /dev/sdc  mount: /dev/sdc: can't find in /etc/fstab.  When mounting it with Disks this appears: Error mounting filesystem Error mounting system-managed device /dev/sdc1: unknown filesystem type 'nosuid,nodev,nofail,noauto,x-gvfs-show' (udisks-error-quark, 0) Editing mount options in Disks this appears: Error removing old /etc/fstab entry Didn't find entry to remove (udisks-error-quark, 0) Thank you again.
54675
I am trying to mount some of my hard drive and USB but getting this error  Error mounting: mount exited with exit code 1: helper failed with: mount: only root can mount /dev/sdd1 on /media/sdd1   how can I fix this?  There is no drive by the name of /dev/sdd1 and no /media/sdd1 cause when I try to unmount/detach it I get:  root@sysadmin-MS-7592:/home/sysadmin# udisks --unmount /dev/sdd1 Unmount failed: Device is not mounted  root@sysadmin-MS-7592:/home/sysadmin# udisks --detach /dev/sdd1 Detach failed: Device is not a drive
20954
I'm using the  for quite a long time; but after exporting my key storage and gpg keys to another machine I see following output:  $ gpg --list-key /home/shved/.gnupg/pubring.gpg ------------------------------ pub   2048R/FA829B53 2015-04-28 uid       [ultimate] Yury Shvedov (shved) &lt;shved@lvk.cs.msu.su&gt; sub   2048R/74270D4A 2015-04-28   My key imported and trusted, but not usable:  pass insert test Enter password for test:  Retype password for test:  gpg: 2048R/FA829B53: skipped: No public key gpg: [stdin]: encryption failed: No public key fatal: pathspec '/home/shved/.password-store/test.gpg' did not match any files   What can I do to use my key again?
45397
I have got a dual boot system here with a couple of partitions:     Windows 7 OS partition Another partition for office data One partition for Ubuntu And of course one 100Mb partition auto-made by Windows And just like Windows one swap partition by Ubuntu   Of course, I wanted to have a separate partition for /boot and /home which I have not got here, so I would like to do that if it’s possible. Can I install GParted in my system and create a new partition by shrinking my existing / partition, then mount /home under it somehow? I don't want to mess up my system. Some concrete advice required here.
102876
This question has been answered before in many places but I just need some confirmation with my specific setup. I have Linux Mint installed and I just want a fresh Ubuntu 12.04 install to completely replace Mint. It's dual booted with Windows 7 and I want that to remain completely in tact.  Anyway, I'm currently running the Live CD installer. I've said I want to specify my own partitions and I'm at the following screen:     The list at the bottom expanded:     I confused by all the different partitions. Seems like I should just check the box beside sda5. But what about sda6? Do I just leave that alone?  Also just for confirmation, is the "right" way to replace Mint, or should I be deleting it first?
69891
On my machine, fdisk -lu /dev/sda displays following output:     Device Boot      Start         End      Blocks   Id  System /dev/sda1   *        2048    73947135    36972544   83  Linux /dev/sda2        73949182    78139391     2095105    5  Extended /dev/sda5        73949184    78139391     2095104   82  Linux swap / Solaris   What is this "blocks" unit? Is one "fdisk block" a 1KiB? Where does this unit come from?