Deleting Linux swap partition
I have a dual boot machine of Linux(Ubuntu) and Windows 7.
What will happen if I delete the Linux swap partition from win7 using some partition manager software.
Will it cause problem to my Linux or it will function smoothly as earlier.
14.04 windows swap
|
show 3 more comments
I have a dual boot machine of Linux(Ubuntu) and Windows 7.
What will happen if I delete the Linux swap partition from win7 using some partition manager software.
Will it cause problem to my Linux or it will function smoothly as earlier.
14.04 windows swap
3
Why delete it "from win7"? You can remove it correctly from Ubuntu.
– Pilot6
Jan 31 '17 at 12:35
Will it cause any problem to linux?
– Boyka
Jan 31 '17 at 12:36
1
Yes, it will cause problems if you do it from Win7.
– Pilot6
Jan 31 '17 at 12:36
1
You can just doswapoff <partition>
and see how it goes. You can then turn it back on withswapon <partition>
.
– 13dimitar
Jan 31 '17 at 12:45
1
@Pilot6, no, it won't. What program deletes the partition makes no difference; it will be missing when you boot next and the system will complain about that until you remove its entry from /etc/fstab.
– psusi
Jan 31 '17 at 14:00
|
show 3 more comments
I have a dual boot machine of Linux(Ubuntu) and Windows 7.
What will happen if I delete the Linux swap partition from win7 using some partition manager software.
Will it cause problem to my Linux or it will function smoothly as earlier.
14.04 windows swap
I have a dual boot machine of Linux(Ubuntu) and Windows 7.
What will happen if I delete the Linux swap partition from win7 using some partition manager software.
Will it cause problem to my Linux or it will function smoothly as earlier.
14.04 windows swap
14.04 windows swap
edited Jan 12 at 5:15
Codito ergo sum
1,5023825
1,5023825
asked Jan 31 '17 at 12:29
BoykaBoyka
1932315
1932315
3
Why delete it "from win7"? You can remove it correctly from Ubuntu.
– Pilot6
Jan 31 '17 at 12:35
Will it cause any problem to linux?
– Boyka
Jan 31 '17 at 12:36
1
Yes, it will cause problems if you do it from Win7.
– Pilot6
Jan 31 '17 at 12:36
1
You can just doswapoff <partition>
and see how it goes. You can then turn it back on withswapon <partition>
.
– 13dimitar
Jan 31 '17 at 12:45
1
@Pilot6, no, it won't. What program deletes the partition makes no difference; it will be missing when you boot next and the system will complain about that until you remove its entry from /etc/fstab.
– psusi
Jan 31 '17 at 14:00
|
show 3 more comments
3
Why delete it "from win7"? You can remove it correctly from Ubuntu.
– Pilot6
Jan 31 '17 at 12:35
Will it cause any problem to linux?
– Boyka
Jan 31 '17 at 12:36
1
Yes, it will cause problems if you do it from Win7.
– Pilot6
Jan 31 '17 at 12:36
1
You can just doswapoff <partition>
and see how it goes. You can then turn it back on withswapon <partition>
.
– 13dimitar
Jan 31 '17 at 12:45
1
@Pilot6, no, it won't. What program deletes the partition makes no difference; it will be missing when you boot next and the system will complain about that until you remove its entry from /etc/fstab.
– psusi
Jan 31 '17 at 14:00
3
3
Why delete it "from win7"? You can remove it correctly from Ubuntu.
– Pilot6
Jan 31 '17 at 12:35
Why delete it "from win7"? You can remove it correctly from Ubuntu.
– Pilot6
Jan 31 '17 at 12:35
Will it cause any problem to linux?
– Boyka
Jan 31 '17 at 12:36
Will it cause any problem to linux?
– Boyka
Jan 31 '17 at 12:36
1
1
Yes, it will cause problems if you do it from Win7.
– Pilot6
Jan 31 '17 at 12:36
Yes, it will cause problems if you do it from Win7.
– Pilot6
Jan 31 '17 at 12:36
1
1
You can just do
swapoff <partition>
and see how it goes. You can then turn it back on with swapon <partition>
.– 13dimitar
Jan 31 '17 at 12:45
You can just do
swapoff <partition>
and see how it goes. You can then turn it back on with swapon <partition>
.– 13dimitar
Jan 31 '17 at 12:45
1
1
@Pilot6, no, it won't. What program deletes the partition makes no difference; it will be missing when you boot next and the system will complain about that until you remove its entry from /etc/fstab.
– psusi
Jan 31 '17 at 14:00
@Pilot6, no, it won't. What program deletes the partition makes no difference; it will be missing when you boot next and the system will complain about that until you remove its entry from /etc/fstab.
– psusi
Jan 31 '17 at 14:00
|
show 3 more comments
1 Answer
1
active
oldest
votes
At a minimum, you'll get an error report during Ubuntu startup, saying the swap partition isn't found. Depending on exact details, this may prevent Ubuntu from starting and drop you to an emergency shell. However, if you have enough RAM (typically, for Ubuntu, 4 GB or more), Ubuntu should at least finish starting with no swap; the error happens because Ubuntu expects to find a swap partition.
Even if Ubuntu starts successfully without a swap partition (in my experience, this will happen only if you didn't create one during installation, but there may be other circumstances that permit it), you'll have trouble if running processes begin to require more RAM than the physical RAM available in hardware; for instance, if you have 4 GB installed, and load programs that, together, need more than 4 GB, you'll run into issues with extremely slow performance and possibly even a system freeze.
Because of this, I'd recommend against deleting your swap partition. They're typically small, compared to the size of modern hard disks or even SSDs, and they're part of how Ubuntu performs as well as it does.
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%2f878278%2fdeleting-linux-swap-partition%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
At a minimum, you'll get an error report during Ubuntu startup, saying the swap partition isn't found. Depending on exact details, this may prevent Ubuntu from starting and drop you to an emergency shell. However, if you have enough RAM (typically, for Ubuntu, 4 GB or more), Ubuntu should at least finish starting with no swap; the error happens because Ubuntu expects to find a swap partition.
Even if Ubuntu starts successfully without a swap partition (in my experience, this will happen only if you didn't create one during installation, but there may be other circumstances that permit it), you'll have trouble if running processes begin to require more RAM than the physical RAM available in hardware; for instance, if you have 4 GB installed, and load programs that, together, need more than 4 GB, you'll run into issues with extremely slow performance and possibly even a system freeze.
Because of this, I'd recommend against deleting your swap partition. They're typically small, compared to the size of modern hard disks or even SSDs, and they're part of how Ubuntu performs as well as it does.
add a comment |
At a minimum, you'll get an error report during Ubuntu startup, saying the swap partition isn't found. Depending on exact details, this may prevent Ubuntu from starting and drop you to an emergency shell. However, if you have enough RAM (typically, for Ubuntu, 4 GB or more), Ubuntu should at least finish starting with no swap; the error happens because Ubuntu expects to find a swap partition.
Even if Ubuntu starts successfully without a swap partition (in my experience, this will happen only if you didn't create one during installation, but there may be other circumstances that permit it), you'll have trouble if running processes begin to require more RAM than the physical RAM available in hardware; for instance, if you have 4 GB installed, and load programs that, together, need more than 4 GB, you'll run into issues with extremely slow performance and possibly even a system freeze.
Because of this, I'd recommend against deleting your swap partition. They're typically small, compared to the size of modern hard disks or even SSDs, and they're part of how Ubuntu performs as well as it does.
add a comment |
At a minimum, you'll get an error report during Ubuntu startup, saying the swap partition isn't found. Depending on exact details, this may prevent Ubuntu from starting and drop you to an emergency shell. However, if you have enough RAM (typically, for Ubuntu, 4 GB or more), Ubuntu should at least finish starting with no swap; the error happens because Ubuntu expects to find a swap partition.
Even if Ubuntu starts successfully without a swap partition (in my experience, this will happen only if you didn't create one during installation, but there may be other circumstances that permit it), you'll have trouble if running processes begin to require more RAM than the physical RAM available in hardware; for instance, if you have 4 GB installed, and load programs that, together, need more than 4 GB, you'll run into issues with extremely slow performance and possibly even a system freeze.
Because of this, I'd recommend against deleting your swap partition. They're typically small, compared to the size of modern hard disks or even SSDs, and they're part of how Ubuntu performs as well as it does.
At a minimum, you'll get an error report during Ubuntu startup, saying the swap partition isn't found. Depending on exact details, this may prevent Ubuntu from starting and drop you to an emergency shell. However, if you have enough RAM (typically, for Ubuntu, 4 GB or more), Ubuntu should at least finish starting with no swap; the error happens because Ubuntu expects to find a swap partition.
Even if Ubuntu starts successfully without a swap partition (in my experience, this will happen only if you didn't create one during installation, but there may be other circumstances that permit it), you'll have trouble if running processes begin to require more RAM than the physical RAM available in hardware; for instance, if you have 4 GB installed, and load programs that, together, need more than 4 GB, you'll run into issues with extremely slow performance and possibly even a system freeze.
Because of this, I'd recommend against deleting your swap partition. They're typically small, compared to the size of modern hard disks or even SSDs, and they're part of how Ubuntu performs as well as it does.
answered Jan 31 '17 at 12:37
Zeiss IkonZeiss Ikon
3,1331823
3,1331823
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%2f878278%2fdeleting-linux-swap-partition%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
3
Why delete it "from win7"? You can remove it correctly from Ubuntu.
– Pilot6
Jan 31 '17 at 12:35
Will it cause any problem to linux?
– Boyka
Jan 31 '17 at 12:36
1
Yes, it will cause problems if you do it from Win7.
– Pilot6
Jan 31 '17 at 12:36
1
You can just do
swapoff <partition>
and see how it goes. You can then turn it back on withswapon <partition>
.– 13dimitar
Jan 31 '17 at 12:45
1
@Pilot6, no, it won't. What program deletes the partition makes no difference; it will be missing when you boot next and the system will complain about that until you remove its entry from /etc/fstab.
– psusi
Jan 31 '17 at 14:00