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
1answer
48 views

Clonezilla: cannot have overlapping partitions

I am trying to image my Ubuntu disk using Clonezilla and it fails because I get an error saying: error cannot have overlapping partitions Below is how my disk is set up and the lsblkoutput: NAME ...
0
votes
0answers
12 views

System boots up without asking to select which os to load

being an amateur I'd like to apologize in advance if I did some rookie mistakes. So long story short, I wanted to delete windows completely from my system(Dual-booted with parrot os) and instead have ...
0
votes
1answer
16 views

Discrepancy of disk size in fdisk command output

I have created CentOS 7 VM in oracle VM box with the disk size of 10 GB. When I run fdisk -l /dev/sda command, it reports that the disk size is 10.7 GB. Can someone explain why fdisk shows higher disk ...
-1
votes
1answer
39 views

How can I expand a partition (with my Grub boot loader on it) and make sure it still boots after the fact?

I have a 2TB harddrive which I restored a Clonezilla Ubuntu OS image on it, the image was of a 512GB disk, so now my system sees the 2TB drive as a 512 with 1.5TB of free space. I looked into it and ...
0
votes
3answers
59 views

Is it possible to move /home mount point from one disk to the disk where / mount point is?

I have this setup of Ubuntu 18: two identical disks. In one (sda) there is / and /boot/efi. In the other disk (sdb) there is /home. The free space in sda is enough to hold what is used in sdb. I would ...
0
votes
0answers
34 views

Is 50 GB enough for / partition in Arch Linux? [closed]

I have installed Arch Linux on my laptop. I have allocated 50 GB of disk space for / partition. I have completed setting up my Arch Linux. But i get updates everyday of atleast 100 MB and it takes 300-...
0
votes
2answers
28 views

create partition using ansible

I need to run those commands, but I do not want to use 'shell', is there way to create home partition using ansible tools? lvcreate -L5G -n home vg0 mkdir /home mkfs.xfs /dev/mapper/vg0-home mount /...
0
votes
1answer
40 views

Is there a way to allow nested partition tables?

I'm looking to do something along the lines of sudo fdisk /dev/sdb # create 2 partitions sudo fdisk /dev/sdb1 # create 2 more and end up with something along the lines of [daffy@daffydesk ~]$ lsblk /...
0
votes
1answer
13 views

Centos release 7.3.1611 Extend Swap partition from current 1GB to 2GB

Could someone who has a deep knowledge can try explain how to achieve and increase a swap memory from 1 to 2G? I'm running Centos on Oracle Virtualbox. After utilized a command lsblk : sda ...
-1
votes
0answers
28 views

In CentOS 6 /dev/sda1 partition deleted by mistake [closed]

While rebooting CentOS 6 machine GNU GRUB version 0.97 ...... screen appears. How can i recover from this error, kindly assist
0
votes
1answer
30 views

Extend Disk Size of LVM

I have a LVM (/dev/data/files) with 170G which is currently on a Physical volume (/dev/sdb1) Here is the structure, shown by lsblk command lsblk sdb 8:16 0 220G 0 disk └─sdb1 ...
-1
votes
0answers
45 views

Unable to write after formatting external HDD to exfat

I recently used gparted to format an external HDD to ExFat since its fat32 partition had a filesize limit of 4GB. However, its permissions do not allow writing: I tried to change the permissions ...
0
votes
0answers
35 views

How to remake uefi partition?

So i use a dual boot system with windows and kali linux but the kali system didnt have a lot of space so i wanted to install it on the other hard disk i had on the laptop. I ended up installing a ...
0
votes
1answer
33 views

How to undo fdisk new partition on ext4 file system?

I have a LVM called /dev/data/files on a VM of mine. I allocated 50 GB on it and wanted to extend this LVM... So, instead of using lvextend command which i forgot to use i did the following: fdisk /...
0
votes
1answer
42 views

How do I access a software RAID built in Windows 10 on Ubuntu?

I'm pretty new to Linux so please be gentle! I have been searching online for a couple days now for some way to do this but I am throwing in the towel before I delete all the data on there or ...
0
votes
0answers
15 views

OL6 partition resizing issue

Not sure what else to try here. I have an OL6 Virtual Machine running in VirtualBox and I increased the HD to 20GB using Virtual Media Manager and GParted. Now I'm trying to figure out why it isn't ...
0
votes
0answers
29 views

Can I faster move the partition to the left?

