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.

learn more… | top users | synonyms (1)

2
votes
1answer
13 views

can format and partition sd card but cannot see device entries [on hold]

I have a microSD card (4 GB) that I can format with dd and fdisk. I have created two partitions and when writing the partition table. I get a warning about ioctl advising to run partprobe. Running ...
0
votes
0answers
22 views

Flash an OS to an eMMC, from uSD with larger capacity than eMMC

With a Debian distro installed into a 8GB uSD (although uSD memory is almost free), I need to flash this distro into the 4GB eMMC of a BeagleBone Black board, based on AM335x SoC. The S2 switch ...
1
vote
3answers
35 views

Create Partition (Standard partition vs LVM physical volume) in CentOS installation

All. Forgive me I not familiar with the Linux. I am trying to install CentOS in the VMWare. As I knew, Linux can only create three kinds of partitions. they are primary, extended, and logical, For ...
0
votes
2answers
33 views

Can I Grow A Linux Partition After Making It & Not Lose Data?

I finished the Arch Linux install successfully and installed GNOME. But I think I made my partitions too small: Disk /dev/sda: 232.9 GiB, 250059350016 bytes, 488397168 sectors Units: sectors of 1 * ...
0
votes
1answer
19 views

How to create extended partition in Ubuntu

All, I am tring to create partition in the installation of Ubuntu. As I knew. MBR partitioning scheme allows you to have up to 4 partitions on a drive, one of those partitions can be an "...
0
votes
0answers
17 views

lvm data lost risk

Recently I bought server for my files , I have 4x6TB hard drives : root@Debian-85-64bit-minimal ~ # lvmdiskscan -l WARNING: only considering LVM devices /dev/sda2 [ 5.46 TiB] LVM ...
3
votes
1answer
28 views

Partition table consuming 32K of data?

I create a file of 100MB size, and using losetup assign it to /dev/loop0. Consequently I use fdisk to create an empty DOS partition table, and a new partition that spans the entire disk. One thing ...
0
votes
1answer
23 views

Create a partition with fdisk in bytes

i would like to create a partition with fdisk with exact number of bytes. But fdisk only let me input K,M,G,T,P: Last sector, +sectors or +size{K,M,G,T,P} (2048-7814037134, default 7814037134)
1
vote
1answer
18 views

Is there disk-level caching in Solaris 11?

I have an iSCSI disk at /dev/rdsk/c5t6d0 I have made a partition (slice with UEFI label) at: /dev/rdsk/c5t6d0s0 Now I write some data to the slice: echo "...
0
votes
0answers
6 views

Use format-udf to format a single partition

I came across this tool, format-udf from here: https://github.com/JElchison/format-udf. But it seems I can only format the whole device with a single partition. I have a hard drive with several ...
0
votes
1answer
17 views

Get back free space lost with resize2fs

I resized an EXT4 partition with resize2fs, but it was after the action completed that I found out it only shrinked the filesystem, not the partition. How can I grow the filesystem to be the size of ...
0
votes
1answer
21 views

kpartx or losetup?

If I have an image file or a data storage device that has no partition table but either has partitions or needs to be mapped to device nodes, which tool is better? A use case might be with flash ...
0
votes
1answer
19 views

Convert free space LVM to ext

Can I convert Free space in a LVM partition to a ext3 partition? If I run pvs: PV VG Fmt Attr PSize PFree /dev/sda3 ubuntu-vg lvm2 a-- 297,11g 30,02g So I have 30GB unused, ...
0
votes
0answers
25 views

set partition bootable with gdisk GPT

Using GPT, how do I set this disk: sda1 ext3 FUJITSUMHV2080B so that the partition is bootable? Or, do I need to reformat using the install disk?
2
votes
1answer
62 views

What is the difference between a name and a label in gparted?

When I create a new partition on my disk using GParted, I have the option to set both a name and a label. Some partitions I have already have both, some only a label. If I right-click on an existing ...
1
vote
1answer
25 views

How to empty trash on boot partition

I had deleted some old kernels a while back to make space on my boot partition (using elementary os), but now I realize they went into the trash-0/files folder on the boot, I tried opening sudo ...
1
vote
2answers
58 views

What are the differences between the various partition tables?

When I am looking to create a new partition table, I have the following options: aix amiga bsd dvh gpt mac msdos pc98 sun loop The default in gparted appears to be msdos which I guess is an 'MBR' ...
1
vote
2answers
43 views

