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.

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 ...
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
459 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/...
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
21 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
0answers
30 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 ...
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 ...
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
0answers
15 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 "...
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 ...
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
346 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, ...
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
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 ...
0
votes
1answer
30 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 ...
1
vote
2answers
31 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 ...
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
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
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 ...
0
votes
0answers
20 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
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
2answers
22 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
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 ...
1
vote
0answers
23 views

Broken LVM Physical volume after resizing partition

I bought a new larger SSD to replace my old one. The old one has 3 partitions, 2 for booting and a third (last) one with LVM2 on LUKS. I did the following to migrate: dd the contents of the old drive ...
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 ...
1
vote
0answers
25 views

why does these partition gaps occur? [duplicate]

I am doing an experimental project on NTFS and I just discovered every time I create a new partition there seems to be a (nearly 1MB) partition gap created just before the new partition. I searched ...
-1
votes
1answer
28 views

Delete partition - Partition number

I want to delete the partition /dev/sdb5 from my hard disk and then distribute the resulting space to other partitions. Now what would be the consequences in doing so? Would the partition numbers ...
2
votes
2answers
38 views

Problem resizing Fedora partitions using GParted

Hello everyone, I wan to to resize the size of my current Linux partition. In the picture my fedora system is the sdb5 (it is on my SSD), the 105GB unallocated space was once the space of a windows ...
-2
votes
2answers
70 views

Kali Linux installation on USB drive

I want to install Kali Linux on a 64 GB USB drive and want to take it just anywhere and plug it in any PC and have my setup up and running. IOW I just want a HDD like complete Kali Linux portable ...
-1
votes
1answer
9 views

Is it possible to find boundaries of a Solaris2 partition after MBR corruption?

I had disk with 4 primary partition on it with MBR (/dev/sda): - the first had a NTFS filesystem, with data (/dev/sda1); - the second was a Solaris2 partition, with openindiana (/dev/sda2 on GNU/Linux ...
0
votes
0answers
22 views

Kali Linux Boot Partition is out of Space [duplicate]

Today I installed the 2019 Kali Linux on my HP laptop, 120GB Hard drive, 16GB Ram. I created 3 partitions; 20 GB EFI partition, 80 GB primary partition & 20 GB Swap approximately 10mins after the ...
0
votes
1answer
24 views

SSD migration partitioning planning [closed]

Objective I have used Linux tools to modernize older systems with SSD drives: format & partition new SSD (gParted) migrate OS + apps (clonezilla, ) I am seeking to upgrade a Macbook Air ...
-1
votes
1answer
28 views

How to use parted or sfdisk to non-interactively partition a disk so that the partitions are properly aligned?

I'm trying to figure out how to partition a disk in a programmatic way so that my disk will have three "msdos" primary partitions: one for /boot, one for swap and the last for logical volumes. I can'...
1
vote
1answer
35 views

wipefs is not working as expected

I am doing wipefs -af /dev/sda1 and then creating pv but its throwing error I am creating with command pvcreate -qq --metadatasize=128M --dataalignment=256K '/dev/sda1' and following is error [...
0
votes
2answers
53 views

Can fstab dynamically mount a partition by reading from a file or filename?

I have a partition structure as follows: /dev/sdc1 => Partition 1 ( My OS. [ Linux flavour ] ) /dev/sdc2 => Partition 2 ( This contents some data. ) /dev/sdc3 => Partition 3 ( This also ...
0
votes
0answers
25 views

Partition Start and End Calculation

I was using the parted command and i was trying to create a new partition using the mkpart option. While i was doing this it asked for the partition start and end. Now i believe i know what the ...
4
votes
1answer
153 views

Partition error (Fdisk/Parted)

I was creating a partition using the parted command and i used the mkpart option to create a new primary partition. But i got an unusual error message while doing this. This is my output: (parted) ...
0
votes
0answers
24 views

LVM partitioning on multiple disks using preseed script

I want to write preseed script that makes a logical volume from a volume group consisting of multiple disks, and mounts it to rootFS. I know it's easy to (lvm)partition and mount in case of using ...
0
votes
1answer
32 views

How to fix or retrieve data from an NTFS partition that was (re-)formatted with gnome-disk?

This morning, as usual, I mounted a 622 GB Windows (NTFS) partition on Linux for use. When I went on to unmount it through the graphical disks tool on GNOME, I accidentally formatted it, and now it’s ...
0
votes
1answer
82 views

What is the maximum number of partitions in a hard drive [duplicate]

I want to know the maximum number of partitions in a hard drive. But I'm not sure whether that is affected by factors such as hard drive types or partition scheme or not. So, I'll just write down ...
0
votes
1answer
80 views

reduce or delete existing root partition and install new distro

I would like to delete my existing Mint root partition which is on /dev/sda2 as its is very large space for root and I am out of space on the /home partition which is on /dev/sda4 I read online that ...
0
votes
1answer
29 views

Will relabeling a partition destroy data

Is it possible to relabel a partition that was accidentally relabeled with a different file system type? We think we accidentally relabeled sdb1 as XFS when it should have been labeled lvm(8e), after ...