Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
0answers
22 views

Debian Stuck in Emergency mode after Triple boot

These are the errors I found in my log file: I recently did some changes to my disk I made a triple boot from dual boot system but I had to take a big part of debians home partition. After I ...
2
votes
3answers
36 views

Execute permission NTFS data partition

I'm trying to execute some scripts, which are located on my data partition, from the shell, but I have a problem with permissions. bash: /media/storage/ss/script.py: Permission denied Before ...
2
votes
1answer
49 views

Why partx can't read the partition table of some disks

partx fails to read the partition table of /dev/sdb on this system. Why does it return this 'failed to read partition table' shown below, instead of null/empty ? Will this 'failed' result always mean ...
0
votes
0answers
17 views

Logical Volume / Group Volume / Physical Volume : blivet-gui and pvmove

I installed fedora29 workstation. I have only one 1To SATA disk (Partition table : GPT). After automatic installation, all my disk space is used. To reduce /dev/sda3 (because I want space on my disk), ...
0
votes
1answer
26 views

Extend /dev/sdb3 partition

I am new to linux. I am trying to clone my linux usb live persistence from 32GB drive to 64 GB drive. After I clone it, there are some unallocated space (32GB). I have done some research but I still ...
-2
votes
0answers
18 views

Dragora installation issue [ Start Sector out of range]

I am trying to install the Dragora distro on a partition on an old laptop i have. Below is what i have done so far. I have reduced the size of my windows partition using the Disk Management utility ...
0
votes
1answer
37 views

Linux installation and partition

I'm new to Linux and I've thought I'll give it a try and so I installed Zorin OS. I' wondering if I installed it correctly in the disk. Sample screenshot using cfdisk: Is it fine that the Linux file ...
0
votes
1answer
26 views

Are there any issues with using the windows os partition for shared data storage with Linux?

My previous laptop had a 640Gb HDD and had partitioned it so that I had a separate NTFS partition for Data (documents, music, videos, etc) that I would access from both Linux and Windows in a dual-...
0
votes
1answer
49 views

EFI system partition cannot be of type ntfs, EFI system must be mounted on one of /boot/efi

I have tried to install CentOS alongside windows 10 and for this I created some unallocated space for the CentOS. While proceeding with installation of CentOS I came to stage of partition and then I ...
1
vote
2answers
93 views

Create an image of the partition (only the used space)

I have a partition sdb1 of size 3.3 GB. From 3.3 GB only 1.9 GB is used and 1.2 GB is an empty space. I want to create an image of this partition. But I want the image to only have the used space i.e. ...
2
votes
1answer
62 views

Handle booting failure for u boot ( Debian )

I have an embedded device with 512 Mb of ram and 4Gb internal storage. ( Consider Raspberry Pi or Beaglebone ) I have an external SD card available with 3 Partitions. mmcblk0 is the disk and ...
0
votes
1answer
11 views

How can I resize my fedora lvm partition to be larger with the root partition in the way?

I have changed to Fedora Linux and shrunk my windows partition. I have unallocated space which I want Fedora to take up. I have looked other answers to questions like this and cannot find instructions ...
-1
votes
1answer
25 views

Formated drive is not fully empty

I used Gparted to delete the partitions on a HDD as for some reason had used data on it however, after restarting my system it says my unallocated 4TB drive is only 3.64TB.
0
votes
0answers
13 views

How to partition free space in a Mac SSD [migrated]

I have a Mac with a 250Go SSD. I used to have a Windows partition, but as I had no longer any use for it I wanted to free up its space. My error was here : instead of using BootCamp helper to delete ...
0
votes
0answers
32 views

Workaround for shrinking a XFS CentOS root partition

I run a cloud VPS with Centos 7 installed. Unfortunately, I could not customize disk partitions during installation so now I have no free space in the volume group automatically created because it is ...
-2
votes
0answers
18 views

How to extend /dev/md0 root partition on Debian?

I have a Netgear ReadyNAS Pro 4 (Debian 9). I installed some apps like Radarr, Sonarr but after some weeks my NAS became very slow and later unreachable. After I made some free space on the root ...
-1
votes
1answer
20 views

Resize partition with fdisk without data loss

I need to increase the partition using the empty space located before the partition starts without data loss. As far as I know to resize the partition and to leave data intact one should start the new ...
2
votes
0answers
42 views

Replace CentOS with Ubuntu on a remote server (SSH access only) [closed]

