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

Formatting secondary hard drive that has windows on it

I recently installed an setup an Ubuntu Server machine. It has two drives in it and the other drive has windows installed on it. (I didn't want to overwrite the windows installation until I had my ...
3
votes
1answer
40 views

Approximate partition table backup with sfdisk

I wanted to convert some logical partitions to extended ones, so I was following this accepted answer. However, at the step of backing up my current partition table, I messed up and typed the ...
1
vote
1answer
440 views

How can I resize my encrypted root and home partitions, to give root more space?

I need to enlarge my / (root) partition, I have a lot of space on my /home partition so how can I do this? The drive is encrypted with LUKS. My system is Fedora 20. I have another thread here which ...
3
votes
1answer
10k 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 ...
3
votes
1answer
841 views

Trying to install Windows on a system that has Ubuntu 12.04 installed

I'm a novice in installing & debugging OS errors. I had Windows 7 installed & it crashed today (the great blue screen). No matter what I did (tried to install Windows 7 again & again from ...
3
votes
2answers
16k views

How to format a write protected pen drive in Linux?

How can I format the write protected pendrive?
1
vote
1answer
80 views

Is it safe to reformat an lvm root partition?

My system currently has a volume group containing root, swap, and home logical volumes. I would like to reinstall the operating system in the root volume and format the partition in the process. I ...
6
votes
2answers
653 views

Creating formatted partition from nothing

I need to create filesystem with just one partition from nothing (/dev/zero). I tried this sequence of commands: dd if=/dev/zero of=mountedImage.img bs=512 count=131072 fdisk mountedImage.img n ...
1
vote
1answer
354 views

Problem with formating Flash Disk

I have intsalled Arch Linux ISO file into Flash disk through following command : dd bs=2M if=~/archlinux-2013.11.01-dual.iso of=/dev/sdd Now, I'm trying to format flash disk with following command ...
1
vote
1answer
88 views

Understanding syslinux and partitioning

I am trying to learn and especially understand how partitionning and boot-loaders work. The problem is that I got it all twisted in my mind. In the end I don't understand anything anymore. I know ...
1
vote
1answer
22 views

Block device aligment without partitioning?

As new drives with 4096b sized blocks appeared, partition alingment is becoming more and more important. But, what I am interested in is, if I use the whole block device for filesystem (eg. /dev/sdc) ...
3
votes
0answers
65 views

Replicate a complex partition structure with LUKS and LVM volumes

I have two external hard discs on an OpenSUSE 13.1 system. On one I have created a partition structure: An encrypted LVM partition (LUKS) Several volumes (10) on this LVM partition, some formatted ...
1
vote
0answers
45 views

How to change disk layout on a running server? [closed]

I have setup a Debian server and I choose to use different LVM Logical Volumes for /home, /usr, /var, ... Now, I run out of space on /var volume. I want to redirect all of data that is going to ...
1
vote
1answer
49 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
40 views

Two 500GB (JBOD) drives out of an NAS-200 put into UBUNTO 14-04 and put back into an LVM to access old information

I’m in a dilemma as I’m new to Linux (not helpless, but new) and would like some help if you don’t mind. I have been working with Linux for several years to some extent so I can get around some with ...
2
votes
2answers
213 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
1answer
562 views

How to format a CF card by a terminal command?

I want to know the command for formatting a compact flash card from the terminal.
1
vote
1answer
58 views

Format USB drive

I have a USB drive which I format with sudo mkfs.vfat -I /dev/sdb1 When I then look at the size of the USB drive with df -h, it reports its size to be 64 MB, though it should be 8 GB. What am I ...
1
vote
0answers
12 views

Is there a distribution with an installer that can automatically do LVM over LUKS with everything aligned as needed?

http://www.void.gr/kargig/blog/2012/01/11/linux-ssd-partition-alignment-tips/ talks about aligning SSD partitions and LVM physical volumes. ...
4
votes
3answers
210 views

What is the effect of deleting utility manufacturer partitions?

I am about to erase everything off of my hard drive and install Linux Mint I'm doing this on a Dell laptop, there is a Dell utility partition that I have never used... I have seen these on other ...
2
votes
0answers
149 views

Can't install Ubuntu because pc keeps shutting down

I can't install Ubuntu because during the "copying files" my PC powers off. I've downloaded Ubuntu 14.04 with WUBI on my Windows 8.1 32-bit PC. I made a new partition with 15.9GB, (I don't know if I ...
3
votes
1answer
651 views

Partitioning and installing Voyage Linux

I am trying to install Voyage Linux 0.8.0 (a distribution based off Debian) on a Soekris Net4801. I would like to have two partitions, one for the operating system and another one for data. I have ...
3
votes
1answer
50 views

Fix partition alignment in FreeBSD

I'm working on a FreeBSD 8.x (pfSense 2.1) system and post-install, realised that the partition is misaligned to the disk (starts at sector offset 63). GParted doesn't recognise UFS so that is out. ...
1
vote
2answers
127 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. ...
2
votes
2answers
133 views

Partition offset at 63 or 64?

I did not wish to use the entire SSD for OpenBSD 5.5. (The SSD is new and pre-formatted with MSDOS using Gparted) During installation and at the fdisk stage, I chose Partition #: 0 to install OpenBSD ...
0
votes
1answer
27 views

Creating a specific sized LVM logical volume at the end of a physical volume

I have a physical volume that is 49.8GB and I want to have a 2GB logical volume which is at the end of the physical volume and the rest of the physical volume being another logical volume. I read ...
1
vote
4answers
212 views

full rootfs on big hardisk, installation or update software not possible

Has anyone seen this issue that can help me solve it? I have got a preinstalled server (Debian GNU/Linux 7.6 (wheezy)), where the disk space was partitioned very badly... :-( The Hardisk is very big ...
18
votes
10answers
29k 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
417 views

Converting NTFS to Ext3

I recently partitioned a new drive in windows to NTFS. I want to make it ext3 so that I can transfer a WUBI Ubuntu installation onto it. I don't care about the data on this partition. Is there a ...
1
vote
2answers
88 views

Accidentally reformatted /dev/sda1 - any hope for recovery?

All day today, I've been reformatting a USB flash drive repeatedly and I was doing this multiple times in a row, and I began to grow a little too careless... Without paying attention, I accidentally ...
2
votes
2answers
86 views

How to make system file partitions larger without reinstalling

I'm a complete beginner with any Linux distro and I recently picked up SteamOS. SteamOS I believe is Debian based. I wiped the laptop and got it installed nicely. When I started moving my music over ...
0
votes
2answers
194 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 ...
2
votes
2answers
87 views

Re-partitioning /home partition in CentOS

I have a CentOS 7 system with a /home partition that is too large. I wish to reduce its size but it's XFS so that's pretty much impossible. Since I don't have much user data anyway (only 1 user ...
1
vote
2answers
44 views

How to reduce and remove Physical Volume from active Logical Volume?

For testing purposes I've tried to extend my logical volume by attaching one more Physical Volume (USB drive). Making the USB drive part from the logical volume with the following steps: Created ...
1
vote
3answers
226 views

Wrong iso file preventing from booting Debian dvd with uefi

I have this new computer (MSI Ge70 2PE Apache Pro) that came with Windows 8 and UEFI. I made a partition to install Debian testing 64bits on the same HD where Windows is. I had no problem making the ...
1
vote
0answers
23 views

Installing an OS from source on separate partition. Is this possible?

I'm trying to install Minimal CentOS on a small partition and the installer quits and brings me to a prompt every time. It says something like it can't find initrd.img. I was wondering if I could ...
0
votes
1answer
72 views

What's the pros and cons of disabling the swap partition if the RAM is large enough? [duplicate]

My computer has 16GB RAM and 1TB SSD. So I think the swap partition is not needful. What's the pros and cons of disabling the swap partition if the RAM is large enough? Is it recommended to disable ...
3
votes
1answer
30 views

How to find out how the filesystem was created?

You can create the filesystem with mkfs... -- how to find out not only what filesystem is used on given partition, but what parameters where passed to mkfs? So how to perform mkfs in reverse -- ...
5
votes
6answers
11k views

Change the number of the partition from sda1 to sda2

I have a disk with two partitions: sda1 and sda2. I would like change the number of sda1 to sda2 and sda2 to sda1. It's possible but I don't remember the procedure. i.e. My first partition will be ...
1
vote
2answers
69 views

Ubuntu 12.04 constantly out of space [duplicate]

I am having this strange problem of my system running out of space constantly. Just yesterday I cleaned up near 15GB of space and today I see it is out of space. I really don't get it. I know some ...
4
votes
2answers
3k 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 ...
3
votes
6answers
5k views

How can I solve the issue about mounting my Windows 8 NTFS partition on Linux Mint?

I used Ubuntu for long even along Windows and SOMETIMES I got this problem for mounting the corresponding NTFS partition at the beginning, however with a pair of command lines to the console I got it ...
1
vote
1answer
22 views

split one partition into two using cfdisk (will uuids on other parts stay the same?)

I currently have various linux partitions on sda3-13. If I delete sda6 and create two new partitions using cfdisk I get sda3-14. I have /home on sda7 and / on sda11 which will then become sda8 and ...
1
vote
0answers
72 views

Creating partition tables on USB ATA drives fails with fdisk and KDE partitionmanager

I have a couple old ATA (yes, not SATA) hard drive around with USB enclosures. One of them gave me some EXT4 journal error, so I am not sure whether they have a physical problem. Since they are just ...
6
votes
2answers
8k views

how to find the type of img file and mount it

I have to mount a .img file but I don't know what type of .img it is. How can I figure out what type of .img file it is? # mount -t auto -o ro,loop gmapsupp.img /mnt/iso/ mount: you must specify the ...
0
votes
0answers
27 views

Should I use the discard flag when configuring the filesystem to be installed over the partitions on my SSHD?

I've recently bought a laptop with an SSHD. My guess is that most SSHDs are self-optimised, so the disk itself will handle wear-levelling issues, and I won't need to add the "discard" flag when ...
1
vote
2answers
17 views

Sharing Apache-httpd documents across multiple Linux distributions?

I'd like to be able to have multiple distributions, say Fedora and Debian, both sharing an Apache DocumentRoot. For example, I could have the same partition mounted to /var/www in both distributions. ...
0
votes
0answers
22 views

Linux Mint Partition Taking Hours

I booted my Mint 17 install cd, chose English as my language, then connected to the internet, then chose to change half of my FAT32 partition (~160.6 gbs) into Linux Mint. Now it's been partitioning ...
0
votes
0answers
42 views

GParted hangs while resizing partition

I decided to shrink a FAT partition on my memory card by 768 MB to make place for a new one. GParted hangs on the fsck step. The progress bar halts and any window above it leaves the part of the ...
4
votes
5answers
1k views

Debian 6 - Disk partitioning too long

I just got a new pc that comes with an empty 250GB 3G SATA Non-Hot Plug 7,200rpm HDD. I decided to install Debian 6 from a USB, I chose the partition to be Guided - use entire disk and set up ...