Checking that no-one is using this disk right now ... FAILED
This disk is currently in use - repartitioning is probably a bad idea. Umount all file systems, and swapoff all swap partitions on this disk. Use the --no-reread flag to suppress this check.
Disk /dev/sda: 465.76 GiB, 500107862016 bytes, 976773168 sectors Disk model: ST9500420AS 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: dos Disk identifier: 0x9ada1ada
Old situation:
Device Boot Start End Sectors Size Id Type /dev/sda2 421888 976773119 976351232 465.6G 83 Linux
>>> Script header accepted. >>> Script header accepted. >>> Script header accepted. >>> Script header accepted. >>> Script header accepted. >>> Created a new DOS disklabel with disk identifier 0x9ada1ada. /dev/sda1: Created a new partition 1 of type 'Linux' and of size 465.6 GiB. Partition #1 contains a ext4 signature. /dev/sda2: Done.
New situation: Disklabel type: dos Disk identifier: 0x9ada1ada
Device Boot Start End Sectors Size Id Type /dev/sda1 421888 976773119 976351232 465.6G 83 Linux
The partition table has been altered. Calling ioctl() to re-read partition table. Re-reading the partition table failed.: Device or resource busy The kernel still uses the old table. The new table will be used at the next reboot or after you run partprobe(8) or partx(8). Syncing disks.