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
votes
0answers
14 views

Problem with resizing in Gparted of my SSD on Debian 10 [on hold]

I'm just trying to resize my /dev/sda/ like in the video but it's just don't work. If anybody knows what the problem is or what I'm doing wrong, please help and thanks a lot. Here a link to the ...
0
votes
1answer
19 views

GParted - expand main Debian partition into freespace

I'm trying to expand my main linux partition from a Debian install, /dev/sda1 into the 7gb unallocated free space. Normally I would just use the resize feature in GParted but because the free-space ...
0
votes
0answers
13 views

parted: resizefs -1s did not work but resizefs -100% works

I'm trying to resize the GPT partition to the end of disk (SD card) using following: $ sudo parted -s /dev/sdg -- resizepart 8 -1s But I got the following error Error: Unable to satisfy all ...
0
votes
0answers
32 views

Dual Boot - Mounting Windows partition from Linux issues (Windows is hibernated)

Yes, this type of question has been asked multiple times - however, I have a different scenario since one way works through GNOME, but another doesn't (from the CLI). Until now, to conveniently ...
0
votes
0answers
9 views

Merge active partition (Manjaro) with unallocated partition using KDE partition manager?

I'm new to working with Manjaro and Linux in general. Over time with my experiments, I've created a lot of partitions. Now I ended up in the simple scenario in which I have 2 partitions which I want ...
0
votes
0answers
20 views

Newly created partition number

I'm writing a program (in java) that slices a clean device onto a set of partitions, using parted mkpart to create the partitions. In order to create a next partition, I want to know a partition ...
0
votes
1answer
18 views

How to avoid borg to cross filesystem boundaries

I am looking for a way to backup one filesystem by borg and I do not want it to following mount points to another partitions. A mechanism like the flag -x in rsync. I feel that I missed something ...
0
votes
2answers
51 views

How to move /home to a new partition fedora

I am new on linux, I have windows 10 and Fedora dual booted on my laptop. I finished the space in the /home folder and I am trying to resolve this problem. I allocated a free space on my disk to ...
0
votes
1answer
23 views

Cannot see partitions in fdisk utility

I've been struggling with this couple of hours now. Deleted all existing partitions and created a new one on (virtually unmounted) removable USB media using: $ sudo fdisk /dev/sdb1 Command (m for ...
0
votes
0answers
28 views

How to recover a partition that disappeared

I have a Raspberry Pi with Raspbian and two USB drives: /dev/sda and /dev/sdb They each have a partition (LUKS partition sda1 and regular ext4 partition sdb1, respectively labeled DRIVE1 and DRIVE2). ...
0
votes
2answers
25 views

Ubuntu KDE Partition Manage, how to use deleted windows partition unallocated memory?

EDIT: attached is the fdisk output! My system has about 300 gigs of unallocated space which you cant see in the terminal output. Using KDE Partition Manager on Ubuntu, I 'shredded' my windows ...
-2
votes
1answer
49 views

Will adding data to a hdd that already has data on it using the “dd” command overwrite the pre-existing data?

Will adding data to a hdd that already has data on it, by using the "dd" command, overwrite that pre-existing data? I do NOT want to overwrite any data. Data is being copied over from 1 hdd to another ...
0
votes
1answer
34 views

How to resize a partition to its maximum capacity after partitioning it to half of its capacity?

After cloning a 1TB hdd "TO" a 2TB hdd, in which the 2TB hdd is now only 1TB... The following format will not allow me to resize it properly, to its max capacity. Seems as though it won't get resized ...
-1
votes
0answers
16 views

can I remove with fdisk odd partitions?

I just received a new windows notebook which I want to smash down and put Arch on it. As I used fdisk /dev/sda1 and p to list the existing partitions I see the following: Size ID ...
2
votes
2answers
52 views

What is 'File System' partition and how to free space on it?

There's File System and there's Home in My Computer on Linux Mint. I understand that File System holds system files etc., home is for personalised data. What gets me is that when I open File System ...
1
vote
2answers
23 views

Is it possible to expand the partition created on Ubuntu trial (live USB) flash drive?

Yesterday I created a Live USB Ubuntu boot flash drive (16GB) and booted up with no problems. It runs great on my i7, 8GB laptop. Android Studio Test I'm attempting to test running Android Studio ...
0
votes
0answers
15 views

KDE Partition Manager wrongly reporting disk usage for Btrfs RAID 0

Am I doing something wrong or is there a reason why KDE Partition Manager does not report correctly the memory disk usage of the devices I am using for a Btrfs RAID 0? jose@gentoo ~ % sudo btrfs ...
1
vote
1answer
73 views

Is my system using UEFI?

I'm installing Gentoo Linux & I don't know if my system uses UEFI or BIOS. ls /sys/firmware on live cd shows no UEFI file/directory(even after mounting my boot partition) so I conclude that it's ...
0
votes
0answers
30 views

Cannot create xfs filesystem on second partition created on a hard drive

I am running CentOS 7. I have a hard drive, /dev/sdc. I have created the first partition /dev/sdc1 (by using fdisk) where I mounted an ext4 filesystem. Everything is OK. Then I have created a second ...
0
votes
1answer
42 views

What is the difference between using “of=/dev/sdX” and “of=/dev/sdXY” in dd

First of all, this question is NOT the duplicate of this one, which compares lower-case "sdx" with mixed-case "sdX". Back to the question. If I have a formatted memory stick which is composed of only ...
1
vote
1answer
22 views

How to boot my server by a live Ubuntu while the only access to this server is ssh connection

I have bought additional disk space for my VPS, which is running Ubuntu 16.04. to add the unallocated space to the root partition, I do think I have to boot the system by a live media to be able to ...
1
vote
0answers
24 views

Is it possible to resize MTD partitions at runtime?

I have a very specific need: to partially replace the content of a flash and to move MTD partition boundaries. Current map is: u-boot 0x000000 0x040000 u-boot-env 0x040000 0x010000 kernel ...
0
votes
2answers
27 views

When I create a partition on a non-partitioned disk, does that automatically create a “partition table”?

When I create a partition on a non-partitioned disk, does that automatically create a "partition table"? For ie, with a flash drive, hard drive, any format (ext4; FAT).
0
votes
1answer
43 views

Is it necessary to create a “partitioning standard” for a usb, usb card-reader, or hard drive?

Is it necessary to create a "partitioning standard" for a usb, usb card-reader, or hard drive? What benefit does it offer? I created a partitioning standard for my usb card-reader and ran into ...
-1
votes
0answers
21 views

Unable to find the mount point entry in fstab

I am using Deepin OS and upon installing it, I couldn't find a partition on my homepage, upon using lsblk I found that the partition was mounted in some other folder and to change the mount point, I ...
0
votes
1answer
30 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
18 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
8 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
29 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
45 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
37 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
50 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
59 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
54 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
44 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
35 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
58 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
35 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
69 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
54 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
133 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
48 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
61 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
33 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
50 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
27 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 /) ...