Free up space in disk that installed Linux from another disk that installed Windows?












1















I installed both Ubuntu 16.04 and Windows on my Laptop, but on different disk partitions.



I accidentally used up all space on the Linux disk when I set up a PostgreSQL database on it, and tried to import ~30GB data into it (the file might expand). Now my Ubuntu 16.04 cannot even start properly. e.g. I cannot even start terminal, and the Unity desktop does not show applications. After logging in my user, I basically cannot do anything.



So I booted from Windows and thought I might be able to free up space on the Linux disk from this system. But I'm not sure how. Windows seems to be working fine now, but I'm not sure if it will break later.



Any advice on this? Thanks!










share|improve this question


















  • 2





    What format is your Linux disk? You might be safer using a Linux Live USB.

    – harrymc
    Jan 1 at 19:49











  • @harrymc I actually am not sure. Very likely is ext4.

    – yuqli
    Jan 1 at 19:53













  • @harrymc I see your point. So the real issue is my Ubuntu does not work because disk is full. I found this thread already and will take a look superuser.com/questions/750782/…

    – yuqli
    Jan 1 at 19:58











  • Also this thread discusses how to mount a Linux file system from Windows : askubuntu.com/questions/9933/…

    – yuqli
    Jan 1 at 19:59
















1















I installed both Ubuntu 16.04 and Windows on my Laptop, but on different disk partitions.



I accidentally used up all space on the Linux disk when I set up a PostgreSQL database on it, and tried to import ~30GB data into it (the file might expand). Now my Ubuntu 16.04 cannot even start properly. e.g. I cannot even start terminal, and the Unity desktop does not show applications. After logging in my user, I basically cannot do anything.



So I booted from Windows and thought I might be able to free up space on the Linux disk from this system. But I'm not sure how. Windows seems to be working fine now, but I'm not sure if it will break later.



Any advice on this? Thanks!










share|improve this question


















  • 2





    What format is your Linux disk? You might be safer using a Linux Live USB.

    – harrymc
    Jan 1 at 19:49











  • @harrymc I actually am not sure. Very likely is ext4.

    – yuqli
    Jan 1 at 19:53













  • @harrymc I see your point. So the real issue is my Ubuntu does not work because disk is full. I found this thread already and will take a look superuser.com/questions/750782/…

    – yuqli
    Jan 1 at 19:58











  • Also this thread discusses how to mount a Linux file system from Windows : askubuntu.com/questions/9933/…

    – yuqli
    Jan 1 at 19:59














1












1








1








I installed both Ubuntu 16.04 and Windows on my Laptop, but on different disk partitions.



I accidentally used up all space on the Linux disk when I set up a PostgreSQL database on it, and tried to import ~30GB data into it (the file might expand). Now my Ubuntu 16.04 cannot even start properly. e.g. I cannot even start terminal, and the Unity desktop does not show applications. After logging in my user, I basically cannot do anything.



So I booted from Windows and thought I might be able to free up space on the Linux disk from this system. But I'm not sure how. Windows seems to be working fine now, but I'm not sure if it will break later.



Any advice on this? Thanks!










share|improve this question














I installed both Ubuntu 16.04 and Windows on my Laptop, but on different disk partitions.



I accidentally used up all space on the Linux disk when I set up a PostgreSQL database on it, and tried to import ~30GB data into it (the file might expand). Now my Ubuntu 16.04 cannot even start properly. e.g. I cannot even start terminal, and the Unity desktop does not show applications. After logging in my user, I basically cannot do anything.



So I booted from Windows and thought I might be able to free up space on the Linux disk from this system. But I'm not sure how. Windows seems to be working fine now, but I'm not sure if it will break later.



Any advice on this? Thanks!







windows-7 linux ubuntu hard-drive






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Jan 1 at 19:41









yuqliyuqli

83