I mistakenly store data in the same partition with Ubuntu system files, I want to move them all to the new partition which created from root partition, and then shrink the root partition, move the ...
0
votes
1answer
46 views

OpenBSD core dump and /var size

I'm trying to figure out my partitioning which leads to https://man.openbsd.org/disklabel#AUTOMATIC_DISK_ALLOCATION which says: /var 13% of disk. 80M – 2x size of crash dump But how do I ...
1
vote
0answers
27 views

Did I lose my files or are can I just not see them after installing Mint 20?

I have 2 HDD and I (maybe incorrectly) chose the format option when I installed the Mint 20. I was thinking that the files on the second HDD would be preserved. I can't see them after the upgrade. It ...
1
vote
1answer
22 views

Logical volume not found in volume group

I need to increase the size of centos_s0106ac9e17b4312300-root I am trying sudo lvextend -L +10G /dev/mapper/centos_s0106ac9e17b4312300-rootJESSE but getting Logical volume rootJESSE not found in ...
0
votes
0answers
48 views

Can't resize partition using gparted from Live CD

When I go to resize my ext4 main partition of Linux to free up some space as unallocated, after clicking "Apply", gparted shows me an error. I am using latest version of gparted live and ...
1
vote
1answer
27 views

Move and shrink a partition at the same time

It is possible to shrink a partition with, for example, parted. It is also possible to move (copy) a partition from one hard drive to another, by creating a partition of the same size on the target ...
0
votes
0answers
41 views

Trying to create a Linux OS drive that can be booted from any PC at any time

I am currently trying to test multiple PC's (Same model and configuration) using Linux. To put it as simply as possible, I want to fully install Linux on a USB thumbdrive and be able to boot it up ...
0
votes
1answer
27 views

Heredoc not working in bash script

I made a bash script that was working in Ubuntu mate but now it won't work in Manjaro. It fails on this method: #!/bin/bash dev_block="/dev/sdb" createPartitions(){ echo "...
0
votes
1answer
27 views

Bad superblocks after partition manager error, any way to solve?

Alright so I was using Lubuntu to create a swap partition for my KDE Neon system and I used KDE Partition Manager (it came preinstalled with Lubuntu). It shrinked the drive in 8GB and sat there for a ...
2
votes
1answer
41 views

xfs - Can't have a partition outside the disk

My hard drive crashed and a restoration company was able to copy everything to another new drive. I think they used dd or similar. It had two xfs partitions. But, now I can only mount the first one. ...
0
votes
0answers
35 views

How to change the grub efi loader's grub.cfg location

This is the first time that I'm installing a grub efi loader, and I admit that things has been a mess. I.e., as per UEFI Grub not finding config file, "GRUB loads grub.cfg from the ESP using an ...
0
votes
1answer
30 views

Print full path to home directory

echo $HOME will just print /home/user. But in my system, /home is not mounted under / and is neither is its own partition. # shared linux data partition, `/home` is here UUID=a89334f7-59b7-4d04-b89b-...
0
votes
1answer
31 views

What is the difference between a Btrfs filesystem and a Btrfs partition?

The excerpt from here: https://linuxhint.com/resize_a_btrfs_filesystem/ The Btrfs filesystem can be resized online (when the filesystem is mounted), but if you want to resize a partition that is ...
2
votes
1answer
69 views

"will not make a filesystem here!"

Trying to format this LV /dev/mapper/nvmeVg-var which is not mounted. See findmnt below. mkfs.ext3 /dev/mapper/nvmeVg-var mke2fs 1.45.6 (20-Mar-2020) /dev/mapper/nvmeVg-var contains a ext4 file ...
0
votes
1answer
43 views

fdisk: unsupported wipe mode

I am trying to create a new partition fdisk -W /dev/mapper/nvmeVg-var but keep getting fdisk: unsupported wipe mode nvmeVg-var is a part of an lvm When I fdisk /dev/mapper/nvmeVg-var I get The ...
0
votes
0answers
29 views

My Parrot OS and D disk has disappeared. How do I fix it?

Before disappear start I have a 4 partitions on one hard disk and those are Kali linux, Parrot OS, Windows 7 C disk partition, Windows 7 D disk partition. Moreover My computer is triple boot. ...
0
votes
0answers
28 views

how to fix messed up SDD with no boot partition found (after converting MBR to GPT)

I have a lenovo laptop that came with a SSD drive which originally had just FreeDos instsalled. I then unstalled Ubuntu alongside the freeDos, and everything worked like a charm. Last week, I wanted ...
0
votes
1answer
52 views

