mount LUKS encrypted partition as read write The 2019 Stack Overflow Developer Survey Results Are In Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)unable to mount windows partitionMount LUKS encrypted hard drive at bootNot able to write to pendrivenbd-client Fsync errorFilesystem curruption / Remounted as read-onlydd partition into file on block device level encrypted driveHow to recover my LUKS partition after this failed resize operation?Where should I add to an additional partition?I can't write (only read) on USB device encrypted with BitlockerWhy remounting root file system takes a lot of time?
Student Loan from years ago pops up and is taking my salary
Would an alien lifeform be able to achieve space travel if lacking in vision?
Working through the single responsibility principle (SRP) in Python when calls are expensive
Is it ethical to upload a automatically generated paper to a non peer-reviewed site as part of a larger research?
Can the Right Ascension and Argument of Perigee of a spacecraft's orbit keep varying by themselves with time?
What happens to a Warlock's expended Spell Slots when they gain a Level?
Can the DM override racial traits?
My body leaves; my core can stay
How to make Illustrator type tool selection automatically adapt with text length
Word to describe a time interval
Is there a writing software that you can sort scenes like slides in PowerPoint?
Do ℕ, mathbbN, BbbN, symbbN effectively differ, and is there a "canonical" specification of the naturals?
Can each chord in a progression create its own key?
Button changing its text & action. Good or terrible?
US Healthcare consultation for visitors
Are spiders unable to hurt humans, especially very small spiders?
Word for: a synonym with a positive connotation?
Using dividends to reduce short term capital gains?
How did passengers keep warm on sail ships?
Can withdrawing asylum be illegal?
Can we generate random numbers using irrational numbers like π and e?
Drawing vertical/oblique lines in Metrical tree (tikz-qtree, tipa)
Make it rain characters
Mortgage adviser recommends a longer term than necessary combined with overpayments
mount LUKS encrypted partition as read write
The 2019 Stack Overflow Developer Survey Results Are In
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)unable to mount windows partitionMount LUKS encrypted hard drive at bootNot able to write to pendrivenbd-client Fsync errorFilesystem curruption / Remounted as read-onlydd partition into file on block device level encrypted driveHow to recover my LUKS partition after this failed resize operation?Where should I add to an additional partition?I can't write (only read) on USB device encrypted with BitlockerWhy remounting root file system takes a lot of time?
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I have img file that's contains LUKS encrypted image.
I successfully mount the encrypted partition, but it's mount as read-only
what I do is:
sudo losetup -P /dev/loop0 myimg.img
udisksctl unlock -b /dev/loop0p1
mount /dev/dm-0 /mnt
mount:/dev/dm-0 is write-protected, mounting read-only
I tried to mount using the following:
mount -o remount,rw /dev/dm-0 /mnt
mount: /mnt not mounted or bad option
In some cases useful info is found is syslog - try
dmesg | tail or so.
in dmesg i got:
EXT$-fs (dm-0): mounted filesystem with ordered data mode. Opts:(null)
or
mount -o remount,rw /dev/dm-0
mount: cannot remount /dev/dm-0 read-write, is write-protected
also I tried to use e2fsck as root:
e2fsck /dev/dm-0
e2fsck: Operation not permitted while trying to open /dev/dm-0
You must r/w access to the filesystem or be root
So how I can get write access to this partition ?
mount encryption luks
New contributor
add a comment |
I have img file that's contains LUKS encrypted image.
I successfully mount the encrypted partition, but it's mount as read-only
what I do is:
sudo losetup -P /dev/loop0 myimg.img
udisksctl unlock -b /dev/loop0p1
mount /dev/dm-0 /mnt
mount:/dev/dm-0 is write-protected, mounting read-only
I tried to mount using the following:
mount -o remount,rw /dev/dm-0 /mnt
mount: /mnt not mounted or bad option
In some cases useful info is found is syslog - try
dmesg | tail or so.
in dmesg i got:
EXT$-fs (dm-0): mounted filesystem with ordered data mode. Opts:(null)
or
mount -o remount,rw /dev/dm-0
mount: cannot remount /dev/dm-0 read-write, is write-protected
also I tried to use e2fsck as root:
e2fsck /dev/dm-0
e2fsck: Operation not permitted while trying to open /dev/dm-0
You must r/w access to the filesystem or be root
So how I can get write access to this partition ?
mount encryption luks
New contributor
This does not appear to be an issue withmount
, the device is already write protected according to the first output. Now the question becomes why is/dev/dm-0
write protected?
– v010dya
2 days ago
add a comment |
I have img file that's contains LUKS encrypted image.
I successfully mount the encrypted partition, but it's mount as read-only
what I do is:
sudo losetup -P /dev/loop0 myimg.img
udisksctl unlock -b /dev/loop0p1
mount /dev/dm-0 /mnt
mount:/dev/dm-0 is write-protected, mounting read-only
I tried to mount using the following:
mount -o remount,rw /dev/dm-0 /mnt
mount: /mnt not mounted or bad option
In some cases useful info is found is syslog - try
dmesg | tail or so.
in dmesg i got:
EXT$-fs (dm-0): mounted filesystem with ordered data mode. Opts:(null)
or
mount -o remount,rw /dev/dm-0
mount: cannot remount /dev/dm-0 read-write, is write-protected
also I tried to use e2fsck as root:
e2fsck /dev/dm-0
e2fsck: Operation not permitted while trying to open /dev/dm-0
You must r/w access to the filesystem or be root
So how I can get write access to this partition ?
mount encryption luks
New contributor
I have img file that's contains LUKS encrypted image.
I successfully mount the encrypted partition, but it's mount as read-only
what I do is:
sudo losetup -P /dev/loop0 myimg.img
udisksctl unlock -b /dev/loop0p1
mount /dev/dm-0 /mnt
mount:/dev/dm-0 is write-protected, mounting read-only
I tried to mount using the following:
mount -o remount,rw /dev/dm-0 /mnt
mount: /mnt not mounted or bad option
In some cases useful info is found is syslog - try
dmesg | tail or so.
in dmesg i got:
EXT$-fs (dm-0): mounted filesystem with ordered data mode. Opts:(null)
or
mount -o remount,rw /dev/dm-0
mount: cannot remount /dev/dm-0 read-write, is write-protected
also I tried to use e2fsck as root:
e2fsck /dev/dm-0
e2fsck: Operation not permitted while trying to open /dev/dm-0
You must r/w access to the filesystem or be root
So how I can get write access to this partition ?
mount encryption luks
mount encryption luks
New contributor
New contributor
New contributor
asked 2 days ago
Mr.mbMr.mb
61
61
New contributor
New contributor
This does not appear to be an issue withmount
, the device is already write protected according to the first output. Now the question becomes why is/dev/dm-0
write protected?
– v010dya
2 days ago
add a comment |
This does not appear to be an issue withmount
, the device is already write protected according to the first output. Now the question becomes why is/dev/dm-0
write protected?
– v010dya
2 days ago
This does not appear to be an issue with
mount
, the device is already write protected according to the first output. Now the question becomes why is /dev/dm-0
write protected?– v010dya
2 days ago
This does not appear to be an issue with
mount
, the device is already write protected according to the first output. Now the question becomes why is /dev/dm-0
write protected?– v010dya
2 days ago
add a comment |
0
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',
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
);
);
Mr.mb is a new contributor. Be nice, and check out our Code of Conduct.
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%2f1132629%2fmount-luks-encrypted-partition-as-read-write%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Mr.mb is a new contributor. Be nice, and check out our Code of Conduct.
Mr.mb is a new contributor. Be nice, and check out our Code of Conduct.
Mr.mb is a new contributor. Be nice, and check out our Code of Conduct.
Mr.mb is a new contributor. Be nice, and check out our Code of Conduct.
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%2f1132629%2fmount-luks-encrypted-partition-as-read-write%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
This does not appear to be an issue with
mount
, the device is already write protected according to the first output. Now the question becomes why is/dev/dm-0
write protected?– v010dya
2 days ago