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
1 vote
0 answers
6 views

What do they mean by auditing reasons?

I am reading about the reasons behind creating /var for separate partition and the general guideline says it is because of resource exhaustion ( making the var/log too big and causing problems ) I can ...
0 votes
1 answer
32 views

Linux - Clone a partition to another and boot from the copied partition

On a VM, I have Ubuntu 22.04.1 LTS installed. My partitioning scheme is as below: sda 8:0 0 90G 0 disk ├─sda1 8:1 0 1M 0 part ├─sda2 ...
  • 1
3 votes
1 answer
79 views

Why we create the custom partition in Linux?

I am completely new in Linux and i installed centos VM in virtual box, at the time of installation i created partitions : /(root),boot, home and swap , so i thought that this is the same like in ...
  • 31
0 votes
0 answers
16 views

Unable to change UUID of exFAT USB drive using tune2fs [duplicate]

I am trying to change the UUID of a USB stick formatted with exFAT. I double checked that /dev/sdb2 is the correct target. The entire USB contains one exFAT partition with no empty space. When I try ...
-1 votes
0 answers
24 views

Is there a meta-tool to perform common filesystem operations with auto-detection?

Tools like fdisk, parted and cfdisk (as well as corresponding GUI applications) can interactively create all kinds of filesystems, provided the needed libraries are available. But once created, I want ...
  • 425
0 votes
0 answers
14 views

Why the rockylinux 9 installer and Fedora tell me is not possible to use LVM as boot..when is possible?

Try to reproduce: install on vm RockyLinux 9 or Fedora 36, and try to set the root partition including boot on lvm. The installer will fail with this error " /boot file system cannot be of type ...
  • 11.3k
0 votes
0 answers
13 views

Can you safely delete MMC Boot Partitions?

From what I understand MMC Boot Partitions are present on the hard drive and can be deleted as normal partitions. Is this correct? If so, how do I do it? Here is the list of drives shown by fdisk -l: /...
0 votes
0 answers
28 views

why does my code keep displaying: Device or resource busy

using a losetup -P command to setup a loop device, it displays: Device or resource is busy kindly assist
  • 1
0 votes
0 answers
22 views

How to merge two partitions by using gdisk

How to merge two partitions, one is system, the lower offset, and the other destroyable content, the adjacent higher offset, by using gdisk (preferably if none else is better) ?
0 votes
1 answer
17 views

revert logical partitions to original disk

I have a disk that somehow split into what appear to be logical partitions, but I am unsure. How to revert to the original disk? Here is the list of drives shown by fdisk -l: /dev/mmcblk0 /dev/...
0 votes
0 answers
34 views

How to mount / recover my encrypted logical volumes?

I have put some EDIT at the END of the first reply. unfortunately I run into some problem with my old LVM installation where debian10 was running on it. I have installed Debian 11 alongside Debian 10. ...
1 vote
1 answer
36 views

Use free space to make a new filesystem

How would I go about using 50G of the free space from vg_root to make a new filesystem and then use that for /home nifle@rhel8box3 ~ $ sudo lsblk [sudo] password for nifle: NAME MAJ:MIN ...
  • 517
0 votes
2 answers
59 views

Partition / too full – Arch Linux

I am currently installing Arch Linux in my VMware non-pro/commercial use.  I downloaded the latest Linux .iso available in the website.  This is my third/fourth time installing Arch Linux and 2nd time ...
0 votes
0 answers
10 views

How to partiotion a disk for Debian install such as user files are independant from OS and BTRFS snapshot feature is enabled?

Hi everyone, This is my first time installing Debian, and I'm trying to achieve that in legacy BIOS mode, but I'm having a bit of trouble finding the best way of partitioning my disk. One way I found ...
0 votes
1 answer
53 views

(Linux Mint) Does selecting "Encrypt Home Folder" after you chose Full Disk Encryption only encrypt the home folder?

I am not new to Linux but I am new to Linux Mint since I switched from Ubuntu due to reasons out of scope of this question (snapd, update borked my computer) I selected for FDE (Full Disk Encryption) ...
  • 21
0 votes
1 answer
33 views

Performance test went wrong and the dd command created 13TB of data on /dev/mapper/device. Why system didn't crash? HDD-250GB

So I wanted to do some performance test with encrypted and normal data storage on my embedded device. That is not what I was expected to see at all! Can you please explain it to me what just happend. ...
1 vote
1 answer
37 views

fdisk and mkfs partition differences [duplicate]

If i want to create fat16 partition, what i have to do is: fdisk command Create partition Change the partition type to FAT16 by selecting t for ‘type’ and e for ‘W95 FAT16 (LBA)’. mkfs.vfat command ...
  • 113
