Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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
1answer
31 views

I lvextend-ed the /, but there is still only 50Gbytes

I have pved, /dev/sda and /dev/sdb, and I vgextended the /dev/sdb to the default VolGroup, and lvextended the /. now the lsblk shows this: [root@store01 ~]# lsblk NAME MAJ:MIN ...
0
votes
1answer
12 views

How to clear partitioned disk for QEMU

I have a 100Gb partition for QEMU purposes. However, I was installing Windows 10, but the installation failed and corrupted. Is there a way to completely wipe that partition so I can start over?
-1
votes
0answers
25 views

Incorrect partition set up at install? Not enough room on root?

I followed some standard Linux Mint install instructions and partitioned my disks like so: /    –   10 G /swap –   4 G /home – 450 G As I am using the system and install applications, I am told I ...
0
votes
0answers
19 views

Why can't I see NTFS partitions on a specific drive?

I have a dual boot win10/Fedora29, with 3 internal drives: win10 system (NTFS) fedora system (ext4) data drive (NTFS) I can't see the partitions on the data drive and I can't mount it. I can ...
-1
votes
0answers
16 views

Recovering SD Card [on hold]

I had raspbian running on my pi for some times. From yesterday, when booting i can read this on the screen : "end kernel panic - not syncing: VFS: Unable to mount root fs on unkown-block(179,2)" I ...
1
vote
1answer
25 views

Whole disk is a partition: can't shrink, can't create new one

When I set up arch linux, I created a partition with fdisk, and ran mkfs.ext4 on /dev/sda. Now, I want to partition /dev/sda to have 2 partitions, instead of just one. The problem is, that when I try ...
1
vote
1answer
35 views

What is the deal with this usb drive with a second block device?

I have a giveaway usb stick and when I plug it into my computer and run lsblk it shows two block devices, i.e. sdb and sdc. sdb of them contains almost all the free space ( ~15G) and the sdc one is ...
0
votes
0answers
22 views

Restore a malfunctioning USB Drive ? (Incl. log from GParted) [closed]

My USB drive is malfunctioning. 64GB 2.0 from Intenso i think.  I tried to convert it to a bootable Linux drive via LiveCDLinux on Win10.  Currently whenever I plug it in it shows up the folder and ...
0
votes
1answer
30 views

Arch: root partition not found at boot

For an unknown reason, my system stopped booting. Now, it fails to find my root partition after 10 sec and drops me in an emergency shell where my keyboard is not detected What I did so far was to ...
2
votes
1answer
48 views

Is it posible to resize a primary partition?

My company is running a cloud hosting with CentOS. In the past, when it reached maximun SSD capacity, they upgraded it. As far as I understand, they've done it by creating a primary partition and ...
0
votes
1answer
27 views

Resizing /home in Opensuse

I am using Opensuse Tumbleweed and set up the root partition as btrfs and home partition as ext4. I used lvm during installation.When installed, the root partition had 40GB and home partition had 25 ...
0
votes
1answer
18 views

nosuid doesn't prevent chmod u+s

I follow a tutorial to secure my /etc/fstab file. This is a certain part about /var and /tmp UUID=XXXX-XXXX-XXXX /var ext4 defaults,nodev,nosuid,noexec 1 2 UUID=ZZZZ-ZZZZ-ZZZZ /tmp ext4 defaults,...
0
votes
0answers
28 views

I resized a partition (made it smaller) but now the partition shows the same size as before I resized it only with less available space.

I had a partition that was 650gb and was being used for files on Windows. It had 600gb of data on it. I deleted 300gb of data then resized the partition to 350gb (with 50gb free space). Once it ...
1
vote
2answers
41 views

Rootfs versus kernel confusion [closed]

I know that they are two different entities. Rootfs is a file system which describes how to store and access data. The kernel is actual code which executes. However, isn't the kernel code stored ...
11
votes
4answers
2k views

Why does writing random data using dd result in disk partitions?

Prior to running the dd command, the command lsblk returned the output below: NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 931.5G 0 disk The ...
0
votes
2answers
28 views

How to resize linux partition with RAID1?

I have a Proxmox disk with 130Gb LVM image. I moved it to 235Gb disk. And resized in the Proxmox. Done. But in my Linux distro, the partition still 130Gb (disk become 235Gb). The partitions: /dev/...
0
votes
3answers
38 views

Does deleting the root partition affect the home partition?

But then I remembered home is !mounted! in /home and / is root Here's what I want to do.. I have an hdd with 4 partitions. boot swap root home I delete the first one, then the second, then ...
3
votes
1answer
46 views

