Ukufaka i-Debian kusuka kwenye i-Distro usebenzisa i-Debootstrap

Ngisanda kufuna ukufometha idiski ebenginayo, bengifuna ukubeka iDebian, yeseva bese ngizama izinto. Iphuzu ngukuthi nganginqena ngempela ukudala i-USB eBootable, bese ngiqala ikhompyutha yami bese ngiqala ukufaka konke.

Futhi ubenezinye izinto okumele azenze. Ngakho-ke ngiqale ukuphenya ukuthi ungayifaka kanjani kusuka kwenye i-Linux, kube sengathi yenziwe kahle. Le yindlela engahlangana ngayo I-Debootstrap.  Futhi ngizochaza kafushane ukuthi ngenze kanjani:

Ukufaka.

Lokhu kuhlala kuncike ekutheni inqubo izokwenziwa kuphi. Mina ngokwesibonelo ngisebenzisa UManjaro. Ngakho-ke kungaba yinto efana nale:

yaourt -S debootstrap

Ukusebenzisa Debian futhi okufanayo, kungaba.

sudo apt-get install debootstrap

Kubalulekile futhi ukwazi ukuthi yini esizoyidinga Chroot.

Iyagijima

Manje ake siqale phansi ibhizinisi. !! Into yokuqala okufanele siyenzeI-er ukuchaza i-clakuyaqabukela ukuthi iyiphi idiski esizoyisebenzisa.

Isibonelo:

Nginamadiski amabili:

Irekhodi lokuqala:  sda  Ihlukaniswe phakathi 4 ingxenye (sda1, sda2, sda3, sda4)

Idiski Yesibili: i-sdb  Yilapho engifakwe khona uhlelo lwami lwesisekelo. Leyo UManjaro.

Kule ndlela yemibono. Ngikhethe idiski  I-SDA kanye nokwahlukanisa sda3

Manje engikwenzayo ukufaka ukwahlukanisa.

Ngakha ifolda lapho ngizoya khona ukwahlukanisa.

sudo mkdir /media/Debian

Manje ngifaka ukwahlukanisa.

sudo mount /dev/sda3 /media/Debian

Faka uhlelo lwesisekelo

Kulesi sinyathelo bese siqhubeka ukufaka uhlelo lwesisekelo se-Debian yethu. Ngalokho siyakwenza.

sudo debootstrap --arch i386 wheezy /media/Debian http://ftp.fr.debian.org/debian

–Arch: Sikhetha ukwakhiwa kwamabhithi angama-32 noma angama-64.

Wheezy:  Lapha sikhetha uhlobo lwe-Debian.

/ media / UDebian: Lapho sibeka khona ukwahlukanisa kwethu.

Okulandelayo sibona ukuthi uhlelo lwethu lwesisekelo luqala ukufaka kanjani.

Izithombe-skrini ezivela ngo-2013-08-16 14:07:05

Lokhu kuthatha imizuzu embalwa kuya ngomkhawulokudonsa

Uma usuqedile sizobona lo mlayezo futhi sizobona ukuthi impela uma amafayela alandiwe:

Izithombe-skrini ezivela ngo-2013-08-16 14:15:35

Izithombe-skrini ezivela ngo-2013-08-16 14:15:55

Ukusetha i-Debian.

Manje okufanele sikwenze "ukungena" kufayela le- Debian. Ngakho-ke singenza ama-oda njengokungathi sise- I-Debian. Sisebenzisa okulandelayo kukhonsoli.

LANG=C.UTF-8 chroot /media/Debian /bin/bash

Ngale ndlela singenza ama-oda avela kukhonsoli I-Debian.

Manje?

Masifake i-kernel! .. Ngalokho, okokuqala sizohlela imithombo.list.

nano /etc/apt/sources.list

Ukukhiqiza injabulo imithombo.luhlu singasebenzisa okulandelayo WEB

Futhi siyabuyekeza.!

apt-get update && sudo apt-get upgrade

Ngakho-ke sibheka inhlamvu esiyithandayo nge:

aptitude search linux-image-

Ngemuva kwalokho sizothola uhlu lwezinhlamvu ezitholakalayo. Endabeni yami ngafaka i-linux-image-3.2.0-4-686-pae

apt-get install linux-image-3.2.0-4-686-pae

