/-
Created
November 27, 2017 17:11
Revisions
-
infinisil created this gist
Nov 27, 2017 .There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,64 @@ Command (m for help): p Disk /dev/sda: 447.1 GiB, 480103981056 bytes, 937703088 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: gpt Disk identifier: 05E22199-14E6-4D70-B783-B3825FA7965F Device Start End Sectors Size Type /dev/sda1 2048 2099199 2097152 1G EFI System /dev/sda2 2099200 2105343 6144 3M Linux filesystem /dev/sda3 2105344 16779263 14673920 7G Linux swap /dev/sda4 16779264 937703054 920923791 439.1G Linux filesystem Filesystem/RAID signature on partition 1 will be wiped. Command (m for help): w The partition table has been altered. Failed to remove partition 2 from system: Device or resource busy Failed to add partition 2 to system: Device or resource busy Failed to add partition 4 to system: Device or resource busy The kernel still uses the old partitions. The new table will be used at the next reboot. Syncing disks. ~ ❯❯❯ sudo fdisk /dev/sda Welcome to fdisk (util-linux 2.31). Changes will remain in memory only, until you decide to write them. Be careful before using the write command. Command (m for help): p Disk /dev/sda: 447.1 GiB, 480103981056 bytes, 937703088 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: gpt Disk identifier: 05E22199-14E6-4D70-B783-B3825FA7965F Device Start End Sectors Size Type /dev/sda1 2048 2099199 2097152 1G EFI System /dev/sda2 2099200 2105343 6144 3M Linux filesystem /dev/sda3 2105344 16779263 14673920 7G Linux swap /dev/sda4 16779264 937703054 920923791 439.1G Linux filesystem Command (m for help): p Disk /dev/sda: 447.1 GiB, 480103981056 bytes, 937703088 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: gpt Disk identifier: 05E22199-14E6-4D70-B783-B3825FA7965F Device Start End Sectors Size Type /dev/sda1 2048 2099199 2097152 1G EFI System /dev/sda2 2099200 2105343 6144 3M Linux filesystem /dev/sda3 2105344 16779263 14673920 7G Linux swap /dev/sda4 16779264 937703054 920923791 439.1G Linux filesystem Command (m for help): w The partition table has been altered. Syncing disks.