ok everything went fine as too using
sudo mkdir /target sudo bash mount /dev/md126p5 /target cd /target mount -t proc proc proc/ mount -t sysfs sys sys/ mount -o bind /dev dev/ cp /etc/resolv.conf /target/etc/ chroot . apt-get mdadm grub2
I should have copied the first time, the output. I am sorry I didn't. But windows still boots up. No grub menu or anything.
But I went to reconfigure grub again but this is the end result.
ubuntu@ubuntu:~$ sudo mkdir /target ubuntu@ubuntu:~$ sudo bash root@ubuntu:~# mount /dev/md126p5 /target root@ubuntu:~# cd /target root@ubuntu:/target# mount -t proc proc proc/ root@ubuntu:/target# mount -t sysfs sys sys/ root@ubuntu:/target# mount -o bind /dev dev/ root@ubuntu:/target# cp /etc/resolv.conf /target/etc/ root@ubuntu:/target# chroot . root@ubuntu:/# apt-get install mdadm grub2 Reading package lists... Done Building dependency tree Reading state information... Done mdadm is already the newest version. grub2 is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 106 not upgraded. root@ubuntu:/#
ok everything went fine as too using
sudo mkdir /target
sudo bash
mount /dev/md126p5 /target
cd /target
mount -t proc proc proc/
mount -t sysfs sys sys/
mount -o bind /dev dev/
cp /etc/resolv.conf /target/etc/
chroot .
apt-get mdadm grub2
I should have copied the first time, the output. I am sorry I didn't. But windows still boots up. No grub menu or anything.
But I went to reconfigure grub again but this is the end result.
ubuntu@ubuntu:~$ sudo mkdir /target /target# mount -t proc proc proc/ /target# mount -t sysfs sys sys/ /target# mount -o bind /dev dev/ /target# cp /etc/resolv.conf /target/etc/ /target# chroot .
ubuntu@ubuntu:~$ sudo bash
root@ubuntu:~# mount /dev/md126p5 /target
root@ubuntu:~# cd /target
root@ubuntu:
root@ubuntu:
root@ubuntu:
root@ubuntu:
root@ubuntu:
root@ubuntu:/# apt-get install mdadm grub2
Reading package lists... Done
Building dependency tree
Reading state information... Done
mdadm is already the newest version.
grub2 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 106 not upgraded.
root@ubuntu:/#