Is it necessary to separate /home and / to different partitions?

Is it necessary to separate /home and / to different partitions? Here are my guesses of two benefits of separation. Suppose /home is in the partition for /. Is it still possible to reinstall a Linux ...
1
vote
0answers
33 views

Unable to boot from secondary SSD despite being detected by os-prober

I have a PC that does not support UEFI. It only supports Legacy BIOS. I have an SSD with only 2 partitions of Fedora and Debian installed on it. There is no UEFI or MBR partition. This SSD was used ...
0
votes
0answers
14 views

How to merge unallocated disk space in a device in another device?

when I'm doing "fdisk -l" we can see : Device Start End Sectors Size Type /dev/nvme0n1p1 2048 1050623 1048576 512M EFI System /dev/nvme0n1p2 1050624 500117503 ...
2
votes
1answer
90 views

reduce lvm space and create new partition

My objective is to free some space from the lvm and create new partition. Below is the devices and lvm ontop of it. # lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT vda 252:0 ...
0
votes
0answers
31 views

Wanted to expand main partition but accidentally deleted swap and expanded using that space too

This is a centos 7 vm running on hyperv. Two weeks ago I wanted to increase the root partition space. what I had is: dev/sda1 - boot dev/sda2 - swap dev/sda3 - root By mistake i used fdisk to delete ...
0
votes
2answers
44 views

Extend 100GB of unallocated space on /dev/sda1 device in command line

I'm looking on my Debian 11 Server for the easiest way to allocate 100GB of extra space after the /dev/sda1 device in command line. The sda1 partition is almost full and needs to be resize with the ...
1
vote
0answers
28 views

What's the best strategy for migrating a dual boot system to a bigger disk?

I have a dual boot system with Windows and Debian on my laptop and I want to upgrade my disk from a 500GB to a 2TB one, while increasing the sizes of both OS partitions. Here is how things are setup: ...
0
votes
1answer
39 views

How to extend partition size without losing data?

How do I extend the size of /dev/sda5 using the unallocated space on the top? I've tried using the resize/move option directly but can't do that because the partition is mounted and it can't be ...
0
votes
0answers
14 views

Coping automatic sites logoff as a user changing linuxes in one PC

What actually cause automatic sites logoff if one single user using the exact same browser (it and its .config is in own partition separately of / OS part) run across linuxes installed in each own ...
0
votes
0answers
18 views

Mounting another partition doesn't show up

I'm trying to mount another partition on Oracle Linux, when I try to mount, the partition doesn't show in the mount point other than some generic EFI & xfs folders. fdisk -l shows something like ...
0
votes
0answers
8 views

Entered Grub Rescue after using 2nd Linux distro?

I’m rather new to Linux and I tried to dualboot Recalbox from an SD card alongside my computer, which had Q4OS and windows 10 installed on different partitions. After leaving recalbox, I was met with ...
0
votes
1answer
78 views

Create ZFS partition on existing drive

I hear that ZFS has deduplication, so you can save the same file in multiple places but only use ~1 copy's worth of space. I've noticed I tend to end up with music/images/etc. in multiple places ...
0
votes
2answers
55 views

Mixed SSD+HDD setup with encrypted LVM

Before anyone dishes out the facile answer, my SSD is not large enough to hold everything. My /home is full of data, documents, and VMs, approx. 720 GB. I do not want to buy a larger SSD. The SSD is ...
0
votes
0answers
14 views

External HDD no more bootable after install

I have an external USB HDD with several partitions containing Linux distributions (let's suppose it is /dev/sdb; for details see end of this post). I've installed grub to /dev/sdb so that I had a menu ...
0
votes
0answers
41 views

Having trouble with partitioning a fresh install of Kali

Partitioning my drive ends up with a fatal error when I use the guided option. I am having issues manually doing it as well, so I think I've got something wrong. Here's what I've done: Followed this ...
1
vote
1answer
51 views

Can I install windows in space between two existing linux partitions?

I have ubuntu installed on my computer. Now I want to install windows near it. For this, I need to free around 20-50 Gb space. But I have the following partitioning: lsblk ├─sda1 8:1 0 750M 0 ...
0
votes
1answer
36 views

Ubuntu cannot boot because no valid partition table. How to fix it?

I am unable to boot. I have only Ubuntu installed on a computer, and it was working fine. But suddenly I am unable to boot. It says "no valid partition table". I have attached the output I ...

1
2 3 4 5
50