Questions tagged [partition-table]

a table describing partitions on a disk

Filter by
Sorted by
Tagged with
0 votes
0 answers
40 views

How are partition numbers (sda1, sda2, sda3, ...) determined?

In my experience, partition numbers have nothing to do with the physical ordering on the disk. And a newly created partition tends to have a larger number. How are partition numbers determined? Are ...
1 vote
1 answer
43 views

What are all these /etc/mtab filesystem types? How did they get mounted?

I'm learning about partitioning disks for different server applications, and was exploring mtab to see what sort of partitioning scheme is set up. I'm seeing filesystems that aren't described in /etc/...
0 votes
0 answers
18 views

How to know which partition is of WIndows C drive without mount, for Basic disks

I have a raw disk from containing Windows partitions which I'm using to create Loop Devices. The loop device details are as below ├─loop5p1 ntfs System Reserved 7CA43E25A43DE1F6 ...
0 votes
2 answers
15 views

Restoring filesystem of an extended root partition

I have a Debian/Windows 10 dual boot with a shared partition in between and I tried to extend my Linux root partition because I was running out of space. I made some space but splitting the SHARED ...
2 votes
0 answers
86 views

How to find deleted partition

I have some partition table with three partitions. I deleted the third partition with fdisk and next I created new partition on the same place with the same "first and last sectors". How can ...
0 votes
1 answer
113 views

Problem creating a disk image of an SD card

I have built a custom image of Armbian with a partition size of 3.1 GB, and I am now finished working with it. It is currently written to a bootable 64 GB SD card which is using a GUID partition table ...
1 vote
1 answer
122 views

Why does Parted mkpart ask for file system type, if I can later format with another file system? [duplicate]

What I Did I attach an HDD, lsblk -S shows this drive as sdc I use sudo parted /dev/sdc/ to start parted against sdc I create a partition table as: mklabel gpt I make a partition: mkpart my-cool-...
  • 411
0 votes
1 answer
43 views

Do MBR partition numbers need to be contiguous?

I am partitioning an external 1TB HDD for a small embedded Linux system. I want to encrypt the swap partition. According to the cryptsetep FAQ, you need to use kernel device names (/dev/sda, etc) in /...
  • 175
0 votes
1 answer
31 views

Is it possible for data to be persisted when redeploying a parition table to a previously used disk?

I am currently working on a project which uses a custom Android operating system, the project requires going back and forth between different versions of this OS (android 5 and android 9 respectively)....
0 votes
0 answers
14 views

What routine operations have the potential to impact the partition table

I've observed a very strange, and intermittent problem on my desktop which has been running arch linux with a cinnamon desktop environment since 2013. 3 times in the last 5 months (and never to my ...
  • 111
0 votes
0 answers
22 views

How to restore USB memory stick partition

I have a USB memory stick which I cannot mount because it appears that it has no partition. When I plug it in and run 'lsblk' command: NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sdb 8:16 1 14....
0 votes
3 answers
161 views

Define partitions to install Linux but considering Security and Administration aspects/concerns

Scenario: for simplicity - consider that exists a hard disk of 500GB to only install Linux (for example Ubuntu, Debian or Fedora) - and if exists a hard disk of 750GB or 1TB then 500GB are dedicated ...
1 vote
1 answer
316 views

Does Coreboot/SeaBIOS support GPT partition table?

Few days ago, I flashed my x230 with coreboot with this tutorial. Now, while I was installing Funtoo using its GPT-Partitioning guide (not using MBR-Partitioning), I got following error: EFI ...
  • 169
2 votes
1 answer
1k views

How to update/refresh changed partlabels as reported by lsblk?

On Linux, the command lsblk -o partlabel will display the partlabel for block devices. I have used gdisk to change a partlabel. After the change, lsblk is still reporting the old value of the ...
  • 1,306
0 votes
2 answers
590 views

How do I resize root partition with UEFI

Yesterday, a message poped up in Debian, saying that my root partition is full (0 MB free) after I copied a new software under /opt. So I moved the folder back to another partition to temporarily fix ...
0 votes
0 answers
19 views

Recovering data from a drive on which a partition table has been created

I have 2 drives on my computer, and was running out of space in one due to 2 OS on the one with smaller capacity. I was trying to partition the larger one(which has data on it), and looking up ...
0 votes
0 answers
179 views

How do I combine a boot partition and a root partition to make a bootable disk image?

I'm attempting to build a bootable SD card for this SBC. At the end of the build process, I end up with these files: -rw-r--r--@ 1 user group 4.0M Feb 3 14:28 boot.img -rw-r--r--@ 1 user group ...
  • 101
