Today i sucessfully installed Debian Sid on chroot in my Debian Sarge machine :)
Here is the procedeure i followed from
http://www.debian.org/doc/manuals/reference/ch-tips.en.html#s-chroot
See what i do:
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 /sid-root/proc proc none 0 0" >> /etc/fstab
main # mount proc-sid /sid-root/proc -t proc
main # cp /etc/hosts /sid-root/etc/hosts
main # chroot /sid-root /bin/bash
chroot # cd /dev; /sbin/MAKEDEV generic ; cd -
chroot # apt-setup # set-up /etc/apt/sources.list
chroot # vi /etc/apt/sources.list # point the source to unstable
It give's me a total debian Sid system with only base packages.
main # echo "8:23:respawn:/usr/sbin/chroot /sid-root " "/sbin/getty 38400 tty8" >> /etc/inittab
main # init q # reload init
It makes the login system in tty8 (no need to chroot everytime)
main # cp /etc/X11/XF86Config-4 /sid-root/etc/X11/XF86Config-4
main # chroot /sid-root # or use chroot console
chroot # cd /dev; /sbin/MAKEDEV generic ; cd -
chroot # apt-get install gdm gnome x-window-system
chroot # vi /etc/gdm/gdm.conf # do s/vt7/vt9/ in [servers] section
chroot # /etc/init.d/gdm start
Now, my system is ready to work with Debian Sid with Graphical manager.
Source:
http://www.debian.org/doc/manuals/reference/ch-tips.en.html#s-chroot
So now 2 linux distribution is runing at time. Debian Sarge on tty7 and Debian Sid on tty9
2 comments:
Good fill someone in on and this post helped me alot in my college assignement. Gratefulness you seeking your information.
You could easily be making money online in the undercover world of [URL=http://www.www.blackhatmoneymaker.com]blackhat blog[/URL], It's not a big surprise if you don't know what blackhat is. Blackhat marketing uses alternative or little-understood methods to generate an income online.
Post a Comment