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)

1
vote
1answer
134 views

How can I extend VMware Partition on Centos 7 using GParted?

I've a problem with increasing a partition from 20GB to 120GB, VMDK file. Here is what I've done: using vmware-diskmanager to increase vmdk file from 20 GB - 120 GB. It's ok. download and boot from ...
2
votes
2answers
44 views

Clone partitons from devices

I have 2 devices—the first with 20 partitions and the second is with one big partition. I want to clone a specific partition (content + data) from device 1 to device 2. How can I do this? How do ...
1
vote
2answers
52 views

GNU parted resizepart in script

I would like to used the yes command so that GNU parted does not wait for user input : root@195-xxx-xxx-xxx:/proc# parted /dev/sda unit B resizepart 2 1166016512B Warning: Shrinking a partition can ...
6
votes
3answers
1k views

Linux/GParted can see partition table but dd bs=512 count=1 can't

I have an MBR formatted sd card and when connect to a Linux machine (xubuntu 12.04) it can mount a partition and parse the file system (as can GParted). However, when I try to read the MBR from the ...
2
votes
1answer
73 views

How to initialize new disk for UEFI/GPT?

Background I'm setting up a new build, with all new hardware, tabula rosa. I want to have multiple Linux installations and common data partitions. From what I'e gathered so far, using new hardware ...
1
vote
1answer
27 views

Resizing home and root partions at opensuse

I have divided my ssd into two partitions, one for the root and one for the home directories. Unfortunately I have provided too few space for the root directory and I would like to expand it, by ...
4
votes
3answers
7k views

Problem mounting GPT disk partition

I am trying to mount a partition on a GPT disk, but I get the following error: $ sudo mount -t ext4 /dev/sda1 disk/ mount: special device /dev/sda1 does not exist Looking at dmesg, I don't see any ...
1
vote
0answers
18 views

What are the overheads of using multiple smaller raid devices versus partitioned raid devices as physical volumes?

LVM only allows volume groups to be expanded by adding physical volumes. So if I have multiple volume groups which may need extra space, but it can't be predicted which will expand fastest, it's best ...
0
votes
0answers
44 views

Not able to boot into ubuntu or windows

prerequisites you will need to know regarding my problem earlier I had Ubuntu 13 version, due to some unknown reason, when I restarted my computer to enter into windows it went directly to grub ...
1
vote
1answer
41 views

How to find the swap uuid

I am in the process of setting up a raid. sda was used during the installation and I just copied the partition table of sda to sdb like so: $ sudo sfdisk -dL /dev/sda > partition_table_sda $ sudo ...
1
vote
0answers
37 views

How to mount sdb directly or using LVM partitions on sda?

I am new to LVM and VM yet, and I need to be able to access sdb like /mybackup/ 1 - should I have sdb1 created then mount? 2 - should I mount sdb as whole disk without LVM? 3 - create lvm and than ...
2
votes
1answer
558 views

Kali Linux can't see my windows partitions!

I'm trying to install Kali Linux alongside with my Windows 8.1 using live USB , but I can't because Kali is unable to see my partitions and unallocated space in my disk which I prepared 50GB ...
2
votes
1answer
66 views

How to manually set the dirty bit on a FAT32 partition

For some debugging purposes, I'd like to be able to manually set the dirty bit of a FAT32 partition to true. I found tons of information on how to use fsck.vfat to remove the dirty bit, but none on ...
0
votes
0answers
33 views

How can I recovery data? Or how can I fix file system without deleting of data?

I have done fsck.ext4 -f /dev/sda5 but questions were too much and I close one several times. After that I used several times e2fsck. But it was very slowly and I stopped one several times too. ...
53
votes
1answer
2k views

Why are there so many different ways to measure disk usage?

When I sum up the sizes of my files, I get one figure. If I run du, I get another figure. If I run du on all the files on my partition, it doesn't match what df claims is used. Why are there so many ...
0
votes
2answers
38 views

grub partition error

This is the first time this has happened to me.I don't use linux on a regular basis, except for some project work. I had logged in today , finished my work and restarted it so I could go into windows ...
0
votes
0answers
30 views

Installing Slax 7.0.09 next to a winxp

How do I install Slax 7.0.9 on the same hard drive as my Windows XP? Is it possible? I already have partitioned the hard drive to ext4 for linux using gparted. The hard drive also has a partition for ...
7
votes
4answers
4k views

