I simply want to reformat a 2TB Seagate for use in Ubuntu with full permissions
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
I have completely backed up all data from said drive and physically disconnected the backup drive so I don't screw it up. I've searched high and low for the basic command line syntax and proper format to no avail. Can somebody give me the proper format and the Terminal command to perform this operation (and how to make sure I'm not formatting my C: drive)?
permissions hard-drive format
add a comment |
I have completely backed up all data from said drive and physically disconnected the backup drive so I don't screw it up. I've searched high and low for the basic command line syntax and proper format to no avail. Can somebody give me the proper format and the Terminal command to perform this operation (and how to make sure I'm not formatting my C: drive)?
permissions hard-drive format
Oh. Sorry. It's for addtl storage
– Eric Hensler
Mar 22 at 14:35
In all honesty, I've read the answers referring to these but they are either incomplete or I simply don't fully understand them and don't want to destroy anything. Plus permissions
– Eric Hensler
Mar 22 at 14:39
I will get to work on that and get back to you. Thanks.
– Eric Hensler
Mar 22 at 14:44
Maybe i'm missing some deleted comments, but why are you not just runningfdisk -l
to determine which one is the seagate drive (it prints enough info to determine this, unless all drives are 2tb seagate. and then runngingmkfs.ext4 /path/to/drive
?
– j-money
Mar 22 at 14:53
because I didn't know how to do that prior to your answer. i didn't find that command. i will do that now. Thanks.
– Eric Hensler
Mar 22 at 15:00
add a comment |
I have completely backed up all data from said drive and physically disconnected the backup drive so I don't screw it up. I've searched high and low for the basic command line syntax and proper format to no avail. Can somebody give me the proper format and the Terminal command to perform this operation (and how to make sure I'm not formatting my C: drive)?
permissions hard-drive format
I have completely backed up all data from said drive and physically disconnected the backup drive so I don't screw it up. I've searched high and low for the basic command line syntax and proper format to no avail. Can somebody give me the proper format and the Terminal command to perform this operation (and how to make sure I'm not formatting my C: drive)?
permissions hard-drive format
permissions hard-drive format
asked Mar 22 at 14:26
Eric HenslerEric Hensler
34
34
Oh. Sorry. It's for addtl storage
– Eric Hensler
Mar 22 at 14:35
In all honesty, I've read the answers referring to these but they are either incomplete or I simply don't fully understand them and don't want to destroy anything. Plus permissions
– Eric Hensler
Mar 22 at 14:39
I will get to work on that and get back to you. Thanks.
– Eric Hensler
Mar 22 at 14:44
Maybe i'm missing some deleted comments, but why are you not just runningfdisk -l
to determine which one is the seagate drive (it prints enough info to determine this, unless all drives are 2tb seagate. and then runngingmkfs.ext4 /path/to/drive
?
– j-money
Mar 22 at 14:53
because I didn't know how to do that prior to your answer. i didn't find that command. i will do that now. Thanks.
– Eric Hensler
Mar 22 at 15:00
add a comment |
Oh. Sorry. It's for addtl storage
– Eric Hensler
Mar 22 at 14:35
In all honesty, I've read the answers referring to these but they are either incomplete or I simply don't fully understand them and don't want to destroy anything. Plus permissions
– Eric Hensler
Mar 22 at 14:39
I will get to work on that and get back to you. Thanks.
– Eric Hensler
Mar 22 at 14:44
Maybe i'm missing some deleted comments, but why are you not just runningfdisk -l
to determine which one is the seagate drive (it prints enough info to determine this, unless all drives are 2tb seagate. and then runngingmkfs.ext4 /path/to/drive
?
– j-money
Mar 22 at 14:53
because I didn't know how to do that prior to your answer. i didn't find that command. i will do that now. Thanks.
– Eric Hensler
Mar 22 at 15:00
Oh. Sorry. It's for addtl storage
– Eric Hensler
Mar 22 at 14:35
Oh. Sorry. It's for addtl storage
– Eric Hensler
Mar 22 at 14:35
In all honesty, I've read the answers referring to these but they are either incomplete or I simply don't fully understand them and don't want to destroy anything. Plus permissions
– Eric Hensler
Mar 22 at 14:39
In all honesty, I've read the answers referring to these but they are either incomplete or I simply don't fully understand them and don't want to destroy anything. Plus permissions
– Eric Hensler
Mar 22 at 14:39
I will get to work on that and get back to you. Thanks.
– Eric Hensler
Mar 22 at 14:44
I will get to work on that and get back to you. Thanks.
– Eric Hensler
Mar 22 at 14:44
Maybe i'm missing some deleted comments, but why are you not just running
fdisk -l
to determine which one is the seagate drive (it prints enough info to determine this, unless all drives are 2tb seagate. and then runnging mkfs.ext4 /path/to/drive
?– j-money
Mar 22 at 14:53
Maybe i'm missing some deleted comments, but why are you not just running
fdisk -l
to determine which one is the seagate drive (it prints enough info to determine this, unless all drives are 2tb seagate. and then runnging mkfs.ext4 /path/to/drive
?– j-money
Mar 22 at 14:53
because I didn't know how to do that prior to your answer. i didn't find that command. i will do that now. Thanks.
– Eric Hensler
Mar 22 at 15:00
because I didn't know how to do that prior to your answer. i didn't find that command. i will do that now. Thanks.
– Eric Hensler
Mar 22 at 15:00
add a comment |
1 Answer
1
active
oldest
votes
It should be pretty simple, first determine which is the drive you want to format I personally like to use fdisk
an example output from my machine
Disk /dev/nvme0n1: 238.5 GiB, 256060514304 bytes, 500118192 sectors
Disk model: SAMSUNG MZVLV256HCHP-00000
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: 26126327-1D94-4446-BF34-06CA24DCBF84
Device Start End Sectors Size Type
/dev/nvme0n1p1 2048 1050623 1048576 512M EFI System
/dev/nvme0n1p2 1050624 17827839 16777216 8G Linux swap
/dev/nvme0n1p3 17827840 500118158 482290319 230G Linux filesystem
I only have one drive on my current machine, but you can see it outputs the capacity and vendor amongst other useful information for determining which is the target drive.
Then if it is un-partitioned partition it (again I used fdisk in the past but for this machine I had to use gdisk for the boot partition but the commands are the same)
fdisk /path/to/drive #(in my case it would be /dev/nvme0n1
# from here on out everything in fdisk will be prepended with a '#'
# o
# n
# <press enter>
# <press enter>
# <press enter>
# at this point your drive should have a single partition in it though I may have missed an enter
# w
Now that we've partitioned the drive you just need to create a filesystem which was done in the comments
mkfs.ext4 /path/to/partition # note that it will be something like /dev/sda1
Note again that we gave mkfs
the path to a partition and not the actual drive itself
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1127857%2fi-simply-want-to-reformat-a-2tb-seagate-for-use-in-ubuntu-with-full-permissions%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
It should be pretty simple, first determine which is the drive you want to format I personally like to use fdisk
an example output from my machine
Disk /dev/nvme0n1: 238.5 GiB, 256060514304 bytes, 500118192 sectors
Disk model: SAMSUNG MZVLV256HCHP-00000
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: 26126327-1D94-4446-BF34-06CA24DCBF84
Device Start End Sectors Size Type
/dev/nvme0n1p1 2048 1050623 1048576 512M EFI System
/dev/nvme0n1p2 1050624 17827839 16777216 8G Linux swap
/dev/nvme0n1p3 17827840 500118158 482290319 230G Linux filesystem
I only have one drive on my current machine, but you can see it outputs the capacity and vendor amongst other useful information for determining which is the target drive.
Then if it is un-partitioned partition it (again I used fdisk in the past but for this machine I had to use gdisk for the boot partition but the commands are the same)
fdisk /path/to/drive #(in my case it would be /dev/nvme0n1
# from here on out everything in fdisk will be prepended with a '#'
# o
# n
# <press enter>
# <press enter>
# <press enter>
# at this point your drive should have a single partition in it though I may have missed an enter
# w
Now that we've partitioned the drive you just need to create a filesystem which was done in the comments
mkfs.ext4 /path/to/partition # note that it will be something like /dev/sda1
Note again that we gave mkfs
the path to a partition and not the actual drive itself
add a comment |
It should be pretty simple, first determine which is the drive you want to format I personally like to use fdisk
an example output from my machine
Disk /dev/nvme0n1: 238.5 GiB, 256060514304 bytes, 500118192 sectors
Disk model: SAMSUNG MZVLV256HCHP-00000
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: 26126327-1D94-4446-BF34-06CA24DCBF84
Device Start End Sectors Size Type
/dev/nvme0n1p1 2048 1050623 1048576 512M EFI System
/dev/nvme0n1p2 1050624 17827839 16777216 8G Linux swap
/dev/nvme0n1p3 17827840 500118158 482290319 230G Linux filesystem
I only have one drive on my current machine, but you can see it outputs the capacity and vendor amongst other useful information for determining which is the target drive.
Then if it is un-partitioned partition it (again I used fdisk in the past but for this machine I had to use gdisk for the boot partition but the commands are the same)
fdisk /path/to/drive #(in my case it would be /dev/nvme0n1
# from here on out everything in fdisk will be prepended with a '#'
# o
# n
# <press enter>
# <press enter>
# <press enter>
# at this point your drive should have a single partition in it though I may have missed an enter
# w
Now that we've partitioned the drive you just need to create a filesystem which was done in the comments
mkfs.ext4 /path/to/partition # note that it will be something like /dev/sda1
Note again that we gave mkfs
the path to a partition and not the actual drive itself
add a comment |
It should be pretty simple, first determine which is the drive you want to format I personally like to use fdisk
an example output from my machine
Disk /dev/nvme0n1: 238.5 GiB, 256060514304 bytes, 500118192 sectors
Disk model: SAMSUNG MZVLV256HCHP-00000
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: 26126327-1D94-4446-BF34-06CA24DCBF84
Device Start End Sectors Size Type
/dev/nvme0n1p1 2048 1050623 1048576 512M EFI System
/dev/nvme0n1p2 1050624 17827839 16777216 8G Linux swap
/dev/nvme0n1p3 17827840 500118158 482290319 230G Linux filesystem
I only have one drive on my current machine, but you can see it outputs the capacity and vendor amongst other useful information for determining which is the target drive.
Then if it is un-partitioned partition it (again I used fdisk in the past but for this machine I had to use gdisk for the boot partition but the commands are the same)
fdisk /path/to/drive #(in my case it would be /dev/nvme0n1
# from here on out everything in fdisk will be prepended with a '#'
# o
# n
# <press enter>
# <press enter>
# <press enter>
# at this point your drive should have a single partition in it though I may have missed an enter
# w
Now that we've partitioned the drive you just need to create a filesystem which was done in the comments
mkfs.ext4 /path/to/partition # note that it will be something like /dev/sda1
Note again that we gave mkfs
the path to a partition and not the actual drive itself
It should be pretty simple, first determine which is the drive you want to format I personally like to use fdisk
an example output from my machine
Disk /dev/nvme0n1: 238.5 GiB, 256060514304 bytes, 500118192 sectors
Disk model: SAMSUNG MZVLV256HCHP-00000
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: 26126327-1D94-4446-BF34-06CA24DCBF84
Device Start End Sectors Size Type
/dev/nvme0n1p1 2048 1050623 1048576 512M EFI System
/dev/nvme0n1p2 1050624 17827839 16777216 8G Linux swap
/dev/nvme0n1p3 17827840 500118158 482290319 230G Linux filesystem
I only have one drive on my current machine, but you can see it outputs the capacity and vendor amongst other useful information for determining which is the target drive.
Then if it is un-partitioned partition it (again I used fdisk in the past but for this machine I had to use gdisk for the boot partition but the commands are the same)
fdisk /path/to/drive #(in my case it would be /dev/nvme0n1
# from here on out everything in fdisk will be prepended with a '#'
# o
# n
# <press enter>
# <press enter>
# <press enter>
# at this point your drive should have a single partition in it though I may have missed an enter
# w
Now that we've partitioned the drive you just need to create a filesystem which was done in the comments
mkfs.ext4 /path/to/partition # note that it will be something like /dev/sda1
Note again that we gave mkfs
the path to a partition and not the actual drive itself
answered Mar 22 at 15:46
j-moneyj-money
1,370418
1,370418
add a comment |
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1127857%2fi-simply-want-to-reformat-a-2tb-seagate-for-use-in-ubuntu-with-full-permissions%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Oh. Sorry. It's for addtl storage
– Eric Hensler
Mar 22 at 14:35
In all honesty, I've read the answers referring to these but they are either incomplete or I simply don't fully understand them and don't want to destroy anything. Plus permissions
– Eric Hensler
Mar 22 at 14:39
I will get to work on that and get back to you. Thanks.
– Eric Hensler
Mar 22 at 14:44
Maybe i'm missing some deleted comments, but why are you not just running
fdisk -l
to determine which one is the seagate drive (it prints enough info to determine this, unless all drives are 2tb seagate. and then runngingmkfs.ext4 /path/to/drive
?– j-money
Mar 22 at 14:53
because I didn't know how to do that prior to your answer. i didn't find that command. i will do that now. Thanks.
– Eric Hensler
Mar 22 at 15:00