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)

0
votes
1answer
24 views

What happened to my install when I ran fdisk on /dev/sda2?

I was trying to create an extended partition on /dev/sda2 which was an empty primary partition on a hard drive. The partition table is msdos I ran: fdisk /dev/sda2 instead of fdisk /dev/sda I ...
1
vote
1answer
16 views

Resized partition to too small value after shrinking filesystem

I shrinked an ext4 filesystem with resize2fs: resize2fs -p /dev/sdn1 3500G (FS is used for 2.3 TB) Then I resized the partition with parted and left a 0.3% margin (~10 GB) when setting the new end:...
0
votes
1answer
31 views

See and mount more than 7 partitions, flash drive mmcblk [on hold]

I saw I cannot mount and I cannot see the detailed of partitions higher than 7. How can I increase the number of partitions we can see in a flash drive/mmcblk drive ? I am using Xubuntu. Edited: ...
2
votes
1answer
30 views

Find kernel name for a partition when only the label is known

Condition: find reliably device name where disk label (MasiWeek) and disk size (2 TB) are known Characteristics of the system Disk label is the name of the disc given by the user. It is listed in /...
1
vote
1answer
20 views

How can I mount /usr on another partition but use a folder called /usr on that partition instead of using / as /usr?

Somewhat along the lines of this question, How to mount multiple directories on the same partition? but my situation is different. I have a 2 small partitions that I'm using for two variants of ...
0
votes
1answer
43 views

Using dd to copy MBR results in partition tables double the size

I have a laptop with 500GB internal HD and a external 500GB USB HD. I boot up with a linux live cd over the top of my Windows 8.1 machine. My goal is to clone the MBR, partition 1(350mb), and ...
0
votes
1answer
81 views

How to repair a 500GB HD showing itself as only 10MB?

I have a 500GB USB HD. I have been messing around with the dd cmd - erasing MBR data, copying my windows internal HD, eleting partitions, etc. fdisk -l returns Disk /dev/sdc: 10MiB, 10485760 bytes, ...
0
votes
2answers
26 views

Is there a way to split a usb thumb drive into 3 partition with different live distros

I've a small laptop with eMMc 32gb, and I want to keep it w/ windows installed. I've also 64gb USB 3.0 thumb drive, and is it possible to, split that into 3 partition with different Linux distros ...
1
vote
0answers
55 views

dd and cat both reporting no space left on device

I have a windows 8.1 Pro laptop with a 500GB HD and a 500GB portable USB HD. I boot up my laptop with a linux live CD so that I can use dd or cat. Testing cat: cat /dev/sda > /dev/sdc cat: write ...
-1
votes
0answers
29 views

Got only Microsoft reserved and Microsoft basic data partition ? How can I boot into Windows 10 from grub2?

I only got these partitions: Disk /dev/sda: 55,9 GiB, 60022480896 bytes, 117231408 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (...
0
votes
0answers
12 views

Move Linux Partitions, Dual Boot with windows [migrated]

I'm not thinking about Expand Linux Partitions... I need Shrink (one, the larger) and move it (two, with the swap)... Here my HD from Windows (Disk Management) Now, I want to reduce the last ...
1
vote
0answers
29 views

Installing RHEL to multiple-boot with Windows and two other Linux distributions

Alright, so I made an earlier attempt to install RHEL 7.2 with automatic partitioning, and it turned into a mess since I have 3 other operating systems installed (windows + 2 Debian based Linux ...
0
votes
0answers
31 views

How to force directory to use other disk space

I have Debian Wheezy and here is my fdisk -l output: I'm installing WebDAV and want to make that 650GB disk available as a storage for WebDAV. Virtual host is created in /var/www/web1/web/. How to ...
1
vote
2answers
28 views

Linux Mint not recognising free space created by Windows 10 shrink

Hoping someone may be able to help. I have Windows 10 installed on my HP laptop, and since I'm starting to do some programming, I decided I'd like to get Linux on it too by creating a partition. I ...
0
votes
1answer
32 views

fdisk Not Returning Space?

I'm trying to resize my ext4 partition by giving it about half of my swap space. The swap partition (/dev/sda6) currently comes right after my ext4 partition (/dev/sda5). In fdisk, I remove my ext4 ...
0
votes
0answers
32 views

How do I setup an encrypted swap partition in Kali?

I am attempting to setup an encrypted swap partition on my Kali system, post-install. This system is also able to dual-boot into a windows 7 system that was encrypted with veracrypt. I have been ...
1
vote
1answer
34 views

Changing home directory path with usermod doesn't work

When I try to use this command (as root) # usermod -d /media/erez -m erez I get usermod: user erez is currently used by process <number> Lot of examples on this issue but none of them ...
0
votes
1answer
38 views

A basic query about Linux partitioning

I'm trying to understand the partition table of my MTK-6572 based android smart-phone (Karbonn-A35). The idea is to enlarge the Internal Storage partition (mounted as /data) and correspondingly shrink ...
-1
votes
1answer
50 views

How to create a bootable partition with an ntfs file system that is compatible with a Windows 8.1 boot USB drive

I've been trying to use fdisk and gparted and I believe that I have a suitable partition on /dev/sdb1. Here is my command list: fdisk /dev/sdb1 n (I filled the whole drive with a new ...
0
votes
2answers
31 views

FAT32 / NTFS + isofs on USB

I have a bootable USB disk: # dd if=/path/to/os_image.iso of=/dev/sdb (...everything OK...) # sudo dumpe2fs /dev/sdb dumpe2fs 1.42.9 (4-Feb-2014) dumpe2fs: Bad magic number in super-block while ...
1
vote
1answer
17 views

Same grub menu for two GNU/Linux distributions

I have Xubuntu 14.04 and BunsenLabs installed on my PC along with Windows 10.I installed Xubuntu the last so it installed grub onto the MBR.I then set it up to have Xubuntu as the default boot option ...
2
votes
1answer
14 views

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

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
32 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
76 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
35 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
25 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
32 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
27 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
25 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
9 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
22 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
26 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
30 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
120 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
29 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
63 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
53 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
50 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
47 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
18 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 ~]# ...
2
votes
5answers
490 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
63 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
72 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
34 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
207 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
69 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
6 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
26 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 ...