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?

  • No fsck errors, all mountpoints there? Can you add more technical details? – Rui F Ribeiro Mar 15 '18 at 12:43
  • Have you tried mount -o remount,rw /dev/sda / (assuming root is on /dev/sda...) – Helio Mar 15 '18 at 14:18
  • Already done that but it doesn't fix anything in the boot process, still mounts ro – Sabreur Mar 16 '18 at 9:04
  • What details would you like. @RuiFRibeiro – Sabreur Mar 16 '18 at 9:09

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 '18 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 '18 at 9:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.