Advertisement
Guest User

Untitled

a guest
Aug 21st, 2014
287
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. lubuntu@root # mount -t ext3 /dev/xvda2 /mnt/xvda2
  2. lubuntu@root # mount -t ext3 /dev/xvda1 /mnt/xvda2/boot
  3. lubuntu@root # mount -o bind /dev/ /mnt/xvda2/dev
  4. lubuntu@root # mount -o bind /sys/ /mnt/xvda2/sys
  5. lubuntu@root # mount -o bind /proc/ /mnt/xvda2/proc
  6. lubuntu@root/# chroot /mnt/xvda2
  7. lubuntu@root/# update-initramfs -u -k '2.6.32-5-amd64'
  8. lubuntu@root/# grub-install /dev/xvda
  9. lubuntu@root/# update-grub
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement