Article 5MY8C Reformatting external drive with parted & mkfs: "Found a atari partition table in /dev/sdb1"

Reformatting external drive with parted & mkfs: "Found a atari partition table in /dev/sdb1"

by
anoid
from LinuxQuestions.org on (#5MY8C)
I've got a new 2TB Toshiba external drive and I'm staring at a message which says

root@slacktop:~# mkfs.ext4 -m0 /dev/sdb1 | tee ~/refmt-xt2c.out
mke2fs 1.45.5 (07-Jan-2020)
Found a atari partition table in /dev/sdb1
Proceed anyway? (y,N)

This comes after following a tutorial which had me do

root@slacktop:~# parted /dev/sdb --script -- mklabel gpt
root@slacktop:~# parted /dev/sdb --script -- mkpart xt2cdata ext4 0% 100%

(I think I possibly went wrong in not using the tutorial's -F flag in

mkfs.ext4 -F /dev/sdb1

because that seemed unnecessary and unwise but maybe it's for exactly this and I should just hit 'y'?)

I used to know how to do this with fdisk but ever since this gpt crap, I've had nothing but trouble. I'm pretty sure I had this exact message before and somehow got past it but I don't remember what I did. I did come across someone else with the same issue

http://gparted-forum.surf4.info/viewtopic.php?id=17729

but the idea of resizing the partition a couple of times doesn't seem quite right to me - I'd like to just say Y and have it Just Work or say N and be able to fix it some other way, but I'm not sure what'll happen after I say either.

On a newish laptop with a non-current Slackware-current... and when oh when is Slack 15 ever going to "BE READY"? Anyway - using parted-3.3-x86_64-1 and e2fsprogs-1.45.5-x86_64-1. Any tips will be greatly appreciated.latest?d=yIl2AUoC8zA latest?i=2XNVFdQasO8:NcuHS4ZE2mU:F7zBnMy latest?i=2XNVFdQasO8:NcuHS4ZE2mU:V_sGLiP latest?d=qj6IDK7rITs latest?i=2XNVFdQasO8:NcuHS4ZE2mU:gIN9vFw2XNVFdQasO8
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments