2

I have used rsync to clone all my disks. Then I created partitions and gave them filesystems (ext2). I installed grub. I have done everything that I can think of or what I was able to find on the internet. The system is still not booting :( . What else can I do?

Boot

2
  • Do you change /etc/fstab and other relatet files to your raid from your clone? Is in your distrie a device.map in /boot/grub? If yes you change it too. – user192526 Feb 10 '17 at 12:28
  • I have changed /etc/fstab but i dont know what to do about that raid. And yes i have device.map in /boot/grub. – Radek Pulkrabek Feb 10 '17 at 12:50
0

Mount: could not find filesystem '/ dev / root'
During the boot process, you will mount the filesystem (ext2 in your case).
The attached image will appear to fail to mount ext2.
You will not be able to run ext2's /sbin/init because you have failed to mount ext2 (switchroot: mount failed: No such file or directory)
Please debug that part.
If Initramfs is present, you can debug the init script. (example) Does the device node you want to mount exist?)
I do not know your environment exactly. (Desktop PC or embedded board, ..)
In both cases, however, I think you could not mount the filesystem.
First, check the device node when mounting the filesystem.

2
  • Thanks for answer, but it doesn't make any sense to me. – Radek Pulkrabek Feb 16 '17 at 12:24
  • @Radek Pulkrabek Check the 90th line in the The Init Script entry at http://resources.infosecinstitute.com/luks-and-initramfs/#gref. – DonBit Feb 17 '17 at 0:10
0

You need an adjusted /etc/fstab and grub config on the clone. You can edit it manually or simply use linuxclone, which will make a bootable system replication with just one command, see:

http://fex.belwue.de/linuxclone.html

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.