I am trying to replace CentOS with Ubuntu Server on a remote machine where the only access is via network (SSH-only at present, VNC may be set up if needed). I have fully backed up all data on the ...
-2
votes
0answers
20 views

How to clone a whole partition from usb while booting

im searching a way to clone a whole partition from a usb stick to a pc. I could use a live operation system e.g. ubuntu and use dd to copy it, but im searching for a way that laity can also do that. ...
0
votes
0answers
20 views

Facing issue in creating a symbolic link for connman ( /var/lib/connman and /run/connman/resolv.conf )

I have 4 Partitions on a disk. mmcblk0p1 has the boot configuration. mmcblk0p2 has a Debian Os. ( Let's name OS1 ) mmcblk0p3 has another Debian Os. ( Let's name OS2 ) mmcblk0p4 is persistent ...
0
votes
0answers
19 views

Linux remove free space of partition [duplicate]

Is there any way to remove free space of a partition ? I want to build embedded os and i created disk image with dd command and patition this disk with fdisk . my problem is , disk size is too ...
0
votes
0answers
26 views

Kali Doesn't show HDD in automated install [duplicate]

I am trying to install Kali Linux from a USB drive to my hard drive alongside Windows 10. My issue is that when the "Partition Disk" step comes along in the Kali installation, /dev/sda does not appear....
1
vote
0answers
60 views

Rescueing Microsoft reserved partition

A few year ago I built myself a NAS. It has a 320GB HDD for ubuntu OS and a 2TB HDD for files. I mounted de 2TB disk and shared it with samba over my network. Now I have build a HTPC like system and ...
0
votes
0answers
11 views

How can I customise root partition (/) volume size in VM ( Centos7) creation using Packer?

I'm creating a vmware machine("type": "vmware-iso",) using packer. By default it creates /(root) partition with size appx 40 GB(not sure why? default ?). Now I am struggling to find out a way through ...
0
votes
0answers
39 views

Can I move any partition freely when using UEFI?

In BIOS, booting is two or three stages, both of which will end up calling the final-stage bootloader code in the boot block of a partition. Is that the reason why I need to reinstall GRUB2 when ...
-7
votes
1answer
52 views

What is a region inside a partition, not used by any filesystem, called?

gparted calls the region on a disk not belonging to any partition "unallocated", and region in a filesystem not occupied by any file or metadata, "unused". How do we call a region inside a partition ...
-3
votes
1answer
52 views

What are the limitations on where we can move a partition in gparted? [duplicate]

Please leave the two posts open, until you can write a good answer to cover both. The layout of my current disk is: In gparted, when I select a partition, and click "Partition->resize/move", is it ...
0
votes
0answers
53 views

Will I be able to move my root partition without failing to boot?

The layout of my current disk is: I am following the advice from https://unix.stackexchange.com/a/501410/674 to rearrange the partitions on the disk. Are the following steps ok? shrink sda3 (/) to ...
0
votes
1answer
22 views

Do the (relative) positions of the partitions matter?

The layout of my current disk (ST1000LM014) is: Do the (relative) positions of the partitions matter? what are the pros and cons of the following orderings: swap, home, root swap, root, home root, ...
0
votes
0answers
12 views

Cannot manage to restore Dual Boot after reinstalling ubuntu

I have a Dell Latitude 3590 with Windows 10 installed as factory setting. I previously installed ubuntu 18.04.2-desktop with an iso image on a usb drive with dual boot allowing me to choose between ...
0
votes
0answers
33 views

How can I reduce the LVM space and assigned that reduced space to existing partition?

Had this condition, I really need a space in /dev/vda1, how can I reduce the size of my LVM in /dev/mapper/vg-data-lv_data by 10G and assign those 10G of space to my /dev/vda1 partition ? If it's ...
0
votes
2answers
66 views

What does disk label mean?

What does the concept of disk label mean? Does it mean the same as partition table type (MBR, GPT, loop, etc)? (as I suspected from the following output of parted, and in my previous post) Or does ...
-2
votes
1answer
42 views

How shall I create a single partition on a disk for making it an external hard drive with a ntfs filesytem?

In manpage of parted: Command: mkpart [part-type fs-type name] start end Creates a new partition, without creating a new file system on that partition. This is useful for creating partitions ...
0
votes
1answer
46 views

What do the partition table types and flags mean in the output of parted?

In the output of sudo parted -l: Model: WD My Passport 0748 (scsi) Disk /dev/sdb: 1000GB Sector size (logical/physical): 512B/512B Partition Table: msdos Disk Flags: Number Start End Size ...
-3
votes
1answer
47 views

