boot


Criando sistema debian basico com debootstrap

Postado em 26/06/2008 por Rogerio - Categoria: Dicas Linux - Tags: debian boot debootstrap

  main # cd / ; mkdir /sid-root
  main # debootstrap sid /sid-root http://ftp.debian.org/debian/
  [ ... watch it download the whole system ]
  main # echo "proc /sid-root/proc proc none 0 0" >> /etc/fstab
  main # mount proc /sid-root/proc -t proc
  main # cp /etc/hosts /sid-root/etc/hosts
  main # chroot /sid-root /bin/bash
  chroot # dselect
  [ you may use aptitude, install mc and vim ... ]
  main # echo "8:23:respawn:/usr/sbin/chroot /sid-root " \
  "/sbin/getty 38400 tty8"  >> /etc/inittab
  [ define a login tty that will use this system ]
  main # init q
  [ reload init ]



  Página de 1  


Runtime Sistemas ® - Jaraguá do Sul - SC - 47 9196-3060