Questions tagged [partitioning]

When you create two or more logical volumes (drives) from one physical hard disk (or other storage device), you're working with partitions.

Filter by
Sorted by
Tagged with
10 votes
2 answers
22k views

Restoring factory recovery partition (Samsung)

I have upgraded the hard disk in a Samsung laptop and would like to restore the "Press F4 for recovery" partition. My new disk has three partitions, System, Windows, and Recovery. I did a dd ...
3 votes
1 answer
263 views

Repartition luks encrypted disk to add a partition

I have installed Debian on VMware, I think I chose one of the debian-installer options to manage luks encryption and LVM partitions with separate /home, /var and /tmp partitions. Here is the output of ...
1 vote
2 answers
4k views

Ubuntu partition won't boot after cloning using dd

I have a Ubuntu 14.0.4 server. The goal is to have kickstart install 2 Ubuntu installations side by side dual-bootable. Ubuntu is installed OK on sdaX. I have used dd to clone this to sdaY. I have ...
47 votes
5 answers
401k views

How to create an EFI System Partition?

TL; DR How do I create an EFI system partition from scratch? How do I put the EFI firmware on it onces it is created? Long version I hava Toshiba T430 laptop. I received it with Windows 7 installed (...
0 votes
1 answer
308 views

Why does Windows 10 not reflect partition resize I did in gparted?

I am trying to give Windows 10 more space on my 256GB SSD by expanding into unused space which I previously use for linux. You can see the partition map as windows sees it in the screenshot. The weird ...
0 votes
1 answer
158 views

How to merge unallocated hard drive space with remaining drive

I have a 3TB hard drive that has ~700gb of unallocated space not being used. How can I merge this space with the rest of the drive? Do I need to reformat the drive? I cannot delete the unallocated ...
0 votes
1 answer
14k views

Why do I have 4 partitions?

I wanted to install another OS on my laptop but I noticed that I already have 4 partitions the first is Healthy EFI Partition then Recovery then C: then Restore Partition. Should I remove one? If so ...
1 vote
2 answers
829 views

Restoring Windows Apps (UWP) after cloning an internal disk drive

I've just cloned an internal HDD 1TB to a different 2TB disk using Minitool Partition Wizard, also expanding the partition size to the full available space. This computer is running Windows 10 patched ...
1 vote
1 answer
11k views

Hard drive showing 333 MB of used space even though there are no files?

I've been using an external hard drive for quite some time, and recently I've upgraded to an internal drive and therefore moved all of my files from the external hard drive to the internal one. Now my ...
0 votes
1 answer
84 views

ext4 cannot delete files after resizing partitions using gparted offline

Recently I tried to install a package and got a message saying I didn't have enough space. I guess 25 Gb isn't enough. I downloaded a GParted iso, tossed onto a thumb drive, etc, etc. Everything went ...
1 vote
1 answer
10k views

How to clear hidden attribute from partition if "attributes volume clear hidden" fails with "Virtual Disk Service error: The object is not found."

After select volume [n] in diskpart attributes volume clear hidden fails with Virtual Disk Service error: The object is not found. I found some forum threads which might contain a solution (http://...
1 vote
1 answer
4k views

SSD showing up with over a dozen *tiny* fake disks in `diskutil list`

I bought a new SSD from Other World Computing. Unfortunately, now that I've got it installed, it's showing up as 14 individual disks, only one of which is actually of the advertised size: Meanwhile, ...
0 votes
0 answers
63 views

Why 892 bytes altered not 446 bytes? 446x2=892 bytes [duplicate]

Experiments were done, before re-purposing a disk: re-purposing = delete all data re-purposing = delete all partitions re-purposing = fill disk with all zeros re-purposing = confirm all zeros, confirm ...
0 votes
1 answer
75 views

Windows 11 disk will only boot when Windows 10 disk is also present

I have a laptop which came with a small NVME SSD with windows 10. I later added a second, larger, NVME SSD and installed Windows 11, which works fine as a dual boot machine. However, when I remove the ...
14 votes
2 answers
29k views

LBA and sector size

Does LBA always specify sectors as 512 bytes even if the drive is formatted with 4K sectors? Because I read that you should format the partition boundaries so that the 4K clusters line up with 4K ...
0 votes
1 answer
4k views

Fix MacOS Mount Point

I accidentally ended up renaming my non-OS partition originally named Sanu and mounted on /Volumes/Sanu. I then tried to rename it using get info but it didn't work. So I fired up terminal, did cd /...
0 votes
1 answer
66 views

resize ext4 container file [closed]

I created an ext4 file container with 16GB of space. dd if=/dev/zero of=./container_16GB.img bs=1M count=16384 mkfs.ext4 container.img It is nor problem to mount this container file but is it also ...
0 votes
1 answer
165 views

Freshly Provisioned Cent-OS occupies a lot of space for "/dev/mapper/centos-root"

I created a fresh VM, however I started facing space issues as soon as it got created. From the du and lsblk command I see /dev/mapper/centos-root is occupying a lot of space. I tried running tree ...
0 votes
0 answers
87 views

System Reserve/Windows 11 Update

Hopefully this won't be too convoluted. I started by trying to convert an MBR disk to GPT. I was doing this so I can enable secure boot in the BIOS and then I would have the requirements to upgrade to ...
1 vote
3 answers
4k views

How to partition a Free Space using parted

During the installation of my ubuntu server, I had to leave a big space of my hard drive for specific service. Well, I forgot to to partition it up and leave it mounted during installation. Right Now, ...
2 votes
0 answers
156 views

Partitions on a TF card are not working as expected; third partition is not seen

I want to create three partition in a new brand TF card (not micro SD), but I can't sort it out! What I did up to now: create a disk partition table fdisk -l /dev/sdd Disco /dev/sdd: 250 GiB, ...
1 vote
0 answers
12 views

Strange folders name with GNU Grub Shell

Accidentally, I delete EFI partition or some partition that I don't really know (just bcz I didnt read docs carefully and delete a random one :<). However, when I reboot my laptop, it shows GNU ...
0 votes
1 answer
200 views

Resize an OpenBSD *fdisk* partition

I have cloned an OpenBSD qemu image into a physical hard drive and everything works but the fdisk partition dedicated to OpenBSD has the same size it had in the virtual machine and most of the excess ...
1 vote
1 answer
295 views

USB drive detected as a char device (not block device) on Linux?

I have a Kingston's DataTraveler SE9 (8G, SerialNumber: 0014785448B4BCA13728002A), and I myself am running Pop!_OS, and I can't seem to figure out why it's not being detected. Not in a Windows system ...
1 vote
2 answers
1k views

How to fix corrupted USB flash drive?

My USB flash drive was working perfectly fine until I plugged it in the back of my school computer to show my project. The USB flash drive did not show up there. When I brought it home and plugged it ...
5 votes
4 answers
8k views

USB totally damaged after used with Rufus

Attempted to create a FreeDOS bootable drive with Rufus. The process failed and the drive was damaged. Software: Rufus 3.8p System: Windows 10 Enterprise 1709 x64 A lot of times when a similar ...
0 votes
2 answers
274 views

How to test for ext4 Partition? Not ext4 Filesystem

using: neofetch --stdout |grep 'OS:' OS: Kubuntu 22.04.3 LTS x86_64 Start Update Question due to someone deleted information: No interest in testing for ext4 Filesystem. lsblk -n -o FSTYPE /dev/sdb1 ...
0 votes
1 answer
81 views

How to convert ext4 partition on raid 1 to btrfs?

I'm trying to convert two ext4 partitions that are on raid 1 with mdadm to btrfs. When i try to run fsck.ext4 /dev/md0p2 fsck.ext4 /dev/md0p3 They return with e2fsck 1.46.5 (30-Dec-2021) /dev/md0p3 ...
2 votes
1 answer
253 views

How can I create a single partition from three different disks to install Windows on it?

I have 3 disks: 1TB, 512GB and 512GB. Is there any way to create a single 2TB partition and install Windows 10 on it? Data safety is not important.
0 votes
0 answers
41 views

Is there a way to make a multi core/cpu system combine its threads and emulate a smaller thread but faster processor? [duplicate]

I have a program that is dependent on the single core efficiency of a CPU. I know a server can emulate multuple different systems at once, dividing its threads to each system. I am wondering if a ...
0 votes
0 answers
68 views

How can i move those red tiles at the end of the disk in order to make a partition? Windows-11

See the tiles here. Thanks for the help!
5 votes
1 answer
40k views

Convert drive from exFAT to NTFS without losing contents (Workaround)

I have a 5TB external drive with about 200GB of data in it. I want to convert it from exFAT to NTFS but without losing its contents. Currently I have no way to backup the data on the drive, so I need ...
0 votes
0 answers
62 views

Copying one partition at a time doesn’t result in a bootable drive. Why? How to fix?

Instead of using clone software, I wanted to copy, one at a time, each partition on my C: boot drive to a larger drive. I did this with no errors (used mini wizard to copy one at a time) I thought it ...
4 votes
1 answer
3k views

How can I see my GUID partition table (gpt) physically with hexdump?

With hexdump, I can see the binary content of the master boot record, for example. Similarly, I want to see what my gpt looks like. Is it located in EFI System Partition somewhere? I have only found ...
0 votes
0 answers
175 views

How do I reduce the space allocated for Persistent Storage on my Ubuntu Live USB?

I used Rufus to create a Ubuntu 22.04.3 LTS Live USB with persistence. However, I allocated all of the remaining drive space for the Persistent Storage, thinking that it could be accessed and used as ...
4 votes
1 answer
301 views

Copying raw partition sequentially, in chunks, with error recovery

Normally if I want to copy a raw partition /dev/sdaX (with i/o errors when reading), I would just go with ddrescue <src> <dst>. The case here is that I'd like to be able to copy this ...
2 votes
2 answers
8k views

Is it possible to split partition on Bitlocker encrypted drive?

I'm currently using Bitlocker encrypted external hard drive. It's single partition and the entire disk is encrypted. I'd like to split the single partition into two partitions while enabling ...
0 votes
1 answer
155 views

How can I have a "main" bootloader, on the first partition? (UEFI)

I tried dual booting Windows and Xubuntu using a different approach. (It worked, but it wasn't the best) Instead of doing what I belive most people do, which is replacing the Windows bootloader with ...
0 votes
0 answers
38 views

Accidentally ran `mkfs.ext4` on my `/boot` partition (fedora 36)

I pulled a total amateur-hour move and ran mkfs.ext4 /dev/nvme0n1p2 on accident the other day while trying to troubleshoot a hosed retropi sdcard. /dev/nvme0n1p2 was my /boot partition on my work ...
0 votes
1 answer
3k views

How to Restore Windows 10 from EFI system backup to a BIOS only system?

I have a backup of my System's partitions that I want to restore to a machine, this destination system doesn't support UEFI mode, in which WIndows 10 was first installed. My Windows 10 system booted ...
0 votes
0 answers
482 views

I'm getting the "mmc0: card never left busy state" for an SD card that Windows happily recognises and formats. What can I do to make it work on Linux?

I went and bought a steam deck, and decided to get an SD card for it - a Hunyeiz thing from a Kodak shop. After a messy time accidentally formatting it poorly, hastily typing console commands given to ...
12 votes
3 answers
27k views

How to correctly partition usb flash drive and which filesystem to choose considering wear leveling?

Two problems. First one: how to partition the flash drive? I shouldn't need to do this, but I'm no longer sure if my partition is properly aligned since I was forced to delete and create a new ...
-2 votes
1 answer
86 views

Can't restore partition table

I wanted to install Ubuntu on my Asus ROG laptop. I previously installed a second NVME SSD and used it under Windows to store stuff. I did, however, leave ~200GiB free for a Linux installation. When I ...
1 vote
1 answer
136 views

Consequences of a screwed up recovery environment?

So I recently upgraded a machine to Windows 11 and for some reason, the partitions got messed up. I managed to follow a tutorial and used diskpart to convert a normal partition into a recovery ...
1 vote
1 answer
266 views

SSD cannot be recognised on Windows and LInux

I recently bought a new SSD to replace the one in my laptop. I took the old SSD out and stuck it in an external enclosure, planning to use it as an external drive. When I first plugged it in to ...
0 votes
1 answer
481 views

How to best repair a lost or broken partition on a valued external hard drive without losing data

Can an unallocated external hard drive be repartitioned directly and made usable without losing data and without need to reformat? (Windows 10, 64 bit) My external hard drive's partition has for ...
-1 votes
1 answer
2k views

Cannot assign drive letter to SD card partition

I flashed a custom firmware to an SD card for a little hand held console called Bittboy Pocket Go. After flashing it, I tried using minitool partition to expand the partition and assign a letter. It ...
1 vote
4 answers
5k views

Am I using foremost (disk recovery tool) correctly?

I have a MacBook, and I meant to do a dual boot with Ubuntu, but after I created the partitions, I clicked "Erase disk and install Ubuntu", so the partition I had created for Ubuntu was not utilized, ...
7 votes
3 answers
9k views

Move a LUKS partition to the left and resize it

I have a LUKS encrypted partition that is NOT into an LVM volume manager. It's at the end of the hard drive, and its size is 250 GB, but I want to add 50 more GBs to it. I would normally use GParted ...
8 votes
3 answers
3k views

No space left in device error despite being empty

Why am I getting No space left on device when I try to create more than 32767 files in my vFat USB Flash Drive? Info Flash drive is empty (freshly formatted) $ df -H > Filesystem Size Used ...

1
3 4
5
6 7
148