0 votes
1 answer
62 views

SSD doesn't respond to anything after trying to reformat broken NTFS on it

A week ago or so my windows 10 completely died and took my windows apps partition with it. I was however able to access all data from within my linux, so I did what any person would do and copied any ...
  • 1
0 votes
1 answer
480 views

manipulating the protective MBR on a GPT disk

I would like to add an empty partition of type 0x00 to the beginning of the protective MBR of a GPT-formatted disk. I've found a way to do this, but the method relies on fdisk enhancements not ...
  • 3,540
0 votes
1 answer
44 views

resize /dev/sda8 to add 40GB

I have a question regarding the enlargement of a partition without LVM. I have already read through some things how to proceed here, but I am still unsure, so I ask the question myself. I have /dev/...
0 votes
1 answer
539 views

Partitions not visible while dual booting Kali with Windows 11 with GPT disk

While trying to install Kali Linux as a secondary OS with Windows 11(primary OS), the partition created for Kali is not visible during the Graphical Install. The hard drive I'm trying to install kali ...
0 votes
1 answer
58 views

What is the purpose of partition type "Linux plaintext"?

While using fdisk, I was looking through the list of partition types and noticed one that I guess I hadn't before. Hex code 88, "Linux Plaintext". I searched around but couldn't find ...
  • 1,183
0 votes
0 answers
102 views

How to install Black Arch Linux alongside Windows10

I have Windows 10 already installed on my laptop, and I have some unallocated space that I'm intending to install black arch Linux on. I'm using EFI. I connected the installation bootable disk, then ...
0 votes
1 answer
89 views

Change the file system of a partition without deleting its content

I have a 2tb hard drive containing gpt and a single 2tb partition with ext4 file system. The partition has one 1.5tb file inside it. I want to change the type of file system of this partition from ...
  • 203
0 votes
1 answer
231 views

Is there a way to allow nested partition tables?

I'm looking to do something along the lines of sudo fdisk /dev/sdb # create 2 partitions sudo fdisk /dev/sdb1 # create 2 more and end up with something along the lines of [daffy@daffydesk ~]$ lsblk /...
  • 303
0 votes
1 answer
40 views

No partition table on volume created from Amazon Linux 2 AMI's snapshot

I have created a new AMI using Amazon Linux 2 (AL2) as source image using packer. Now I am trying create vhd of it and transfer to Azure Image. We have been doing this for Centos7 AMI successfully, ...
2 votes
2 answers
214 views

Partitions /dev/loopXX

While I was checking my disk space today with df -h I noticed all these /dev/loopXX partitions which I don't know what they really are. What are them? Should I keep it? Thank you.
  • 23
0 votes
0 answers
217 views

Fdisk showing wrong SD card size

So I've been formatting and reformatting a couple SD cards as I'm running some tests and I need to reformat pretty often however every time I plug a different card in fdisk reports the old cards ...
  • 1
2 votes
1 answer
593 views

"will not make a filesystem here!"

Trying to format this LV /dev/mapper/nvmeVg-var which is not mounted. See findmnt below. mkfs.ext3 /dev/mapper/nvmeVg-var mke2fs 1.45.6 (20-Mar-2020) /dev/mapper/nvmeVg-var contains a ext4 file ...
0 votes
0 answers
98 views

Truncated ext4 partition after trying to access my partition from windows with ext2fs

After trying to access my Linux partition from Windows operating system, my Linux partition is now truncated to a size 1K byte and I am no longer able to mount that partition. "fdisk" shows ...
  • 31
2 votes
1 answer
1k views

Partition does not start on physical sector boundary. Partition table entries are not in disk order

I am a new Manjaro user, my 1TB hard disk is showing two overlapped partitions, its shows two more partitions at the end that I don't recognize. I can't delete it using KDE partition manager. How do I ...
  • 21
0 votes
0 answers
40 views

Partition table for a 4TB hard disk when cloning a hard disk with a msdos table

Using Ubuntu 18.04 LTS. I replaced the bootable internal hard disk in a desktop computer with a brand-new 2TB hard disk. I could transfer the partition table and all data from the previous hard disk ...
  • 1,027
2 votes
1 answer
162 views

Unable to mount HDD and concerns over the partition setup

Final Edit A quick note to say thanks for the comments, I certainly learned a lot. Unfortunately, having decided to return the HDD they tested it themselves and concluded that the device was faulty. I ...
2 votes
1 answer
340 views

reduce lvm space and create new partition

