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
-2
votes
1answer
27 views

Mount space on Ubuntu [closed]

I have a sda7, which is where the OS was installed. It has the file system of ext4 with 8GB free of 25GB (with a key also). Aside from that I also has a sda4 of type ntfs which was my old data ...
0
votes
1answer
656 views

How to use zerofree on a whole disk?

My VirtualBox filesystem looks like: # df Filesystem 1K-blocks Used Available Use% Mounted on /dev/sda2 29799396 5467616 22795012 20% / devtmpfs 1929980 0 1929980 0% /...
0
votes
1answer
232 views

Installing fedora using the automatic option

I have allocated 25gb of free space on my disk and I was wondering if I was to select the automatic setting when installing fedora will it use the free space which is already on the disk. I'm trying ...
0
votes
0answers
137 views

Parted: invalid option — '1' when trying to resize partition to end of disk

I'm trying to resize the root partition of a device to go to the end of the disk, like so: parted /dev/mmcblk0 resizepart 3 -1s This should grow the third partition to the very end of the device no ...
1
vote
1answer
59 views

How to reduce partition size containing files

I'd like to reduce the size of my "main partition" for making dual boot possible. The thing is: most files are stored on that partition. Can I reduce the partition to a size that still all files on ...
2
votes
3answers
252 views

KVM guest OS from partition

I have a dual-boot configuration with Linux and Windows. Now, I would like to keep dual-boot setup and also be able to run Windows inside of KVM on Linux. The following configuration works fine. I ...
-1
votes
1answer
152 views

Fedora: Low disk on Filesystem root

I'm running a Fedora Workstation VM on Oracle VirtualBox. After using the VM for about a month now, I get a "Low disk on filesystem root" popup when I login. The Disk Usage Analyzer shows this: I ran ...
1
vote
1answer
243 views

Want MBR install of Mint 19.1

There's a video driver problem with GPT, the Apple A1286 Mid-2010 MacBook Pro machines, and NVIDIA GT330M drivers, and running Nouveau has its own problems, so I want to install Cinnamon Mint 19.1 ...
1
vote
0answers
110 views

How to shrink a lvm partition?

I'm trying to shrink an lvm partition, I have already shrunk the home volume, but I still can't shrink the partition in gparted. I am getting the following error: Archiving volume group fedora ...
0
votes
1answer
113 views

Does parted have the same functionality as gparted for shrinking an ext4 partition?

I've been Googling about, and it seems the answer is 'no' from anecdotal reports for gparted. However does this apply to parted as well? I'm not talking about risk factors here involved by inputting ...
0
votes
1answer
1k views

Dual boot windows 10 and Ubuntu 18.04.1 on separate hard drives

I have Asus N552VW with the firmwarre mode set to Legacy and the following disks: * 128GB SSD: my windows 10 is installed on it * 2 TB HDD partitioned exactly into two partitions Knowing that, in the ...
1
vote
3answers
1k views

How do I access Windows files from Linux Mint (and vice-versa if possible)? I have dual boot

I have dual boot with Windows 10 and Linux Mint 19.1
2
votes
1answer
40 views

Is there a way to figure out what physical port a drive is being inserted into through linux?

Without knowing the order of which drives are being inserted and which ports they are being inserted (by human eye), is there a way to tell where they are being inserted using linux commands? I need ...
3
votes
1answer
303 views

Partitioning and formatting a 4k-emulated (512e) HDD

I just plugged into USB A 3.0 / C 3.1 my new external HDD to Debian Buster system. The disk was sold as LaCie 2.5" Porsche Design P'9227 2TB USB-C. Here is the output of fdisk -l /dev/sdc: Disk /...
1
vote
0answers
166 views

Problem with partitions while installing Manjaro from Live USB

I created a live USB using Rufus (with DD) using this version from the offical page: manjaro-xfce-18.0.2-stable-x86_64.iso I use a Lenovo Yoga 720. I disabled secure boot and fast boot in the bios. ...
-2
votes
2answers
505 views

Why can't Windows read Linux filesystems? [closed]

When playing with filesystems and partition, I realized that when I created a ext file system on my USB drive and plug it to Windows, I am forced to format it. On the other end, when building a FAT ...
0
votes
1answer
19 views

Partitioning an external HD appropriately [duplicate]

I plan on booting Kali on an external hard drive. My question is partitioning. If you create the 2 partitions for Swap and Root, do i need to create a 3rd partition for storage. From my understanding, ...
1
vote
2answers
46 views

How to migrate a whole partition? [closed]

I have two computers (old and new) connecting by a cable, now I try to move/copy/clone a partition to the new computer, without copying files one by one. Then the new can access the files copied from ...
0
votes
1answer
49 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
31 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?
0
votes
0answers
45 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
vote
1answer
58 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
46 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
1answer
249 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
151 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
150 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
71 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
30 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
426 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
489 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
51 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
58 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
52 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. ...
1
vote
1answer
66 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
286 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
52 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
149 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
203 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 ...
1
vote
2answers
267 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
23 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
35 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
24 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 ...
1
vote
1answer
287 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
35 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
31 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
41 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
123 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 ...
1
vote
1answer
51 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
119 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 ...