Assume: Reinstalled grub after windows to boot a raid called Linux
2. Install mdadm and lvm2
3. Probe modules
- $sudo modprobe raid5 dm-mod
- $sudo mdadm --assemble --scan
- $sudo mount /dev/Linux/UbuntuRoot /mnt
- #If you have a seperate /boot
- $sudo mount /dev/Linux/UbuntuBoot /mnt/boot
- $sudo mount --bind /dev /mnt/dev
- $sudo mount --bind /proc /mnt/proc
- $sudo mount --bind /var /mnt/var
- $sudo mount --bind /sys /mnt/sys
- $sudo mount --bind /dev/pts /mnt/dev/pts
7. Copy Internet connection settings to mnt
- $sudo cp /etc/resolv.conf /mnt/etc/
- $sudo chroot /mnt
- $sudo apt-get update
- $sudo apt-get remove grub-pc --purge
- $sudo apt-get install grub-pc
11. Pick which drives to install grub onto
12. $exit
$exit
No comments:
Post a Comment