My objective is to free some space from the lvm and create new partition. Below is the devices and lvm ontop of it. # lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT vda 252:0 ...
  • 1,801
0 votes
1 answer
167 views

Partition table errors when trying to unstall Ubuntu LTS 20.04 beside windows 10

I have done partitions and freed up over 100 free space in hard disk. I used Rufus for the bootable Pendrive in boot manager. When I try to install Ubuntu it loads 100%, but then it just keep loading. ...
0 votes
1 answer
137 views

Ubuntu cannot boot because no valid partition table. How to fix it?

I am unable to boot. I have only Ubuntu installed on a computer, and it was working fine. But suddenly I am unable to boot. It says "no valid partition table". I have attached the output I ...
0 votes
0 answers
187 views

how to recover partition table in external hard disk?

I have an external hard disk plugged into /dev/sdb. This external hard disk is "Seagate Backup slim plus". When I plug it in I get an error, "cannot open device" (both in windows ...
0 votes
1 answer
509 views

Move filesystem to the left after expanding partition to the left

TL;DR I have a dd image disk.dd which has multiple partitions. The end goal is to reduce the size of this dd image file. After deleting and recreating a higher numbered partition with a start sector ...
0 votes
1 answer
495 views

How to split partition /dev/sda on Ubuntu

I'm figuring how can I split partition of /dev/sda1/ into /dev/sda1 and /dev/sda2 of my Ubuntu virtual box. Right now, every time I create a new instance of Virtual Server with vagrant, I allocated ...
-1 votes
1 answer
44 views

Partition table on nother device

I'm curious if it's possible to store disk partition tables on different device and load it from grub Edit: Lets say i have disk formated like this: normally post load mbr (disk 1) and starting up, ...
1 vote
0 answers
45 views

How to Edit a Partition table in a linux iso image

Note : I am New to Linux and computer booting so i don't know how to doHi Friends i am new to Linux use androidx86 to test my android apps in my pc , i download iso file from official site and use ...
2 votes
1 answer
228 views

Extended partition not aligned to physical sectors. All other partitions aligned. Is this an issue? How can I fix this?

I somehow messed up my partitions when I was trying to clean reinstall Linux Mint. Now whenever I type sudo fdisk -l, it would always give me warnings: $ sudo fdisk -l [sudo] password for sneknotsnake:...
2 votes
0 answers
698 views

Why are `root=PARTUUID=....` and `root=UUID=....` case sensitive? Why do they pause for 30s but then work if the wrong case is used?

I've noticed recently that when attempting to boot the Linux kernel (5.8.0-55-generic in a standard Ubuntu 20.04 distribution), if I specify the root drive using root=PARTUUID=..... and give the ext4 ...
4 votes
1 answer
109 views

Is there a scriptable way to identify the nth partition of a disk?

Suppose I have a disk located at /dev/DISK_NAME. I'm curious if there is a command to find the nth partition of this disk. It seems like this sort of thing should be possible with lsblk. The best I ...
0 votes
0 answers
25 views

A partition layout to persistently store data without the configs/caches/settings

Current situtation I currently use a separate partition mounted on /home to be able to install new operating systems without losing the data in /home. My current partition layout is: sda disk ├─...
  • 1,345
0 votes
0 answers
104 views

Unable to create an extended partition

Currently my host system is Debian 10.9.0, when I was first installing it I choose to use the entire disk and set up LVM (I didn't know what that meant at the time). My main issue is to set up the ...
0 votes
1 answer
104 views

Question on boot partition for third OS on triple-boot system in separate drives(UEFI mode)

Linux newbie-mildly-intermediate here. I am trying to make a triple boot system with Linux Mint, Windows 10, and Pop! OS with all of them on separate ssd drives. My question is regarding the boot ...
2 votes
0 answers
25 views

Issue with MBR / Grub

Some issue with my hard disk -- when mounted inside the laptop, the system is booting into a black screen. Even when I change the boot preference to boot with a usb stick, its still getting stuck at ...
  • 21
1 vote
1 answer
2k views

How do I determine which filesystem is in use on my "Microsoft basic data" partition? [duplicate]

I'm looking at WD Mybook disk, connected via USB as disk sde. Now, fdisk -l /dev/sde tells me that the single partition on the drive is: Device Start End Sectors Size Type /dev/sde1 ...
  • 7,723
1 vote
1 answer
145 views

How to recover the data from a drive whose partition table is changed?

I recently wanted change my partition table so, I backed up all my data and changed it but after that was done I found that some of my project files were not pushed to GitHub and then I tried to ...
  • 145