How to grow filesystem to use unallocated space in partition?

I duplicated a hard disk to a new larger one using the method suggested in Full DD copy from hdd to hdd. After doing that df -h reports the original and smaller partition sizes from the original disk ...
0
votes
0answers
42 views

Installing Mint over Ubuntu in a dual boot with Windows 7

My computer dual boots Ubuntu 12.04 and Windows 7. I want Linux Mint instead of Ubuntu. I need to keep Windows. I burned the Mint disk I need. I boot from it, and check the desktop, click Install ...
0
votes
0answers
33 views

How do I repair an ext3 filesystem (superblock)?

Disk setup (2) 300GB HDDs in RAID 1 /dev/sda1 - ext3 /boot (1GB) /dev/sda2 - swap swap (20GB) /dev/sda3 - LVM (179GB) (2) 500GB HDDS in RAID 1 /dev/sdb1 - LVM (500GB) LVM - System (...
0
votes
0answers
15 views

resize partition to get some space from EFI partition

I realized that I gave lot more space than required for EFI partition. Is it possible to get some space( 9G ) out of EFI partition into /dev/sda3? This is my current partition: [root@archpc ~]# ...
-1
votes
0answers
16 views

Expanding hard disk partition size

I installed Linux Mint on my computer which already had Windows 10 so it dual-boots now. Unfortunately, when creating the partition for the Linux Mint installation, I allocated too little space for it ...
2
votes
5answers
484 views

/dev holds all partitions, so what holds /dev?

I'm a little confused (even after reading this) post, about how *nix partitions work. From my understanding, sda usually refers to the disk and sda1, sda2, etc, refer to the first, second, and so ...
0
votes
1answer
35 views

Creating F2FS volume with specified size on Android

My smartphone is booted to the TWRP recovery and I'm running the ADB Shell as root on Windows. I have fully unmounted /data with the following command: umount /dev/block/mmcblk0p36 Then checked it'...
0
votes
1answer
58 views

Arch Linux installation (dual-booting with UEFI Windows)

I've searched the web, the manuals, the Arch wiki, the Arch BBS and Stackexchange for answers prior to getting the guts to ask a question here. At this stage I'm just very tired, because I've spent my ...
3
votes
1answer
31 views

Why the 1MiB should be used when setting the first partition?

As the arch install guide suggests (using parted to do the partitioning) (parted) mkpart primary ext4 1MiB 100MiB However, when checking the output of fdisk, the start of the partition is not ...
3
votes
3answers
202 views

Root, home and boot partitions

So I had been considering that partition is like a separate section of space. Recently, I decided to experiment with partitions and found a flaw in my understanding. Some examples refer to a case ...
2
votes
2answers
54 views

Expanding the Kali Root Partition

I have a live distribution of Kali running on a usb with persistence. However, after installing updates and a few new software packages, the root drive is pretty much out of space. How do I go about ...
0
votes
0answers
5 views

crytpsetup on device or partition? [duplicate]

I am creating an encrypted block device (for data) that will use BTRFS on top of LUKS. This device will not hold the root filesystem. With BTRFS, I can create subvolumes. I don't see any need for ...
0
votes
1answer
25 views

Create a new volume on free diskspace from inside Dom0

I have a server with two HDDs (/dev/sda and sdb) with 1.8TB each. On both disks, there is a 500MB Swap and an 800GB partition, that are in a raid md0 and md1: pvs PV VG Fmt Attr PSize ...
1
vote
0answers
51 views

Resize Partition for dev/sda3 [closed]

I am trying to learn Linux. I have Linux-based server on which an Oracle Application running. This is a Virtual Machine and a single VHDx file. Now I want to extend /dev/sda3 as its current available ...
4
votes
1answer
162 views

Use backup file from dd to restore hard disk and also extract files

I made regular complete backups of my hard disk (with all partitions) using dd tool as backup.img file. I have several such files. Now that my old hard disk died, how can I use backup.img file to ...
1
vote
1answer
22 views

Alert! Root Drive Does Not Exist After Elementary Installation

recently I installed Elementary OS with no problems. When I started up the new OS I received this error message Alert! /dev/disk/by-uuid/....../ does not exist. Dropping to the shell Afterwards I ...
1
vote
1answer
41 views

Increasing a Volume

I used Gparted Live cd to resize a volume group and logical partition when i reboot and try to use lvextend –l +100%FREE /dev/vda5 i get this message : Path required for Logical Volume "–l" ...
0
votes
0answers
11 views

Backbox Linux Installation (Ubuntu Derivate) - Problems with partitioning

I did install 5 HardDrives in my computer. (4x 750GB / 1x 500GB) If I boot the Backbox Linux DVD (https://backbox.org/linux) and start gparted all devices are shown up: /dev/sda (750GB), /dev/sdb (...
0
votes
0answers
15 views

Some doubts about disk inconsistency

I have a system with 3 elements: An embedded system with this FAT lib that makes several operations in the FAT filesystem (e.g. add/remove file/dir, append to file). The sector read/write functions ...
0
votes
0answers
24 views

Adding space from sda1 partition from sda on linux server [duplicate]

We recently upgraded our server from 16GB to 256GB. When we did this the space was not added to the partition we wanted. When I run the command lsblock this is the output. NAME MAJ:MIN RM SIZE RO ...
0
votes
0answers
21 views

Windows backup, bootable recovery media, and bootable ubuntu media on same flash drive

I'm going to install Ubuntu side-by-side with windows 10 and I'm seeing lots of advice to back up windows onto a system image. Moreover, it looks like to be able to restore that image if something ...
1
vote
1answer
21 views

How to renumber partitions

I've seen posts in the past that advise against changing the partition number but like Fox Mulder: " All the evidence to the contrary is not entirely dissuasive " I have an old MBR disk that I used ...
3
votes
1answer
41 views

mount: Unrecognised segment type thin

So my Fedora Linux machine crashed during an update, and now refuses to start properly. I'm using SystemRescueCD to try to recover the contents of the hard drive. Following the steps in this post, I ...
1
vote
1answer
48 views

moving free space before other partition (to resize the root part.) [duplicate]

it is possible to move some partition(entire) before another? I need to resize my root partition, but the free space is too far away.(I want to move the free space near the root part.) Can this be ...
1
vote
1answer
144 views

How to clean install and dual boot/multi boot windows 10 Ubuntu and Kali?

Okay so I am new to Linux, I recently tried dual booting my laptop (with 1 TB hard-disk and 4 GB RAM which can upgrade upto 16 GB which I am planning to do) with windows 10 and Ubuntu but after ...
1
vote
1answer
23 views

After installing Ubuntu, partitions do not match mounted directories

I installed an Ubuntu server in a virtual machine. What I really don't understand is the differences between parted and the mounted file system. I allocated a 100GB disk in vmware and it seems to be ...
1
vote
0answers
22 views

How do I set up user quota for /var/www?

I want to add quota per user in my Apache2 webroot. My /var/www directory is not a partition. I've found tutorials on how to set up quota for partitions, but how do I set up /etc/fstab without moving ...
-2
votes
2answers
51 views

2.7 Terrabyte Partition only 100G in Size [closed]

I've just partitioned and mounted a new 3-terrabyte hard-disk under Ubuntu. Now the size of the partition shows up as 100G only. lsblk command tells me sdc1 is 2.7 terrabyte root@homecinema-xbmc:~# ...
1
vote
0answers
19 views

Prevent loop device partitions from being detected

I'm moving a work project from RHEL 6 (Kernel 2.6.32) to RHEL 7 (Kernel 3.10.0). The project involves the building of a raw disk image files to be used on virtual machines, these are representative ...
1
vote
1answer
78 views

Resize a partition without losing data?

I have read a lot of articles about that, but I'm not sure about the results... On my dedicated server (debian), I have the following : Sys. fich. Taille Util. Dispo Uti% Monté sur rootfs ...
1
vote
1answer
72 views

Installing Linux on spare SSD

I installed linux distribution (a debian-based one,called pardus) on HP EliteBook Folio 1040 G2 Notebook PC (http://store.hp.com/us/en/pdp/Laptops/hp-elitebook-folio-1040-g2-f6r38av-1) and it has a ...
0
votes
0answers
19 views

RHEL 7 Install - Main partition taking up entire allotted space + other problems

I hope this is the proper place to ask RHEL questions, I have already asked on the RHEL discussions area and have not gotten any replies after a week of posting. I am having a few problems in setting ...
0
votes
0answers
43 views

Linux Mint installation showing entire Windows disk unallocated

I'm trying to install Linux Mint next to my install of Windows 10, but there's a problem. Mint is saying that the entire hard drive is unallocated "free space", though in the file explorer you can ...