In GPT, can a partition be partitioned further into partitions?

I heard that GPT makes MBR's distinction between primary partition, logical partition, and extended partition disappear. In GPT, can a partition be partitioned further into partitions, in the same ...
1
vote
2answers
38 views

Partition recovered

Partitions MBR has been destroyed accidentally by a friend, Then most partitions are unviewable which is too bad, can all the partitions be recovered? I have a text file including the original ...
-1
votes
2answers
30 views

Data recovery after dd on a sda partition

I had installed opensuse in UEFI mode in my computer but having a legacy Windows so it did not appear in boot menu. Following a weird tutorial on the internet I dd the Windows partition of my sda. I ...
-2
votes
3answers
54 views

Is a disk without being partitioned a partition by itself?

From We can make a disk a PV by `pvcreate`, if and only if the disk has only one partition? You can't make the whole disk a PV if there is at least one partition on it (because pvcreate won't let ...
-3
votes
2answers
84 views

We can make a disk a PV by `pvcreate`, if and only if the disk has only one partition?

Manpage of pvcreate says pvcreate initializes a PV so that it is recognized as belonging to LVM, and allows the PV to be used in a VG. A PV can be a disk partition, whole disk, meta device, or ...
1
vote
1answer
32 views

Significance of /sys/block/sd*/sd*/size

Disk size /sys/block/sda/size is always correct but the partition size /sys/block/sda/sda2/size is not correct if the partition type is extended, boot, etc, due to this I rely on reading MBR to get ...
0
votes
1answer
40 views

Can't log in desktop environment after moving `/` and `/home` into different LVs and enlarge swap

I enlarged LV swap from 1G to 4G. I also moved / and /home in a single PV to two different LVs, by shrinking LV root and create LV home on the freed space, and then following https://askubuntu....
-2
votes
2answers
70 views

How can I make `fsck` actually check the healthiness of my disk, partitions, filesystems, and LVs?

I want to check the healthiness of my disk, partitions, filesystems, and LVs. So I run fsck. I heard to use fsck on a filesystem, I need to boot into a live Lubuntu from a bootable flash drive and ...
-3
votes
0answers
23 views

What commands can check the healthiness of partitions, LVs, and filesystems, and repair any problems if possible? [duplicate]

I have just created some LVs, and have attempted to move / and /home to different LVs, and modified mount point in /etc/fstab. Now I try to reboot, but Lubuntu seems stuck at shutdown forever. So I ...
1
vote
0answers
72 views

Warning: The driver descriptor says the physical block size is 2048 bytes, but Linux says it is 512 bytes

My laptop has Lubuntu 18.04 installed, and I boot into a live Lubuntu via a bootable flash drive, and then examine the partitions and filesystems. Is the following warning some serious problem to ...
-2
votes
0answers
18 views

How shall I rearrange a swap LV and a LV for everything else into a larger swap LV, `/` LV and `/home` LV?

My disk on my Ubuntu machine has an EFI partition and a partition for everything else. The second partition is a PV, with two LVs: for swap and for everything else. I would like to create a LV for / ...
-1
votes
1answer
38 views

mdadm RAID 1 partitions on sda1 and sdb1

Quick background: I have a RAID 1 array, created using mdadm. Both drives are hard-drives. The RAID array is called md127. There are 3 partitions in this RAID array: 20G for /var, 20G for /opt and 891....
0
votes
3answers
87 views

How to check if partition is Extended/Primary in Linux

Below is the info I get using (g)parted or fdisk command. Device Boot Start End Sectors Size Id Type /dev/sda1 * 2048 196265983 196263936 93.6G 83 Linux /dev/sda2 ...
0
votes
0answers
66 views

How shall I split a partition containing `/` and `/home` into two logical volumes? [duplicate]

I have a laptop running Lubuntu 18.04, with a single hard drive as a bootable disk, and two partitions on it: EFI System Partition and a bigger partition contains everything else (e.g. / an /home). $...
-2
votes
1answer
60 views

How can I split a monolithic partition into two, one for `/` and one for `/home`? [duplicate]

Right now, I have everything in a partition (except EFI system partition). How can I split the partition into two, one for / and one for /home? How would you use parted to do that step by step? How ...
0
votes
0answers
29 views

Can I use dm-crypt and dm-verity at the same time? Or is it “one-or-the-other”?

I don't know too much professional theory of the two tools. I thought I would use dm-crypt to encrypt the whole partition, and then use dm-verity to verify the integrity of each block. Does that make ...