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)

-3
votes
1answer
89 views

How can I create an LVM volume group spanning 2 hard drives? [closed]

I have rented a dedicated server with two 500gb hardisks running Centos 6. On this server there are 4 partitions: 1.boot 2.root 50gb 3.swap 50gb4. 4.empty 400gb Now I want to create a logical ...
0
votes
1answer
93 views

Low disk space on Manjaro / , how to resize /dev/mapper/ partitions?

I have Manjaro Linux installed on my laptop. When I log in I get a message Only 0.22GB or 28.71 GB left on / Previous suggestions were to run Pacman -Scc to clear the pacman cache, and that worked ...
1
vote
2answers
73 views

alignment of extended partitions

I read an article on aligning file-systems on partitions and this said that: When manipulating MBR disks, be aware that the alignment of extended partitions is unimportant. These partitions hold ...
1
vote
2answers
103 views

Format a USB drive as unprivileged user

I always thought unprivileged users couldn't format a USB drive, only root user could, so I used to mess up with gparted or fdisk. After years or daily Linux usage I just discovered that gnome-disk-...
2
votes
2answers
229 views

Change encrypted partition UUID

I'm trying to change a partition's UUID, the problem is that I'm trying to change an encrypted volume. So I can't use the usual method described here. Since it throws the following error: tune2fs: ...
0
votes
1answer
133 views

Can't fix my boot partition — can I restore Ubuntu from a copy (not properly imaged) of my partition?