-1 votes
1 answer
37 views

what files or directories resides in my root partition

[root@localhost ~]# lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT vda 252:0 0 400G 0 disk ├─vda1 252:1 0 1G 0 part /boot └─vda2 252:2 0 ...
  • 107
0 votes
1 answer
48 views

How can I resolve my low free space issue on Fedora 36 (VM)?

I have a Fedora 36 virtual machine. This machine is running on VMWare and it has Hard Disk (SCSI) 60GB in VMWare available to it. Inside Fedora, when I open up "Disk Utility", there is the ...
0 votes
0 answers
25 views

I installed archlinux through the automatic script and formatted my drive and removed everything from it but it is only 20.8 gb

So I installed Arch Linux through the automatic script and formatted my drive and removed everything from it, but it is only 20.8 GB my file system is ext4, and I am sure that I wiped everything from ...
0 votes
2 answers
36 views

How to determine what is occupying hard disk space? [duplicate]

I have a primary SSD with all my stuff and a 2nd hard drive where I install my games. The SSD has a 120 GB capacity. Until recently, only ~20GB has been used, but something has happened and now 87GB ...
8 votes
3 answers
2k views

How is it possible to have / and /home on different partitions

When installing Ubuntu for the first time, I separated / and home into different partitions. Thinking back on it, how is this possible? Isn't home "in" /.
  • 101
0 votes
1 answer
16 views

/dev/sda4/ on USB stick isn't available after formatting. 'Discs' shows the following:

size: 58 GB contents: unknown device: /dev/sda4 partition type: basic data When I ran the format, I selected the type which I expected result in type of Linux. I found a similar issue from 2019, but ...
3 votes
2 answers
103 views

Does Debian 11.5 really need 500MB+ partition for EFI?

