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

Zeroing out FreeBSD swap space?

I'd like to zero-fill the partitions/slices in my FreeBSD VMs in order to provide for better compression for archival. For those partitions/slices with file systems the process is no problem for me to ...
5
votes
3answers
623 views

How can I script the creation of a single partition that uses the entire device?

I am specifically using this to partition and mount EBS volumes on Amazon EC2 instances, but really this should be generally applicable to initializing any new drive. As the question says I want to ...
0
votes
1answer
25 views

How to safely delete a system partition?

I got the following disk sda9 contains a new Linux installation which I'd like to keep, while sda5 is the old installation which I'd like to free (and successively merge with sda4, but we don't ...
2
votes
1answer
3k views

Creating EFI bootable GPT partition with gdisk on previous MBR, GPT Damaged

So this is a sister question to my previous one about partitioning for a UEFI boot loader. Parititioning for a UEFI boot loader, can LVM be used? Disclaimer: I don't give a flip about the data on ...
2
votes
3answers
316 views

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

I have heard if you don't make partitions in linux, it is so hard to recover the data. And if you make few partitions it would be easy to recover the data. for example if you make /par1 /part2 /part3 ...
1
vote
1answer
15 views

USB install of Linux Mint - only shows up as a single partition but i've ran out of space

I recently set up an installation of Linux Mint Maya 13.2 on a USB stick. I set it up with UNetBootin (http://unetbootin.sourceforge.net/). When this sets up the drive, it makes a "regular" ...
0
votes
1answer
18 views

Linux Mint on USB - mtab is a folder, not a file

I just installed Linux Mint Maya (13.2) onto a USB stick with uNetbootin (http://sourceforge.net/projects/unetbootin/). The install seems to work ok, and has a "persistence" partition which allows ...
1
vote
1answer
17 views

Old Xen Installation Unable to be Formatted

I recently tried to format a disk that had an old Ubuntu 14.04 partition and a Xen Swap Disk partition. I am currently running the Ubuntu Live CD and trying to access my partitions on the drive for ...
1
vote
3answers
456 views

How do I resize a windows partition without using gparted?

Suppose I have a native (i.e. coming from manufacturers) windows 7 installation on a laptop (with an SSD device, BIOS/MBR partition table if that matters). The partition on the device is completely ...
0
votes
1answer
14 views

Does Gparted change permissions?

Sometimes but not often, but many times, after formatting an SD card with Gparted, the SD card becomes unaccessible to normal user, so I go as root and change the permissions, happens especially when ...
58
votes
1answer
3k 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 ...
1
vote
2answers
598 views

Filesystem for boot partition

I created a BIOS boot partition on a hard drive, using gdisk : $ sudo gdisk /dev/sdb Command (? for help): p Disk /dev/sdb: 7821312 sectors, 3.7 GiB Logical sector size: 512 bytes Disk identifier ...
1
vote
0answers
20 views

Adding a new disk to an exsting partition in linux

I have a sda on my opensuse and want to add a new disk to have more space on it. After adding the disk I have created a partition lets name it sdb. Mr sda has 6 partition and I ant to sdb to 6th ...
1
vote
1answer
882 views

Windows partition not appearing when I try install Linux Mint

I have a ~500gb hard drive that I intend to split 50/50 for Windows 10 and Linux Mint 17. The Windows partition is 232GB and the Linux partition is, at the moment, uncreated. When I run Mint off my ...
-2
votes
0answers
32 views

Why create /home and mount to / partition? [closed]

Recently I just installed some kali linux, using manual partition created just: / /tmp /var /usr but not /home (habits from *BSD systems), now found (df /home) that this dir belongs to some kind: ...
3
votes
1answer
28 views

Is there any way to prevent a bad drive from disappearing from /dev?

I'm trying to recover a partition on a bad drive with ddrescue. I run: $ sudo ddrescue -r -1 -v /dev/sdd3 OUT.img dd_rescue_logfile and it seems to do great for a while, but after about an hour, ...
6
votes
0answers
463 views

Over-provisioning an SSD - does it still hold? [migrated]

Multiple (but not very recent) sources suggest that ~7% of the SSD space should be left unallocated in order to reduce the drive wear. Is it still valid as for now or has the situation changed?
7
votes
5answers
5k 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
23 views

Innacurate lv_root size after extend

I wanted to increase the disk size of 2 VMs from 20GB to 100GB. I followed the normal procedure, increased vmdk size, fdisk to create a new partition with the free space (sda3), vgextend, then ...
1
vote
1answer
2k 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 ...
7
votes
1answer
168 views

/dev/mmcblk0 partitions limit

I've just mounted a microSD card which has 17 partitions in my laptop and I'm getting the following error in the YaST partitioner: Your disk /dev/mmcblk0 contains 17 partitions. The maximum number of ...
7
votes
10answers
41k views

How to extend CentOS 5 partition on VMware?

I have a CentOS 5 virtual machine and I added 20GB more to disk size. How do I initialize and extend the available space? I'm new to Linux, so what should I do? I tried loading GParted as well, ...
1
vote
1answer
22 views

How to deallocate extents of physical volume? lvm, encrypted

I just install Debian 8.1. I allocated almost all disk 300 GiB to encrypted partition and a little bit for boot. I want to make smaller 50GiB encrypted physical volume and install different xen OS to ...
13
votes
4answers
21k views

How to reduce Volume Group size in LVM?

[root@localhost ~] vgdisplay --- Volume group --- VG Name vg_root System ID Format lvm2 Metadata Areas 1 Metadata Sequence No 7 VG ...
1
vote
2answers
5k 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 ...
1
vote
2answers
48 views

4GB USB Stick is only 1.37GB now?

I wanted to put a .ISO file on my USB stick using dd. But, instead of using: dd if=/my/iso of=/dev/sdb I did dd if=/my/iso of=/dev/sdb1 first. And because I wanted to rectify my mistake, I also did ...
1
vote
1answer
26 views

Why doesn't the whole space equal to all the sub partition?

fdisk -l Partition table entries are not in disk order. Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes ...
0
votes
2answers
56 views

How to combine the two partition into one? [closed]

I have an usb disk,when to insert into my pc USB interface ,it display two partition:sdb1 and sdb4. root@debian:~# fdisk -l Disk /dev/sda: 149.1 GiB, 160041885696 bytes, 312581808 sectors Units: ...
7
votes
1answer
14k views

How do I determine the new size for resize2fs?

I want to shrink an ext4 filesystem to make room for a new partition and came across the resize2fs program. The command looks like this: resize2fs -p /dev/mapper/ExistingExt4 $size How should I ...
0
votes
3answers
11k 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
2answers
1k 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 ...
1
vote
1answer
809 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 ...
4
votes
2answers
778 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 ...
0
votes
1answer
565 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 ...
6
votes
1answer
63 views

How to restore an LVM container to a bigger physical partition?

The setup is an encrypted LVM container/PV that holds a few ext4 partitions. I am moving these to a new machine, but there is more room on the disk. So, I have created a bigger encrypted LVM ...
2
votes
2answers
627 views

Extending/resizing Fedora Guest-OS root-drive in VirtualBox

I hope you can help me with that: My VirtualBox Guest-OS (Fedora 19) told me, that there is not enough free disk-space availabe, so I first increased the .vdi-file by using the Windows-Commandline: ...
1
vote
3answers
39 views

Resize an existing LVM partition and add the space to another LVM partition

I'd like to resize an existing LVM partition and add the space to another LVM partition. [root@dckapstaging ~]# df -h Filesystem Size Used Avail Use% Mounted on ...
3
votes
0answers
72 views

Problems with file system

I created a partition with EXT4 file system and when I'm writing in this partition frequently the Kernel return the following error: Jan 01 01:17:54 infobuffer360 kernel: r7:c0561280 Jan 01 01:17:54 ...
2
votes
3answers
66 views

How can I copy three partitions of my disk with a specific beginning and ending using dd?

Using the fdisk -l command I got the following answer: Device Boot Start End Blocks Id System /dev/sda1 * 2048 28266495 14132224 27 Hidden NTFS WinRE ...
31
votes
9answers
3k views

What is the /boot partition really for?

I'm reading a relatively old text on Linux partitions and file systems (the LPIC 1 Certification Bible). It says: Some versions of the Linux boot loaders cannot access a kernel that is outside ...
0
votes
2answers
5k 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
vote
2answers
8k 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
vote
0answers
8 views

How can I fix an overlapped FreeBSD/UFS partition?

I have a Seagate 1TB Drive [ST1000LM010-9YH146] which had one FreeBSD slice and was formatted as UFS and mounted at /home on a pfsense box. While changing some hardware around, the drive was ...
0
votes
2answers
49 views

How to partition in Ubuntu 14.10 after installed?

I have new system where installed Ubuntu 14.10, HardDisk - 1 TB, Ram - 4 GB. Nothing is installed in the OS right now. So, I want to partition the hardisk. I want to make 2 or 3 partitions instead of ...
1
vote
2answers
56 views

Use my PC, or completely dedicated PC for running Linux

I'm new to the world of Programming, and this is my first time posting a question. I've went through a lot of material, both on Youtube, and other areas of the web, and I've started to get a good idea ...
0
votes
2answers
28 views

openvz disk used 100%

So i discover after a mysql crash that the partion \ is full I normal condition i got 2 TB root@server:/# df -h Filesystem Size Used Avail Use% Mounted on /dev/simfs 39G 32G 0 100% ...
0
votes
2answers
26 views

Cloning root filesystem of a virtualbox partition

I have a test virtualbox partition running CentOS 7. There are many configurations on this particular partition. Some particular configurations, I have forgotten. I need to transfer this virtualbox ...
1
vote
1answer
57 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
1answer
33 views

Make room on my disk to install another OS

I installed Kali Linux on my HDD with the installer Option (right after the partition settings) Use entire disk space(beginners) After installing Kali, I wanted to install 2 More OSs but now i ...
0
votes
0answers
22 views

Installation of linux and windows xp

I have 80 Gb harddrive, 512 Mb RAM in my pentium 4 pc. Now the Windows XP I had got corrupted and i want to install new xp sp3 but each time I use the bootable USB it says unable to find operating ...