How to remount the filesystem with read-only permission


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.
permissions filesystem read-only
add a comment |Â
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.
permissions filesystem read-only
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 withsudo
?
â Qback
Feb 7 at 10:33
@Qback Yeah, Imount
withsudo
.
â 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
add a comment |Â
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.
permissions filesystem read-only
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
permissions filesystem read-only
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 withsudo
?
â Qback
Feb 7 at 10:33
@Qback Yeah, Imount
withsudo
.
â 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
add a comment |Â
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 withsudo
?
â Qback
Feb 7 at 10:33
@Qback Yeah, Imount
withsudo
.
â 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
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
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
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 withsudo
?â Qback
Feb 7 at 10:33
@Qback Yeah, I
mount
withsudo
.â 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