Shrink one RAID-1 partition and grow another

I have a dedicated server with /dev/md2 being mounted on / with 2 TB and /dev/md3 being mounted on /home with 3.5 TB. Now I want to shrink /dev/md2 to 500 GB and grow /dev/md3 to about 5 TB. How do I ...
1
vote
1answer
46 views

Why does a copy operation to a directory that serves as a mountpoint not copy the data to the mounted drive?

Why does a copy operation to a directory that serves as a mountpoint not copy the data to the mounted drive? I bought a 2 terabyte drive and mounted it in a subdirectory within my home directory. ...
0
votes
0answers
18 views

fdisk problem - can not recreate partition table - decrease crypt

I am trying to shrink my crypted lvm system, shrinking lv and pv size was no problem, i followed this awesome post here: https://ubuntuforums.org/showthread.php?t=726724 But in the end the partition ...
1
vote
1answer
47 views

Assessing files hidden by mounting file-system

I am using Ubutnu 18.04. Currently, /home is mounted on / on an NVME disk according to df command: Filesystem Size Used Avail Use% Mounted on /dev/nvme0n1p2 137G 113G 18G 87% / ... The ...
1
vote
1answer
42 views

How to create a partition with GNU Parted exactly at the end of the previous partition?

I have a 8 TB hard disk with two partitions on it: 3 TB and 1 TB, so remaining 4 TB is free. I'd like to create a 3rd partition which would span rest of the disk. In the early days with fdisk when ...
0
votes
1answer
44 views

Moving / directory in linux

I installed ubuntu with dual boot alongside Windows 8. While partitioning I allocated 9.8 GB to the root directory of linux.Now i am short on space with only 700MB space remaining in this root ...
3
votes
1answer
47 views

How can I re-partition a hard/ssd-drive without losing data?

When I got my notebook with a 512GB SSD, I reformatted it and installed Ubuntu. I've followed Ubuntu's suggestion to partition the drive, so I have it partitioned as follows: $ sudo parted -l Model: ...
1
vote
1answer
37 views

Partitioning for Linux From Scratch (LFS)

I'm building the system in VirtualBox with a CentOS 7.5.1804 guest on a Windows 10 host using the v8.2 systemd book (the current is v8.3, but the partitioning content is the same), and I got a little ...
0
votes
1answer
27 views

LFS (Linux From Scratch) hard disk partition requirement

I am going through the LFS documentation in order to build my flavor of firmware for our systems. Currently my host machine is Ubuntu 18.10. I have 2 hard drives /dev/sda and /dev/sdb. My Ubuntu ...
0
votes
1answer
13 views

Partitions now appearing in /mnt, not /media/$USER

Until I forced a restart on my laptop this morning, I had a partition to my boot drive on which I had previously installed Linux Mint 18 (sensibly labelled "linuxmint") Now I can access the same ...
1
vote
1answer
23 views

Repartition a non LVM system with LVM

I have installed my system without LVM but I need it now. How can I repartition my disk with LVM and keep all my system files? I know this would need backup, but I have never used it yet and don't ...
1
vote
0answers
16 views

Realigning GPT partitions to 4k sector boundaries?

If I have an HDD with GPT, and the partitions are not aligned to 4k sector boundaries, is there a tool to realign the partitions to 4k sector boundaries? Suppose I have UEFI stuff on the HDD in ...
0
votes
1answer
65 views

How to move my Linux installation /boot/ and other important parts to SSD

i was using dual boot system with mint and windows 10(on separate SSD). I simply dont want Windows anymore and deleted all windows related boot and data from my SSD with gparted. Now it sits ...
1
vote
3answers
27 views

Disk setup on laptop with regular HDD plus SDD [closed]

This is going to be a question about your opinions on setting up a new laptop with both a regular 1TB HDD and a 250G SSD. Let's suppose that... /dev/sda = 1,000 GB HDD (931 TiB) /dev/sdb = 250 GB ...
1
vote
0answers
25 views

How do I shrink a partition from the beginning? i.e. create empty space at the beginning of the block device?

I have devices with SD cards, with several partitions. The first partitions on the card is typically not mounted, and have vfat filesystem. What I want to achieve is, to create a 1MB free space just ...
0
votes
0answers
35 views

How to create an encrypted partition and how does Linux then decrypt it [duplicate]

