How to remount the filesystem with read-only permission

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
0
down vote

favorite












For some reason, I need to make sure that nobody can change my filesystem.



So i try to remount the / with read-only permission.



I've tried sudo mount -o remount,ro / but it told me mount: / is busy.



How can I do this? BTW, Reboot is acceptable.










share|improve this question























  • I don't know if you can do this if you are actually using system which is mounted at /. I would try to do this from live session of Ubuntu. BTW: did you try with sudo?
    – Qback
    Feb 7 at 10:33











  • @Qback Yeah, I mount with sudo.
    – Yves
    Feb 7 at 10:39






  • 2




    Make the change in the /etc/fstab file askubuntu.com/questions/839355/…
    – Katu
    Feb 7 at 11:00














up vote
0
down vote

favorite












For some reason, I need to make sure that nobody can change my filesystem.



So i try to remount the / with read-only permission.



I've tried sudo mount -o remount,ro / but it told me mount: / is busy.



How can I do this? BTW, Reboot is acceptable.










share|improve this question























  • I don't know if you can do this if you are actually using system which is mounted at /. I would try to do this from live session of Ubuntu. BTW: did you try with sudo?
    – Qback
    Feb 7 at 10:33











  • @Qback Yeah, I mount with sudo.
    – Yves
    Feb 7 at 10:39






  • 2




    Make the change in the /etc/fstab file askubuntu.com/questions/839355/…
    – Katu
    Feb 7 at 11:00












up vote
0
down vote

favorite









up vote
0
down vote

favorite











For some reason, I need to make sure that nobody can change my filesystem.



So i try to remount the / with read-only permission.



I've tried sudo mount -o remount,ro / but it told me mount: / is busy.



How can I do this? BTW, Reboot is acceptable.










share|improve this question















For some reason, I need to make sure that nobody can change my filesystem.



So i try to remount the / with read-only permission.



I've tried sudo mount -o remount,ro / but it told me mount: / is busy.



How can I do this? BTW, Reboot is acceptable.







permissions filesystem read-only






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Feb 7 at 10:38

























asked Feb 7 at 10:28









Yves

345316




345316











  • I don't know if you can do this if you are actually using system which is mounted at /. I would try to do this from live session of Ubuntu. BTW: did you try with sudo?
    – Qback
    Feb 7 at 10:33











  • @Qback Yeah, I mount with sudo.
    – Yves
    Feb 7 at 10:39






  • 2




    Make the change in the /etc/fstab file askubuntu.com/questions/839355/…
    – Katu
    Feb 7 at 11:00
















  • I don't know if you can do this if you are actually using system which is mounted at /. I would try to do this from live session of Ubuntu. BTW: did you try with sudo?
    – Qback
    Feb 7 at 10:33











  • @Qback Yeah, I mount with sudo.
    – Yves
    Feb 7 at 10:39






  • 2




    Make the change in the /etc/fstab file askubuntu.com/questions/839355/…
    – Katu
    Feb 7 at 11:00















I don't know if you can do this if you are actually using system which is mounted at /. I would try to do this from live session of Ubuntu. BTW: did you try with sudo?
– Qback
Feb 7 at 10:33





I don't know if you can do this if you are actually using system which is mounted at /. I would try to do this from live session of Ubuntu. BTW: did you try with sudo?
– Qback
Feb 7 at 10:33













@Qback Yeah, I mount with sudo.
– Yves
Feb 7 at 10:39




@Qback Yeah, I mount with sudo.
– Yves
Feb 7 at 10:39




2




2




Make the change in the /etc/fstab file askubuntu.com/questions/839355/…
– Katu
Feb 7 at 11:00




Make the change in the /etc/fstab file askubuntu.com/questions/839355/…
– Katu
Feb 7 at 11:00















active

oldest

votes











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',
convertImagesToLinks: true,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1003833%2fhow-to-remount-the-filesystem-with-read-only-permission%23new-answer', 'question_page');

);

Post as a guest



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes















 

draft saved


draft discarded















































 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1003833%2fhow-to-remount-the-filesystem-with-read-only-permission%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

pylint3 and pip3 broken

Missing snmpget and snmpwalk

How to enroll fingerprints to Ubuntu 17.10 with VFS491