5
1
I am trying to mount my Windows partition at boot. It works fine when Windows is in shutdown, but when Windows is hibernated, it can't be mounted as read/write, and I am sent to the root shell at boot. I tried to solve this by adding errors=remount-ro
to my fstab, to mount it read-only if it can't be mounted as read/write when it is hibernated, but it doesn't work, and I still get an error at boot.
Is there a way to work around this and boot the partition as read/write when possible, but as read-only when it is hibernated?
# <file system> <dir> <type> <options> <dump> <pass>
UUID=1f026730-1640-42fa-b5f6-eca9749b3a98 /boot ext4 defaults 0 2
UUID=2b5c372b-d6d5-4c27-9c3f-5e26ca84d3a7 /home ext4 defaults 0 2
UUID=2c154114-4898-45e6-8455-575e910d8382 / ext4 defaults 0 1
UUID=92041326-03a7-4fdc-9211-c060e83d662e swap swap defaults 0 0
UUID=A28034F38034CF91 /media/win7 ntfs defaults,user,exec,dev,suid,errors=remount-ro 0 0
Yes, I know I have to remove the hiber file to mount it rw, I said that in the question. But I am looking for a solution where I don't have to remove it, and where it is mounted r/w when possible, but r/o when it is hibernated. – BrtH – 2013-04-19T15:21:42.597
But I didn't know about the remove_hiberfile option, so if nothing else comes up I'm afraid I'll have to use that. – BrtH – 2013-04-19T15:31:12.287
If it's an microsoft ntfs drive, you have to play by their rules! – Shabgard – 2013-04-19T21:26:50.957
I don't think you want to use the remove_hiberfile option. I'm fairly certain that using it left my drive in an unsafe state and lead to an irrecoverably damaged Win7 installation. There wasn't any other change that I can remember before it happened that could have been blamed, but I can be 100% sure. – Tyler – 2014-04-03T14:50:05.317