Questions tagged [partition]

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.

1
vote
2answers
31 views

Mapping between EC2 volume and your mounted filesystem

I am running out of space on a particular filesystem. I know this with the following command df -H $ sudo df -H Filesystem Size Used Avail Use% Mounted on udev 4.1G ...
0
votes
2answers
26 views

Enabling tmpfs on an already installed system

Right now a system uses LVM on LUKS, with only 2 lvm partitions / and /home. If I now want to make use of tmpfs for /tmp and /var/tmp, can I just add the necessary changes to /etc/fstab and it will ...
1
vote
2answers
3k views

EFI dual-boot problem on HP Pavilion 15 with Windows 8 and Debian 8

Context HP Pavilion 15 Notebook, when I bought it there was Windows 8 pre-installed. Yesterday I partitioned my hard disk and I installed a fresh new Debian 8 everything fine, here's the table: ...
2
votes
1answer
1k views

Best parameters for ext4 filesystem to handle virtualbox disk images

I have ext4 partition, which holds disk image files VirtualBox works with. They all are fixed-size images (i.e. files never change their size). They are defragmented as much as possible (with e4defrag)...
1
vote
1answer
4k views

Centos 6.6, resize partition

We have a Centos server as a virtual machine where the / path is getting full. So we want to resize the partition from 50GB to 70GB. I followed this guide https://www.thomas-krenn.com/de/wiki/...
0
votes
1answer
30 views

Grub error (no such partition)

I'm using a dell laptop that I had dual boot on. I wanted to uninstall ubuntu and I deleted the respective partitions but when trying to reboot the computer in windows. I got this error: no such ...
-1
votes
0answers
29 views

How to restore a single partition from a disk image?

