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
0
votes
1answer
35 views

How to install Lubuntu-18.04 32 bit

i'd been trying to install lubuntu in my old laptop Laptop is Webbook NBX8010D with specs Processors : Intel Atom® Processor N270 1.6 Ghz Ram : 1x1gb DDR2 HDD : Samsung HM160HI I'm creating the ...
2
votes
0answers
20 views

Duplicate mounting of USB drive on Linux Mint

I have a problem that I have never encountered before, so I have no idea where to begin TS. One of my external USB drives, named Tolotupon, has always mounted properly. I had done nothing to the ...
2
votes
1answer
22 views

“Outside of the volume reference for inode…” How to proceed?

TL;DR: 1TB NTFS secondary drive. Using GParted, resized main partition to be ~800GB. Created and wrote to new partition in the newly-unallocated space. Deleted new partition, attempted to resize new ...
0
votes
0answers
9 views

Is data losing after checking partition error?

One of my NTFS partitions is accessable, readable and writabe normally by Linux file manager, but cant be detected the actual size by KDE Partition Manager. Right click on this "error" partition which ...
0
votes
0answers
30 views

Is there a way to reinstall Linux and keep my partition table?

This is my current partition table: Which option should I use to reinstall Linux? Does the erase disc option also erase the partitions? Would I need to create a new partition table? Or would ...
1
vote
0answers
46 views

How to fix my partition after mistaken gpart bootcode?

I was trying to make my HDD bootable and did gpart bootcode -b /boot/pmbr -p /boot/gptboot -i1 ada0s1 and now I got "Invalid partition" message on boot. /boot was from USB drive, not from HDD (...
2
votes
1answer
38 views

How to bind hard disks to /dev/sd* names statically?

Maybe it's an XY Problem, so here's a full situation: We have lots of servers now which will be used as storage/databases. All of them have similar setup: SSD drive for OS (Ubuntu 18.04.2 LTS) and 6 ...
1
vote
1answer
59 views

Linux Mint broke and I can't get it to work properly again on dual boot

I have used Linux Mint 18 with Windows 10 in dual boot since over a year now and never had a problem. Out of nowhere I was unable to boot Linux, seemingly due to a Windows update, because I didn't use ...
1
vote
0answers
70 views

Shell script to partition an SD card

I am quite new to Unix/Linux. I am trying to write a bash script which will format and partition an SD card to have the exact layout with 7 partitions as shown below. I've had a look at sfdisk, but ...
14
votes
5answers
2k views

Why is drive/partition number still used?

Many times, especially when messing around with boot-loaders, I'll see numerical drive and partition numbers used. For instance, in my /boot/grub/grub.cfg I see set root='hd0,gpt2', my UEFI boot ...
0
votes
1answer
59 views

Debian 10 preseeded two disk install

I need to make preseed file that installs system on lesser disk and /var -- on larger. I was told that I'd require scripts for this since I don't want to use RAID or LVM. I am unaware, though, about ...
1
vote
1answer
19 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 ...
0
votes
0answers
49 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
44 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
169 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
37 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
74 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
73 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 ...
1
vote
0answers
152 views

Live USB with custom CentOS image and Veracrypt Partition

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
74 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
63 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? ...
2
votes
1answer
42 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
68 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
28 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
26 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
116 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
102 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
75 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
34 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
94 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
855 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
88 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
36 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
49 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
44 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
24 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
29 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
35 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
400 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
80 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
76 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
32 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
67 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
20 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
37 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
136 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
14 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 ...