How to clone a NTFS partition (WinXP) from a damaged disk to a new one?

I'm an Italian Windows programmer. I know almost nothing of Linux, so please be patient if the question is dumb and pardon my bad english. I need to clone a NTFS partition from a damaged, near to die ...
0
votes
1answer
84 views

Unable to start ubuntu after installing updates - Stuck at 'Try (hd0,0)'

I've installed Ubuntu 14.04.2 LTS on the same hard drive as my Windows 8.1 OS, on its own partition. The installation went without any hickups. After that I used EasyBCD on my windows system to ...
0
votes
0answers
37 views

M17: Trying to mount Windows 10 .iso onto partition via terminal, getting “block device ? is write-protected, mounting read-only”. Can I get a help?"

I have Linux Mint 17.1 and am trying to dual boot Windows 10 Technical Preview OR install it on my other hard drive. Extra easy damage-control for you guys- I do not care if I lose any data, as long ...
26
votes
10answers
39k views

List partition labels from the command line

Is there a command that will list all partitions along with their labels? sudo fdisk -l and sudo parted -l don't show labels by default. EDIT: (as per comment below) I'm talking about ext2 labels - ...
1
vote
1answer
46 views

Recognizing GPT partition table created with different logical sector size

I have a 3TB drive which I have partitioned using GPT: $ sudo sgdisk -p /dev/sdg Disk /dev/sdg: 5860533168 sectors, 2.7 TiB Logical sector size: 512 bytes Disk identifier (GUID): ...
1
vote
0answers
7k views

Kernel Panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)

I'm getting the same error that other questions mention, such as: Installation Error: Kernel Panic - not syncing ...
0
votes
0answers
40 views

hard drive formatted while Linux setup, lost partitions

I have installed Ubunto 14.04 on sda1. but after the installation finished, all the partitions are gone . I have important data on sda5 , and when I run the following command : sudo fdisk -l in the ...
2
votes
2answers
64 views

Why can I rest assured that GNU Parted has not corrupted a single bit after shrinking my partition?

I shrunk my root partition and it seems nice. But I am thinking about overwriting now at least the most important files from the backup copy (external drive, rsync, weekly backup) in order to be sure ...
1
vote
3answers
382 views

How to destroy existing disk partitions

I added some disks to my system, which were in use before. I tried to create them: $ gpart create -s GPT ada0 gpart: geom 'ada0': Operation not permitted $ gpart show ada0 gpart: No such geom: ada0. ...
-1
votes
2answers
2k views

What is “Ext'd (LBA)” in fdisk output?

This is my partition table. Output of fdisk -l Device Boot Start End Blocks Id System /dev/sda1 * 63 204796619 102398278+ 7 HPFS/NTFS/exFAT /dev/sda2 ...
0
votes
1answer
29 views

Why aren't sda3 and sda4 displayed with fdsik -l?

I wanted to display all my partitions, so I entered "fdisk -l". AFAIK, the format of the device file for a scsi hard disk reads like: sd_whichharddisk_whichpartition. To my surprise, after hitting ...
1
vote
4answers
38 views

Which files are changed when GNU Parted shrinks a partition?

When shrinking a partition with GNU Parted, some contents must be moved from the area of the physical disk that will be left out of the new shrunken partition. The contents of those files are of ...
1
vote
0answers
16 views

How do I move a vmware guest machine to another user?

I have 2 users in my computer running Arch Linux. I recently moved a virtual installation of windows 7 from one user to another. I changed the owner of the moved folder to the new user recursively. I ...
5
votes
1answer
2k views

Is it possible to change the sector size of a partition for zfs raidz pool in linux?

I've been migrating a zfs raidz pool on linux to new discs via virtual devices which were sparse files. I've used partitions on the discs as the discs are different sizes of 1.9T each. The last disc ...
4
votes
3answers
23k views

How can I expand ext4 partition size on debian

I have a drive with this configuration: fdisk -l Disk /dev/sda: 500.1 GB, 500107862016 bytes 255 heads, 63 sectors/track, 60801 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size ...
0
votes
1answer
26 views

Dual Boot Install Question

I have Windows 7 and am going to reformat/reinstall, but want to try a dual boot configuration with Linux mint. If I install Windows creating 3 partitions: one for Windows, one for Linux, and one for ...
0
votes
3answers
106 views

Gparted : Resize (split) Primary Partition?