Ngalo mqondo besizobe sivele sine-Debian, kepha sizolungisa okuthe xaxa.

Izingxenye Zokufaka.

Ukuhlela ifayela / etc / fstab

nano /etc/fstab

Lokho esizokubeka lapho kuncike kwikhompyutha ngayinye. Endabeni yami ngizokutshela kuphela ukuthi impande "/" iku-sda3 (Lapho ufaka khona iDebian)

Kungaba into efana nale:

"/ Dev / sda3 / ext4 okuzenzakalelayo 0 1"

Futhi manje sigibela kuphela no:

mount -a

Manje sesizokwenza ngokwezifiso uhlelo kancane. Ngomyalo olandelayo silungiselela indawo yesikhathi:

dpkg-reconfigure tzdata

Sizofaka i-ssh (ngizoyiphatha nge-RED kuphela)

apt-get install ssh

Sengeza abasebenzisi futhi siguqulela iphasiwedi ku- izimpande

adduser usuarioprueba
passwd root

Manje simane senza "ukuphuma" ukuze sihlale kukhonsoli yesistimu yemvelo bese sibuyekeza i-grub

sudo update-grub

 

Izithombe-skrini ezivela ngo-2013-08-16 15:03:07

Ukusuka lapha kuqhubeke ungenza noma yikuphi ukumisa osekuvele kukuthanda kwakho. Ungazifaka kanjani ezinye izinsizakalo noma indawo yokuqhafaza.

Ngiyethemba uyakuthanda okuthunyelwe.!

Jabulela.!


Okuqukethwe yi-athikili kunamathela ezimisweni zethu ze izimiso zokuhlelela. Ukubika iphutha chofoza lapha.

Amazwana ayi-12, shiya okwakho

Shiya umbono wakho

Ikheli lakho le ngeke ishicilelwe. Ezidingekayo ibhalwe nge *

*

*

  1. Ubhekele imininingwane: Miguel Ángel Gatón
  2. Inhloso yedatha: Lawula Ugaxekile, ukuphathwa kwamazwana.
  3. Ukusemthethweni: Imvume yakho
  4. Ukuxhumana kwemininingwane: Imininingwane ngeke idluliselwe kubantu besithathu ngaphandle kwesibopho esisemthethweni.
  5. Isitoreji sedatha: Idatabase ebanjwe yi-Occentus Networks (EU)
  6. Amalungelo: Nganoma yisiphi isikhathi ungakhawulela, uthole futhi ususe imininingwane yakho.

  1.   gonzalezmd (# Bik'it Bolom #) kusho

    Umsebenzi omuhle kakhulu.

  2.   Mind kusho

    Hawu! ilusizo kangakanani. Ngizokwenza isivivinyo

  3.   Chaparral kusho

    Kuhle!

  4.   eliotime3000 kusho

    Kuhle kakhulu. I-Debian From Scrarch yabacibisheli.

  5.   yezimg kusho

    Kulungile, baba nephutha

    1.    @NomzamoMbatha kusho

      Lol angisoze ngakwazi ngalelo gama. Ngihlala njalo… NGIHLALA ngiyiphutha. uu

      1.    yezimg kusho

        akunankinga, ngemuva kokuthi enye yama-mods iyilungisile: v

        1.    UManuel de la Fuente kusho

          Yebo, ungakhathazeki ngokusebenzisa isihloli sokupela, yilokho esenzelwe kona, ukukusebenzisela wena, hahaha. 😀

          Kulungile, yilokho kuphela, futhi ngenhlanhla ngiphinde ngathanda umyalo we-Yaourt ngoba akufanele isetshenziswe njengezimpande. 😛

  6.   cristian kusho

    Kuyathakazelisa futhi kuyasebenza kakhulu.

  7.   si84 kusho

    kuyathakazelisa.

  8.   g919v3r kusho

    njengokuhlala kujabulisa ... imvamisa ngikhohlwa masinyane cishe konke engikufundayo futhi ngigcine umqondo ophakathi, kepha kulokhu, angikwazi ukukhipha 'uthango' lwesigaba sesithathu ekhanda lami, kungenjalo umsebenzi omuhle!

    1.    UManuel de la Fuente kusho

      Hahaha, sekuvele kulungisiwe. 😀