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
2
votes
1answer
66 views

On Debian 9, is /root part of the /home partition?

I am encrypting my /home partition and I would also like any secrets /root (not /) contains to be encrypted. Is the /root folder considered part of the /home partition by default, or do I need to ...
1
vote
1answer
147 views

What units are the values in /proc/partitions and /sys/dev/block/<block>/size?

I have a sample emmc block info from an android device From /proc/partitions major minor #blocks name 179 1 5120 mmcblk0p1 Using my little intelligence I am assuming /proc/partitions ...
1
vote
1answer
42 views

How to enlarge this partition?

Inside vmware ESXI I have a CentOS virtual machine, and I resized the virtual disk from around 30 GB to 120 GB using vmware "edit" vm menu. Then I booted using a gparted bootable ISO and resized the ...
1
vote
0answers
48 views

How to wipe a partition quickly with value zero? [duplicate]

I want to wipe a partition quickly.I search the answer in website. such as: dd if=/dev/zero of=/dev/sda1 bs=16M count=96 shred -v -z -n 1 /dev/sda1 But: All the commandline,will overwrite with ...
0
votes
1answer
627 views

Failed finding GRUB drives of recently installed distros on another drive, edit device.map?

I am running Linux Mint 19.1 on a Samsung 860 EVO 500 GB (dev/sdb) along with Windows 10 on it and recently added a Crucial MX500 1TB (dev/sda) to try out and use more distros, both of them are ...
0
votes
2answers
58 views

partitions (in general)

I have been doing research on partitions lately and im quite confused on a few things: what is a partition table and what is it used for what is a partitioning scheme (GPT and MBR) and what are they ...
0
votes
2answers
60 views

can you partition a logical partition

in linux i have been working on partitioning and wondering is it possible to partitition a logical partition or further extend a extended partition?
0
votes
0answers
40 views

How to mention the staring size in sfdisk when using extended partition?

I'm using the below sfdisk script for eMMC partition on the target Linux platform and is working fine. #!/bin/sh # wait for the SD/MMC device node ready while [ ! -e $1 ] do sleep 1 echo “wait for $...
0
votes
1answer
62 views

Windows 10 and linux mint on one ssd disk, how to restore windows partition without losing linux?

I accidentally entered sudo mkfs.ntfs /dev/sda1 in terminal, and now i am unable to boot with Windows. I have Windows and Linux installed on ssd. On startup i have screen where i can select which to ...
0
votes
2answers
445 views

How to extend root partition by shrinking home

Recently I've found out that soon I will run out of space on my / (root) partition. I've done some research on extending root partition, however, it wasn't too informative (mostly everyone say it's ...
0
votes
0answers
28 views

Installed new Linux on HDD having a second Linux on SSD - possible sharing of root/swap partitions?

I got a bit confused after installing Linux Mint again, this time on my HDD instead of the SSD. I have not deleted the old (on the SSD) yet because I am worrying that "root" and "swap" might be shared ...
0
votes
1answer
53 views

Hiding Specific partition from a non-sudo user

Is there anyway to prevent a non-sudo user from seeing specific partition? lets say "/data" partition? I know that i can prevent the user from accessing the directory, but i preffer to hide it from ...
0
votes
1answer
32 views

install arch into already parttioned disk

I've been using linux for couple of years, but still can't manage partitioning at all. I have / and /home partitions on my drive and want to use these partitions for my fresh Arch installation. I'm ...
1
vote
1answer
31 views

Cannot Extend partition with GParted

I am trying to extend my ext4 partition using the GParted application. I've tried a number of times to get this to work, but it seems impossible. I've seen many threads about the issue being the ...
0
votes
2answers
341 views

4TB drive formatted with ext4 can't mount due to wrong fs type

I had someone plug in a brand new 4TB drive via usb in an external enclosure in a data centre. I remotely used disk to create a partition with the default parameters to use up the entire drive. I then ...
1
vote
1answer
44 views

Add (already created) partition for /home after OS installation

I made a separate partition for /home, but during installation process I forgot to mount it and hence no entry was made in fstab. I had everything in partition under the root ( well not the swap and ...
1
vote
1answer
32 views

Rebuild LUKS as extended container

I deleted a LUKS partition by fdisk for some reason; I rebuilt it, but mistakenly did so as an extended container, then hit w. Although I deleted the extended container later, and rebuilt the LUKS ...
1
vote
0answers
85 views

How to add same Ubuntu operating system as backup to GRUB?

I have 4 partitions on my hard disk: 15 GB Ubuntu OS (mounted to /) - sda 2 15 GB Backup (not mounted) - sda 3 505 MB Grub (/boot/efi) - sda 1 89 GB GB Data (mount /data) - sda 4 For LTS updates, e....
0
votes
1answer
38 views

sfdisk strange behavior: total size of partitions greater than device size

I have a ssd(256 Gb), when I'm trying to part it: sfdisk /dev/sda << EOF 2048,8388608,S ,104857600,L ,,E ,20971520,L ,20971520,L ,20971520,L ,,L EOF fi the output is: Disk /dev/sda: 238.5GiB, ...
0
votes
1answer
342 views

A separate partition for a user's /home directory?

Is it possible to separate /home/$USER for one particular user into a separate partition in Arch Linux x86_64 with the 4.19.31-1-lts kermel? I want to encrypt one user's /home directory, but I prefer ...
0
votes
1answer
249 views

How do I merge two ext4 partitions?

I have the following setup: sda7 is my /home (Linux Mint) that I want to merge with sda8 (which I cut out of Windows). I read here that I can't combine two partitions that are not adjacent and that ...
0
votes
1answer
2k views

How to change partition type id without formatting?

How to change my partition type id from 83 to 8e without formatting and losing data?
0
votes
0answers
76 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 ...
3
votes
3answers
120 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
361 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
34 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
93 views

Extend /dev/sdb3 partition

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 cannot figure it out....
0
votes
1answer
102 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
37 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
719 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
1k 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
120 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
332 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
27 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
1answer
5k 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
82 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 ...
0
votes
0answers
20 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
29 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
350 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
70 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
84 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
58 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
69 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
174 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
32 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
46 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
42 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
720 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
115 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
328 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 ...