83








  • 2





    What format is your Linux disk? You might be safer using a Linux Live USB.

    – harrymc
    Jan 1 at 19:49











  • @harrymc I actually am not sure. Very likely is ext4.

    – yuqli
    Jan 1 at 19:53













  • @harrymc I see your point. So the real issue is my Ubuntu does not work because disk is full. I found this thread already and will take a look superuser.com/questions/750782/…

    – yuqli
    Jan 1 at 19:58











  • Also this thread discusses how to mount a Linux file system from Windows : askubuntu.com/questions/9933/…

    – yuqli
    Jan 1 at 19:59














  • 2





    What format is your Linux disk? You might be safer using a Linux Live USB.

    – harrymc
    Jan 1 at 19:49











  • @harrymc I actually am not sure. Very likely is ext4.

    – yuqli
    Jan 1 at 19:53













  • @harrymc I see your point. So the real issue is my Ubuntu does not work because disk is full. I found this thread already and will take a look superuser.com/questions/750782/…

    – yuqli
    Jan 1 at 19:58











  • Also this thread discusses how to mount a Linux file system from Windows : askubuntu.com/questions/9933/…

    – yuqli
    Jan 1 at 19:59








2




2





What format is your Linux disk? You might be safer using a Linux Live USB.

– harrymc
Jan 1 at 19:49





What format is your Linux disk? You might be safer using a Linux Live USB.

– harrymc
Jan 1 at 19:49













@harrymc I actually am not sure. Very likely is ext4.

– yuqli
Jan 1 at 19:53







@harrymc I actually am not sure. Very likely is ext4.

– yuqli
Jan 1 at 19:53















@harrymc I see your point. So the real issue is my Ubuntu does not work because disk is full. I found this thread already and will take a look superuser.com/questions/750782/…

– yuqli
Jan 1 at 19:58





@harrymc I see your point. So the real issue is my Ubuntu does not work because disk is full. I found this thread already and will take a look superuser.com/questions/750782/…

– yuqli
Jan 1 at 19:58













Also this thread discusses how to mount a Linux file system from Windows : askubuntu.com/questions/9933/…

– yuqli
Jan 1 at 19:59





Also this thread discusses how to mount a Linux file system from Windows : askubuntu.com/questions/9933/…

– yuqli
Jan 1 at 19:59










1 Answer
1






active

oldest

votes


















1














I do not think that manipulating a Linux disk from Windows is safe,
just as manipulating a Windows disk from Linux is also unsafe.



It is much safer to create a Linux Live USB, which you can do from Windows by using
Rufus,
a free and open source USB stick writing tool.



For details, see the Ubuntu tutorial
Create a bootable USB stick on Windows.






share|improve this answer
























  • Thanks! I see the partition with Linux is shown as "100% free" on Windows. It seems to not recognize Linux file system. I will look into Rufus.

    – yuqli
    Jan 1 at 20:03











  • Also, make an image of the ext4 partition before modifying it, i.e. deleting the large file.

    – DrMoishe Pippik
    Jan 1 at 20:03











  • I see. Thanks for the tip! I

    – yuqli
    Jan 1 at 20:06











  • Done. Thanks a lot for the prompt help!

    – yuqli
    Jan 1 at 21:07











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
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
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1389588%2ffree-up-space-in-disk-that-installed-linux-from-another-disk-that-installed-wind%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









1














I do not think that manipulating a Linux disk from Windows is safe,
just as manipulating a Windows disk from Linux is also unsafe.



It is much safer to create a Linux Live USB, which you can do from Windows by using
Rufus,
a free and open source USB stick writing tool.



For details, see the Ubuntu tutorial
Create a bootable USB stick on Windows.






share|improve this answer
























  • Thanks! I see the partition with Linux is shown as "100% free" on Windows. It seems to not recognize Linux file system. I will look into Rufus.

    – yuqli
    Jan 1 at 20:03











  • Also, make an image of the ext4 partition before modifying it, i.e. deleting the large file.

    – DrMoishe Pippik
    Jan 1 at 20:03











  • I see. Thanks for the tip! I

    – yuqli
    Jan 1 at 20:06











  • Done. Thanks a lot for the prompt help!

    – yuqli
    Jan 1 at 21:07
















1














I do not think that manipulating a Linux disk from Windows is safe,
just as manipulating a Windows disk from Linux is also unsafe.



It is much safer to create a Linux Live USB, which you can do from Windows by using
Rufus,
a free and open source USB stick writing tool.



For details, see the Ubuntu tutorial
Create a bootable USB stick on Windows.






share|improve this answer
























  • Thanks! I see the partition with Linux is shown as "100% free" on Windows. It seems to not recognize Linux file system. I will look into Rufus.

    – yuqli
    Jan 1 at 20:03











  • Also, make an image of the ext4 partition before modifying it, i.e. deleting the large file.

    – DrMoishe Pippik
    Jan 1 at 20:03











  • I see. Thanks for the tip! I

    – yuqli
    Jan 1 at 20:06











  • Done. Thanks a lot for the prompt help!

    – yuqli
    Jan 1 at 21:07














