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
3answers
49 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 ...
2
votes
2answers
28 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 ...
31
votes
5answers
30k views

Clear unused space with zeros (ext3,ext4)

How to clear unused space with zeros ? (ext3,ext4) I'm looking for something smarter than cat /dev/zero > /mnt/X/big_zero ; sync; rm /mnt/X/big_zero Like FSArchiver is looking for "used space" ...
0
votes
3answers
205 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
61 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?
0
votes
1answer
6k 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 ...
1
vote
1answer
38 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 ...
0
votes
0answers
24 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 ...
2
votes
2answers
80 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 $ ...
4
votes
1answer
25 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
1answer
21 views

can't reformat usb drive (can only get sdb1 not sdb)

I recently made a 128g kali thumb drive. Well I tried making the encrypted persistence way to large so wiped the whole thing and started again. But now whenever I format (tried from the command line ...
0
votes
0answers
18 views

error : no free sector available. not able to create partition

I just install RHEL 6 on VMware and I am trying to create a new partition but getting error "no free sector available". Please anybody help me for the same.
0
votes
1answer
24 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 ...
3
votes
1answer
56 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
30 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
21 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
8 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
34 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 ...
4
votes
1answer
4k 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 ...
2
votes
1answer
15 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 ...
3
votes
2answers
31 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 ...
2
votes
1answer
61 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 ...
3
votes
3answers
2k views

Is there a way to install Arch Linux without any installation media?

I want to install Arch Linux on my laptop machine. I have created a 20GB partition (/dev/sda5) to be used as Arch Linux root partition. I tried installing using a USB thumbdrive (I don't have a CD ...
0
votes
1answer
43 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 ...
0
votes
3answers
222 views

rsync partial LVM volume to Remote Directory

Can I rsync a full hdd partition (which is inaccessible) to a remote directory? Inaccessible means it cannot be mounted, it was part of LV volume merged with other HDD which is faulty and removed ...
3
votes
1answer
38 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
16 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
31 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
277 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
21 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
18 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 ...
1
vote
0answers
111 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
26 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
130 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 ...
3
votes
1answer
34 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 ...
1
vote
0answers
7 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 ...
1
vote
0answers
7 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
276 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 ...
2
votes
3answers
436 views

To secure my data, is it good to have separate data partition (along with separate home partition)

I am installing fresh Ubuntu 15.10 on my laptop after erasing my hard disk completely. Now, what I am interested to know is whether it is good to have a separate data partition along with separate ...
2
votes
3answers
41 views

Is it possible to keep files on a disk partition without an OS?

I want to switch from Linux Mint to Musix. I want to backup my files and copy them after installation, but I was unable to do this because my only external medium for storage is an 8 Gb USB stick. ...
0
votes
3answers
6k views

Grub Rescue after installing Elementary OS Freya

I used to dual boot windows 10(recently upgraded from windows7) and elementary os luna. Windows is installed on my C drive, and Luna was installed on a partitioned D drive (i splitted 100GB for ...
3
votes
2answers
50 views

Install Debian safely without destroying Windows

I'm very newbie to Linux and Debian. I have Windows 7 running perfectly. I want to have both Debian and Windows, So what I want is dual-boot. I just almost installed Debian Jessie 8.2, but I had to ...
3
votes
3answers
90 views

How can I identify the filesystem/partition type

My hard drive got corrupted at some point after mounting an mtpfs system. I would ask how to fix that, but I'm not confident about the partition and file system types. My OS is new Fedora Core 23, ...
2
votes
1answer
81 views

Check if partitions are aligned properly for performance?

I just created a GPT disk label for the entire space on my hard disk (/dev/sda) like so: # parted (parted) select /dev/sda (parted) mklabel gpt Warning: The existing disk label on /dev/sda will be ...
0
votes
1answer
15 views

How to create a disk image with a partition table that can be easily resized to the target device?

I want to create a disk image with two partition, boot partition and rootfs partition. I want boot to be a fixed size and rootfs to be easily resizeable to fill the target device after the image is ...
0
votes
1answer
14 views

How do I resize a partition on an img file?

I have a puppy linux img that is 8gb but I need it to fit on a 6gb drive. How do I resize the ext2 partition on the img?
2
votes
2answers
40 views

Accidentally installed Linux Mint over Windows/Ubuntu. How do I recover data (SSD)?

I had Ubuntu and Windows installed on this 480Gb drive (on my laptop) and decided I'd like to try Linux Mint. One of the options given in the Linux Mint installation Wizard was to delete Ubuntu ...
2
votes
4answers
159 views

Multiboot USB with extra first partition

I would like to create a 64GB multiboot usb drive. I want the first partition to be a 32GB fat32 partition so that I can use it for accessing files from windows. (Windows only displays the first ...
2
votes
1answer
229 views

GRUB not loading after installing OpenSuse TumbleWeed

Recently I decided to switch from Ubuntu to OpenSuse so normally I attained the TumbleWeed image from OpenSuse and began installing it. The installation process finished without any problem but after ...