Can I rename a partition of my external hard drive without damaging the files on the other partition? If so,...
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
I am using Ubuntu 16.04 (it's a dual boot to windows 10 if that matters)
I could also do the renaming process on my mac. Also note that Ubuntu is on my computer hard drive, not the external.
I have an external hard drive with two partitions. One of them contains a large amount of important data (it would be difficult for me find a place to save this data while I do the partition). The other is empty.
I need to rename one of them (it can be the empty one) because they both have spaces in the name and this is interfering with some software and scripts I need to use.
Essentially, I want to know if it possible to rename the partition safely without backing up my files and, if so, how?
16.04 partitioning hard-drive external-hdd
add a comment |
I am using Ubuntu 16.04 (it's a dual boot to windows 10 if that matters)
I could also do the renaming process on my mac. Also note that Ubuntu is on my computer hard drive, not the external.
I have an external hard drive with two partitions. One of them contains a large amount of important data (it would be difficult for me find a place to save this data while I do the partition). The other is empty.
I need to rename one of them (it can be the empty one) because they both have spaces in the name and this is interfering with some software and scripts I need to use.
Essentially, I want to know if it possible to rename the partition safely without backing up my files and, if so, how?
16.04 partitioning hard-drive external-hdd
Please remember to accept my answer if it was helpful. Thanks!
– heynnema
Feb 20 at 14:17
add a comment |
I am using Ubuntu 16.04 (it's a dual boot to windows 10 if that matters)
I could also do the renaming process on my mac. Also note that Ubuntu is on my computer hard drive, not the external.
I have an external hard drive with two partitions. One of them contains a large amount of important data (it would be difficult for me find a place to save this data while I do the partition). The other is empty.
I need to rename one of them (it can be the empty one) because they both have spaces in the name and this is interfering with some software and scripts I need to use.
Essentially, I want to know if it possible to rename the partition safely without backing up my files and, if so, how?
16.04 partitioning hard-drive external-hdd
I am using Ubuntu 16.04 (it's a dual boot to windows 10 if that matters)
I could also do the renaming process on my mac. Also note that Ubuntu is on my computer hard drive, not the external.
I have an external hard drive with two partitions. One of them contains a large amount of important data (it would be difficult for me find a place to save this data while I do the partition). The other is empty.
I need to rename one of them (it can be the empty one) because they both have spaces in the name and this is interfering with some software and scripts I need to use.
Essentially, I want to know if it possible to rename the partition safely without backing up my files and, if so, how?
16.04 partitioning hard-drive external-hdd
16.04 partitioning hard-drive external-hdd
asked Feb 15 at 21:44
Madeleine ThereseMadeleine Therese
1
1
Please remember to accept my answer if it was helpful. Thanks!
– heynnema
Feb 20 at 14:17
add a comment |
Please remember to accept my answer if it was helpful. Thanks!
– heynnema
Feb 20 at 14:17
Please remember to accept my answer if it was helpful. Thanks!
– heynnema
Feb 20 at 14:17
Please remember to accept my answer if it was helpful. Thanks!
– heynnema
Feb 20 at 14:17
add a comment |
2 Answers
2
active
oldest
votes
As far as I know, renaming a partition, even if not empty, should not effect the data on it. Just be careful to rename, not repartition or reformat.
Look here for how to rename from either a GUI or terminal
add a comment |
There are a number of ways to re-label a partition. To cure your problem, remove the spaces in the label name, and replace them with "_" (underscores). ie: New_Label
Note: Keep in mind that changing labels may cause problems in scripts, mount points, /etc/fstab, or commands that require path names.
Note: File/disk backups are always a good idea.
In the terminal
...
sudo tune2fs -L new_label /dev/sdaX
# change the sdaX to the proper partition number
In gparted
...
right-click on a partition and choose "Label File System"
In Disks
...
from a pull-down menu and choose "Edit Filesystem Label"
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%2f1118629%2fcan-i-rename-a-partition-of-my-external-hard-drive-without-damaging-the-files-on%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
As far as I know, renaming a partition, even if not empty, should not effect the data on it. Just be careful to rename, not repartition or reformat.
Look here for how to rename from either a GUI or terminal
add a comment |
As far as I know, renaming a partition, even if not empty, should not effect the data on it. Just be careful to rename, not repartition or reformat.
Look here for how to rename from either a GUI or terminal
add a comment |
As far as I know, renaming a partition, even if not empty, should not effect the data on it. Just be careful to rename, not repartition or reformat.
Look here for how to rename from either a GUI or terminal
As far as I know, renaming a partition, even if not empty, should not effect the data on it. Just be careful to rename, not repartition or reformat.
Look here for how to rename from either a GUI or terminal
answered Feb 15 at 22:04
colbycdevcolbycdev
14310
14310
add a comment |
add a comment |
There are a number of ways to re-label a partition. To cure your problem, remove the spaces in the label name, and replace them with "_" (underscores). ie: New_Label
Note: Keep in mind that changing labels may cause problems in scripts, mount points, /etc/fstab, or commands that require path names.
Note: File/disk backups are always a good idea.
In the terminal
...
sudo tune2fs -L new_label /dev/sdaX
# change the sdaX to the proper partition number
In gparted
...
right-click on a partition and choose "Label File System"
In Disks
...
from a pull-down menu and choose "Edit Filesystem Label"
add a comment |
There are a number of ways to re-label a partition. To cure your problem, remove the spaces in the label name, and replace them with "_" (underscores). ie: New_Label
Note: Keep in mind that changing labels may cause problems in scripts, mount points, /etc/fstab, or commands that require path names.
Note: File/disk backups are always a good idea.
In the terminal
...
sudo tune2fs -L new_label /dev/sdaX
# change the sdaX to the proper partition number
In gparted
...
right-click on a partition and choose "Label File System"
In Disks
...
from a pull-down menu and choose "Edit Filesystem Label"
add a comment |
There are a number of ways to re-label a partition. To cure your problem, remove the spaces in the label name, and replace them with "_" (underscores). ie: New_Label
Note: Keep in mind that changing labels may cause problems in scripts, mount points, /etc/fstab, or commands that require path names.
Note: File/disk backups are always a good idea.
In the terminal
...
sudo tune2fs -L new_label /dev/sdaX
# change the sdaX to the proper partition number
In gparted
...
right-click on a partition and choose "Label File System"
In Disks
...
from a pull-down menu and choose "Edit Filesystem Label"
There are a number of ways to re-label a partition. To cure your problem, remove the spaces in the label name, and replace them with "_" (underscores). ie: New_Label
Note: Keep in mind that changing labels may cause problems in scripts, mount points, /etc/fstab, or commands that require path names.
Note: File/disk backups are always a good idea.
In the terminal
...
sudo tune2fs -L new_label /dev/sdaX
# change the sdaX to the proper partition number
In gparted
...
right-click on a partition and choose "Label File System"
In Disks
...
from a pull-down menu and choose "Edit Filesystem Label"
edited Feb 16 at 0:08
answered Feb 16 at 0:00
heynnemaheynnema
21.8k32361
21.8k32361
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%2f1118629%2fcan-i-rename-a-partition-of-my-external-hard-drive-without-damaging-the-files-on%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
Please remember to accept my answer if it was helpful. Thanks!
– heynnema
Feb 20 at 14:17