1












1








1







I do not think that manipulating a Linux disk from Windows is safe,
just as manipulating a Windows disk from Linux is also unsafe.



It is much safer to create a Linux Live USB, which you can do from Windows by using
Rufus,
a free and open source USB stick writing tool.



For details, see the Ubuntu tutorial
Create a bootable USB stick on Windows.






share|improve this answer













I do not think that manipulating a Linux disk from Windows is safe,
just as manipulating a Windows disk from Linux is also unsafe.



It is much safer to create a Linux Live USB, which you can do from Windows by using
Rufus,
a free and open source USB stick writing tool.



For details, see the Ubuntu tutorial
Create a bootable USB stick on Windows.







share|improve this answer












share|improve this answer



share|improve this answer










answered Jan 1 at 19:59









harrymcharrymc

255k14267566




255k14267566













  • Thanks! I see the partition with Linux is shown as "100% free" on Windows. It seems to not recognize Linux file system. I will look into Rufus.

    – yuqli
    Jan 1 at 20:03











  • Also, make an image of the ext4 partition before modifying it, i.e. deleting the large file.

    – DrMoishe Pippik
    Jan 1 at 20:03











  • I see. Thanks for the tip! I

    – yuqli
    Jan 1 at 20:06











  • Done. Thanks a lot for the prompt help!

    – yuqli
    Jan 1 at 21:07



















  • Thanks! I see the partition with Linux is shown as "100% free" on Windows. It seems to not recognize Linux file system. I will look into Rufus.

    – yuqli
    Jan 1 at 20:03











  • Also, make an image of the ext4 partition before modifying it, i.e. deleting the large file.

    – DrMoishe Pippik
    Jan 1 at 20:03











  • I see. Thanks for the tip! I

    – yuqli
    Jan 1 at 20:06











  • Done. Thanks a lot for the prompt help!

    – yuqli
    Jan 1 at 21:07

















Thanks! I see the partition with Linux is shown as "100% free" on Windows. It seems to not recognize Linux file system. I will look into Rufus.

– yuqli
Jan 1 at 20:03





Thanks! I see the partition with Linux is shown as "100% free" on Windows. It seems to not recognize Linux file system. I will look into Rufus.

– yuqli
Jan 1 at 20:03













Also, make an image of the ext4 partition before modifying it, i.e. deleting the large file.

– DrMoishe Pippik
Jan 1 at 20:03





Also, make an image of the ext4 partition before modifying it, i.e. deleting the large file.

– DrMoishe Pippik
Jan 1 at 20:03













I see. Thanks for the tip! I

– yuqli
Jan 1 at 20:06





I see. Thanks for the tip! I

– yuqli
Jan 1 at 20:06













Done. Thanks a lot for the prompt help!

– yuqli
Jan 1 at 21:07





Done. Thanks a lot for the prompt help!

– yuqli
Jan 1 at 21:07


















draft saved

draft discarded




















































Thanks for contributing an answer to Super User!


  • 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.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1389588%2ffree-up-space-in-disk-that-installed-linux-from-another-disk-that-installed-wind%23new-answer', 'question_page');
}
);

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







Popular posts from this blog

flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

Mangá

 ⁒  ․,‪⁊‑⁙ ⁖, ⁇‒※‌, †,⁖‗‌⁝    ‾‸⁘,‖⁔⁣,⁂‾
”‑,‥–,‬ ,⁀‹⁋‴⁑ ‒ ,‴⁋”‼ ⁨,‷⁔„ ‰′,‐‚ ‥‡‎“‷⁃⁨⁅⁣,⁔
⁇‘⁔⁡⁏⁌⁡‿‶‏⁨ ⁣⁕⁖⁨⁩⁥‽⁀  ‴‬⁜‟ ⁃‣‧⁕‮ …‍⁨‴ ⁩,⁚⁖‫ ,‵ ⁀,‮⁝‣‣ ⁑  ⁂– ․, ‾‽ ‏⁁“⁗‸ ‾… ‹‡⁌⁎‸‘ ‡⁏⁌‪ ‵⁛ ‎⁨ ―⁦⁤⁄⁕