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
4answers
693 views

How do I find the offset of an ext4 filesystem?

I have a failing hard drive that is unable to write or read the first sectors of the disk. It just gives I/O errors and that is all there is. There are other areas on the disk that seem (mostly) fine. ...
2
votes
1answer
191 views

Linux big disk partition issue

I have a big disk around 4.8 TB (RAID) and it has following partition (created by fdisk) [root@server1 ~]# fdisk -l /dev/sde WARNING: The size of this disk is 4.8 TB (4796404727808 bytes). DOS ...
2
votes
1answer
518 views

Boot partiotionless disk with syslinux

A file system can be configured to span a complete disk, omitting any partition table. Notice intentionally the command to do so does not use /dev/sda1 but the raw, unpartitioned device instead. ...
3
votes
1answer
354 views

Partition table is corrupted after using TestDisk

So, I have Linux Mint installed on my computer and then attempted to install WindowsXP on another primary partition. After the installation finished, I found my data partition sda9 (which is a logical ...
0
votes
1answer
729 views

Cannot add new partition using fdisk - No free sectors available

I would like to add new partitions to sda3, but fdisk says "No free sectors available". What can I do?
2
votes
3answers
155 views

What directories can be shared between distros?

After getting some information about partition scheme, I came to know that using discrete partitions will be more useful. If I'd to install another OS, and see having /home directory in seperate ...
1
vote
1answer
3k views

Installing Android-x86 on a USB (not creating a Live USB)?

I want to carry around an Android OS install on a USB so I can have a Google Authenticator with me everywhere I go since I don't own any mobile devices. The idea being that I can run Android through ...
1
vote
1answer
968 views

How can I flash_erase mtd0?

I am trying to find a way to nandwrite my mtd0 partition which contains my u-boot environment. When I try to flash_eraseall /dev/mtd0 though I get: flash_eraseall: /dev/mtd0: Permission denied ...
1
vote
4answers
305 views

how to tell if a partition is empty/unused

This is certainly a really easy question for you all I am sure. So I have Ubuntu (13.04) as the only OS mounted on my HDD. What I would like to do is re-partition my HDD so as to begin a LFS build. ...
3
votes
2answers
47 views

If /usr partition not specified, does it go on same partition as root by default?

I plan to install Fedora Linux on a machine with an SSD and an HDD. /boot, and the root will have their own partitions on the SSD. If I want /usr to be on same partition as /, will that occur by ...
2
votes
1answer
45 views

Command to reread partitions from media

When I insert media (e.g. an SD card) the system (Ubuntu 12.04) reads the partition table and creates all the /dev/*[1234] links to each partition. If I repartition the media I have to physically ...
0
votes
1answer
302 views

Can I safely delete the Ubuntu 12.04 partition and use the unallocated space for my Elementary OS?

I have this setup: I've decided to switch to Elementary OS Luna (fork of Ubuntu 12.04) as my main Linux distro. Now I need to delete my Ubuntu partition so I could add capacity to my eOS which only ...
1
vote
1answer
148 views

Specify partition data in sfdisk and parted

With this line: (echo o; echo n; echo p; echo 1; echo ; echo +24G; echo a; echo t; echo 7; echo w) | fdisk /dev/sda I can create a new active primary partition for NTFS, 24 Giga large. The syntax ...
1
vote
1answer
75 views

Repartion multiple disks and reallocate storage

I’m trying to re-partition from an Arch Linux install disc. I’m doing so because my current OS is corrupted. When running fdisk –l this is what it looks like: /dev/sda1 * start=2048 end=1026047 ...
3
votes
2answers
877 views

Utility to TRIM unallocated space on drive

I have a drive (SD card) with a few ext4 partitions but also some unallocated space. The fstrim utility can only work within a filesystem. Before I reinvent the wheel and write one, is there another ...
1
vote
2answers
713 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 `-+- ...
1
vote
3answers
270 views

What's the difference between fdisk -l and df -h?

In my ubuntu system, I want to have a look about my system disk info. When I use fdisk -l without sudo, I get nothing. But with sudo fdisk -l, I only get a device /dev/sda1, but when I use df -h, I ...
1
vote
0answers
240 views

Live boot GUI convert a primary partition to a logical partition?

Is Gparted Live unable to convert a primary partition to a logical partition? i.e. to make an extended partition and make that primary partition a logical partition within the newly created extended ...
1
vote
1answer
208 views

How to use redobackup without free partition

I had a spare 250GB drive a while ago from an old Windows Vista computer. There wasn't much data on the drive. I wanted to use it for a new OS in my computer, and I was in a rush to use it, so I ...
2
votes
1answer
1k views

How I can select a partition to install fedora?

I have a problem on installing fedora. I have already installed windows 8, and I have two different partitions (C (for windows), and D(for data)). I had also shrink the size of D by 50 GB, in order ...
2
votes
4answers
342 views

Manually cloning a Live USB Arch distro to a VMware virtual disk

I installed Arch Linux on a pen drive with yumi, based on syslinux. I would like to test the USB distro in VMware. To speed up things I would like to clone the UFD as a VMware virtual disk (vmdk). ...
3
votes
4answers
295 views

How can I partition a volume in a regular file without loop?

I'm trying to play around with OS development, and I started with a boot loader, where phase 0 loads phase 1 from a file (specified by inode) on an ext4 partition (specified by first LBA). Of course, ...
1
vote
1answer
149 views

Resize an extended partition to the whole drive

I previously had the following partitions on my sda: - - /home - /var - /tmp - swap Now I deleted /var, /tmp and the swap partition of that drive. This leaves me with around 35G of empty space. ...
1
vote
1answer
80 views

create multipath for local partition

Is it possible to create multipath to local partition? I got partition /dev/sda3 and I need /dev/mapper/mpath01 to be pointing to it. This is what I added in my kickstart (rhel 5.7) part ...
0
votes
0answers
67 views

Problems installing Linux Mint

I tried to install Linux Mint 15 on my PC using a bootable USB. I had partitioned a drive on windows for the linux. But while installing from the bootable, I cannot see the partition. I am afraid I ...
0
votes
2answers
110 views

Partclone error

I am trying to clone a disk in a VMware Machine The initial situation is: When cloning, I get the following error: Notes: The VM is bootstrapped with the Arch Linux ISO. sda is a physical ...
0
votes
1answer
233 views

Have to run partprobe at every boot

I created an LVM logical volume. I partitioned it manually. I ran partprobe. I found the new device in /dev/mapper, then I mounted it where I needed it. Everything works. ...except on reboot, ...
4
votes
2answers
872 views

Programmatically partition disk

I am attempting to create a bash script which will create a new partition with a file system on a disk with existing partition(s). It looks like it's easy to create partitions programmatically with ...
2
votes
3answers
536 views

Need more disk space for root

Several months ago I bought a new computer and installed/configured dual boot with Arch/Ubuntu Studio. I wanted to try Arch (because it was suggested as a great distro for audio production [since it ...
1
vote
2answers
2k views

Disk problems prevent me from booting, or set the disk to read-only. How do I fix the disk?

Problem: Since about one week ago, my Ubuntu system encounters various severe and strange problems. Sometimes the whole system suddenly freezes. I have to push the power button to shut down the ...
0
votes
0answers
69 views

How do I remove Linux Mint that is sharing a partition with Windows?

I installed Linux Mint on my computer that was already running Windows 7 and later realised it was sharing the same partition C. How do I remove Linux Mint without affecting my files and programs in ...
2
votes
1answer
508 views

Create partition with exact size not to specific distance

How does one create a partition of exact size not to specific distance? I have tried: parted -a optimal /dev/sdd mkpart primary 0% 0%+1GB # and... parted -a optimal /dev/sdd mkpart primary 0% +1GB ...
3
votes
1answer
1k 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 ...
3
votes
2answers
137 views

Repartitioning harddisk

Saturday I have to repartition my HDD. On my server I have 72GB HDD space which is not very much. Currently my system is partitioned as follows: Partition size: Filesystem Size Used ...
0
votes
2answers
83 views

Hard drive partitioning

I have Linux installed on my computer. I have /dev/sda1 where the mount point is / and /dev/sda2 which contains /dev/sda5 which is my swap space. I want to partition /dev/sda1. How do I go about ...
1
vote
3answers
4k views

partitioning using 2 hard disks (SSD and non-SSD) in linux [closed]

I have the following free spaces on 2 disks: SSD - 240G (sda) non-SSD - 240G (sdb) I understand that I should use SSD to install packages and non-SSD just for storing data. What's the best ...
0
votes
1answer
300 views

How to move to a different drive or partition?

I'm relatively new to Unix... or at least doing anything beyond ls. I need to get to a partition that is larger than where I'm at to import a project that won't fit where I'm currently. Also I'm ...
5
votes
1answer
146 views

Deploying filesystem images onto a partition of arbitrary size

I would like to establish a deployment process for Ubuntu machines based on root FS images. I would like to restore the image onto a simply-formatted hard drive (I can completely erase the disk during ...
1
vote
0answers
73 views

Resize /home on CentOS vmware guest

I have a new vmware guest, let's say I want to extend it from 100 GB to 300 GB My question is how to insert all the 200gb into /home? Where can I start? df -h displays:
1
vote
2answers
171 views

Cloning USB drive in VMware with partclone

I created a virtual machine in VMware as follows: SCSI HDD 1 GB (Main for short) SCSI HDD 0.8 GB (UClone for short) SCSI HDD 4 GB as a physically plugged UFD (Uphys for short) Arch Linux ISO as ...
4
votes
2answers
519 views

How do I backup my partition table?

I just bought a new laptop with Windows 8 preloaded but without an actual Windows disk. I would obliterate the whole thing, but I need to use Visual Studio for one of my classes and the most recent ...
2
votes
4answers
6k views

Partition scheme for installation of Debian

I'm installing Debian Wheezy on a 50 GB partition of a 500 GB Seagate SATA hard disk with 2 GB RAM. I want to use following partition scheme, but stuck at: How much (in percent) of disk space should ...
0
votes
3answers
356 views

Align Partition Of HDD Using fdisk?

I first asked this question on SuperUser.com but got no responses. I have found how to align the partition of my SSD using fdisk (SSD article on Gentoo Wiki) but haven't been able to find any ...
1
vote
2answers
465 views

How to access through terminal to a ntfs partition mounted?

Using Debian 7, I can access (and mount, indeed) to a ntfs partition of my hard drive.I do this by clicking on the 446 GB Filesystem shorcut in the "Files" applicacion which comes with Debian. How ...
1
vote
1answer
45 views

FreeBSD: Put Server Files on Its Own Partition/Slice

When installing FreeBSD v9, can I specify that a particular partition/slice have /var/www/ as a mount point?
2
votes
1answer
149 views

FreeBSD: Partition with Multiple Mount Points

On the latest FreeBSD installation, how can I make a partition have both /var/ and /tmp/ as a mount point? That is, one partition would contain /var/ and /tmp/. Is that even possible? I know of course ...
1
vote
2answers
120 views

Move and empty /home partition of Ubuntu

My partitions are: Ubuntu's / on /dev/sda1 Ubuntu's /home on /dev/sda6/ Crunchbang's / on dev/sda7 Now I want to install Backtrack, but for this I need to get rid of Ubuntu's /home and move its ...
3
votes
3answers
103 views

Figuring out what OS is on which partition?

So I have both Ubuntu and Crunchbang installed on my laptop, and I'm trying to figure out which one is on which partition. I'm going to install another OS (probably BT) and need to know what ...
0
votes
0answers
23 views

Reasons to partition an encrypted ssd [duplicate]

I am just setting up a new system with Lubuntu 13.04. I have an SSD and the whole system will be encrypted with the standard LVM + dm-crypt method (as offered by the lubuntu installer). In the past I ...
3
votes
1answer
1k views

Boot SystemRescueCd using UEFI?

How would you boot SystemRescueCd if you don't have the option to use the legacy-bios? I have the new UEFI and I have no luck booting SystemRescueCd(with a USB stick). I am planning to back up my ...