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.

-1
votes
1answer
10 views

Can't create partition table using fdisk

I'm having real trouble formatting a new hard drive, whenever I try to create a partition table using fdisk it does not seem to be written to the disk. For example see below for an extract of my ...
0
votes
0answers
22 views

Can I completely recover Linux from a file backup?

So I have a backup of my Deepin 15.7 system on my 1TB hard drive (in an EXT4 partition) of the directory / I think I broke Deepin in some way (it fails to boot, the problem seems to be with the ...
0
votes
1answer
38 views

Shrink and Resize LVM right approach?

I'm interested to learn how to resize an existing LVM partition and allocate some space to another LVM partition. First I run: [root@ ~]# cat /proc/mdstat Personalities : [raid1] md2 : active raid1 ...
0
votes
0answers
15 views

Journaling a used partition of a memory stick

I need to add a journal to ensure safe backup and boot of an arch linux installation. Thing is, I installed everything on to it, and started working with it, before realizing my folly. Is there a way ...
1
vote
0answers
59 views

Programs fail to run after moving /home to a different partition on same drive

I am running Arch and was having no difficulties until I moved my home dir to a different partition on the same drive. The sequence of events: Format other partition to ext4; mount it to /mnt Move ...
0
votes
1answer
44 views

Trying to install Linux Distro on Raid 1

I have a system with the following components: RAM -> 32GB (swap filed is advisable to be DOUBLE the RAM size so 64/65GB) sda -> Samsung 500GB SSD -> Raid disc 1 -> RAID-1 member 0 === soft raid sdb -...
2
votes
0answers
32 views

Qubes OS USB drive with boot partition broke

I had the boot partition of my Qubes installation on an external USB drive but it broke and I could save the files. How can I make a grub2 boot partiton to boot the OS again?
2
votes
0answers
19 views

Undo effects of running ntfsfix (ntfs-3g) on a Windows exfat partition [closed]

Using Linux I was trying to access an exfat partition that was created using the partition tool in Windows. Due to some improper shutdown issue I was not allowed access. Then I took the brilliant ...
0
votes
1answer
75 views

What is a vfat signature?

Recently, I have noticed that I cannot access my USB flash drive filesystem (it was of FAT type, as far as I can remember). Fedora did not mount it automatically and lsblk could not see the partition. ...
1
vote
0answers
50 views

loop device not matching file size

I have a sparse backing file (NTFS) (made via dd seek=) that's a partial image of a damaged disk. The size as given by ls matches the original disk. However, when looping it, /proc/partitions shows it ...
-3
votes
0answers
25 views

USB HDD problem

I have a problem with my USB HDD Verbatim. After freezing the system ubuntu 16.04.5 LTS 4.4.0-137-generic with drive plugged I can't access it any more. I can't run fdisk or fsck. Access to /dev/sdc ...
0
votes
0answers
12 views

Why Will My Unetbootin Not Frugal Install Properly?

Owing to a large number of different reasons, I find myself having to reinstall Windows 10, using my installation of Fedora (KDE spin). Since the only larger-than-4GB USB I have returns a "corrupted ...
1
vote
0answers
23 views

Cannot access nand or emmc partition from linux

I have a i.mx6 based board running using buildroot and linux. This board have two storages nand and emmc. The nand had full rootfs and kernel on itself. I am now booting from SD card. From the boot ...
1
vote
2answers
25 views

Reassemble deleted MBR Partition

I have a MBR table that have a few partition that was deleted previously. What are the ways to reassemble the MBR Partition entry and restore the deleted partitions without using 3rd party tools or ...
1
vote
1answer
47 views

Resizing a partition vs resizing a filesystem

In a recent interview I was asked how can you resize a partition which is not a part of LVM? For which I answer you can use GParted. Then the interviewer asked me how would you resize (extend) a file ...
0
votes
1answer
19 views

Add PARTUUID to DOS MBR

I have an MBR style formatted SD card where I need a PARTUUID in order to mount a partition there as the rootfs (via linux kernel parameter root=PARTUUID=...). Using an fs UUID does not work. ...
0
votes
0answers
33 views

Elementary OS Encrypted after moving partition

I was running out of space on my Elementary partition, so I decided to delete my Windows partition and let my Elementary partition expand to fill this space. I'm unsure whether this is relevant, but ...
0
votes
0answers
15 views

VM partition to install Kali on [duplicate]

I recently tried to install Kali VM in windows as host OS. Following I did- installed virtual box. Selected dynamically allocated storage. Set size to 65 GB. I am not sure which drive or ...
-2
votes
1answer
43 views

Where did my persistence go?

I've had a Kali Linux bootable usb for a long time now. Last night I updated Kali, and shutdown when I went to bed. I boot up now, and it appears everything is wiped. All files gone. The desktop ...
0
votes
1answer
21 views

How to convert USB driver from ext3 to ext2 without losing data?

This USB driver has two partitions, one is ext3 and another NTFS. Now I want to convert the ext3 partition to ext2, is it possible? The partition has around 200G data and I have no spare disk or ...
2
votes
1answer
101 views

How to list the linux partitions by their created/modified time?

Is there any command to list the linux partitions by their created/modified time.
1
vote
2answers
81 views

mkfs.ext4: invalid blocks offset=X on device device.img

My goal is to create a regular file and within it make a partition and file systems (literally a virtual hard drive) and finally mount it, so I did: sudo dd if=/dev/zero of=imagem-zero.img count=...
1
vote
0answers
37 views

GParted, shrink lvm partition to give boot more space

I keep having issues due to my boot drive running out of space. I work with a lot of vms so it fills up pretty quick and when I clear it out often I break something I'm working on. So as it has ...
-1
votes
1answer
34 views

How to use existing partitioning when re-installing Debian?

I have Debian/Windows dual-boot laptop, and I want to re-install Debian on it, leaving the Windows partition untouched. Basically, I want to leave the specification for all the partitions the same. ...
0
votes
0answers
29 views

how to reset/re-install linux grub that will be run from /dev/sda1?

I have 2 Linux distribution on my machine. I define the those partition /dev/sda1 ( need to contain grub ) /dev/sda2 swap /dev/sda3 ubuntu 18.04 /dev/sda4 ...
2
votes
2answers
103 views
+100

Clarification Needed: Using Rsync to Move /usr

Context I recently migrated Windows 10 and Gentoo to 2 separate 250 GB SSD's and left my old traditional SATA HDD Drives in to use for Storage. I put Users on a HDD for Windows during a new ...
1
vote
0answers
44 views

Device-tree blob (DTB) in a separate partition

Currently, I have the device-tree blob (DTB) appended to the Linux kernel. I would like to split the DTB from the kernel to an unique partition containing only the DTB similar to the figure 3 of the ...
-1
votes
2answers
56 views

How do I elegantly repartition my hard drive? [closed]

My /home partition (/dev/sda7) is running out of space and now I realize I should have put more space in my /home partition instead of my Windows partition (because I don't use Windows very much ...
0
votes
1answer
25 views

Extending a root partition in Linux

I have a primary partition /dev/sda3 which is mounted on / (root) filesystem of size 45 GB. We have a requirement to extend it to 100 GB. Is it possible?
-1
votes
1answer
21 views

Resize LVM Group according physical partition

I have a new VPS with a 215 GB disk. The disk has 2 partitions: first is /boot with 1 GB and the other partition has the remaining space: lsblk -fm NAME FSTYPE LABEL UUID ...
0
votes
0answers
57 views

How to change the block size of a partition during a Debian installation?

I cannot find any option to change the block size or set an exact inode count for my partitions through the available UI options, so I switched to tty2 during the installation and set up all of my ...
0
votes
0answers
56 views

Keeping my /home partition when reinstalling Linux

I have the following setup: One HDD with my /home folder. It is LUKS-encrypted. One SSD with two Linux installs: one plain Ubuntu and one Ubuntu MATE. The /home folder refers to the plain Ubuntu ...
0
votes
1answer
46 views

Resize extended partition containing /boot/EFI and root

I am trying to expand the size of my root directory as I am running low on space. I have tried resizing it from a Live USB and it won't let me. The text in red is the mounting point (according the ...
1
vote
2answers
78 views

Do I have to partition each disk?

It is possible to add disk, simply create filesystem and use it without partition. But what are the drawbacks? For example, can I extend such disk (with resize2fs) later? Can I recover the ...
0
votes
0answers
32 views

Formating the wrong partition on Linux Debian

I have, mistakenly, deleted "/dev/mmcblk0p5". I connected to my server(Debian 9) via browser with a new feature I had installed "open media vault" to create/manage a NAS, then I saw two patitions in ...
0
votes
0answers
26 views

Expanding a partition size using distant unallocated-space

I would like to install Windows as a dual-boot entry besides my current Linux setup. However, my current UEFI-partition is too small for windows, so I need to increase its size. My problem is ...
1
vote
1answer
41 views

Error “grub-efi-amd64-signed” when installing Linux

I'm trying to install Lubuntu, first with dual boot with windows, then alone, and I'm not able to install it because I have always the same error when the process are going to create GRUB. This is ...
0
votes
0answers
33 views

How can I access Windows partition after experiencing a selection loop in Grub?

Distro Kubuntu 18.04 Kernel version 4.15.0-34-generic Hi everyone, After a certain update I suddenly cannot access my Windows 10 partition from Grub. When selecting /dev/sdb2 Windows on Grub, it ...
2
votes
1answer
105 views

Bootable ISO vs. Partitioning

I would like to create a bootable Linux ISO on a USB drive under Debian 9. I found that the ISO is only bootable if it has been written to the disk /dev/XdY. If the ISO is written to a specific ...
0
votes
1answer
40 views

How to restore deleted device mapper?

Accidentally, device mapper has been deleted from Integrated storage. kpartx -s -d -p X /dev/mapper/5lvdja6xen3oks Is there a way to restore this data?
1
vote
1answer
22 views

vmware/Linux. Deleting and creating larger partition, it starts later on disk

I want to make a linux root disk larger under vmware. I have already epanded the "physical" disk in vmware, fdisk can see the free space. The partition is ext4. I have deleted unused swap partitions,...
0
votes
0answers
14 views

parted create corrupt superblock, but gdisk doesn't

on two different machines, thinkpad x200 with legacy bios, and hp with EFI support, using parted for partitioning HDD from live boot (ubuntu, and arch), most of time, parted fails, and i don't seem to ...
0
votes
1answer
29 views

“cp: cannot create regular file” on a VFAT formatted external USB flash drive

I have an external USB drive which is formatted in FAT32. That's the output of the fdisk -l command: /dev/sdb1 * 56 15728639 15728584 7.5G c W95 FAT32 (LBA) I have the following entry in ...
1
vote
1answer
61 views

Is it OK to use Btrfs for a logical volume under encryption?

I want to use the Btrfs partition type for my main ("/") logical volume which is under encryption. The encrypted LVM will occupy my entire device aside from the two small "EFI-system" and "Boot" ...
0
votes
2answers
42 views

Should I use /dev/sda or /dev/sdb in fstab when booting from USB?

I am building Linux from Scratch to put on a usb drive but don’t know if Linux always calls the drive being booted from /dev/sda or not. I have two disks in the system, my SSD which is called /dev/...
0
votes
0answers
12 views

Resizing OpenNebula images?

I have a working OpenNebula installation on Debian Stretch, and I'm using the Sunstone web interface. I have a persistent base image that I typically clone to create new VMs. However, the image's size ...
0
votes
0answers
45 views

How can I decrypt a partition, mount it, and decrypt others during boot?

I have a custom setup: /dev/sdb is the main usb: 1: EFI Partition 2: encrypt LUKS1 FAT32 /boot 3: encrypt LUKS1 ext4 / 4: encrypt LUKS2 ext4 /home Others not important /dev/sdc is another usb key: ...
0
votes
2answers
249 views

No free sectors available - Cannot add new partition

I am trying to add additional 40 GB to the 60 GB disk and make it 100GB. Disk is added from backend and in fdisk it shows 100GB. However, when trying to create new partition I get error "No free ...
0
votes
0answers
17 views

Retrieve files from USB with “unallocated” space

TL;DR; Linux Mint ISO was burned on a USB stick, then the files where deleted without formatting it (under Windows), pictures were added to the USB (under Windows) and Linux shows it as "unallocated". ...
0
votes
0answers
20 views

findmnt, mountinfo show non-existent partitions

I noticed findmnt -n -o SOURCE --target MOUNT_POINT was returning lines containing block devices that didn't exist on my system: TARGET SOURCE FSTYPE OPTIONS /home/...