Il tuo IP:

38.107.191.80
Installare una Debian-Ubuntu in chroot con debootstrap
Valutazione attuale: / 1
ScarsoOttimo 
Scritto da Federica   
Lunedì 16 Aprile 2007 10:48

To setup a sarge system:
# debootstrap sarge ./sarge-chroot http://ftp.debian.org/debian
# debootstrap sarge ./sarge-chroot file:///PATH_TO_LOCAL_MIRROR/debian

Full process to create a complete Debian installation of sid (unstable):

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 ]

 

 

Argomenti correlati: Linux gestione installazione

+/-
Commenta
Nome:
Email:
 
Titolo:
UBBCode:
[b] [i] [u] [url] [quote] [code] [img] 
 
 
:angry::0:confused::cheer:B):evil::silly::dry::lol::kiss::D:pinch:
:(:shock::X:side::):P:unsure::woohoo::huh::whistle:;):s
:!::?::idea::arrow:
 
Please input the anti-spam code that you can read in the image.
+/- Commenti
Nuovo

our Copyright

 
Dario&Federica
Hosting neomediatech