I get errors. mint@mint ~ $ sudo mdadm --assemble --scan mdadm: only give one device per ARRAY line: /dev/md/Samsung and 840 mdadm: only give one device per ARRAY line: /dev/md/Samsung and PROS mdadm: Container /dev/md/imsm0 has been assembled with 2 drives mdadm: Started /dev/md/Samsung with 2 devices mint@mint ~ $ sudo bash mint ~ # mount /dev/md126p5 /target mount: mount point /target does not exist mint ~ # mkdir /target mint ~ # mount /dev/md126p5 /target mint ~ # cd target bash: cd: target: No such file or directory mint ~ # cd /target mint target # mount -t proc proc proc/ mint target # mount -t sysfs sys sys/ mint target # mount -o bind /dev dev/ mint target # chroot . mint / # apt-get install mdadm grub2 Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: grub-gfxpayload-lists grub-pc grub-pc-bin Suggested packages: desktop-base Recommended packages: default-mta mail-transport-agent The following packages will be REMOVED: grub-efi-amd64 grub-efi-amd64-signed The following NEW packages will be installed: grub-gfxpayload-lists grub-pc grub-pc-bin grub2 mdadm 0 upgraded, 5 newly installed, 2 to remove and 273 not upgraded. Need to get 1,421 kB of archives. After this operation, 1,519 kB of additional disk space will be used. Do you want to continue? [Y/n] y Err http://archive.ubuntu.com/ubuntu/ trusty-updates/main grub-pc-bin amd64 2.02~beta2-9ubuntu1.3 Could not resolve 'archive.ubuntu.com' Err http://archive.ubuntu.com/ubuntu/ trusty-updates/main grub-pc amd64 2.02~beta2-9ubuntu1.3 Could not resolve 'archive.ubuntu.com' Err http://archive.ubuntu.com/ubuntu/ trusty/main grub-gfxpayload-lists amd64 0.6 Could not resolve 'archive.ubuntu.com' Err http://archive.ubuntu.com/ubuntu/ trusty-updates/main mdadm amd64 3.2.5-5ubuntu4.2 Could not resolve 'archive.ubuntu.com' Err http://archive.ubuntu.com/ubuntu/ trusty-updates/universe grub2 amd64 2.02~beta2-9ubuntu1.3 Could not resolve 'archive.ubuntu.com' E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/g/grub2/grub-pc-bin_2.02~beta2-9ubuntu1.3_amd64.deb Could not resolve 'archive.ubuntu.com' E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/g/grub2/grub-pc_2.02~beta2-9ubuntu1.3_amd64.deb Could not resolve 'archive.ubuntu.com' E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/g/grub-gfxpayload-lists/grub-gfxpayload-lists_0.6_amd64.deb Could not resolve 'archive.ubuntu.com' E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/m/mdadm/mdadm_3.2.5-5ubuntu4.2_amd64.deb Could not resolve 'archive.ubuntu.com' E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/universe/g/grub2/grub2_2.02~beta2-9ubuntu1.3_amd64.deb Could not resolve 'archive.ubuntu.com' E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? mint / # sudo apt-get install mdadm grub2 sudo: unable to resolve host mint Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: grub-gfxpayload-lists grub-pc grub-pc-bin Suggested packages: desktop-base Recommended packages: default-mta mail-transport-agent The following packages will be REMOVED: grub-efi-amd64 grub-efi-amd64-signed The following NEW packages will be installed: grub-gfxpayload-lists grub-pc grub-pc-bin grub2 mdadm 0 upgraded, 5 newly installed, 2 to remove and 273 not upgraded. Need to get 1,421 kB of archives. After this operation, 1,519 kB of additional disk space will be used. Do you want to continue? [Y/n] y Err http://archive.ubuntu.com/ubuntu/ trusty-updates/main grub-pc-bin amd64 2.02~beta2-9ubuntu1.3 Could not resolve 'archive.ubuntu.com' Err http://archive.ubuntu.com/ubuntu/ trusty-updates/main grub-pc amd64 2.02~beta2-9ubuntu1.3 Could not resolve 'archive.ubuntu.com' Err http://archive.ubuntu.com/ubuntu/ trusty/main grub-gfxpayload-lists amd64 0.6 Could not resolve 'archive.ubuntu.com' Err http://archive.ubuntu.com/ubuntu/ trusty-updates/main mdadm amd64 3.2.5-5ubuntu4.2 Could not resolve 'archive.ubuntu.com' Err http://archive.ubuntu.com/ubuntu/ trusty-updates/universe grub2 amd64 2.02~beta2-9ubuntu1.3 Could not resolve 'archive.ubuntu.com' E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/g/grub2/grub-pc-bin_2.02~beta2-9ubuntu1.3_amd64.deb Could not resolve 'archive.ubuntu.com' E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/g/grub2/grub-pc_2.02~beta2-9ubuntu1.3_amd64.deb Could not resolve 'archive.ubuntu.com' E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/g/grub-gfxpayload-lists/grub-gfxpayload-lists_0.6_amd64.deb Could not resolve 'archive.ubuntu.com' E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/m/mdadm/mdadm_3.2.5-5ubuntu4.2_amd64.deb Could not resolve 'archive.ubuntu.com' E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/universe/g/grub2/grub2_2.02~beta2-9ubuntu1.3_amd64.deb Could not resolve 'archive.ubuntu.com' E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?