Questions tagged [partitioning]

Disk partitioning is the act of dividing a hard disk drive into multiple logical storage units referred to as 'partitions'

Filter by
Sorted by
Tagged with
7 votes
1 answer
3k views

Are there any advantages/disadvantages (if any?) in running luksFormat on raw drive (sdx) vs a partition (sdx1)?

I've been setting up a few LUKS encrypted drives and noticed that I've been creating the encrypted disk directly on the 'raw'(?) drive, ie. /dev/sdb, while many examples via google are showing it ...
0 votes
0 answers
22 views

Ubuntu 22.04 on Raspberry Pi: /var/cache/fontconfig Gets Created Before /var Is Mounted

I'm running Ubuntu 22.04 (Jammy Jellyfish, ARM64) on a Raspberry Pi. After imaging the Pi's SSD, I re-partitioned the drive and mirrored the contents of /var onto the new partition (verified), renamed ...
-2 votes
0 answers
31 views

How to merge a partition to my main file system

This is my gparted window: How can I add Partition-2 (the selected row) to my main file system?
-1 votes
0 answers
26 views

Problems ubuntu live usb

I will preface this by saying that I am not extremely knowledgeable (in fact, I am not very knowledgeable, so my terms may also be wrong). I installed ubuntu (dual boot) via usb and, once a few ...
1 vote
1 answer
5k views

Getting GPT detected. Please create a BIOS-Boot partition” while using Boot Repair

I'm trying to get my system setup for dual boot on 2 different SSDs on my system. One of the SSDs is an NVMe SSD. I can select and boot each one using the boot menu inside my BIOS, so the ...
0 votes
0 answers
19 views

How can I use/extend a new hard drive on ubuntu from my main ssd? [duplicate]

I have my main(120gb SSD) drive with Ubuntu 22.04 installed on: dev/sda1 I have another 3 TB hard drive which is formatted as ext4: dev/sdb1 What I would ideally like: I would like to "fuse&...
0 votes
0 answers
23 views

Bootable hard disk image locked my hard drive

I recently followed this guide in an attempt to create a Windows bootable hard disk. Without any warning or confirmation, the console command chose and locked up my middle/largest hard drive with 7 ...
0 votes
1 answer
44 views

Hard drive usage unreported/ can't find what's taking up space

So I have my ubuntu installed on a 500GO NVMe drive, and, because I needed the space, I decided I wanted to relocate it to a 120GO SATA SSD. I figured it would be enough, and, based on my information, ...
0 votes
1 answer
5k views

Clone multiple partitions without re-creating them manually

I'm migrating from Windows to Linux but I have to keep a working Windows installation for backup. The source HDD is this: $ sudo fdisk -l /dev/sdd Disk /dev/sdd: 465,78 GiB, 500107859968 bytes, ...
0 votes
0 answers
27 views

Ubuntu 23.10 - How to set up hibernation with Secure Boot enabled

Working on a new Ubuntu install. On my ASUS laptop, Secure Boot is enabled (and likely may need to stay that way due to the pestilence of Windows 11). Reading from journalctl -b has some mention of ...
1 vote
0 answers
33 views

How does RAID 5 handle unrecoverable sectors on a HDD

I'm going to set up a RAID 5 on 4 hard drives on my ubuntu system. I plan to use ext4 on a logic volume. Suppose one disk reports an unrecoverable sector. How would RAID 5 handle this? My ...
0 votes
0 answers
16 views

Enabling hibernation of Ubuntu Budgie 22.04 with swap on /dev/sda3

I've been trying to enable hibernation on my new Budgie installation. swapon indicates that my swap partition is located in /dev/sda3, and I have come to the point where I need to edit the ...
-3 votes
0 answers
34 views

No disk space on Ubuntu 22.04

I am new to Linux(Ubuntu), so please excuse my naivete. While dual-booting my computer (primary Windows 11), I allocated 150 GB, made a new disk for Linux, and booted Ubuntu onto it. But now, while ...
0 votes
2 answers
4k views

GUI for LVM management on Ubuntu 22.04

I've seen Is there a new GUI for LVM from 5 years ago but none of the answers seem applicable to Ubuntu 22.04. I've created a 2-disk RAID and put an LVM2 physical volume on top, then created a volume ...
4 votes
4 answers
12k views

Clone single partition to empty disk

I would like to clone a single partition off of my current HDD to a newer, larger SSHD. The partition that I would like to clone is running Linux Mint 17.1. Using a bootable Clonezilla USB, I have ...
0 votes
1 answer
50 views

VB Ubuntu says disk full but not

I am running Ubuntu 22.04 via VirtualBox from win11. Recently I had to extend the space allocated for the machine. I did that using gparted util. It was fine for a while but now I am getting warnings ...
0 votes
0 answers
16 views