On my old Ubuntu system (the one I'm trying to restore to) I had a boot partition /dev/sda1, my main OS partition /dev/sda2, and a swap partition /dev/sda3. I mistakenly formatted over /dev/sda1 ...
0
votes
1answer
66 views

Major and minor numbers of a partition

$ stat new File: ‘new’ Size: 928 Blocks: 8 IO Block: 4096 regular file Device: 804h/2052d Inode: 28188755 Links: 1 Access: (0622/-rw--w--w-) Uid: ( 1000/ t) Gid: ( ...
0
votes
0answers
354 views

Installing Fedora onto Hard Drive: Error checking storage configuration

I am trying to be able to dual boot my windows laptop. In the setup process, navigating to Installation Destination -> Done with Automatically configure partitioning checked, the error message "...
4
votes
2answers
366 views

Is there an inode for a directory?

Each file has an inode. Is there an inode for every directory ? If not, how does Linux manage directories.
1
vote
1answer
117 views

No space left to free up on rootfs partition to upgrade kernel

I want to upgrade Linux kernel from 3.16 to 4.3. Unfortunately when I run aptitude install linux-image-4.3.0-1-amd64 installation fails due to no space on rootfs partition. 117MB left, 174MB needed. ...
0
votes
1answer
638 views

Does it make sense to put btrfs on lvm?

This is OpenSUSE Leap 42. I have a computer with 2x 500 GB SATA HDD drives and to speed it up I put in a small 30GB SSD drive for the system. During installation HDDs were disconnected as they ...
1
vote
2answers
26 views

Wheezy to Jessie upgrade / (root partition) minimal requirements in MB?

The Linux Debian kernel is 3.2.0-4-686-pae . The / (root) partition is 62% full. Will the remaining space suffice to install jessie's kernel & boot stuff? mt42@hostname:~$ df -k ...
1
vote
2answers
53 views

Renumber encrypted partition - sda3 to sda5

I have an encrypted crypt-luks partition that is currently named sda3, and is the last partition on the disk, that is, there are no sda4 or sda5. The encrypted partition contains three logical volumes ...
2
votes
0answers
29 views

Safest way to add/extend partition on linux [closed]

I have a linux server that is running out of space. There are already 4 primary partitions, which I believe is the max number of partitions. So I am unable to create a new parition as per this article:...
2
votes
1answer
87 views

How to find unallocated disk partition with parted or another tool?

I'm using Fedora server and I have an unused partition on /dev/sda. How can I find it with parted or another command? I can only list mounted and used partitions.
0
votes
1answer
39 views

Partition system id FDISK

if I change a partition system id to FAT16 with fdisk and make another file system such as ext2 on that partition with mkfs what is problem? every thing is ok ! so what does (partition system id) do?
2
votes
2answers
66 views

Dual Booting on HP laptop seems impossible due to HD partitioning

I'd like to run Debian on my laptop in dual boot with Win7. I started shrinking my C drive, freeing 150Gb to give to Debian, but when installing and arriving at the point in which I have to choose ...
1
vote
3answers
474 views

Recommended partitioning scheme for Arch Linux when using two hard drives [closed]

I want to install Arch Linux on my laptop, which has two hard drives: a 25GB SSD and a 700GB HDD. I'd like to have the OS installed on SSD and have my data stored on the HDD. Which partitioning ...
0
votes
2answers
1k views

How can I use fdisk to create a ntfs partition on /dev/sdx?

I would like to know how to create a ntfs partition on /dev/sdx. I could not figure out if I should use partition type 7 86 or 87. What is the full list of commands to use?
1
vote
1answer
136 views

Using dd in order to save and restore a boot sector?

Through some legacy code I'm using dd to save and restore (parts) of a bootsector after unzipping the .iso of the system onto the hard drive (from a live cd). I use the following command to save the ...
1
vote
4answers
311 views

Kernel panic after Gentoo install — cannot open root device

I have a Debian system on /dev/sda1 (/) and /dev/sda2 (extended, /dev/sda5 is /home, /dev/sda6 is swap). I want to install Gentoo in parallel, so I shrinked sda2 and created /dev/sda3, in which I ...
0
votes
0answers
35 views

Defining partitions with boot parameters

I read on the GTV Hackers wiki that the partition table for the Logitech Revue is embedded in the kernel instead of residing, say, at the beginning of internal memory. After that I learned that this ...
4
votes
1answer
49 views

Cannot reformat Micro SD Card

I need to reformat my micro SD card, however I am having some issues with it. When I go the card on my computer, it displays the following message: The folder contents could not be displayed ...
0
votes
3answers
98 views

changing grub boot drive

I just installed a new SSD and I want to move all the files from the HDD to my SSD. I cloned the partitions from the hdd to the ssd. I run on a dual boot - windows 10 and ubuntu 15.10. So, now I have ...
0
votes
1answer
45 views

mkfs.vfat creates multiple MBR signatures

I am creating a FAT32 partition from a file image. My commands are as follows: Create a 2MB file image. dd if=/dev/zero of=fatfs.img bs=1024 count=2048 To create the filesystem I use: mkfs.vfat ...
2
votes
2answers
140 views

How can I manipulate a partition table file without fdisk checking the validity of it?

I'm creating an image in memory (/tmp is a tmpfs): $ dd if=/dev/zero of=/tmp/sdcard.img bs=512 count=3147775 It's supposed to hold a partition table and the first 3 partitions of a device $ ...
3
votes
1answer
115 views

Can I get SSD rw performance while keeing data security if I combine SSD & HDD in btrfs RAID1

I have 2 storage devices; classical slow HDD (750GB, /dev/sda) and faster SSD (128GB, /dev/sdb). Currently I have installed Ubuntu & Mint on same btrfs partition on SSD (/dev/sdb5). My btrfs pool ...
0
votes
0answers
50 views

Boot script issue after formatting computer

I am new to Linux, currently using Linux Mint. I enjoyed it so much that I decided to ditch Windows altogether. So I formatted my entire hard disk and installed Linux Mint. I got a warning during the ...
0
votes
1answer
85 views

Error while Installing centos 6.7 alongside windows 7

I am havind almost 50 gb free space in hard disk. But while partitioning its shows that "could not allocate requested partitions : no partition slots in sda". I made free space by shrinking my current ...
0
votes
0answers
12 views

Mount external drive from old eMac with Darwin

How can I mount an external HD from a Darwin console? I've tried running fdisk, but fdisk -l fdisk: unable to stay -l: No such file or directory mount -a didn't barf but didn't do anything material ...
2
votes
1answer
20 views

Which FHS dirs can I outsource and how?

At the moment I have a computer w/ Ubuntu on a HDD with everything on one partition. I'd like to add a SSD and move / to it, outsourcing /boot to a separate partition (on the SSD, too) and leave /home ...
2
votes
1answer
98 views

How can i merge unallocated partition with an extended partition?

I need to combine the unallocated space on my computer into one partition. Originally I had Windows in the other partition but I recently deleted it because I no longer use it and I only ever use ...
3
votes
2answers
50 views

Mountpoint to different partitions and different filesystems

While reading on mount point, I think of file management in Linux as followed : / is the main body of a tree /a is a branch from the main body, /a/b is a branch from /a branch To mount a partition c ...
15
votes
6answers
1k views

File systems vs partitions vs directories

I am new to Linux so pardon me for the possible confusion you may encounter in this question. From what I understand, filesystem specifies how a partition stores/manages file, with standards such as ...
2
votes
1answer
124 views

Difference between sd0/sda, hd0/hda

From what I understand, hdx is naming convention for IDE (PATA) drive, sdx is for SCSI (SATA) drive. Sometimes I see sd0 and sda, similary hd0/hda. What are their differences ? When would we use ...
0
votes
1answer
51 views

How to partition my hard disk [closed]

How to partitioning hard disk for two different linux system on the GPT/UEFI. Size of disk 500gb. I ask because of the fact the disk is limited to 4 primary partition. I want to have 2 partitions on ...
3
votes
1answer
56 views

Decrypt a portion of a corrupted drive

I have a hard drive that got corrupted after a doing an MTP mounting of a cell phone. It was created under Fedora Core 20 using defaults. Originally, I thought I did it as an ext4 partition. I ...
0
votes
1answer
19 views

Fedora installation on particular partition

Let's say in my disk I have two partition, Partition A 100Gb and Partition B 800Gb, I want to install fedora on partition A only. I don't want to touch partition B. Is it possible? if yes than please ...
1
vote
1answer
64 views

Safely resize partitions Debian?

A week ago I had Windows 7 only. Then I installed Debian Jessie 8.2. I made mistakes (I think) on the partitions sizes, I thought it was a good idea to do something like this (and I did it): -/ ...
6
votes
2answers
295 views

Why partition disks?

I've read many times that it's important to partition disks into smaller partitions, and that this is especially true for root or OS disks, but I've never been able to find a good reason for it. A ...
2
votes
2answers
60 views

fstab pass value for non root partitions

If I open /etc/fstab on an up to date Amazon Linux Server (using init, not systemd) I see the following: LABEL=/ / ext4 defaults,noatime 1 1 tmpfs /dev/shm ...
0
votes
0answers
22 views

How to recover files from unused partition (Mint)?

I made 2 partitions, 1 root and 1 swap, 3rd partition was data partition which had files on it, I wanted to allocate free space to that partition and set it as /home, however the computer didn't allow ...
0
votes
1answer
491 views

How do I remove the chrx partition on a chromebook running crouton?

I hope this is the right place for this. If not, let me know where would be more appropriate. I have chosen to ask it here because I am assuming/hoping that the flexibility of linux will allow me to ...
1
vote
0answers
46 views

Are partition and volume the same concept?

From Silberschatz's Operating System Concepts A storage device can be used in its entirety for a file system. It can also be subdivided for finer-grained control. For example, a disk can be ...
0
votes
0answers
18 views

How to get my partition to be bigger

I inherited a messed up file system, and I think I made it worse. My files are all found on /dev/sda5. As you can see I have no more room. I'd like to include sda2 in sda5, but unfortunately the ...
3
votes
1answer
229 views

How can I set up overflow /tmp partition?

I run Antergos as my OS. I have several drives in my computer: a 240gb SSD, a 320gb SATA hard drive, and a 120gb IDE drive. I store most everything on the SSD because I don't generally need more room ...
2
votes
1answer
38 views

Any way to help “visualize” the superblock, filesystem, group descriptors, etc

I've been reading a lot about filesystems, trying to learn all I can in depth, but I'm having trouble really visualizing some of it, especially when it comes to things like the superblock, group ...
0
votes
0answers
9 views

Fedora OSX Partition

I am wanting to dual boot fedora workstation with OSX. 2015 Macbook. However, when I get to the partition scheme screen on the fedora installer it shows my OSX SSD 250GB but with only 6KB free. But if ...
2
votes
1answer
3k views

How to expand /boot partition on Ubuntu 15.10?

Recently I made a fresh install of Ubuntu 15.10 on my laptop after erasing everything. I have got notification from update manager to update my system. But I am getting the below error which says the ...
1
vote
0answers
15 views

Getting mmc_block to display more than 8 partitions

When you format an SD card or a USB drive with the Chromebook Recovery Utility, it creates twelve partitions. It also leaves the rest of the memory unallocated. I want to be able to use this space as ...