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.

Filter by
Sorted by
Tagged with
1
vote
0answers
9 views

How do I uninstall PC BSD 10? Can I partition the drive after installing?

I found a CD with that (PC BSD 10) written on it while looking for a back up of my husband's system disk. I installed it, only to find out it wasn't what I wanted. I'm not very techy. I can't find an ...
-1
votes
0answers
20 views

Delete all partitions and recreate

I have a laptop which has pre installed windows 10. bios is locked in a way that I cannot change boot type, virtualization settings whenever I do it resets. I have 500gb hdd and I use 3 OS. windows, ...
0
votes
0answers
31 views

SD Card not detected for installation?

I wanted to install arch linux to a micro sd card that is in my laptop but when I went to choose a partition my hard drive and usb with the iso were the only partitions found. I tried this again with ...
1
vote
0answers
20 views

ddrescue to larger drive

I have a 2tb external hard drive with a ext3 filesystem on the entire drive, so no partitions. I suppose this means there is also no partition table? This drive is somewhat broken, as copying some ...
0
votes
0answers
27 views

How can I expand my root partition on kali linux?

I need some space on my root partition that is getting full, so I used GParted to getting some space as unallocated. Now I want to expand the /dev/sdb1 but when I click to resize the buttons are not ...
1
vote
1answer
31 views

How can I move /var to spacious partition or increase size of the partition (/dev/sda3 in this case) to say 30G?

I am working on a Debian 9 system. When I try to install a package, dpkg fails with following error: Selecting previously unselected package mariadb-server-10.1. Preparing to unpack .../3-mariadb-...
2
votes
1answer
58 views

dd if=/dev/zero leaves drive contents in-tact? Bad USB stick?

I thought I could nuke all partitions of a drive by using dd if=/dev/zero of=/dev/sdX. In the past this has always worked for me, but in this case it is not working as expected. #check the partitions ...
2
votes
1answer
33 views

How to change partition name (not label)

I am using GParted. It shows partition name and a label. I found their difference in What is the difference between a name and a label in gparted? I found how to change Partition label in How do I ...
0
votes
0answers
30 views

dracut: Fails to boot on Live USB with 2 Partitions

Context: I have a USB drive with 2 partitions: the first one is a custom, non-persistent, image of CentOS 7.6 1810 (with GNOME) and the second one is an encrypted data partition. The objective is to ...
2
votes
1answer
23 views

how to dd sda to an image in a folder in sdc?

Everywhere I searched, they show commands like this: sudo dd if=/dev/sda conv=sync,noerror bs=64K | gzip -c > /PATH/TO/DRIVE/backup_image.img.gz. But sdb in my case is my Ubuntu startup USB and ...
2
votes
0answers
59 views

Two Partitions had same starting and ending sectors? How is it possible?

When I was practicing with fdisk, unfortunately, two partitions added with same start and end sectors. When I mount them individually I can see the same data on both partitions. Is it a flaw in fdisk? ...
1
vote
1answer
23 views

Increase the size lvm2 partition to use all unallocated disk space

I have imaged a smaller drive to a larger drive. I now need to increase the size of the parition/volume group (correct term?). The drive has ~1.6 TiB of unallocated space which I want /dev/sdb3 to ...
1
vote
1answer
27 views

Crypt /home partition after install (CentOS 7) or reinstall?

I recently installed CentOS 7 on a computer with high-end hardware (8-core processor, NVMe 512GB SSD, 16GB RAM). My customer wants /home to be crypted and I was not aware of that, so that I didn't ...
3
votes
1answer
25 views

Copying files to mounted second drive puts process in state “D”

I am running manjaro. I first noticed this problem when I was trying to install games on my second storage drive from Steam. I would try to install a game, and it would work for a bit, but then steam ...
2
votes
0answers
30 views

I am reallocating some partitions in the same disk. Before to do, how can I keep an ephemeral backup of it?

Because I have an ssd and an magnetic hard disk drive I have installed my GNU/Linux distribution like that: The /var and /home in the magnetic one disk whilst The rest of my system in ssd (the /) ...
0
votes
0answers
25 views

Why does fdisk sometimes ask what kind of partition to make and sometimes not?

Today I was trying to write a script for partitioning disks using fdisk (since that seemed like the simplest option). When going through fdisk the first time and pressing n for new partition, the ...
0
votes
1answer
60 views

Recovering lost partition table with TestDisk

So, somehow the partition table on my disk went bananas: at the next boot the system would not start, I got repeatedly kicked in the BIOS and I had no viable boot options. The BIOS still detected the ...
2
votes
2answers
33 views

Is it safe to resize partition in ext4?

I would like to reduce the size of an ext4 partition from my disk and I would like to know if it is possible that my files become corrupted during the operation ? I learn that ext4 file system use ...
1
vote
1answer
38 views

Separate /home from root? (Linux Mint)

My computer recently got messed up because of timeshift filling up all my storage. I had to erase my partitions and reinstall Mint. Some users said to separate /home from root next time. In other ...
0
votes
2answers
29 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
34 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 ...
7
votes
3answers
506 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
30 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
33 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
33 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
19 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
28 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 ...
7
votes
3answers
371 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
55 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
33 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
38 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
19 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
26 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
30 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
26 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
42 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
47 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 ...
0
votes
0answers
29 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
38 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
26 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
51 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
32 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
25 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
71 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 ...