Removing Windows and redundant partitions and increasing Ubuntu partition size

I have a dual-boot Windows and Ubuntu system, however, I want to remove the Windows partition since I do not use it. I previously had dual boot and I unfortunately broke it and had to start again with ...
0 votes
1 answer
87 views

How to reallocate disk partitions

I used an installer usb flash drive to get Ubuntu 22.04 server onto a Windows mini pc. I asked the installer to wipe Windows since the machine will be a standalone server with Linux only. I got / with ...
0 votes
1 answer
55 views

Ubuntu 22.04 I cannot resize the system partition

I have a filesystem partition where the Ubuntu SO is installed and another one with 393Gb free space, how can I resize the filesystem partition and use the free space? What I did... I started Ubuntu ...
0 votes
0 answers
64 views

Is it possible to use old home folder after encryption?

My company wants me to format my computer and do disk encryption however I have tons of customizations on my pc so I don't want to lose them. I thought I can copy my home folder into external disk and ...
0 votes
0 answers
46 views

How can I increase partition sizes when adding a new drive on Ubuntu 22.04?

Do the answers in How can I add more disk space to /boot for update still work in the newest Ubuntu 22.04? Can I just order a new drive format it and resize boot to the right and be done? And does ...
1 vote
1 answer
58 views

Mounting Drives

The last time I touched Unix of any flavor it was Solaris, so please forgive me. I'm am so very rusty. I decided to build a home lab and get back into things. I've built, destroyed, and rebuilt my ...
3 votes
1 answer
14k views

Error when getting information for file - Input/output error

I ran rsync sudo rsync -aE --progress /mnt/seagate/dataset/RD\ 8* /mnt/backUp/backUp/dataset/ and pressed ctrl-c by mistake. There was a SIG-INT error whic makes sense. But now, I am not able to ...
3 votes
3 answers
8k views

get rid of master boot record

I have old hard drive that had Ubuntu on it. Now I have a new machine which came with Windows 10, but it is what I would call a bootleg copy and can't be registered, so I have decided to return to ...
-1 votes
0 answers
75 views

Install Error - Install on RAID disk failure

System: Fujitsu Primergy TX100, 8 Core 32G RAM system, RAID 1 - 1TB x 2 System No UEFI, hence legacy Load from USB is configured on BIOS and it does this well. RAID - to my understanding is Hardware ...
0 votes
0 answers
27 views

Move Ubuntu 22.04 to hardware hp p410i RAID1 with encrypted volumes on BIOS

I have an old hp n40l microserver with Ubuntu 22.04 on board with quite old BIOS as of 2012. Now my SSD 256GB disk is split to 2 partitions: /boot/efi and /. I've bought hp p410i RAID card, and 3 more ...
6 votes
4 answers
7k views

Change partition sizes of dualboot system

I know that there are some similar topics to this, however I was not sure which of them could be applied to my case. Because I am afraid of destroying my system, I hope you can give me some advice on ...
0 votes
1 answer
54 views

How to clone a specific partition of a qemu raw disk file to a physical partition

I have a raw disk file as bellow $fdisk -l Monterey.img Disk Monterey.img: 14 GiB, 15032385536 bytes, 29360128 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes /...
0 votes
1 answer
4k views

Error during ubuntu installation

First time Linux user. I'm trying to get Ubuntu fully installed on an external SSD connected with a USBC cable. I want it to be fully installed, so it can work on any computer. The linux flashed thing ...
1 vote
2 answers
6k views

How to resize / and add another logical volume without data loss

Ubuntu 16.04 installed with these settings "Erase Disk and install Ubuntu" with "Use LVM with the new Ubuntu installation". Now have 3 partitions: /dev/sda1 mounted as /boot/efi /dev/sda2 Linux file ...
0 votes
0 answers
24 views

Surface Pro 5 cannot find bootable drive, trying to install Ubuntu in place of windows 10 os

I had successfully downloaded ubuntu in place of microsoft then was blocked from downloading a software packet through the terminal by secure boot. I went to the bios screen and disabled secure boot ...
0 votes
0 answers
20 views

Remove Windows, install ubuntu while keeping backup partition (D:) + confusing partitioning [duplicate]

I have a 480GB SSD split into two partitions, denoted as (C:) and (D:). My objective is to eliminate Windows from the (C:) partition. Subsequently, I aim to install Ubuntu in its place, ensuring all ...
0 votes
1 answer
58 views

Fresh installation of 20.04 makes three partitions - right?

Now to get to the bottom of my problems mentioned in another thread, I decided to install 20.04 anew. In order to not produce problems from the start on, I let the installation program do as it wished ...
-1 votes
0 answers
16 views

Partitioned drives not showing when trying to dual boot

