Yadda ake 'yantar da sarari a cikin bangaren Boot a cikin Ubuntu

Idan kun taɓa ƙoƙarin girka abubuwan tsaro don kwayar Linux kuma kun sami hanzari da ke nuna cewa babu isasshen sarari a kan faifai kuma yana ba da shawarar ba da sarari a cikin Boot, a cikin waɗannan layin zan nuna muku yadda za ku iya dawo da sarari a cikin fayil ɗin / taya akan Ubuntu kuma an sami rabarwar rarraba ta cire tsofaffin ƙwayayen.

sanya-sarari-bangare-boot-on-Linux Duk lokacin da aka sanya abubuwan kernel, nau'ukan da suka gabata suna nan akan tsarin, sai dai idan mun cire su da hannu. Bayan ɗaukaka abubuwa da yawa na ci gaba, sararin cikin babban fayil ɗin taya na iya zama kaɗan kuma saboda wannan ba zai yiwu a girka sabbin fakiti ba.

Don haka, da farko dole ne mu bayyana dalilin da yasa muka sami sarari a cikin jakar boot. Idan muna da tsarin rabuwa wanda ba a kunna tsarin ba LVM, kuma muna da bangare guda, ba za a sami matsala ba, amma maimakon haka idan muna da tsarin da aka sanya tare da makirci na LVM, babban fayil na / boot yana cikin wani bangare daban kuma tare da taƙaitaccen sarari kuma wannan lokacin zai zo ne kawai lokacin da muka rasa sarari a wannan wurin kuma dole ne mu 'yantar da sarari a can don ci gaba da girka waɗannan sabuntawar tsaro na kwaya.

Gabaɗaya zamu iya amfani da dacewa tare da zaɓi na cire kai tsaye hakan yana ba mu damar gano da cire duk waɗannan tsoffin kunshin da / ko masu dogaro daga tsarin. Zai zama wani abu kamar haka:

$ sudo apt-samun iko

Mafi yawan lokuta wannan umarni yakan magance wannan matsalar ba tare da wata damuwa ba, amma yayin ma'amala da kernels ba haka bane mai sauki, tunda ba koyaushe yake gano waɗancan tsofaffin fakitin ba sannan cire su, kuma dole ne mu bi hanyar ta hannu.

Kafin ɗaukar mataki akan matsalar, dole ne mu gano duk nau'ikan tsohuwar kwaya waɗanda aka adana a cikin tsarinmu ta amfani da wannan lambar.

$ sudodpkg –zabi-zababbun | greplinux-hoto

Nan gaba zan nuna muku misalin sakamakon da tsarin zai bayar, tabbas bai kamata kuyi la'akari da lambobin sigar ba, wadanda zasu canza gwargwadon bayanan kowane tsarin.

Linux-hoto-3.19.0-33-genericdeinstall

Linux-image-3.19.0-37-saiti na asali

Linux-image-3.19.0-39-saiti na asali

Linux-image-3.19.0-41-saiti na asali

Linux-image-karin-3.19.0-33-genericdeinstall

Linux-image-karin-3.19.0-37-generic shigar

Linux-image-karin-3.19.0-39-generic shigar

Linux-image-karin-3.19.0-41-generic shigar

Da zarar mun tabbatar da fakitin da suka danganci tsohuwar sigar, za mu iya fara share su da hannu, a cikin lamarin da aka nuna a sama, su ne fakitocin da suka dace da sigar 3.19.0-33. Saboda dalilan tsaro, yana da kyau a bar akalla nau'ikan 2 kafin na yanzu ko kawai share tsofaffi kuma a kiyaye sauran.

Yanzu, zamu iya yin hakan duka daga tashar, kamar daga manajan kunshin zane, kamar Synaptic ko don masu amfani da Ubuntu Cibiyar Software ta Ubuntu.

Yin amfani da m

Don cire tsohuwar kwaya daga tashar muna aiwatar da umarni mai zuwa.

$ sudo apt-get cire –purge Linux-image-3.19.0-33-generic linux-image-extra-3.19.0-33-generic

Bayan aiwatar da wannan umarnin, tsarin ya riga ya sami isasshen sarari don shigar da sabuntawa masu alaƙa da sabon sigar. Hakanan an bada shawarar sabuntawa mai daukar kayaGrub don haka ya gane daidai da canje-canje da muke yi a cikin sifofin kwaya.

$ sudo sabuntawa-grub

Koyaya, ana yin wannan ta atomatik bayan girka sabuntawar kernel, amma bayan cire kunshin, bai isa a san yadda ake yin sa da hannu ba. Dole ne mu tuna cewa idan muka cire fakitin masu alaƙa da tsofaffin sigar kuma har yanzu akwai sauran wurare don sabbin abubuwan sabuntawa, zamu ci gaba da aiwatar da aikin kuma cire wani sigar.

Amfani da Ubuntu Software Center

Hakanan zamu iya share tsofaffin abubuwan sabuntawa daga mai sarrafa kunshin hoto, don masu amfani da Ubuntu zanyi bayanin yadda ake yinshi ta amfani da Ubuntu Software Centerwanda shine aikace-aikacen da zamu iya sarrafa aikace-aikace da fakiti a cikin Ubuntu.