I'm still very much in the learning phase of Linux especially for the use in embedded systems. My intention is to create a separate encrypted partition on an SD card, possibly by using dm-crypt. ...
0
votes
0answers
27 views

CentOS 7: hot to increase the boot partition followed by logical volumes?

On a CentOS 7 server I'm almost out of space on the /boot partition and I need to increase its space. It is followed by a logical volume, as shown below: df -h # df -h Filesystem ...
0
votes
1answer
22 views

Merge unallocated hard disk space

I just got a hard disk from my friend. Since it's only 160GB, I assume it's a pretty old one. Now I'm going to format it and make it a fresh hard disk through raspberry pi. But I notice the primary ...
2
votes
1answer
61 views

Creating an encrypted partition to store private keys [closed]

I am using a BeagleBone Black board running Debian. My intention is to create a separate encrypted partition to store private keys in the internal emmc. The keys are used for SSL communication. The ...
1
vote
1answer
17 views

Hang after bootloader, looking for device

I tried to copy my bootable partition (e.g. sda1) from a removable drive to my internal drive (e.g. at sdb2) for an openSUSE 42.3 installation. It took me a bit of time to correct the bootloader ...
0
votes
2answers
246 views

How to install Nitrux OS using znx?

I want to check out Nitrux which you can deploy using znx (how to here). znx does not seem to open correctly in Fedora, which is why I would like to deploy it using the terminal. The how-to says that ...
1
vote
1answer
31 views

Safe way of extending xfs partition

I created an xfs partition using fdisk and mkfs.xfs on my 6T hhd. I ended up with only 2T. What is the safest way of expanding the partition to take up all the remaining space without disturbing the ...
1
vote
1answer
65 views

how to resize / lvm partition

I have a debian linux with this output of df command: root@debian:~# df -Th Filesystem Type Size Used Avail Use% Mounted on udev devtmpfs 973M 0 ...
0
votes
1answer
55 views

How much space does my Debian OS need

I am using a BeagleBone, with 4GB of internal emmc. When I install a Debian image on it from its site and run command df -h , the result is below. /dev/mmcblk1p1 shows that it uses 3.4G of memory. ...
1
vote
0answers
38 views

Rename LVM group and volumes

I'm trying to rename my LVM group and volumes. The setup looks as follows: Primary: Windows Primary: /boot Logical: LUKS encrypted container LVM group (named bread-lvm) LVM volume / (named bread-...
1
vote
2answers
142 views

How to clone partitions from larger disk to smaller disk

I have a disk with 1000gb and ~7partitions that take about 210 GB, and I'm trying to clone those partitions to 240 GB disk. I've tried doing it with clonezilla boot up USB. Using dd if=/dev/sdc of=/...
-1
votes
1answer
34 views

How to move partition in a usb to the first position

I've Recalbox installed in the USB with 16 gb 3.0. It's partitionated in 4 because Recalbox needs at least 3 partitions, and it has a fourth partition of 5 gb that is called Documents. The problem ...
-1
votes
1answer
45 views

Partitioning with MS-DOS type

I need to partition an external HD, with FAT32. Once upon a time, fdisk listed its possible partition types in a different, clearer way. The nearest entries now seem to be 10 Microsoft reserved ...
0
votes
1answer
52 views

Reformat lvm to ext4 and change mountpoint

I need the space of sda on either / or a specific mount like /data. How can I repartition / change the current layout to match the needed desire? sda 8:0 0 2.7T 0 disk ├...
-2
votes
1answer
18 views

How to increase size on root.union partition

I am trying to update 3B image to run on 3B+ but it needs to install packages worth 480MBs. They are to be installed on /var/cache/apt but I only have about 360MBs free on that partition. You can have ...
0
votes
1answer
48 views

Partitioning existing LVM physical volume and Create new LVM physical volume

My goal is to create new LVM physical volume named sda3. I installed the Centos 7.5 in such partitioning: Device Boot Start End Blocks Id System /dev/sda1 * 2048 ...
0
votes
1answer
89 views

Corrupted Manjaro GRUB boot at new RX 580 graphics card video-linux driver install

I'm experiencing a bug in Manjaro Gnome that I hope to solve. PC System and Drive Configuration: Legacy BIOS system. ASUS Maximus IV Extreme-Z. This Motherboard supports UEFI BIOS boot in theory but ...
0
votes
0answers
30 views

how to check that all other disks except the OS disks are not with partitions

I want to check that all other disks except the OS disks are not with partitions by bash script for example we can see that sdb is with two internal partitions - sdb1 and sdb2 NAME MAJ:...