1. # debootstrap --arch i386 squeeze /mnt http://ftp.halifax.rwth-aachen.de/debian
  2.  
  3. # chroot /mnt
  4. # apt-get install linux-image-686
  5. # apt-get install grub2
  6. (answer to Continue without installing GRUB? with Yes)
  7.  
  8. # passwd root
  9. (put any password you want. If you miss this step, you
  10.  are not logging into your new system ;)
  11. # exit
  12.  
  13. # mount -o bind /dev/ /mnt/pendrive/dev/
  14. # mount -o bind /proc/ /mnt/pendrive/proc/
  15. # mount -o bind /sys/ /mnt/pendrive/sys/
  16.  
  17. # chroot /mnt
  18. # grub-install /dev/sdc
  19. Installation finished. No error reported.
  20.  
  21. or not from chroot:
  22. grub-install --force --removable --boot-directory=/mnt/boot /dev/sdc

Reply to "Untitled"

Here you can reply to the paste above