I have installed Debian 11.5 on thin client. It has relatively small 16GB eMMC memory for storage. During installation partitioner in "standard" mode created 3 partitions: EFI (508MB), root (...
  • 638
5 votes
1 answer
190 views

fdisk reports partitions are misaligned even when they don't appear to be

I have a new 4 TB Western Digital SN850X NVMe SSD drive that I am trying to partition as a boot drive for Ubuntu 20.04. No matter what I do, fdisk reports that the partitions are misaligned, even ...
  • 53
0 votes
0 answers
43 views

__ext4_find_entry:1535: inode #2: comm .NET ThreadPool: reading directory lblock 0

i got quite the same problem of the link below but i didnt understand how to solve it, someone can explain? i do not have that grub file in that path, sorry but im new to linux. for someone who doesnt ...
  • 1
0 votes
0 answers
14 views

Fix/Format Memory card with Tails OS Installation

Im new to linux distros, and I installed Tails OS to my 63gb memory card so I could run an OS on my surface pro 3, since my ssd died. It installed fine, but i ran into some issues when i configured ...
0 votes
1 answer
22 views

Using dd to do a bare-metal restoration w/ stored individual partitions

I have a disk that I make regular backups of. The disk is made of a few different partitions. Previously I've been using the dd command to back up /dev/sdX all at once and it's all gone very well. I ...
0 votes
2 answers
25 views

Performance of Linux OS on disk partition vs dedicated disk

I would like to dual boot Ubuntu on my Windows PC workstation with two 1TB ssds. I use Windows for gaming and video editing, and I would like to use Ubuntu for programming and project development. I'...
1 vote
0 answers
50 views

How can I resize the partions, reduse /home partition, and increase the root partition without adding additional hard-drive space

For Virtual Machine I'm using with VMware, and for OS the Ubuntu 20.04. I create the 500Mb for /boot, 30GB for root /, 8192MB for /swap and others for /home partition. When I installed the Ubuntu, I ...
  • 13
0 votes
1 answer
33 views

I have Windows installation on NVMe and Installed debian on a SDD partition. PC only booting in Windows, can't use Debian

This is a lsblk output from a live USB with pop_OS used to access to my files, sda and nvme0n1 are the important disks.: NAME FSTYPE SIZE MOUNTPOINT loop0 squashfs 2.5G /rofs sda ...
1 vote
0 answers
19 views

Issue with LVM partition after adding space on physical partition

The OS is based on a CentOS 5.5. After adding space on physical partition, the OS went in emergency mode. I tried to fix that and ended with no boot at all, with stuck at GRUB screen with error 17 It'...
1 vote
1 answer
30 views

Does sfdisk under Linux have a preset default for sector size?

I'm using sfdisk as part of a process to copy one drive to another. From what I can find, it looks like it defaults to a 512 byte sector size, but I don't see anything that clearly states that as a ...
  • 287
1 vote
0 answers
23 views

Can't seem to create a partition on free space from windows

So, I managed to free up some space from windows (100GB) to install ubuntu on, but every time I try to install it I get an input/output write error on my disk. Also tried doing it manually with fdisk, ...
2 votes
1 answer
527 views

Bad magic number in super-block

So I have three disks. I had thought to label the volumes themselves: $ e2label /dev/sda d80-JD-75MS $ e2label /dev/sdb e2label: Bad magic number in super-block while trying to open /dev/sdb Found a ...
  • 1,969
0 votes
1 answer
33 views

how to do partition in linux

I got 500GB disk I had installed windows10 and divided partition: Local C: 100GB,Local D: 200G,Local E: 200GB Now I am doing clean instal of Linux system on this disk and I would like to have same ...
  • 1
1 vote
1 answer
105 views

Resize an xfs-formatted logical volume group

My partitions currently look like this: sda 8:0 0 1.8T 0 disk └─sda1 8:1 0 1.8T 0 part /mnt/storage sdb 8:16 0 119.2G 0 disk ├─sdb1 ...
0 votes
0 answers
58 views

How are partition numbers (sda1, sda2, sda3, ...) determined?

In my experience, partition numbers have nothing to do with the physical ordering on the disk. And a newly created partition tends to have a larger number. How are partition numbers determined? Are ...
1 vote
1 answer
85 views

How to delete partition Microsoft basic data on Pop!_OS

After installing Pop!_OS, I expected all Windows/Microsoft data to be overritten. Due to a fdisk -l scan, I still have a 4G partition of "Microsoft basic data partition" type. How to delete, ...
  • 111
1 vote
0 answers
27 views

Intel Rapid Storage alongside with Linux

I installed Windows on an IRS NVME RAID1 volume (fake raid). The volume takes only part of the space available on the two drives. I wish to dual boot Windows and Linux. As far as I know IRS NVME is ...
1 vote
1 answer
29 views

Linux mdadm + LVM2: "Cloned" logical volume across three RAID1 blocks?

My disk setup in a Debian Linux box shows like this: > lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 931,5G 0 disk ├─sda1 8:1 0 ...
0 votes
0 answers
108 views

TrueNAS Scale create datapool stuck at fetching data after using disks for cephfs

On my NAS I had a Proxmox installation that used ceph, no I wanted to try out TrueNAS Scale and just reinstalled TrueNAS on my OS Disk, the other disk were left as they were. Now when trying to create ...
1 vote
1 answer
55 views

Linux - apply .wim image file to ntfs volume

Im trying to apply a .wim image file to a ntfs partition on my SSD. In windows, we would use dism.exe to perform this task, but for linux, seems like wimapply from wimlib can be used for this purpose. ...
0 votes
0 answers
27 views

How to find out all directories mounted on /dev/md1

My root partition is full. How do I find all directories which are mounted on /dev/md1? # df -h Filesystem Size Used Avail Use% Mounted on devtmpfs 16G 0 16G 0% /dev tmpfs ...
  • 101
0 votes
0 answers
125 views

Merge /home partition to partition mounted at /

My current situation is the one shown below: What I want to do is to remove /home partition and have it as a directory in the file system mounted at / I consulted this in order to do so but in my ...
  • 1
0 votes
0 answers
25 views

Partition mounted, but not visible

I mounted 2 Partitions called Tux1 and Tux2. Both are exfat. I can access the contend of this partitions via terminal, but Disk Usage Analyzer doesn't find them and nemo throws access denied errors. ...
  • 1
0 votes
0 answers
35 views

My linux wont boot due to a partition number change

everyone! My macbook is running OSX and manjaro and they work just fine. just a few days ago, i updated my OSX to big sur, i guess it screwed my partition numbers around, then when i try to boot ...
  • 1
1 vote
1 answer
104 views

bash + how to automate creation of disk partitions in Linux

here is example from our rhel server machine lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sdb 8:16 0 20G 0 disk /data/sdb sdc 8:32 0 20G 0 ...
  • 11.6k
0 votes
1 answer
62 views

LVM and partition recovery

I'm new here and i need your help. A tried to search similar question but I not found. I've lost LVM e patition table on HD with 2Tb capacity and I need to restore it. Hard disk is not damaged, only ...
  • 9
0 votes
0 answers
30 views

What is the correct way of moving home?

I am trying to move /home onto a dedicated partition. What I already did: created the partition created a filesystem mounted the partition into a temporary folder rsynched all files into the ...
  • 191

1
2 3 4 5
53