This is my current partition table: In which /dev/sda8 is the partition on Which I am currently running my primary OS - Trisquel GNU/Linux (you can see it's mount point as /). The /dev/sda1 is the ...
0
votes
0answers
23 views

Changing hard disk configuration without reinstall

I have been using Arch Linux since 2013 and I love it The major reason I tried Arch was that it let me install with / on a RAID-0 partition. My laptop has 2 hard drive bays and I had 2 SSDs There ...
0
votes
0answers
20 views

Dual partition scheme with GRUB

I would like to use a dual partition update scheme for some servers like CoreOS is doing here. Basically the process is the following: The computer has partition A and B, each with a full Linux ...
-1
votes
2answers
55 views

How to create a new partitioning table on SD card from the command line ? [closed]

I have tried to mount a SD card on Linux Mint, I have found the right device file and tried: mount -t vfat /dev/sdb /mnt/zauberportal ,but it failed and I tried some variations like different types of ...
4
votes
1answer
140 views

Linux can't see any of my partitions — The backup GPT table is not at the end of the disk

I'm trying to install Linux on my HP Pavilion 14 inch ultrabook, but without any success. At first I tried installing Ubuntu on it; everything went fine, I got into the Live DVD (yes I'm oldschool ...
0
votes
0answers
15 views

How can I figure out the size of a block on a busybox device?

This is the output of df on my little embedded device: # df Filesystem 1k-blocks Used Available Use% Mounted on rootfs 3008 3008 0 100% / /dev/root ...
7
votes
5answers
7k views

Partition manager that can handle LVM?

I have been looking but neither Gparted nor KDE Partition Manager can handle LVM. Working with the command line is probably fine but it would be clearer to have a GUI tool here. Does such thing exist? ...
8
votes
1answer
4k views

How can I quickly copy a GPT partition scheme from one hard drive to another?

On a non GPT partition table I can do sfdisk -d /dev/sda | sfdisk /dev/sdb But sfdisk doesn't support GPT partition tables. What can I use instead? I'm looking for a one or two command solution, ...
0
votes
0answers
46 views

Shared system partition for multiple linux system

Is it okay to share some partitions for multiple native linux system? For example, if I want to install Ubuntu, Debian and Arch in one harddisk, and I create lvm partition scheme like this: NAME ...
0
votes
0answers
21 views

Recover Data from EXT2 (previously EXT4) partition [duplicate]

When trying to repair "group descriptors" on my EXT4 2TB drive, I have made a mistake. Instead of use this command: e2fsck -b block_number /dev/xxx (using the block number of a backup superblock) ...
0
votes
0answers
38 views

e2fsck block bitmaps

What exactly are block bitmaps? Why would I get the following error: The filesystem size (according to the superblock) is 1219824640 blocks The physical size of the device is 731447296 blocks Either ...
1
vote
2answers
55 views

Device files and drivers of a disk, partition, and filesystem?

In Linux, For a hard disk, there is a device file such as /dev/sda or /dev/hda depending on the interface type of the hard disk. Does the existence of its device file mean that the driver for the ...
2
votes
3answers
264 views

Why creating partitions in linux is good solution for easy recovery?

I have heard if you don't make partitins in linux it is so hard to recovery your data. And if you make some partitions it would be easy to recovery. for example if you make /par1 /part2 /part3 it is ...
28
votes
4answers
41k views

Create partition aligned using parted

I'm partitioning a non-SSD hard disk with parted because I want a GPT partition table. parted /dev/sda mklabel gpt Now, I'm trying to create partitions correctly aligned so I use the next command ...
0
votes
1answer
62 views

how partition for OpenSuSE dual-boot

Currently I'm running Ubuntu 14.10 and have quite a bit of free space on this disc: thufir@doge:~$ thufir@doge:~$ sudo fdisk -l Disk /dev/sda: 465.8 GiB, 500107862016 bytes, 976773168 sectors ...
0
votes
2answers
27 views

Delete a swap partition without user interaction

I have a VM with a swap partition on /dev/sda5. The problem is fdisk is interactive so I cannot use it to delete a partition without user interaction. How do I delete the partition in my ...
2
votes
1answer
29 views

Don't I need to move a shrunk filesystem before resizing the partition?

I have a partition of size X GB filled by an ext4 filesystem. Now, I want to shrink this partition (and the filesystem) to only take up the latter X/2 GB. I'm using command-line tools and no parted. ...