Questions tagged [partition]

Disk partitioning is the act of dividing a hard disk drive into multiple logical storage units referred to as partitions, to treat one physical disk drive as if it were multiple disks.

Filter by
Sorted by
Tagged with
0 votes
0 answers
12 views

Gparted: how can I extend the disk when the unallocated is on the upper side?

How can I extend my ext4 partition? The swap is off, and there is a lot of unallocated space in front of the ext4 partition. I am using Ubuntu.
user avatar
0 votes
0 answers
18 views

Encrypt hard drive with data without a second hard drive

I have a 4 TB external hard drive (file system is ext4) that is filled with approx. 1 to 2 TB of data. The hard drive is not encrypted, but I'm planning to encrypt it with the same mechanism used to ...
user avatar
0 votes
0 answers
8 views

"Invalid system disk" after "There are differences between boot sector and its backup"

I created a live LMDE5 system on a USB pen drive using Rufus and everything was working fine except for a large number of warnings and critical error messages I got from dmesg. There where some ...
user avatar
0 votes
0 answers
15 views

Extend the OS disk on Ubuntu 20.04

I have a VM on Azure with Ubuntu 20.04, the partitions looks like : # df -h Filesystem Size Used Avail Use% Mounted on udev 3.9G 0 3.9G 0% /dev tmpfs ...
user avatar
0 votes
1 answer
22 views

How to boot from new partition after do dd

I have 10 partition. My root (/) partition located on /dev/sda9 and my home (/home) partition located on /dev/sda2. I want to move my root partition (/dev/sda9) to /dev/sda5. So I copy my root ...
user avatar
0 votes
1 answer
23 views

Reclaim space on volume for bootable partition

I have a volume on Centos 8 that has 10G to spare: $ lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT nvme1n1 259:0 0 80G 0 disk └─nvme1n1p1 259:1 0 80G 0 part /db nvme0n1 259:2 ...
user avatar
  • 101
0 votes
1 answer
42 views

Debian - Create new partition with fdisk and set size ( Last sector )

please could someone help me with my problem of create new disk partition in Debian ? I'am using Proxmox where I have created a few virtual machines. On one of virtual machines where have installed ...
user avatar
0 votes
0 answers
18 views

