Stack Exchange Network

Stack Exchange network consists of 175 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-table]

a table describing partitions on a disk

4
votes
1answer
139 views

Partition error (Fdisk/Parted)

I was creating a partition using the parted command and i used the mkpart option to create a new primary partition. But i got an unusual error message while doing this. This is my output: (parted) ...
0
votes
1answer
31 views

sfdisk strange behavior: total size of partitions greater than device size

I have a ssd(256 Gb), when I'm trying to part it: sfdisk /dev/sda << EOF 2048,8388608,S ,104857600,L ,,E ,20971520,L ,20971520,L ,20971520,L ,,L EOF fi the output is: Disk /dev/sda: 238.5GiB, ...
0
votes
1answer
117 views

How to create multiple partitions of the same size from command line?

I need to create 20 partitions of the same size (cue to the first comment only the first 3 can be primary and the 4th needs to be extended an the other remaining 17 in it) I tried: for i in $(seq 1 ...
1
vote
0answers
77 views

Can't boot Kali with UEFI Stuck at grub-rescue

I had Ubuntu 18.04 on my laptop and just decided to try Kali. I downloaded Kali Linux 64 Bit and installed it using a live USB. Everything looked fine during the installation but I think I messed up ...
0
votes
1answer
33 views

Is there a way to import a layout with multiple partitions into ramdisk?

I dumped the partition layout of a disk, with: sfdisk -d /dev/sda > part_table cat part_table output label: dos label-id: 0x0004bc49 device: /dev/sda unit: sectors /dev/sda1 : start= ...
0
votes
1answer
24 views

Does the Modifications Made In GNU Parted Affect the File System Table File?

My Nexus 7 (2013 WiFi) tablet PC has a corrupted partition table. I would now like to troubleshoot into Linux. After loading GNU Parted on the tablet and making a new GPT table with 30 partitions ...
0
votes
3answers
145 views

How to check if partition is Extended/Primary in Linux

Below is the info I get using (g)parted or fdisk command. Device Boot Start End Sectors Size Id Type /dev/sda1 * 2048 196265983 196263936 93.6G 83 Linux /dev/sda2 ...
0
votes
1answer
55 views

Access regular partitions inside an LVM logical volume

I have the following setup: /dev/sdX - disk (GPT table) /dev/sdX1 - regular partition /dev/sdX1/crypt - LUKS encrypted partition /dev/sdX1/crypt/lvm_vg - lvm volume group /dev/sdX1/crypt/lvm_vg/...
0
votes
1answer
274 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% /...
1
vote
3answers
442 views
0
votes
1answer
43 views

Dual Boot Linux Partition shows as Partition Table: loop in parted (Why?)

Recently I was checking into my partition scheme on my dual boot laptop (Peppermint OS, Windows 10). I was surprised by the output from parted /dev/sda12 (my Linux root partition) Model: Unknown (...
1
vote
3answers
34 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 ...
0
votes
1answer
24 views

Are timestamps created with new GPT partition tables?

Are timestamps created with new GPT partition tables? If so, where are they (i.e, headers, entries, GUIDs, labels)? How are they accessed?
0
votes
1answer
300 views

How can I create multiple partitions in a LUKS container using a gpt/mbr partition table in the container?

Is it possible to have multiple partitions in a single LUKS or cryptsetup container? If so, how?
0
votes
1answer
158 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. ...
3
votes
1answer
512 views

Script to gdisk /dev/sdX and enter expert commands: x, z, y, y - how?

I am creating my first Arch Linux install script, and I want to automate the base installation as in the archwiki. I wish to wipe the partition tables, manually I have to type this: gdisk /dev/sda x ...
0
votes
1answer
39 views

Understanding and fixing partition scheme (Fedora28) [closed]

I recently wanted to dual-boot my laptop (Lenovo Yoga 710) running Windows 10 to include Fedora 28. I previously played around with the laptop and ended up messing up my partition scheme. I would like ...
-1
votes
2answers
211 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 ...
1
vote
0answers
143 views

embedded system no longer boots via eMMC - Initramfs unpacking failed: junk in compressed archive [closed]

I have Arch linux on multiple Embedded boards that are similar to Odroid C2. To resolve a DTB file issue, I wrote dtb.img to /dev/dtb of the eMMC via the command : dd if="/boot/dtb.img" of="/dev/dtb"...
-1
votes
1answer
28 views

A few questions about partitioning of disks

My storage device has GPT standard for the layout. Wiki says, that each LBA has 512B size of sector. This means, that I have to begin partition at: LBA0+LBA1+LBA2+LBA3 = 512*4 = 2048B or LBA0 to ...
0
votes
0answers
18 views

How to find my lost partition through Ubuntu installation process?

I am trying to install Ubuntu 16.04 but when I choose "other options" and try to format some partitions, my previously sdb5 partition with 250GB space is lost and I can not find it and there is no ...
1
vote
2answers
502 views

Move a LVM partition

I have a dual boot, and I never use Windows, but because I'm nice I wanted at the beginning to cut my hard drive in two equal parts, Windows on the left part, Linux on the right part. But then Linux ...
0
votes
1answer
241 views

Delete partition table which resides in kernel memory

I wiped (erased from device) all partitions from a logical volume (lv in LVM). Then I did partprobe -s (and other similar commands: partprobe returned no output, partx said partition: none & ...
-1
votes
1answer
324 views

partition table on a disk partition; how to access?

I've made a TrueOS VM in VirtualBox, using a vmdk that virtualises a physical harddisk partition (sda5) as a complete disk. As a result, I now have a GPT/GUID partition table on that sda5 partition (...
1
vote
1answer
94 views

How to re-order partitions safely? Safe to use gdisk 'sort' option? Edit fstab + grub.cfg necessary?

I have a system that used to have 3 different Linux flavours running. I no longer wanted one of them so I moved and expanded with gparted and all is well, except I now have /sda3, /sda4, /sda7, /sda8 -...
1
vote
1answer
2k views

Kernel Panic - not syncing: VFS: Unable to mount root fs - LFS

I have created a LFS (linux from scratch). All the files is on a secondary hdd. ie. /dev/sdb There is no partition in that like sdb1 or sdb2. Both root and boot is in the same /dev/sdb . My host ...
0
votes
1answer
53 views

How to conver each GB “manufacturer” RAM to the EXACT MB equivalent gparted uses?

I'm sorry for asking something as elementary, but the information is very confusing and, even when there are ISO recommendations, not everybody follows them. The manufacturer says my laptop has "8GB ...
1
vote
1answer
888 views

What is PARTUUID from blkid when using msdos partition table?

I use msdos partition table, so there is no PARTUUID supported (it's only on GPT partition tables) root@xenial:~# fdisk -l Disk /dev/sda: 200 GiB, 214748364800 bytes, 419430400 sectors Units: sectors ...
0
votes
2answers
985 views

If I shred /dev/sda, do I delete partitions?

If I am wiping my /dev/sda harddrive, do I need to first repartition it (for example, with GParted), or will shred /dev/sda wipe the partition table too?
1
vote
1answer
99 views

is it possible to create partition table inside crypt mapper?

i.e. not fdisk /dev/sda; cryptsetup create xxx /dev/sda1 but vice versa cryptsetup create xxx /dev/sda ; fdisk /dev/mapper/xxx is it allowed?
0
votes
1answer
1k views

gparted not detecting USB drive partitions in Fedora 27 only

I've a 16 GB USB Flash drive with GPT partition table having 6 partition. fdisk and gdisk correctly detecting the partitions. Fedora 27, with mate desktop installed, can correctly mount all partitions ...
1
vote
1answer
67 views

Initialise NTFS-Filesystem from old $MFT

I lost a partition table with one partition formatted as NTFS. testdisk and parted don't work (due to another mistake), but I could restore the filesystem tree using RecuperaBit. Unfortunately, this ...
0
votes
2answers
270 views

How to modify an USB stick in order to have a device node as /dev/sda1 instead of /dev/sda?

I have a udev rule for USB sticks with fat32 format. The rule contains such attributes: SUBSYSTEM=="block", KERNEL=="sd?1", ... Normally, it works very well for USB sticks that I tested so far, ...
1
vote
2answers
415 views

Revive HDD after murdering it with dd?

Situation: we have an old, unused laptop that we want to give to my father and mother in law but Windows kept complaining that the hard drive will fail soon, it should be changed. But unfortunately I ...
1
vote
1answer
574 views

restoring raid filesystem

I ended up with my 3-disk mdadm array not being able to assemble because each of the disks had corrupted superblocks. I tried to force reassembling the array using mdadm --create This resulted in ...
1
vote
0answers
968 views

Partition not showing when installing Ubuntu

My current OS is Windows 10.I am installing Ubuntu 17.04 from pendrive. When I run Ubuntu in TRY MODE (without installing) then it shows all partitions- sda2,3,4,5; see the screenshot: But when I the ...
2
votes
1answer
9k views

fdisk: partition contains a ntfs signature. remove it?

I'm installing NixOs on a ThinkPad X220. Though I'm very comfortable in the shell, it's the first time I've set up my own system, and I'm running into some unknowns while trying to partition the hard ...
3
votes
1answer
399 views

Can I install using GPT on 32 bit system with bios?

All I search for this says, makes me understand that GPT is related to UEFI, but is it possible to install using GPT disk format, in a 32 bit system using bios (not legacy mode)? I tried installing ...
0
votes
1answer
46 views

Do I have a problem with my hard drive or software?

I bought a used Thinkpad laptop recently with no operating system installed and have tried running Ubuntu, Mint, Manjaro, Fedora and others on this machine to no avail. I'm able to boot into my live ...
1
vote
1answer
3k views

How to recover LUKS encrypted hard drive?

I was installing windows and I accidentally deleted the 2TB LUKS encrypted hard drive where I store my important things. So after realizing my mistake I immediately rebooted into a live Ubuntu disk ...
0
votes
2answers
2k views

How the disk geometry (C/H/S) was determined on the partition table of flash memory storage?

I'm going to write a disk partition creator program for flash memory removable devices, mostly controlled by SCSI based I/O and accessed with LBA address. For reference, I'm researching the ...
2
votes
4answers
3k views

Are there extended partitions in GPT partition table?

Under the MBR model, we could create four primary partitions one of which could an extended partition that's further subdivided into logical partitions. Consider this GPT schematic taking from ...
0
votes
1answer
688 views

How to fix external HD?

I have an external HD which is divided into two partitions: an exFAT with 700GB and a LUKS partition with 300GB. I was copying from my computer to the luks partition but it got slow and stucked so I ...
0
votes
0answers
291 views

Auto mount attached drives with specified PARTUUID using udev?

I used to do auto-mounting with udev like this: # cat /etc/udev/rules.d/10-aaa.rules KERNEL=="sda1", SUBSYSTEM=="block", RUN+="/etc/mymount.sh" # cat /etc/mymount.sh #!/bin/sh if [ "$ACTION" = "add" ...
0
votes
1answer
530 views

How do I update the partition table on a disk image file after resizing a partition in it?

I'm trying to resize a disk image (Raspbian image) on disk. The trouble is, when I attempt to boot the RaspberryPi from the resized image (after writing to an SD card) I get: Kernel panic - not ...
1
vote
1answer
1k views

Disks not appearing in Debian installer?

I'm working with the latest Debian Stretch netboot. No disks appear in the partition manager. If I go into tty2 and run lspci (lsblk is not available in the Debian installer), the disk doesn't appear ...
3
votes
0answers
2k views

Cannot mount, read, write, or format SD Card

I can read from my micro-sd card when it is in "lock" position but things get very weird when I try "unlock" it: there is no way I can fsck it, nor mount it, nor read it, nor.. format it! I need ...
2
votes
2answers
892 views

Recover deleted LUKS partition

I have(had) the following setup: Full disk encryption with LUKS and a separately encrypted /home partition. Made the mistake to delete my /root but caught early enough so only changes to the partition ...
2
votes
1answer
3k views

fdisk: partition table “not in disk order” but “Order is correct already”? and GRUB-legacy issues

For a few days i'm breaking my head over the following: the partition table is reported to be messed up, but it's not. grub-legacy gives problems with some partitions during actual boot-up, but not ...
0
votes
1answer
34 views

How can I specify how much disk space to use for Linux OS?

I'm currently using the latest version of Kubuntu. My question: How can I specify how much disk space to use for Linux because it seems like it's 8GiB or 16GiB but I want a different amount to be ...