Root Partition Mounted Read-Only after Cloning

The name of the pictureThe name of the pictureThe name of the pictureClash 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?







share|improve this question






















  • 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














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?







share|improve this question






















  • 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












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?







share|improve this question














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?









share|improve this question













share|improve this question




share|improve this question








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 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
















  • 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















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










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.






share|improve this answer






















  • 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










Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
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',
convertImagesToLinks: false,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);








 

draft saved


draft discarded


















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






























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.






share|improve this answer






















  • 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














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.






share|improve this answer






















  • 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












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.






share|improve this answer














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.







share|improve this answer














share|improve this answer



share|improve this answer








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
















  • 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












 

draft saved


draft discarded


























 


draft saved


draft discarded














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













































































Popular posts from this blog

How to check contact read email or not when send email to Individual?

Displaying single band from multi-band raster using QGIS

How many registers does an x86_64 CPU actually have?