Recover ext4 partition with bad superblock? (Failed after resizing, backup magic numbers don't work)

Background Had a Linux root ext4 partition that I needed more space; cleared it from my Windows install, and then modified the remaining stuff on KDE's partition manager on a live usb. I'm not ...
user avatar
0 votes
1 answer
65 views

How to delete all partitions without using an operating system

How to delete all partitions from my system using only the GNU Grub Terminal and BIOS
user avatar
0 votes
1 answer
24 views

How to move free space from the middle of a disk with Gnome Disks or blivet-gui

I used to dual boot Windows and Fedora 35, and decided to just run windows in a vm. I deleted the Windows partitions successfully, but now I have free space in the middle that I can't figure out how ...
user avatar
  • 3
0 votes
0 answers
21 views

Destroyed System after failing to Change OS

Originally I was running Pop OS but wanted to switch to Windows 11.So I got a USB and etched a Windows 11 ISO to it. I used woeusb to do the etching, but when I rebooted my system I was met with a ...
user avatar
0 votes
0 answers
22 views

How do I utilize entire OpenWRT SD Card for the installation?

I am trying to increase the size of my openwrt installation to take advantage of the entire SD card for more packages, but I am unsure where to start. I have tried following some other online guides ...
user avatar
0 votes
1 answer
15 views

Extend partition created on laptop with Windows 11 and Pop OS

I was using Windows 11 on my laptop but I wanted to install a Linux distro on the side. Therefore, I've shrunk 30GB of the OS disk and I installed Pop_Os. During the installation process, I've created ...
user avatar
  • 103
0 votes
0 answers
8 views

Copying an APFS partition to another disk

I have a disk with two containers. First container contains a time machine disk. Second container contains two partitions, one for time machine (that is from another computer) and another partition I ...
user avatar
  • 4,234
0 votes
1 answer
21 views

Is it possible to create a MULTIBOOT USB with Kali + persistence?

I am using the Live version of Kali Linux and now I'm realizing that having persistence might be a good idea. There are some tutorials out there showing how it can be done on Windows and it looks easy ...
user avatar
0 votes
0 answers
26 views

RST RAID-0 NTFS partitions not available to mount

I've a double boot Windows 10 and Ubuntu mate on separate disks (F8 boot select). I've a RAID-0 block made in Windows 10 on RST that is working fine as secondary disk. This block is not meant to boot, ...
user avatar
0 votes
1 answer
43 views

What are the detriments of not setting MSFTDATA flag when making a exFAT partition?

I have several external HDDs that I backup data to and occasionally plugin internally when I need access to the data. I erased all partitions by making a new GPT partition table on the disk. I made a ...
user avatar
20 votes
4 answers
4k views

What is `/dev/sda0`? Is it a standard thing?

While trying to understand this other question, I encountered /dev/sda0 being mentioned. I have some experience in Linux and I'm used to this scheme where sda, sdb, … are devices and sda1, sda2, … , ...
user avatar
0 votes
1 answer
39 views

After cloning OS, GRUB always boots from the source sda1 partition even when another partition is selected for booting

I have a laptop that should be running two Debian 9's, one Debian 11 and one Windows 10 from two disks, one hard disk drive, /sda/, and a new solid state drive, /nvme0n1/. I used gparted to clone and ...
user avatar
0 votes
0 answers
22 views

Update-grub only work in sda1

Introduction I have 3 linux distribution: 1. Ubuntu (22.04) on /dev/sda1 2. Ubuntu (22.04) on /dev/sda5 3. Manjaro (22.04) on /dev/sda9 Question When I try to run update-grub from except /dev/sda1 ...
user avatar
0 votes
3 answers
68 views

How to quickly reformat a partition to effectively empty the disk? [closed]

My drive is 18TB and it is filled to the brim with junk I don't want, and there are so many millions of files that it would take days or weeks to delete it all using rm -rf. I want to do the ...
user avatar
0 votes
1 answer
49 views

How to delete entire directory fast in under 1 hour that contains millions of files and nearly 18TB of data? [closed]

My backup program backed up entire other drives multiple times by accident to one of my large drives and therefore hogged the entire drive. I already have backed up to another drive what I need from ...
user avatar
-1 votes
1 answer
48 views

Can't add swap in pop Os 22.04

I have recently installed Pop OS 22.04 on my dell laptop. At the installation time I have chosen /dev/sda2 partition for my swap partition. But the installer gone mad and used /dev/sda2 and /dev/sda8, ...
user avatar
-1 votes
0 answers
39 views

How to identify Linux partitions in windows disk manager

Currently, I have dual systems on my laptop. Ubuntu on the legacy harddrive and Windows on UEFI. I'm going to reinstall the Ubuntu but feel difficult to identify which partitions should be formatted. ...
user avatar
0 votes
1 answer
54 views

Why does Parted mkpart ask for file system type, if I can later format with another file system? [duplicate]

What I Did I attach an HDD, lsblk -S shows this drive as sdc I use sudo parted /dev/sdc/ to start parted against sdc I create a partition table as: mklabel gpt I make a partition: mkpart my-cool-...
user avatar
  • 391
0 votes
0 answers
27 views

Calculate blocksize for encrypted (LUKS) LVM

On the Arch wiki I can this formula: To calculate the new LUKS volume size, use a simple formula: NEW_LUKS_SECTOR_COUNT = PV_EXTENT_COUNT * PV_EXTENT_SIZE / LUKS_SECTOR_SIZE # pvdisplay /dev/mapper/...
user avatar
  • 639
0 votes
0 answers
34 views

EXT4 partition became empty after reboot - why? possible to fix?

TLDR: I had a 1TB RAID1 partition containing 800GB of files before rebooting, now after rebooting, the partition is empty. Hardware: dual SATA 1TB drives in RAID1 (ASUS PIKE card, which is a LSI card)....
user avatar
0 votes
0 answers
30 views

How to turn off write protection on a micro sd card?

I came across an old micro SD card, previously received with a tablet sent by an educational content provider. I decided to delete the contents of that SD card in order to take it into my personal use....
user avatar
  • 1
1 vote
0 answers
18 views

How can I see which is my boot partition in latest suse 12 and 15 OS's? [duplicate]

In SLES 12 S, SLES15 it is observed that the OS can be installed and booted without creating a separate /boot partition. My question is how can we know which is my boot partition as I can't be able to ...
user avatar
0 votes
0 answers
56 views

fsck.ext4 Error : unable to set superblock flags on /dev/sdaX

/dev/sda3 is my main Linux(Ubuntu) system partition. /dev/sda4 is my sub Linux(Kubuntu) partition. I installed Kubuntu on my main SSD that already includes Ubuntu. In this progress, I just resized /...
user avatar
0 votes
0 answers
26 views

VM hangs when mounting a (full) partition

First of all, I should say I'm a beginner regarding these matters, so please bear with me for a moment. Thank you. My company accidentally fill one RAIDZ partition (named sdb1) up to 100% of its ...
user avatar
  • 101
0 votes
1 answer
38 views

Windows partition not seen

I have a pc which was running Windows 10 and I wanted to create another partition and dual boot Pop-OS. I followed instructions to create a bootable USB drive and use Gparted to make a new partition. ...
user avatar
0 votes
0 answers
126 views

GRUB menu selection problem on dual boot windows10 and Ubuntu 22.04 encrypted

The Grub menu appear a fraction of a second (flickered), and auto launch the first option in it's menu, which is Ubuntu. The problem appear after I reinstalled Ubuntu22.04 Encrypted. I don't know if ...
user avatar
0 votes
1 answer
40 views

Do MBR partition numbers need to be contiguous?

I am partitioning an external 1TB HDD for a small embedded Linux system. I want to encrypt the swap partition. According to the cryptsetep FAQ, you need to use kernel device names (/dev/sda, etc) in /...
user avatar
  • 175
0 votes
1 answer
31 views

Write a bootable image of system into an internal disk, without removing a data partition

I have an internal HDD like partitioned like this: [---- 100 GB unused ----|----------- 800 GB data ------------] 100 GB of unused or "to be deleted" old partitions /dev/sdb1, /dev/sdb2, /...
user avatar
  • 2,163
0 votes
0 answers
28 views

Install and boot Linux from a logical partition

I know GPT is the solution but I inherited a machine that has already fully used the 4 Primary partitions: Device Boot Start End Sectors Size Id Type /dev/sdb1 * 2048 ...
user avatar
  • 583
2 votes
2 answers
85 views

Grub install with encrypted Boot partition

i am trying to do arch(or any distro)-install with encrypted boot partition(lvm - uefi) during installation i am trying really hard to get it to working but i get this error i searched a lot but i ...
user avatar
0 votes
1 answer
33 views

Implication of deleting an /etc/crypttab entry

On Arch Linux, I setup an encrypted partition on an LVM volume using KDE Partition Manager. I lost the password to that partition and I deleted the partion using KDE. Thereafter the boot process ...
user avatar
  • 129
0 votes
0 answers
16 views

Linux Centos 7 An error occurred while accessing the system responded: The device is already mounted

I am working with Linux Centos 7. I have 3 hard disks in my computer. Each time, when I click on my 3rd hard disk drive, I am facing this error:An error occurred while accessing the system responded: ...
user avatar
0 votes
0 answers
30 views

How can I fix an sd card's gpt filesystem when gparted won't recognize any changes and I have superblock errors

I simply want to properly format/partition my sd card so it can be used. I tried to format it but I have been continually hitting errors. Specifically I would like to format it as ext4. However when ...
user avatar
0 votes
0 answers
38 views

I can't boot into my UBUNTU 20.04 LTS

some problem in partition /dev/sda8 and it has logged me into emergency Mode. I tried running fsck command but to any use and also commented the fstab file but none worked. Please help me !
user avatar
0 votes
1 answer
46 views

LVExtend can't find space on physical volume

I've been struggling for a while now to create more space in my VM, and I believe it's going wrong on the first step. I've increased the size of my physical volume, sda3; $ sudo lsblk NAME ...
user avatar
  • 3
0 votes
1 answer
30 views

Boot partition full: Move to encrypted partition

Once the /boot partition is half-full with a single kernel you can't upgrade, Resizing is painful when the other partition is encrypted, Solution: Move /boot to the encrypted partition. Backstory: ...
user avatar
  • 1
0 votes
1 answer
44 views

Scripting the partition shrinking

I have some disk image, taken with dd if=/dev/somedevice of=filename.img. I was able to shrink them following this tutorial. Now I would like to script all the procedure, and I managed to perform ...
user avatar
  • 111
0 votes
0 answers
81 views

Stuck in GNU GRUB v2.04 loader

I just started my computer and this is what I see : GNU GRUB version 2.02~beta2-9ubuntu1 Minimal BASH-like line editing is supported. For the first word, TAB lists possible command completions. ...
user avatar
0 votes
1 answer
103 views

SSD with Arch Linux not booting after adding another SSD

I added a new SSD to the desktop machine that had an SSD with Arch Linux (wuth a rolling distro, no specific version). After I tried to boot, I had an error: Initramfs unpacking failed: invalid magic ...
user avatar
0 votes
1 answer
58 views

Grow partition on ubuntu server 18.04 inside virtualbox doesn't seem to work

These are the steps I am trying from this answer: Steps I ran: Run below command to get PV (Physical Volume) name (Ex: /dev/sda1) sudo pvs tini-wini # pvs PV VG Fmt Attr PSize ...
user avatar
  • 105
0 votes
3 answers
41 views

SSD changes mount point during partitioning

I booted up my computer after a week without using it and I was greeted with a MS-DOS prompt saying that my disk had read errors instead of booting up Windows. Fed up with the latter OS, I decided to ...
user avatar
0 votes
0 answers
34 views

Efi Partition System format box leave it blank or checkmark it(Linux only installation)

Feeling very confused about this one .In a Linux only installation in UEFI mode,for Efi partition,do I need to tick(checkmark) the format box or just leave it blank. I had seen You tube videos & ...
user avatar
  • 1
0 votes
0 answers
17 views

I want to merge two partition without losing my data and see what files in those 2 partition

It looks like i have two partition for Ubuntu, nvme0n1p7 and nvme0n1p79. I want to merge them without losing my data or deleting one. Also, how and where can i look nvme0n1p7 location in FIles app? I ...
user avatar

1
2 3 4 5
52