Root Partition Mounted Read-Only after Cloning
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
I have made a clone of a webserver system disk (Debian 8) using Clonezilla. On booting I got this error:
No OS Found
All the files seemed fine and the problem turned out to be the MBR. The disk originally had a different distro on it. Although Clonezilla reported that it had copied the MBR over, the old MBR remained. I replaced the MBR using Debian Rescue and the system booted but the root partition mounts readonly. The fstab
mount option is errors=remount-ro
, fsck
reports the partition as Clean
.
This then causes randon-seed
and UTMP
failures.
Where should I be looking for the error?
debian mount
add a comment |Â
up vote
0
down vote
favorite
I have made a clone of a webserver system disk (Debian 8) using Clonezilla. On booting I got this error:
No OS Found
All the files seemed fine and the problem turned out to be the MBR. The disk originally had a different distro on it. Although Clonezilla reported that it had copied the MBR over, the old MBR remained. I replaced the MBR using Debian Rescue and the system booted but the root partition mounts readonly. The fstab
mount option is errors=remount-ro
, fsck
reports the partition as Clean
.
This then causes randon-seed
and UTMP
failures.
Where should I be looking for the error?
debian mount
No fsck errors, all mountpoints there? Can you add more technical details?
â Rui F Ribeiro
Mar 15 at 12:43
Have you triedmount -o remount,rw /dev/sda /
(assuming root is on /dev/sda...)
â Helio
Mar 15 at 14:18
Already done that but it doesn't fix anything in the boot process, still mounts ro
â Sabreur
Mar 16 at 9:04
What details would you like. @RuiFRibeiro
â Sabreur
Mar 16 at 9:09
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I have made a clone of a webserver system disk (Debian 8) using Clonezilla. On booting I got this error:
No OS Found
All the files seemed fine and the problem turned out to be the MBR. The disk originally had a different distro on it. Although Clonezilla reported that it had copied the MBR over, the old MBR remained. I replaced the MBR using Debian Rescue and the system booted but the root partition mounts readonly. The fstab
mount option is errors=remount-ro
, fsck
reports the partition as Clean
.
This then causes randon-seed
and UTMP
failures.
Where should I be looking for the error?
debian mount
I have made a clone of a webserver system disk (Debian 8) using Clonezilla. On booting I got this error:
No OS Found
All the files seemed fine and the problem turned out to be the MBR. The disk originally had a different distro on it. Although Clonezilla reported that it had copied the MBR over, the old MBR remained. I replaced the MBR using Debian Rescue and the system booted but the root partition mounts readonly. The fstab
mount option is errors=remount-ro
, fsck
reports the partition as Clean
.
This then causes randon-seed
and UTMP
failures.
Where should I be looking for the error?
debian mount
edited Mar 15 at 13:30
galoget
36319
36319
asked Mar 15 at 12:04
Sabreur
11
11
No fsck errors, all mountpoints there? Can you add more technical details?
â Rui F Ribeiro
Mar 15 at 12:43
Have you triedmount -o remount,rw /dev/sda /
(assuming root is on /dev/sda...)
â Helio
Mar 15 at 14:18
Already done that but it doesn't fix anything in the boot process, still mounts ro
â Sabreur
Mar 16 at 9:04
What details would you like. @RuiFRibeiro
â Sabreur
Mar 16 at 9:09
add a comment |Â
No fsck errors, all mountpoints there? Can you add more technical details?
â Rui F Ribeiro
Mar 15 at 12:43
Have you triedmount -o remount,rw /dev/sda /
(assuming root is on /dev/sda...)
â Helio
Mar 15 at 14:18
Already done that but it doesn't fix anything in the boot process, still mounts ro
â Sabreur
Mar 16 at 9:04
What details would you like. @RuiFRibeiro
â Sabreur
Mar 16 at 9:09
No fsck errors, all mountpoints there? Can you add more technical details?
â Rui F Ribeiro
Mar 15 at 12:43
No fsck errors, all mountpoints there? Can you add more technical details?
â Rui F Ribeiro
Mar 15 at 12:43
Have you tried
mount -o remount,rw /dev/sda /
(assuming root is on /dev/sda...)â Helio
Mar 15 at 14:18
Have you tried
mount -o remount,rw /dev/sda /
(assuming root is on /dev/sda...)â Helio
Mar 15 at 14:18
Already done that but it doesn't fix anything in the boot process, still mounts ro
â Sabreur
Mar 16 at 9:04
Already done that but it doesn't fix anything in the boot process, still mounts ro
â Sabreur
Mar 16 at 9:04
What details would you like. @RuiFRibeiro
â Sabreur
Mar 16 at 9:09
What details would you like. @RuiFRibeiro
â Sabreur
Mar 16 at 9:09
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
0
down vote
Check your /etc/fstab
, it often contains UUID's. There's a program called blkid
which allows you to retrieve those of partitions of the clone.
Clonezilla made a dogs dinner of the UUID translation, it translated the root uuid ok but left the swap uuid from the source drive, I corrected it manually after a 'remount-ro
â Sabreur
Mar 16 at 9:07
I've never managed to get the UUID's working, perhaps because I always compile my own kernel. I always replace them in my /etc/fstab by the old "/dev/sdx". And I lived happily ever after.
â Gerard H. Pille
Mar 16 at 9:33
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
Check your /etc/fstab
, it often contains UUID's. There's a program called blkid
which allows you to retrieve those of partitions of the clone.
Clonezilla made a dogs dinner of the UUID translation, it translated the root uuid ok but left the swap uuid from the source drive, I corrected it manually after a 'remount-ro
â Sabreur
Mar 16 at 9:07
I've never managed to get the UUID's working, perhaps because I always compile my own kernel. I always replace them in my /etc/fstab by the old "/dev/sdx". And I lived happily ever after.
â Gerard H. Pille
Mar 16 at 9:33
add a comment |Â
up vote
0
down vote
Check your /etc/fstab
, it often contains UUID's. There's a program called blkid
which allows you to retrieve those of partitions of the clone.
Clonezilla made a dogs dinner of the UUID translation, it translated the root uuid ok but left the swap uuid from the source drive, I corrected it manually after a 'remount-ro
â Sabreur
Mar 16 at 9:07
I've never managed to get the UUID's working, perhaps because I always compile my own kernel. I always replace them in my /etc/fstab by the old "/dev/sdx". And I lived happily ever after.
â Gerard H. Pille
Mar 16 at 9:33
add a comment |Â
up vote
0
down vote
up vote
0
down vote
Check your /etc/fstab
, it often contains UUID's. There's a program called blkid
which allows you to retrieve those of partitions of the clone.
Check your /etc/fstab
, it often contains UUID's. There's a program called blkid
which allows you to retrieve those of partitions of the clone.
edited Mar 15 at 13:31
galoget
36319
36319
answered Mar 15 at 12:09
Gerard H. Pille
1,169212
1,169212
Clonezilla made a dogs dinner of the UUID translation, it translated the root uuid ok but left the swap uuid from the source drive, I corrected it manually after a 'remount-ro
â Sabreur
Mar 16 at 9:07
I've never managed to get the UUID's working, perhaps because I always compile my own kernel. I always replace them in my /etc/fstab by the old "/dev/sdx". And I lived happily ever after.
â Gerard H. Pille
Mar 16 at 9:33
add a comment |Â
Clonezilla made a dogs dinner of the UUID translation, it translated the root uuid ok but left the swap uuid from the source drive, I corrected it manually after a 'remount-ro
â Sabreur
Mar 16 at 9:07
I've never managed to get the UUID's working, perhaps because I always compile my own kernel. I always replace them in my /etc/fstab by the old "/dev/sdx". And I lived happily ever after.
â Gerard H. Pille
Mar 16 at 9:33
Clonezilla made a dogs dinner of the UUID translation, it translated the root uuid ok but left the swap uuid from the source drive, I corrected it manually after a 'remount-ro
â Sabreur
Mar 16 at 9:07
Clonezilla made a dogs dinner of the UUID translation, it translated the root uuid ok but left the swap uuid from the source drive, I corrected it manually after a 'remount-ro
â Sabreur
Mar 16 at 9:07
I've never managed to get the UUID's working, perhaps because I always compile my own kernel. I always replace them in my /etc/fstab by the old "/dev/sdx". And I lived happily ever after.
â Gerard H. Pille
Mar 16 at 9:33
I've never managed to get the UUID's working, perhaps because I always compile my own kernel. I always replace them in my /etc/fstab by the old "/dev/sdx". And I lived happily ever after.
â Gerard H. Pille
Mar 16 at 9:33
add a comment |Â
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
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f430382%2froot-partition-mounted-read-only-after-cloning%23new-answer', 'question_page');
);
Post as a guest
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
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
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
No fsck errors, all mountpoints there? Can you add more technical details?
â Rui F Ribeiro
Mar 15 at 12:43
Have you tried
mount -o remount,rw /dev/sda /
(assuming root is on /dev/sda...)â Helio
Mar 15 at 14:18
Already done that but it doesn't fix anything in the boot process, still mounts ro
â Sabreur
Mar 16 at 9:04
What details would you like. @RuiFRibeiro
â Sabreur
Mar 16 at 9:09