Mount partition to be read only
Tofloor
poster avatar
dxpe
deepin
2018-01-05 03:55
Author
Edited by dxpe at 2018-1-4 19:55

I keep getting this dialog at start-up.



I did as advised but I still get it.
Reply Favorite View the author
All Replies
ARWhooo
deepin
2018-01-05 05:22
#1
Well, the problem you've facing right now is because of the disk lock down caused by Windows. Maybe you should try Power Off instead of Reboot, and google how to disable Windows's 'Fast Boot' technique.
Reply View the author
dxpe
deepin
2018-01-05 07:40
#2
Edited by dxpe at 2018-1-4 23:48
https://bbs.deepin.org/post/151159
Well, the problem you've facing right now is because of the disk lock down caused by Windows. Maybe  ...

I did disable it, and still got it. I'll try to shut down instead of reboot to see what happens
EDIT:

After the shut down, I get the same dialog but for my other hard drive (which doesn't have Windows installed on it).


Reply View the author
duanyao
deepin
2018-01-05 20:09
#3
https://bbs.deepin.org/post/151159
Edited by dxpe at 2018-1-4 23:48

Run `mount | grep sdc1` and post the output.
Reply View the author
dxpe
deepin
2018-01-05 21:28
#4
https://bbs.deepin.org/post/151159
Run `mount | grep sdc1` and post the output.
  1. /dev/sdc1 on /media/dxpe/Data type fuseblk (ro,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096,uhelper=udisks2)
Copy the Code
Reply View the author
duanyao
deepin
2018-01-05 21:37
#5

Run `sudo fsck /dev/sdc1` and then `sudo mount -o remount,rw  /dev/sdc1`.
Reply View the author
dxpe
deepin
2018-01-05 22:03
#6
Edited by dxpe at 2018-1-5 14:09
https://bbs.deepin.org/post/151159
Run `sudo fsck /dev/sdc1` and then `sudo mount -o remount,rw  /dev/sdc1`.

I did as you said, still the dialog appears at start up.
EDIT: After the dialog about /dev/sdc1, I get the same for dev/sdb2 once again.
Reply View the author
duanyao
deepin
2018-01-05 22:49
#7
https://bbs.deepin.org/post/151159
Edited by dxpe at 2018-1-5 14:09

What's the output of fsck?
Reply View the author
dxpe
deepin
2018-01-06 00:03
#8
Edited by dxpe at 2018-1-5 16:36
https://bbs.deepin.org/post/151159
What's the output of fsck?

Output of "sudo fsck /dev/sdc1":
  1. fsck from util-linux 2.29.2
Copy the Code

Output of "fsck":
  1. fsck from util-linux 2.29.2
  2. e2fsck 1.43.4 (31-Jan-2017)
  3. /dev/sda1 is mounted.
  4. e2fsck: Cannot continue, aborting.
Copy the Code
Reply View the author
duanyao
deepin
2018-01-06 00:09
#9
本帖最后由 duanyao 于 2018-1-5 16:11 编辑
https://bbs.deepin.org/post/151159
sudo fsck /dev/sdc1:

fsck:

Was "sda1" a typo of "sdc1" or "sdb2"?

It should look like this, if it is a NTFS partition:


  1. fsck /dev/sda1
  2. fsck from util-linux 2.29.2
  3. Mounting volume... OK
  4. Processing of $MFT and $MFTMirr completed successfully.
  5. Checking the alternate boot sector... OK
  6. NTFS volume version is 3.1.
  7. NTFS partition /dev/sda1 was processed successfully.
Copy the Code
Reply View the author
dxpe
deepin
2018-01-06 00:25
#10
Edited by dxpe at 2018-1-5 16:29
https://bbs.deepin.org/post/151159
本帖最后由 duanyao 于 2018-1-5 16:11 编辑

Not a typo.
EDIT: This is what happens when I enter gparted.


Reply View the author
duanyao
deepin
2018-01-06 00:29
#11

So why did you fsck sda1 when you have problem with sdc1 and sdb2?
Reply View the author
dxpe
deepin
2018-01-06 00:33
#12
https://bbs.deepin.org/post/151159
So why did you fsck sda1 when you have problem with sdc1 and sdb2?

I didn't.

I ran 'sudo fsck /dev/sdc1' which displayed:"'fsck from util-linux 2.29.2".
Then 'sudo fsck' which displays:
"fsck from util-linux 2.29.2
e2fsck 1.43.4 (31-Jan-2017)
/dev/sda1 is mounted.
e2fsck: Cannot continue, aborting."
Reply View the author
duanyao
deepin
2018-01-06 00:42
#13
https://bbs.deepin.org/post/151159
I didn't.

I ran 'sudo fsck /dev/sdc1' which displayed:"'fsck from util-linux 2.29.2".

I see. Don't run fsck without parameter.
The output of fsck /dev/sdc1 is weired, try this:
sudo fsck.ntfs /dev/sdc1
Reply View the author
dxpe
deepin
2018-01-06 01:05
#14
https://bbs.deepin.org/post/151159
I see. Don't run fsck without parameter.
The output of fsck /dev/sdc1 is weired, try this:
sudo fs ...
  1. sudo: fsck.ntfs: command not found
Copy the Code
Reply View the author
duanyao
deepin
2018-01-06 01:33
#15

Try `sudo ntfsfix /dev/sdc1` instead.
Reply View the author
dxpe
deepin
2018-01-06 02:29
#16
https://bbs.deepin.org/post/151159
Try `sudo ntfsfix /dev/sdc1` instead.
  1. Refusing to operate on read-write mounted device /dev/sdc1.
Copy the Code
Reply View the author
duanyao
deepin
2018-01-06 02:52
#17

`sudo umount /dev/sdc1`, or `sudo mount -o remount,ro  /dev/sdc1` and try again.
Then sdb2.
Reply View the author
dxpe
deepin
2018-01-06 05:33
#18
Edited by dxpe at 2018-1-5 22:22
https://bbs.deepin.org/post/151159
`sudo umount /dev/sdc1`, or `sudo mount -o remount,ro  /dev/sdc1` and try again.
Then sdb2.

After the second command I get this:
  1. mount: /dev/sdc1 not mounted or bad option

  2.        In some cases useful info is found in syslog - try
  3.        dmesg | tail or so.
Copy the Code


EDIT: I'm gonna reinstall my Windows and Deepin, also I'm gonna format my other hard drive. Maybe that will help.
Thank you for you patience and for taking your time to help me.
Reply View the author
duanyao
deepin
2018-01-06 07:47
#19
https://bbs.deepin.org/post/151159
Edited by dxpe at 2018-1-5 22:22

Run one of the two command, not both.
Reply View the author
xiaodao
deepin
2018-05-18 20:26
#20
do you solve the problem?
Reply View the author