I have partitioned the hard disks and configured the UEFI firmware settings. Yet when installing Ubuntu, the partitions do not show up on the menu when installing and thus I am unable to configure. As ...
0 votes
0 answers
74 views

Gparted shows Linux filled less than it actually is. How to fix it?

I've had Ubuntu System with the size of 100 GiB. I've made some manipulations for repairing the system and, as a result, my Linux cannot boot, and GParted shows there are only 1 GiB filled on the ...
7 votes
4 answers
15k views

Move system to new SSD with dd command

The question is quite simple. I have search for an answer for a while but not sure I got the correct answer. Since mistakes could easily destroy my drive and data, I really want things to be clear. I ...
2 votes
2 answers
9k views

Permissions do not allow pasting files in this directory

I'm using Tower PC with 500GB SSD & 1 TB HDD, installed Ubuntu 22.04 LTS on the SSD, The 1TB HDD I'm not able to use, while copy paste a file from SSD to HDD it says "Permissions do not allow ...
59 votes
7 answers
67k views

How to make LV use all disk space in PV?

During the installation of Ubuntu Server 20.04.1 LTS I chose to use the entire disk as partition (default partitioning that's recommended for beginners, since I don't need any other partitions anyway. ...
0 votes
2 answers
4k views

MBR accidentally deleted , how to restore partition

I know that my question can be a duplicate, but i spent a lot of time with google and askubuntu, but couldnt find answer. I installed Ubuntu 13.10 alongside Windows 7 (i had C drive of 100GB and D ...
0 votes
0 answers
124 views

Mounting /tmp with noexec option in Ubuntu 22.04.3 LTS

I have set up the Ubuntu VM (Ubuntu 22.04.3 LTS) with the following options for /tmp: So that under /tmp, no execution is allowed. cat /etc/fstab for /tmp: /dev/mapper/ubuntu--vg-tmp--lv /tmp ...
0 votes
0 answers
25 views

extending partition to root in ubuntu [duplicate]

I'm working on a Ubuntu 22.04 VM of 300GB , I got a warning " / is using 95.0% of 97.87GB" , I tried to increase my hard-disk space by adding additional 300GB of harddisk. This is the result ...
1 vote
0 answers
35 views

Ubuntu freezes when playing games or multitasking

I installed Ubuntu in this desktop PC for the first time and I don't know what's wrong with it. The problem is the whole system freezes often, especially when playing games like Steam Project Zomboid, ...
-1 votes
0 answers
46 views

How to safely decrease size of Linux partition?

I've had 100 GiB of Linux partition in the right place of disk. I've recently increased the size of my Linux partition from 100 GiB to 150 GiB by moving all bytes to the 50GiB left. (don't focus ...
0 votes
0 answers
55 views

Cannot reinstall grub after use of testdisk

I have 2 OS on my laptop: Windows and Linux. Once there was no space left on Linux, and, as a result, my important file was erased. I have tried to restore it using testdisk, but instead of after ...
0 votes
1 answer
5k views

lsblk: failed to access sysfs directory: /sys/dev/block: No such file or directory

I am trying to copy the files on my ubuntu home directory to a USB flash drive. I am following these guidelines How to access a usb flash drive from the terminal?. When I run lsblk I get lsblk: failed ...
9 votes
5 answers
9k views

How to know when formatting disk has finsihed - Ubuntu 16.04?

I have external hard drive which is 300GB. I set it to format to NTFS. Well there wasn't FAT32 in the list, though I know on Windows it asks me to set FAT32 because it has large capacity. It started ...
1 vote
1 answer
5k views

GNU Grub Version 2.04 exists even after deleting all Ubuntu partitions

I had Windows 10, Ubuntu 18.04, and Ubuntu 20.04 on the same disk. Since I didn't need Ubuntu anymore, I decided to delete them. First deleted 20.04, but that wiped out the Grub bootloader. Somehow ...
0 votes
0 answers
15 views

Ubuntu server LVM not using entire disk space [duplicate]

Running lsblk gives following output. NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS sda 8:0 0 465.8G 0 disk ├─sda1 8:1 0 1M ...
0 votes
0 answers
18 views

My Aspire A-515-54 fails to boot. Got a software disk assembly mismatch

Ubuntu 20.04 LTS installed 9 weeks ago. Windows 10/11 deleted, disk reformatted NTFS. System worked like a charm for over a month. Then problem appeared. I tried the command /etc/fstab to update the ...
4 votes
3 answers
14k views

Extend LVM size

I recently cloned my ubuntu from a 250GB SSD to my new 2TB SSD. It automatically created an LVM with 248GB with my root filesystem in it. I would like to resize the LVM to full 2TB. nvme0n1 ...

1
2 3 4 5
274