I made an image from an entire disk using dd like this: (I'm omitting bs, conv, status, etc.) dd if=/dev/sda of=/media/somedisk/image.img The image looks like this, when opened from 7-zip: From ...
7
votes
3answers
456 views

How does the Linux command “mount -a” work?

After adding a new mount point in /etc/fstab, we usually execute mount -a to reflect the change (if we want to bypass reboot), and df -kh output shows the new mount point. How does mount -a work/...
516
votes
37answers
538k views

Tracking down where disk space has gone on Linux?

When administering Linux systems I often find myself struggling to track down the culprit after a partition goes full. I normally use du / | sort -nr but on a large filesystem this takes a long time ...
9
votes
1answer
434 views

How to format & mount a large partition with 4k sector size in Freebsd?

gpart show -l: => 6 146239733 da0 GPT (558G) 6 10 - free - (40K) 16 128 1 (null) (512K) 144 262144 2 efi (1.0G) ...
1
vote
1answer
17 views

How do I remove chrx on an ASUS Chromebook C202SA?

I already tried recovering with a recovery USB stick, but it does nothing. Now I'm stuck with 19.8 MB of storage. I can't even figure out what partition(s) to delete. Any help would be appreciated.
0
votes
0answers
29 views

Extended partition size using fdisk

I want to create on my disk this table partition using the command fdisk. SWAP 10MB FAT32 25MB FAT32 15MB Linux 20MB FAT32 20MB I'm facing a problem: I know I can have only 4 primary ...
0
votes
0answers
20 views

Restore Linux System from rescued root and home partition raw images

Because of a failing SSD I have rescued my root and home partition using ddrescue. The distro is Antergos. I know it's not supported anymore but I want to try to set up a system using these images. ...
0
votes
1answer
26 views

Applications loading slightly more slowly after shrinking Debian 9 root partition

I have a 250 GB Samsung Pro SSD in my Lenovo desktop. Initially Debian 9 was using the whole disk. Recently I decided to shrink my Debian partition and create two more partitions, one a shared data ...
1
vote
1answer
43 views

How FAT16 worked on a 16 GB thumbdrive flawlessly?

So, I created a FAT16 partition in the following way I plugged in my 16 GB thumbdrive. dd if=/dev/zero of=/dev/sdX count=1 Opened up cfdisk for simplicity. Selected dos label type Created new ...
0
votes
0answers
14 views

Creating bind mounts at Linux installation time

Generally, when we install a Linux distro (I'll use Ubuntu-like distro as an example, but can be any distro), we define partitions and mount points that will be applied to a disk, after we click on "...
8
votes
3answers
28k views

how to check the filesystem type of a logical volume

How to check the filesystem type of a logical volume using lvm or any other utility? For example, if my logical volume is /dev/vg1/lv1 then how to check its filesystem type? I have made a ext4 ...
0
votes
1answer
29 views

Why "df -h' does not display mount point /home?

Created 3 partitions for Linux(with dual boot): sda5 sda6 and sda7 $ sudo fdisk -l Device Boot Start End Sectors Size Id Type /dev/sda1 * 2048 718847 716800 350M ...
6
votes
3answers
345 views

How can a disk without a partition be “partitioned” without losing data?

I have a 1TB portable hard drive that I use for backups. The entire drive (/dev/sdb) has been formatted as an ext4 filesystem. I have been reading about the benefits of btrfs for backups (checksums, ...
1
vote
2answers
30 views

Busybox: Find all files on partition that have been modified since power-on

I am trying to come up with a Busybox-compatible script (or one-liner) that lists every file inside a specified partition that has been modified since the last power-on. This should include files that ...
2
votes
3answers
1k views

Problem to Install CentOS 6.4 (Second) after that Win7 (First) - dual boot

I want to install CentOS 6.4 in my PC, this image shows my Windows 7 partition before to install it But when I was ask to select my option (mode) of install CentOs like this: Or this (really is my ...
2
votes
2answers
50 views

How to determine if a PC has a combination of GPT disk and legacy BIOS boot, where the boot code is read from the MBR?

In a comment, Johan wrote: In the rare combination GPT disk + legacy BIOS boot, the boot code is read in the old-fasioned way from the MBR What is the proper way to determine if a PC has the ...
0
votes
1answer
29 views

Acer G9-793 shows two 120GB M.2 SSDs, not one 240GB SSD. Why?

I am trying to install POP! OS to my Acer Predator 17 (G9-793). When going to partition my C drive, i noticed that my 240 GB C drive was showing up as two 120 GB drives and were unallocated. I had to ...
0
votes
0answers
22 views

multiple drives in partman

I use Foreman to deploy new host and in the partition tables I can't find the right recipe to format with multiple drives. Here is my configuration test : 2 drives (/dev/sda and /dev/sdb) actual ...
3
votes
3answers
11k views

Convert boot filesystem from xfs to ext4

I was wondering if it is possible to convert my boot system from xfs to ext4. If it is possible, how do I do so?
0
votes
0answers
25 views

Installed new Linux on HDD having a second Linux on SSD - possible sharing of root/swap partitions?

I got a bit confused after installing Linux Mint again, this time on my HDD instead of the SSD. I have not deleted the old (on the SSD) yet because I am worrying that "root" and "swap" might be shared ...
2
votes
1answer
1k 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 ...
1
vote
1answer
956 views

How to install Debian on encrypted LVM partition?

I don't want to use Guided-use entire disk and set up encrypted LVM because I need change encryption type and I don't need /swap I tried to partition like this But it types You have selected the ...
0
votes
2answers
21 views

Unable to extend a partition in gparted

In my sdb drive I have 76 Gb of unallocated space. I would like to extend the partition sdb3. However gparted hangs if a try to extend this partition. Anyone knows why?
0
votes
0answers
16 views

Mount a raw partition over network

I need to mount a ntfs partition that sits on Linux raid6, so I can run chkdsk on it on a Windows machine. I ran ntfsfix on Linux already and it showed no errors, but I'm sure there's an error since a ...
0
votes
1answer
24 views

How to extend lv without loss of data on other lvs within partition [duplicate]

I want to extend my logical volume mounted to /home: lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sr0 11:0 1 1024M 0 rom xvda 202:0 ...
0
votes
0answers
25 views

Partition size mismatch using df and lsblk comands

On one of our systems, Additional SSD device mounted is showing size of 5.8 TB, but same partition showing size of only 59 GB using df command- [opc@kms10]$ df -Th /data1 Filesystem Type ...
-1
votes
1answer
13 views

creating space for data with fdisk

I am running a debian server on Windows in Hyper-V, I have expanded the Hyper-V partition to 2T, now I would like to expand the Debian partition to use that new space. The new space will be for videos,...
0
votes
0answers
19 views

Grub rescue ‘no such partition ‘

I have an ASUS netbook Eee1008 which dual booted XP and Linux Mint. I inadvertently deleted the wrong partition when trying to remove the XP OS. I now receive only the message indicating I have no ...
0
votes
2answers
42 views

Is there a reason to avoid frequently creating and 'destroying' partitions and having lots of them? [closed]

As far as I know, this just amounts to a change in the partition table and it is a relatively safe operation that is rather cheap. Is there any significant cost or drawback(s) to... Creating and ...
0
votes
1answer
19 views

repartition HD Linux Mint

Here is what have now. As you see, I'm running out space on /dev/sda6.I'm not sure how to move partitions around to gain space. I surly don't want to mess up.
0
votes
1answer
36 views

How to recover lost data after disk MBR to GPT conversion?

When I curiously selected to "create a new partition table" and the new type of it is GPT, GParted poped a warning message that "I may loss all...", but I still clicked yes, as I thought all the ...
0
votes
2answers
46 views

Why do I need to partition?

I am currently running Ubuntu 19.04 on my Surface Pro 3 and I have decided to move onto Arch Linux. Reading each installation guide, I keep coming across "partitioning" and I want to know why. What ...
1
vote
1answer
1k views

Installing OpenSUSE - Cannot format partitions

I'll make this fast. OpenSUSE is throwing up a whole bunch of errors when I try to install it. I am 90% sure that the partitions I set up are correct, but the installer doesn't seem impressed by my ...
2
votes
1answer
78 views

Qubes OS USB drive with boot partition broke

I had the boot partition of my Qubes installation on an external USB drive but it broke and I could save the files. How can I make a grub2 boot partiton to boot the OS again?
-1
votes
0answers
19 views

Ext4 error when deleting files in a folder

I am using a BeagleBone board with Linux. In a script I use the following command in order to completely remove the content from a mounted encrypted partition called /app rm -rf /app/* I receive ...
2
votes
4answers
18k 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). ...
6
votes
3answers
14k views

Should I use fdisk for partitioning or GPT aware tools?

Question: Should I use fdisk when creating partitions? Or is it advisable to use parted since it uses GPT? (by default?) And with that I can create partitions larger than 2TB.
0
votes
1answer
1k views

How to check integrity to HDD with UDF format

I'm having problem with a USB external drive, which seem to be formatted 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 ...
5
votes
2answers
1k 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 ...
4
votes
2answers
5k views

Startup problem: invalid partition table or use UEFI BOOT

I'm working on a Dell Latitude E5430. Recently I booted pcbsd from USB using this file: PCBSD10.1.1-RELEASE-01-31-2015-x64-DVD-USB_0.iso But I guess I did something wrong. I was trying to install ...
0
votes
1answer
34 views

Can I temporarily mount a partitioned hard drive while using LVM?

I currently have a hard drive with a boot partition and an extended partition; the extended partition contains /, swap, and /home partitions, as shown in the screenshot below: I recently acquired a ...
0
votes
0answers
37 views

grub-reboot and grub-set-default dont work properly

i have a fresh installed Ubuntu (Server) 18.04. I added a custom menu entry /etc/grub.d/40_custom: menuentry "Backup" { set root=(hd0,3) linux /vmlinuz root=/dev/sda3 ro quiet splash initrd /initrd....
1
vote
1answer
29 views

Mounting a hard drive (beginner)

I'm trying to mount my two harddrives (sdb and sdc) on Ubuntu 18.04 $ sudo fdisk -l Disk /dev/sda: 111.8 GiB, 120040980480 bytes, 234455040 sectors Units: sectors of 1 * 512 = 512 bytes ...
0
votes
2answers
51 views

Windows on SSD, Linux on HDD. No dual-boot. Separate bootloader devices. Will there be problems?

I have a 1 Terabyte HDD which is currently empty storage space for Windows which is on SSD. I want to split the HDD to two 500GB partitions and use first half as Windows storage space and the other ...