Skip to main content
54 votes
Accepted

Debian: creating Windows 10 bootable install USB-drive using terminal (dd)

I want to understand what is going on Rufus developer here. What way too many people fail to understand, because Linux ISOs are applying this method, but this is essentially a MAJOR HACK CALLED '...
Akeo's user avatar
  • 7,044
35 votes
Accepted

Can't format nor access a detected USB key... "No medium found"

Looks like you "soft" ejected the USB drive. Even though physically there's no separate medium you can eject you can still send an eject command to the USB drive. After that it's still being listed as ...
Dennis Benzinger's user avatar
31 votes

The driver descriptor says the physical block size is 2048 bytes, but Linux says it is 512 bytes

The issue is very similar to the one below, most likely there was a dd command ran over the device that caused the mismatch descriptor. Ask Ubuntu: Unable to delete USB Drive partitions (Block size ...
LitmusD's user avatar
  • 483
26 votes

Resize a partition image with GParted?

I'm not sure what the situation was 5 years ago, but today it's cake. $ sudo udisksctl loop-setup -f disk.img Mapped file disk.img as /dev/loop0. $ gparted /dev/loop0 $ sudo udisksctl loop-delete -d /...
fuzzy7k's user avatar
  • 361
16 votes
Accepted

What are all those partition table type in gparted?

What are those available partition table types in gparted useful for? The options you mention (other than Atari) are covered below (and I guess Atari is there to support Atari partition tables). ...
DavidPostill's user avatar
  • 159k
15 votes
Accepted

How do I remove Windows after installing Ubuntu?

GRUB is not showing a Windows partition; it's showing a Windows boot loader file. This is an important distinction because your misunderstanding is sending you on a wild goose chase. (It sounds like ...
Rod Smith's user avatar
  • 22k
11 votes
Accepted

How do I shrink the partition of an img file made from dd?

On loop images First of all, forget offset=, use losetup --partscan and just mount the partition via /dev/loop0p1. # losetup --partscan /dev/loop0 myimage.img # lsblk # mount /dev/loop0p1 /mnt To ...
grawity_u1686's user avatar
9 votes

The driver descriptor says the physical block size is 2048 bytes, but Linux says it is 512 bytes

I don't want to steal someone else's work; the original contributor is Damiön la Bagh here: https://bugs.launchpad.net/ubuntu/+source/usb-creator/+bug/1708881 Be warned that by performing this ...
Roberto's user avatar
  • 199
8 votes

How to fix partition table ordering?

The best solution I found for fixing the partition order: Enter into the disk partition place: fdisk /dev/sda Command (m for help): m Command action ... l list known partition types ...
jfajunior's user avatar
  • 181
7 votes
Accepted

How can I resize a windows-bitlocker partition with gparted?

The safe way is definitely to decrypt the partition by disabling bitlocker first. Its easy to shrink it then. However, you can also use dislocker to shrink the encrypted partition: Install Dislocker, ...
thi gg's user avatar
  • 311
7 votes

Debian: creating Windows 10 bootable install USB-drive using terminal (dd)

dd isn't the right tool to create a windows bootable USB. The easy way is to use woeusb. Install: sudo apt-get install devscripts equivs gdebi-core cd WoeUSB ./setup-development-environment.bash mk-...
GAD3R's user avatar
  • 3,800
6 votes

ntfsresize says NTFS partition inconsistent but chkdsk doesn't find anything

I was having the identical problem. The problem seems to be that it's necessary to specify which disk to check: chkdsk C: /f /r This fixed the problem. Or possibly it was the fact that I had also ...
user709101's user avatar
5 votes
Accepted

Can I jump move the Microsoft reserved partition in Gparted?

Short answer: Yes, you can move msr to another location with gparted, but you also will need to keep some conditions (described further), otherwise, Windows could not be booted. I explored which ...
Ashark's user avatar
  • 3,818
4 votes
Accepted

How to migrate Ubuntu to a new SSD

I ended up using clonezilla. disk to disk clone with default options. Then on the new drive I just resized the partitions to take up all the unallocated space. https://www.tecmint.com/linux-centos-...
ThomasHunter's user avatar
3 votes

GParted physical block size error

you can use dd if=/dev/zero of=/dev/sdX bs=2048 count=1 This will change the block size of sdX. Then you can create you live-usb. Remember: of=/dev/sdX must point to your usb path. PS. I readed ...
ibrian's user avatar
  • 39
3 votes
Accepted

Cloned old SSD to new, larger SSD - can't align partitions

So from the discussion in the comments I gather these are your goals: Add 240 GiB to sda2, the Windows partition Add 90 GiB to sda6, the Linux partition Currently, the disk is in an illegal (sort-of)...
Daniel B's user avatar
  • 63.9k
3 votes

Debian: creating Windows 10 bootable install USB-drive using terminal (dd)

Used the insights here as motivation to find a way to build a Windows Server 2019 bootable USB drive from Mac OS. The catch is that you need a GPT formatted disk as FAT32 and there are limitations ...
SliverNinja - MSFT's user avatar
3 votes

Copying hard drive partition structure

Is there a way to rename the sda5 to sda4? Yup {and that is why a long answer below this question exists} Am taking my USB pendrive /dev/sdc as example. Modify for your case accordingy First know ...
Madhubala's user avatar
  • 1,882
3 votes
Accepted

Same OS (Windows 10) twice in Dell BIOS boot sequence

EFI supports two kinds of boot entries: User-configurable entries that can point to any bootloader on the EFI System Partition, Automatic entries that are generated if an appropriately-named file ...
gronostaj's user avatar
  • 57.5k
3 votes
Accepted

How to partition a drive that has no partition table without formatting?

I have decreased the size of a partition (at least that is what I believed) using GParted. There is no partitioning on that drive. Somehow you/somebody installed an ext4 filesystem on an ...
sawdust's user avatar
  • 17.9k
3 votes

How to resize system partition in Win 10 on a physical machine when unallocated space is not next to the partition?

From the extra information in your last comment I suspect your disk has both a GPT and a (backup) MBR partition table. This is rare, but not unheard off, especially on a system that has run in UEFI ...
Tonny's user avatar
  • 32k
3 votes

10TB ex-RAID drives only showing 1.1TiB capacity

Sounds like whatever controller you’re using isn’t up to the task. With 512 byte LBAs and a 32-bit number of them, you can address at most ~2.2 TB. As per the extended drive documentation, the real ...
Daniel B's user avatar
  • 63.9k
3 votes

How to properly expand /boot FAT partition (for Arch Linux)

How do I properly back files from a /boot partition? There's nothing special in the EFI (which is what at the /boot mount point by default), it's just a normal FAT partition like any other FAT data ...
phuclv's user avatar
  • 28.4k
3 votes
Accepted

Formating SSD corrupted something

Every major SSD manufacturer has a disk utility program you can download. These utilities will let you detect errors and complete wipe the disk properly. I had a different, but similar issue with a ...
Keltari's user avatar
  • 73.6k
3 votes
Accepted

ext4 cannot delete files after resizing partitions using gparted offline

An ext4 filesystem will normally switch to read-only mode if it detects filesystem corruption or I/O errors. First, make sure you have backups of everything important. Then, unmount /home, run a ...
telcoM's user avatar
  • 4,517
2 votes

Why does GParted make my flash disk bootable? If not malware then what?

GParted always writes the 55AA signature to the MBR even if it is not strictly needed. (As you already mentioned it is only required for a BOOTABLE MBR.) The reason lies in historical compatibility ...
Tonny's user avatar
  • 32k
2 votes

Gparted cannot resize extended or LVM partition

appliance@zabbix:~$ sudo lvdisplay --- Logical volume --- LV Path /dev/zabbix-vg/root LV Name root VG Name zabbix-vg LV Size 15.52 GiB ...
Abdelhak's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible