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
votes
2answers
1k 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 ...
-1
votes
0answers
18 views

How can I check which partition scheme is used from the command line ? [duplicate]

I read, there exist two partition schemes: MSDOS Scheme and GPT (GUID partitioning table). I saw how it is made with Gparted, is it possible to show this information just from inside the shell ?
0
votes
1answer
21 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 ...
2
votes
2answers
45 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
4answers
36 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
13 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 ...
0
votes
0answers
10 views

security when partitioning disks? Also, questions about keys [on hold]

I'm curious what the tradeoff between disk security to potential attackers is and partitioning schemes. Is there a specific way that is more secure to partition your disk than another. I imagine ...
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
21k 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
21 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
80 views
+50

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
64 views

How can I get a drive over 2TB mountable in both Linux and Windows? [closed]

So, from my Googling, it seems that Linux and Windows use different partition table systems for disks over 2TB. I have a 3TB NTFS external disk with data already on it, is there a way to get this ...
0
votes
0answers
18 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
15 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 ...
0
votes
2answers
6k views

How to force drop all partitions and erase disk from terminal?

My question is in fact related to OS X, however I'm using Linux tools to resolve my problem. I'm trying to delete all the partitions on my SSD drive and create new GUID (HFS+) partition table. Native ...
-1
votes
2answers
14 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
90 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
13 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 ...
2
votes
3answers
469 views

How to know if /dev/hda2 is Primary partition or Extended partition

If all four primary partitions exist on an IDE drive, they are numbered as follows: /dev/hda1 /dev/hda2 /dev/hda3 /dev/hda4 We have also the partitions on a disk with one primary partition and ...
0
votes
2answers
539 views

vgdisplay shows 0 free PE/size

I'm trying to configure a CentOS HA system with 2 nodes, with DRBD for replicated storage. I'm following the "Clusters from Scratch" guide, and at the DRBD portion, I need to create a partition for ...
7
votes
5answers
6k 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
30 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 ...
2
votes
1answer
156 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 ...
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
16 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
45 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
240 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
38k 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 ...
1
vote
1answer
684 views

SliTaz, usb stick, unable to mount iso or to find a filesystem on it rootfs.gz

I deleted every partition on my system, even the partition on my usb stick. Then I created a partition with SliTaz which I'm currently on. But then I found out that my usb stick didn't get discovered ...
0
votes
1answer
33 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 ...
7
votes
3answers
3k 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 ...
1
vote
1answer
2k views

Dual-boot Ubuntu cannot access the Windows drive that it was installed on with wubi

I had Widonws with two drives C: and D:. In the drive C:, I have my Windows. In the drive D:, I had my all other files and data. I installed Ubuntu in the drive D:, without deleting any data from it. ...
0
votes
3answers
9k views

How to install Kali linux on to a specific (existing) partition on a USB stick

I'm endeavoring to put Kali linux onto a USB stick - I know it's already written up, but I'd like to use only a portion of the total space (the aforementioned link will use the entire drive space). ...
0
votes
1answer
2k views

How to increase size of /dev/sda2 in suse running on vmware

how to increase the partition /dev/sda2 partition. df -h : Filesystem Size Used Avail Use% Mounted on /dev/sda2 7.0G 3.7G 3.0G 56% / devtmpfs 432M 172K 432M 1% /dev tmpfs ...
0
votes
2answers
22 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
19 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. ...
1
vote
1answer
45 views

External HDD partition not showing [closed]

I have problem with an external HDD. I am using Debian Jessie. The partition is not showing, I can see only the device: # ls /dev/sd* /dev/sda /dev/sda1 /dev/sda2 /dev/sda3 /dev/sda4 /dev/sda5 ...
1
vote
2answers
1k views

Local disks detected as multipath device

My local partitions are detected as multipath device $multipath -l mpathb (360014380125d90420000a000003e0000) dm-9 HP,HSV450 size=200G features='1 queue_if_no_path' hwhandler='0' wp=rw `-+- ...
0
votes
1answer
45 views

'No such file or directory' when I am trying to format Logical Volume

I am trying to create Logical Volume on CentOS 7 on EC2 instance. After attaching the volume I am creating partition using fdisk, then I am starting the Logical Volume creation: pvcreate /dev/xvda1 ...
0
votes
1answer
454 views

How to check integrity to HDD with UDF format

I'm having problem with a USB external drive, which seem to be formated with UDF and was being used for MAC and Windows (or at least that is what told). When I attached the HDD to my Linux system ...
0
votes
2answers
3k views

Restoring a big partition to a smaller partition with Clonezilla

Some time ago I created a backup of an EXT4 partition with Clonezilla. Now the HDD crashed and I lost some important data. The size of the image of the partition is 50GB. I tried to restore this ...
-1
votes
0answers
25 views

How to merge different partitions on RedHat

I am quite in a bad situation that my oracle instance is on a mount point (/disk1) which is about to get full. /disk1 is mounted to /dev/sdb1 (primary partition on /dev/sdb) to resize the partition I ...
4
votes
2answers
172 views

Tool to create recipe to preseed partitioning

I want to preseed an Ubuntu 12.04 installer using a custom partitioning recipe. My disk layout is reasonably complex, and so is the recipe syntax itself. Hand-crafting such a recipe seems tedious and ...
2
votes
1answer
532 views

Extend partition size without unmounting it

I would like to create an image of a Linux Mint disc. Then I'd like to copy it to a bigger disc and extend its partition to the full size of the disc. I have already copied the disc using WinImage ...
1
vote
1answer
61 views

Setting Up New CentOS server - Partitions Sizes and File Systems

I'm responsible for setting up a new CentOS 7 server. It's my first time so I want to make sure I'm on the right track. After some research, I chose to have 6 partitions: Partition | Type | Device ...
0
votes
0answers
25 views

How to recover a partition recreated with gparted

Yesterday I've had the bad idea to try to follow this tutorial : http://fds-team.de/cms/articles/2013-12/use-a-real-windows-7-partition-in-virtualbox-kvm-vmware-player-u.html these are the commands ...
4
votes
2answers
699 views

How do I make use of unused space on my boot drive on FreeBSD

I have an old FreeBSD Server (running 7.3-RELEASE) that desperately needs additional storage. In fact, it has some-- the original 20G SCSI drives have been replaced by 300G SCSI drives, so in theory ...
1
vote
3answers
34 views

Why is grub showing a windows 7 option?

I've recently in installed mint 17 on my pc. $ parted -l Model: ATA PLEXTOR PX-256M5 (scsi) Disk /dev/sda: 256GB Sector size (logical/physical): 512B/4096B Partition Table: msdos Number Start End ...
0
votes
1answer
40 views

Trouble installing <distro> onto correct partition for a dual boot

Some of the context might not be relevant to the problem so feel free to skim through the rest of this post but essentially what I'm doing is trying to install an operating system onto the KAOS ...