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.
7,273
questions
0
votes
0
answers
23
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
27
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
11
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 ...
0
votes
0
answers
19
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 ...
-1
votes
0
answers
39
views
Confusion on using convert to GPT partition from command line[Windows 10 installation]
I am installing Windows 10 on UEFI Mode on a computer with preexisting Windows 7 with MBR partition.
I have 4 partitions created using MBRnamely C,D,E,F.
Now when I try to install Windows 10 in UEFI ...
1
vote
1
answer
40
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
54
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 ...
1
vote
1
answer
110
views
How to fix corrupted USB drive
My pendrive was working perfectly fine until I plugged it in the back of my school computer to show my project. The pendrive did not show up there. When I brought it home and plugged it into my ...
-1
votes
0
answers
20
views
The storage in my partitioned drives are not adding up [duplicate]
I recently bought a Samsung 870 EVO 4TB SSD. I was not sure of what the total usable capacity was before I partitioned it into 2 volumes. In a perfect world I wanted to partition it into 2 volumes of ...
0
votes
0
answers
48
views
Recovering SSD files - no partition and testdisk takes long with errors [closed]
I need to recover files from a SDD which I may have formatted a while ago after it stopped being readable on Windows. It is an SDD and probably wasn't older than 4 years when it stopped being readable....
0
votes
0
answers
38
views
Is adding a macOS partition while having Ubuntu installed possible?
I want to add another partition to my Late 2014 Mac Mini that has Ubuntu 22.04 installed. However, there seems to be one partition that I cannot move called disk0s2.
This contains 251GB of the ...
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 ...
0
votes
1
answer
57
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 ...
0
votes
1
answer
46
views
Trouble booting in any OS / USB disk
Recently, I have installed Linux MINT into a separate partition next to Windows. But then I realized that I installed the wrong version, so I deleted the partition MINT was installed on.
Ever since, ...
0
votes
2
answers
41
views
How to prevent small ISO from marking incorrect size on large target drive?
I am trying to write a 20GB iso to a 200GB hard disk. However, when I do this, the partition table from the ISO seems to carry the 20GB drive size marking with it, so that KDE Partition Manager thinks ...
0
votes
0
answers
42
views
Can't install windows 10 - "Couldn't find info for boot disk [1]"
Sorry for posting the logs as a photo, I couldn't copy it from the PC. I used to have Ubuntu Server installed on that computer and I decided erase everything and install win 10. In the window where I ...
1
vote
1
answer
24
views
Rescue of a live system after deleting LVM signature when recreating partition of new size
I have done something stupid, I'll admit right away. Thankfully, it was done on a test system.
I have a DNS server running in a virtual machine on an ESXi 6.7 host.
The DNS server required some more ...
1
vote
1
answer
180
views
With raw disk, before Partition, before filesystem, how to map bad blocks?
using:
neofetch --stdout |grep 'OS:'
OS: Kubuntu 22.04.3 LTS x86_64
After zeroing disk with:
time sudo dd if=/dev/zero of=/dev/sd_ bs=1M status=progress #Zero_disk_delete_wipe
We have ...
0
votes
0
answers
19
views
How to output disk size in GB only with no rounding error? [duplicate]
Output disk size in GB only. Giga Bytes only.
Not MB. Not Mega Bytes.
Not TB. Not Tera Bytes.
Tested thus far:
sudo blockdev --getsize64 /dev/sda
1000204886016
sudo blockdev --getsize64 /dev/sda |...
0
votes
1
answer
48
views
How to output disk size in GB only with no rounding error?
Output disk size in GB only. Giga Bytes only.
Not MB. Not Mega Bytes.
Not TB. Not Tera Bytes.
Tested thus far:
sudo blockdev --getsize64 /dev/sda
1000204886016
sudo blockdev --getsize64 /dev/sda |...
0
votes
1
answer
41
views
Why diskmgmt shows many partitions when its the same partition?
Diskmgmt shows many partitions on DISK 0 when it's the same partition, why is that happening?
Also when I select one of those so called partitions it highlights all the partitions.
I included a photo ...
0
votes
0
answers
37
views
Why 892 bytes altered not 446 bytes? 446x2=892 bytes
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
2
answers
52
views
How to repartition the main disk without disabling Windows recovery partition?
I want to add a partition to my main disk, the one that has C drive.
I am running Windows 10.
Currently, to the right of the C drive I have my Recovery partition.
I do know how to shrink the C drive ...
-1
votes
1
answer
34
views
Why is my external hard drive so slow to boot xubuntu?
I've got a external hard drive, partitioned, with an NTFS and a Fat32 partition. I've got random stuff on the NTFS and i'm trying to install Xubuntu onto the Fat32 partition.
I've created a Xubuntu ...
0
votes
0
answers
44
views
Linux - Old MacBook Air - SSD not found
I have a MacBook Air that only supports macOS Catalina.
I tried 'upgrading' it by installing Linux Mint on it.
That worked fine for a while, untill it crashed, and now it won't boot again.
I tried a ...
0
votes
0
answers
56
views
Bootable Windows USB UEFI and GPT table
I have an Windows 10 iso
I have an SD card with an SD card reader (basically a slow pen drive)
I have created an GPT partition table on the pen drive* with one partition of full space.I have copied ...
1
vote
1
answer
46
views
Make GPT partition tables accept variable volume size
I often copy SD-cards or other flash drives used as system disks for small computers (Raspberry Pi, NVidia Jetson, small x86 PCs) to image files for backup.
However, when restoring those backups, the ...
0
votes
1
answer
39
views
How to compact VirtualBox VDI file with free space at the end of the disk?
I've a Debian 8.5 guest in Ubuntu 22.04 Host, and a while ago i expanded space from host terminal stopping guest with VBoxManage modifyhd --resize option in a direct way, booting guest and expanding ...
0
votes
0
answers
59
views
Create 4 MB (not GB) partition on memory card
I have a very old piece of equipment that requires a 4 MB (not GB) PCMCIA card. Those aren't available any more. So I bought a PCMCIA adapter with a CF card. I am trying to create a 4 MB partition, in ...
0
votes
0
answers
98
views
Mac Partitioning Error (-69624)
I'm trying to create a partition on my Mac so I can run Debian, but whenever I try to partition my disk I get this error:
I've factory reset my Mac, and tried partitioning in recovery mode. I'm not ...
1
vote
0
answers
38
views
How to move files from the end of the drive to the beginning to allow for a partition?
I am trying to create a partition of 100GB on a 900GB SSD. However, when I go to create the partition Widows Disk Manager says that there is only 1 GB of available space even though File Explorer says ...
0
votes
0
answers
44
views
Can't mount, open or list external HDD
I can't format my hard drive. I think I have formatted it with EXT4 some months ago and secured it with LUKS.
dmesg gives me this:
[ 105.101317] usb 2-1: new SuperSpeed Gen 1 USB device number 4 ...
0
votes
0
answers
55
views
BTRFS after multiple power outages bad checksum
After multiple power outages, btrfs have bad checksums, is it possible to recover it?
Outages were on Dell R740xd with PERC H730P Adapter looks like the cache was unwritten.
now trying to recover in ...
-1
votes
1
answer
42
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 ...
-2
votes
1
answer
66
views
How can I find out If a disk partition is safe to delete?
Windows 11
I'm just looking through Disk Management and noticed there's a 93GB "Primary Partition" with 100% free space. How can I find out what that partition is used for?
I thought a "...
1
vote
1
answer
65
views
How can I re-install Windows 10 on a GPT drive?
My motherboard is GA-970-UD3 with Phenom II x4 955
NVIDIA GeForce GTX 960
I have just fitted a 4Tb Seagate Barracuda as my 1Tb Barracuda had failed after around 6 years.
12 gig memory (3 x 4gig all ...
0
votes
1
answer
39
views
How can I find the correct disk number of the hard drive installed in the computer?
I installed a new Kingston nvme m.2 ssd to my hp 15da2014TX laptop. My old drive is an HDD. Both drives are 1TB.
I want to clear the Kingston drive but, I am afraid to do it because I can't ...
0
votes
2
answers
49
views
Why does boot.ini work with `partition(1)` but not with `partition(2)` when Windows is actually on partition 2?
I have an MBR drive with a Windows XP installation on partition 2, which boots using a boot.ini entry that specifies patition(2). The partition table initially looks like this:
1. Windows recovery ...
-1
votes
1
answer
109
views
I want to delete Linux Ubuntu from my computer
I have two storage devices on my computer:
C: SSD 500gb with Windows 10 on it.
D: HDD 1TB with Linux Ubuntu on it.
I want to delete Linux from the D: drive while keeping the rest of the data on that ...
0
votes
1
answer
185
views
Can I Delete All Partitions Before Fresh Installation Of Windows 11
Hey guys please I'm thinking of reinstalling Windows 11 on my ASUS G14 2020 model but I'm worried about breaking something. The current partitioning looks chaotic to me.
Is it possible to delete and ...
0
votes
0
answers
71
views
What exactly triggers Windows to move its pagefile.sys to another disk or partition?
I run a number of test systems with Windows 10 Professional installed. All of these systems have a SSD drive with three partitions (C:, D:, and E:) installed. All systems are setup exactly the same ...
0
votes
2
answers
163
views
Installing "bootable USB" programs (Gparted, Clonezilla, Memtest, etc.) to internal drive partitions - Bad idea?
Is there any reason why it might be a bad idea to take programs that are typically installed as bootable USB drives and instead create an appropriately sized partition for each of them on the internal ...
-1
votes
1
answer
150
views
Is it possible to install windows 10 on old BIOS Pc with GPT drive?
I have a GPT formatted SSD Drive that I have moved from a rather new laptop to an older one that has an old BIOS.
The drive has multiple partitions including Linux that I don't want to remove and a ...
0
votes
0
answers
32
views
Restore 20TB Harddrive after installing 2GB Operating System [duplicate]
Here's what happened:
I ran the Fedora Media Write from here (https://fedoraproject.org/fmw/FedoraMediaWriter-win32-latest.exe) and selected my hard-drive, not by accident there was just no warning it ...
0
votes
2
answers
547
views
How to expand ubuntu server root storage?
I have a windows server inside of which there's an Ubuntu 22.10 server, more space was given to VM of Ubuntu. But inside of Ubuntu, when I connect through SSH, it shows that it's still the same size. ...
0
votes
1
answer
86
views
How to boot GParted Live from USB-C drive on a Dell Precision 7540 Laptop?
I want to partition my system (to install dual boot option for Windows/Ubuntu) using GParted. I downloaded and installed the GParted ISO Image and installed it on an USB (C) Stick using UNetbootin.
...
0
votes
1
answer
43
views
How to extend windows partitions, and how to solve C: partition extension issue [duplicate]
The C: drive needs more storage space on my system drive.
When I take some space from D: drive, the space out is a free space,
the space needed is unallocated space to merge it into C: drive.
how can ...
0
votes
1
answer
50
views
What are options to set up a new portable SSD for newer and legacy Windows computers?
I bought a new 4TB M.2 NVME and an external M.2 enclosure for it. I want to set this up to be used like portable storage (used like "flash" storage), so that it can be used on a new Win 11 ...
1
vote
1
answer
61
views
How to secure specific folders on a portable SSD that works on multiple devices?
I use a portable SSD with different devices such as Windows PCs and Samsung TVs. Some of the folders on the SSD have sensitive or personal data that I want to protect. How can I encrypt, password-...
0
votes
1
answer
219
views
How do I configure grub to boot an ISO image from an exfat partition?
Due to the increased file size of the Ubuntu LTS 22.04 Desktop image, Linux pen drive creators will soon feel the pain that comes with realizing that a single partition, FAT32 drive won't cut it for ...