Idan muka sami dama ga Cibiyar Software ta Ubuntu daga Dash, za mu sami zaɓuɓɓuka da yawa a cikin menu na sama, a can za mu gungura har sai mun sami aikace-aikacen da aka sanya.

ubuntu-software-cibiyar-shigar 1 Idan muna can, za mu je can ƙasa mu danna "nuna (yawa) abubuwan fasaha " A can ne za mu hango abubuwan da ke ciki ta hanyar fakiti kuma saboda haka zai zama da sauƙi a ga adadin fakitin da aka sanya a cikin tsarin. Idan ka buga "Linux" a cikin injin binciken da ke saman, ya kamata ya nuna jerin tare da duk fakitin da ke ɗauke da wannan kalmar kuma waɗanda galibi kunshin ya danganta da kwaya.

ubuntu-software-cibiyar-nuna-fasaha-abubuwa Kunshin da za mu bincika su ne nau'ikan fakiti Linux-hoto-sigar yawan lambobiy Linux-hoto-karin-sigar adadi-gama-gari. Da zarar mun gano su gwargwadon tsoffin lambar hangen nesa, zamu iya share su.

ubuntu-software-cibiyar-kwaya-Linux Wannan duk lokacin da yazo da amfani da Cibiyar Software ta Ubuntu don cire tsofaffin kunshin kernel, amma kuna iya amfani da mai sarrafa kunshin zane da kuka zaba, idan kuna son amfani da Synaptic ko Muon, kuna iya amfani da shi a cikin batun KDE.


Abubuwan da ke cikin labarin suna bin ka'idodinmu na ka'idojin edita. Don yin rahoton kuskure danna a nan.

7 comments, bar naka

Bar tsokaci

Your email address ba za a buga. Bukata filayen suna alama da *

*

*

  1. Mai alhakin bayanan: Miguel Ángel Gatón
  2. Dalilin bayanan: Gudanar da SPAM, gudanar da sharhi.
  3. Halacci: Yarda da yarda
  4. Sadarwar bayanan: Ba za a sanar da wasu bayanan ga wasu kamfanoni ba sai ta hanyar wajibcin doka.
  5. Ajiye bayanai: Bayanin yanar gizo wanda Occentus Networks (EU) suka dauki nauyi
  6. Hakkoki: A kowane lokaci zaka iyakance, dawo da share bayanan ka.

  1.   Nasher_87 (ARG) m

    Mafi kyawun koyarwa sosai ga mutane irina waɗanda basa matukar son Terminal.
    Tunda ina tambayarku wani abu, A shirye nake na tsara na'urar don girka Ubuntu 16.04; to shin ya zama dole a sanya rabe zuwa / boot? Na fadi haka ne saboda abu na farko da suka fada min shi ne muhimmin bangare na / (tushe) da / gida, sannan a kara guda daya ga Swap kuma yanzu, sai na gano cewa daya na / taya ma ya zama dole, ina bada shawarar ya zama 500-550 Mb wannan tare da hakan zai isa
    Gaisuwa da tuni mun gode sosai

    1.    zakaria m

      Ba lallai ba ne don ƙirƙirar ɓangaren taya, amma duk ya dogara da kowane mutum ...

      gaisuwa

      1.    Nasher_87 (ARG) m

        Ah da kyau, duk mai kyau, shine ina so in zama mai amfani da Linux mai kyau tare da abin da ya ƙunshe da ba ni shawara don ingantaccen aiki na rarrabawa

  2.   Ƙungiya m

    Bayani mai amfani sosai don kawar da tsohuwar kwaya da samun sarari. Kwanan nan na kasance ina amfani da shirin Ubuntu Tweak don share cache da sauran datti da aka tara kuma a baya na yi amfani da waɗannan umarnin, waɗanda har zuwa yau ban sani ba ko za a sabunta su. Wato:
    "Sudo dpkg -l | grep Linux-hoto »
    "Sudo apt-get cire –purge linux-image-xxxxxx-xx-janar"
    Godiya ga bayanin.

  3.   Gregory ros m

    Labari mai kyau, ban san aikin zaɓi na autoremove ba, gabaɗaya na fi son kada in yi amfani da tashar (ni ɗan ragowa ne) don haka na yi watsi da duk waɗannan zaɓuɓɓukan. Amma game da Cibiyar Software ta Ubunto da kyar nake amfani da ita, na saba da Synaptic kuma shine nake amfani da shi, don haka ba ni da shi sosai.

    1.    robertucho m

      haka ne, babu matsala, zaku iya amfani da manajan kunshin abubuwan da kuka fi so

  4.   Sebastian m

    Barka dai ... a harkaina na saki kusan 23 mb .. Yanzu haka na sanya sigar xubuntu. abin da nayi yayi dai-dai danna kan jakar boot, bude tashar daga nan sai kuma sanya umarnin -sudo apt-get autoremove- wanda aka nuna a wannan shafin ... da kyau .. Ina da shi an raba shi a 250mb, kuma ina shirin zazzage shi ƙari .. tunda tana zaune 134mb a cikin tsarin .. gaisuwa, kuma ina fatan bayanin zai yi muku hidima.