Linux Mint Türkiye
Linux Mint Destek => Genel => Konuyu başlatan: Çağrı07 - 16 Ekim 2014, 20:16:55
-
Herkese iyi forumlar :) Linux'um yaklaşık 1dk gibi uzun bir sürede açılıyor bunu kısaltmak mümkün mü ? Birde Açılış logosunu değiştirmek istiyorum (Linux Mint yeşil logolu boot ekranını) nasıl yaparım ?
http://paste2.org/Z688Kf7P (http://paste2.org/Z688Kf7P)
Düzenleme: Konu başlığı
-
Aynı konuda sadece bir soru ya da sorun hakkında çözüm arıyoruz. Bu sebeple Plymouth (açılış) temasını değiştirme ile ilgili farklı bir konu açmanızı rica edeceğiz. Bu konuda sadece açılış süresinin uzunluğ ile ilgili bir çözüm arayalım.
Ek olarak aşağıdaki komutun çıktısını rica edelim, takas alanı ile ilgili bir sorun var galiba.
sudo fdisk -l
-
aspire@aspire-V3-571G ~/Desktop $ sudo fdisk -l
[sudo] password for aspire:
WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.
Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, toplam 1953525168 sektör
Units = sektör of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk kimlikleyicisi: 0xa58e50e7
Aygıt Açılış Başlangıç Bitiş BlokSayısı Kml Sistem
/dev/sda1 1 1953525167 976762583+ ee GPT
Partition 1 does not start on physical sector boundary.
-
Disk bölümleme tablosu GPT'ymiş, bu durumda aşağıdaki komutun çıktısını rica edelim.
sudo parted -l
-
aspire@aspire-V3-571G ~/Desktop $ sudo parted -l
[sudo] password for aspire:
Model: ATA TOSHIBA MQ01ABD1 (scsi)
Disk /dev/sda: 1000GB
Sektör boyutu (mantıksal/fiziksel): 512B/4096B
Disk bölümü Tablosu: gpt
Numara Başlangıç Son Boyut Dosya sistemi İsim Bayraklar
1 1049kB 316MB 315MB ntfs Basic data partition gizli, diag
2 316MB 420MB 105MB fat32 EFI system partition önyükleme
3 420MB 555MB 134MB Microsoft reserved partition msftres
4 555MB 501GB 500GB ntfs Basic data partition msftdata
5 501GB 913GB 412GB ntfs Basic data partition msftdata
6 913GB 914GB 1074MB linux-swap(v1) Basic data partition msftdata
7 914GB 1000GB 85,9GB ext4
-
Aşağıdaki komut ile takas alanını sitemden ayırın ve Gparted'ı yükleyip bu alanı siliniz ve sonra yeniden takas alanı olarak biçimlendiriniz.
sudo swapoff /dev/sda6
Sonra aşağıdaki komutların çıktılarını paylaşın.
cat /etc/fstab
sudo blkid
-
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda7 during installation
UUID=7426715a-e207-4345-b0f1-137f6b21261d / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sda2 during installation
#UUID=E615-18ED /boot/efi vfat defaults 0 1
# swap was on /dev/sda6 during installation
UUID=ca7bf750-2b5c-4f3e-a317-a6a4e83dcbab none swap sw 0 0
UUID=E615-18ED /boot/efi vfat defaults 0 1
aspire@aspire-V3-571G ~/Desktop $ sudo blkid
/dev/sda1: LABEL="Kurtarma" UUID="1E44126C44124745" TYPE="ntfs"
/dev/sda2: UUID="E615-18ED" TYPE="vfat"
/dev/sda4: LABEL="Acer" UUID="04B618A9B6189D6C" TYPE="ntfs"
/dev/sda5: LABEL="Acer" UUID="78F09EB9F09E7CD6" TYPE="ntfs"
/dev/sda6: UUID="ae185d56-c972-41cb-a12e-2bb0f3802917" TYPE="swap"
/dev/sda7: UUID="7426715a-e207-4345-b0f1-137f6b21261d" TYPE="ext4"
Düzeltme: Kişisel bilgisayarımı hiç yeniden başlatmadım
-
Şimdi aşağıdaki komut ile fstab dosyasını açınız.
sudo gedit /etc/fstab
Aşağıdaki satırı,
UUID=ca7bf750-2b5c-4f3e-a317-a6a4e83dcbab none swap sw 0 0
aşağıdaki biçimde değiştirip dosyayı kaydediniz.
UUID=ae185d56-c972-41cb-a12e-2bb0f3802917 none swap sw 0 0
Şimdi, aşağıdaki komut ile takas alanını tekrar bağlayabilirsiniz.
sudo swapon /dev/sda6
Sistemi yeniden başlattığınızda bir değişiklik oluyor mu?
Daha önce takas lanının bağlanması için sistem yaklaşık 24 saniye bekliyormuş.
[ 3.450076] random: nonblocking pool is initialized
[ 27.111665] Adding 1048572k swap on /dev/sda6. Priority:-1 extents:1 across:1048572k FS
Şimdi böyle bir bekleme mevcut mu? Yine aşağıdaki komutun çıktısı ile kontrol edebilirsiniz.
dmesg
-
Maalesef bir değişiklik yok, sistemim UEFI olmasına rağman 1dk'da açılıyor normal'de ne kadar zamanda açılması gerekli ? Yeni çıktılarım şöyle;
http://paste2.org/kj8wkfLa (http://paste2.org/kj8wkfLa)
[ 9.282765] random: nonblocking pool is initialized
[ 33.116274] Adding 1048572k swap on /dev/sda6. Priority:-1 extents:1 across:1048572k FS
-
Fstab dosyasını açıp takas alanı ile ilgili satırın başına # işareti koyarak pasifleştirip ve dosyayı kaydedelim, bakalım değişen bir durum olacak mı?
# UUID=ae185d56-c972-41cb-a12e-2bb0f3802917 none swap sw 0 0
-
kronometre tuttum, 2 saniyelik bir düşme oldu
-
kronometre tuttum, 2 saniyelik bir düşme oldu
Kronometre sonucu bir şey ifade etmeyecektir. Yine komutun çıktısına bir bakalım.
dmesg
-
[ 8.681848] random: nonblocking pool is initialized
Adding 1048572k swap on /dev/sda6. Priority:-1 extents:1 across:1048572k FS >>>>>>> yok
http://paste2.org/yhvfB2v5 (http://paste2.org/yhvfB2v5)
-
Aşağıdaki komutu uçbirimde çalıştırınız.
(Mate masaüstü için gedit yerine pluma yazmalısınız.)
sudo gedit /etc/sysctl.conf
Aşağıdaki satırları dosyanın en altına ekleyerek IPV6'yı pasifleştirmeyi deneyiniz.
# IPv6
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1
-
Metin şekli aynen böyle:
#
# /etc/sysctl.conf - Configuration file for setting system variables
# See /etc/sysctl.d/ for additional system variables.
# See sysctl.conf (5) for information.
#
#kernel.domainname = example.com
# Uncomment the following to stop low-level messages on console
#kernel.printk = 3 4 1 3
##############################################################3
# Functions previously found in netbase
#
# Uncomment the next two lines to enable Spoof protection (reverse-path filter)
# Turn on Source Address Verification in all interfaces to
# prevent some spoofing attacks
#net.ipv4.conf.default.rp_filter=1
#net.ipv4.conf.all.rp_filter=1
# Uncomment the next line to enable TCP/IP SYN cookies
# See http://lwn.net/Articles/277146/
# Note: This may impact IPv6 TCP sessions too
#net.ipv4.tcp_syncookies=1
# Uncomment the next line to enable packet forwarding for IPv4
#net.ipv4.ip_forward=1
# Uncomment the next line to enable packet forwarding for IPv6
# Enabling this option disables Stateless Address Autoconfiguration
# based on Router Advertisements for this host
#net.ipv6.conf.all.forwarding=1
###################################################################
# Additional settings - these settings can improve the network
# security of the host and prevent against some network attacks
# including spoofing attacks and man in the middle attacks through
# redirection. Some network environments, however, require that these
# settings are disabled so review and enable them as needed.
#
# Do not accept ICMP redirects (prevent MITM attacks)
#net.ipv4.conf.all.accept_redirects = 0
#net.ipv6.conf.all.accept_redirects = 0
# _or_
# Accept ICMP redirects only for gateways listed in our default
# gateway list (enabled by default)
# net.ipv4.conf.all.secure_redirects = 1
#
# Do not send ICMP redirects (we are not a router)
#net.ipv4.conf.all.send_redirects = 0
#
# Do not accept IP source route packets (we are not a router)
#net.ipv4.conf.all.accept_source_route = 0
#net.ipv6.conf.all.accept_source_route = 0
#
# Log Martian Packets
#net.ipv4.conf.all.log_martians = 1
#
# IPv6
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1
Şimdi yeniden başlattım ama hala 1dk'da açılıyor
-
Sisteminizi çalışan DVD/USB ile açıp, Linux'un kurulu olduğu disk bölümünde aşağıdaki komut ile disk taraması yapmayı deneyebilirsiniz.
sudo fsck -pcfv /dev/sda7
-
mint[member=37]mint[/member] ~/Desktop $ sudo fsck -pcfv /dev/sda7
fsck from util-linux 2.20.1
/dev/sda7: Updating bad block inode.
270034 inodes used (5.14%, out of 5253120)
367 non-contiguous files (0.1%)
250 non-contiguous directories (0.1%)
# of inodes with ind/dind/tind blocks: 0/0/0
Extent depth histogram: 238678/95/9
10742999 blocks used (51.23%, out of 20971520)
0 bad blocks
4 large files
206873 regular files
29162 directories
57 character device files
25 block device files
1 fifo
38 links
33906 symbolic links (31160 fast symbolic links)
1 socket
------------
270063 files
mint[member=37]mint[/member] ~/Desktop $
Çıktılar bu şekilde birde soylemeden edemeyecegim dikkat ettim de usb ile (3.0) bilgisayarim daha hizli acildi
-
Aşağıdaki komut ile sisteminizin kurulu olduğu disk bölümünde kötü sektör (bad sector) taraması yapmayı dener misiniz?
sudo badblocks -n /dev/sda7
Not: Sisteminizi çalışan DVD/USB ile açmanız gerekecek.
-
Aşağıdaki komut ile sisteminizin kurulu olduğu disk bölümünde kötü sektör (bad sector) taraması yapmayı dener misiniz?
sudo badblocks -n /dev/sda7
Not: Sisteminizi çalışan DVD/USB ile açmanız gerekecek.
1 saat kadar bekledim, ancak bi sonuç çıkmadı ):
-
[member=8]Butterfly[/member] Hocam normal bir EFI sisteminin açılış süresi ne kadardır ?
-
Sizin açılış süreniz normalden oldukça fazla. Sistem standart bir harddisk üstüne kurulu ise 30 sn. civarında MDM giriş yöneticisine ulaşabilmeniz normal sayılır.
Buradaki (https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1308264) öneriyi deneyerek sistemi tpm_tis.force=1 çekirdek değişkeni ile başlatmayı deneyelim.
Bunun için aşağıdaki komut ile grub dosyasını açınız.
(Mate masaüstü için gedit yerine pluma yazmalısınız.)
sudo gedit /etc/default/grub
Açılan dosyada aşağıdaki satırı bulunuz,
GRUB_CMDLINE_LINUX=""
tırnak işaretleri arasına tpm_tis.force=1 değişkenini ekleyip dosyayı kaydediniz.
GRUB_CMDLINE_LINUX="tpm_tis.force=1"
Şimdi aşağıdaki komut ile grub ayar dosyasını güncelleyiniz.
sudo update-grub
-
Hocam ekran parlaklığını ayarlayamama sorunu oldu, geri eski haline çevirdim
-
Peki tpm_tis.force=1 değişkenini ekleyince açılış süresinde bir değişiklik odu mu? Ekran parlaklılığı sorunu bir şekilde çözülebilir sanırım.
-
Yeni farkettim eski yazilarin yanina bosluk atinca ekran parlakligi ayarlanabiliyor. Ancak acilis suresinde bir fark goremedim.
-
tpm_tis.force=1 değişkeni sistem açılışında etkinken aşağıdaki komutun çıktısını tekrar rica edelim.
dmesg
-
aspire@aspire-V3-571G ~/Desktop $ sudo gedit /etc/default/grub# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
# info -f grub -n 'Simple configuration'
GRUB_DEFAULT="Linux Mint 17 Cinnamon 64-bit, 3.13.0-32-generic (/dev/sda7)"
#GRUB_HIDDEN_TIMEOUT="0"
GRUB_HIDDEN_TIMEOUT_QUIET="true"
GRUB_TIMEOUT="0"
GRUB_DISTRIBUTOR="`lsb_release -i -s 2> /dev/null || echo Debian`"
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_osi=Linux tpm_tis.force=1 intel_pstate=enable"
GRUB_CMDLINE_LINUX="acpi_backlight=vendor"
# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL="console"
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE="640x480"
# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID="true"
# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"
# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"
GRUB_SAVEDEFAULT="false"
Sadece bir tane Linux Çekirdeğim yüklü ve aslında 3.13.0-36 sürümü yüklü, ama yukarıda sonu 32 olarak gözüküyor.
dmesghttp://paste2.org/n2bwdVtx (http://paste2.org/n2bwdVtx)
-
Çıktıların durumu nedir hocam ?
-
Değişen bir şey yok maalesef.
Grub dosyasında aşağıdaki satırı,
GRUB_DEFAULT="Linux Mint 17 Cinnamon 64-bit, 3.13.0-32-generic (/dev/sda7)"
aşağıdaki şekilde değiştirmeyi deneyin.
GRUB_DEFAULT=0
Çekirdeği aşağıdaki komutlar ile elle 3.1.72 sürüme güncellemeyi deneyelim.
mkdir linux3.17.2 && cd linux3.17.2
wget -c kernel.ubuntu.com/~kernel-ppa/mainline/v3.17.2-vivid/linux-headers-3.17.2-031702-generic_3.17.2-031702.201410301416_amd64.deb
wget -c kernel.ubuntu.com/~kernel-ppa/mainline/v3.17.2-vivid/linux-headers-3.17.2-031702_3.17.2-031702.201410301416_all.deb
wget -c kernel.ubuntu.com/~kernel-ppa/mainline/v3.17.2-vivid/linux-image-3.17.2-031702-generic_3.17.2-031702.201410301416_amd64.deb
sudo dpkg -i *.deb
-
# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
# info -f grub -n 'Simple configuration'
GRUB_DEFAULT="0"
#GRUB_HIDDEN_TIMEOUT="0"
GRUB_HIDDEN_TIMEOUT_QUIET="true"
GRUB_TIMEOUT="0"
GRUB_DISTRIBUTOR="`lsb_release -i -s 2> /dev/null || echo Debian`"
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_osi=Linux tpm_tis.force=1 intel_pstate=enable"
GRUB_CMDLINE_LINUX="acpi_backlight=vendor"
# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL="console"
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE="640x480"
# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID="true"
# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"
# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"
GRUB_SAVEDEFAULT="false"
-
Çekirdeği güncellediniz mi?
-
Çekirdeği güncellediniz mi?
Güncelleştirme yöneticisinde yüklü ve kurulu olan çekirdek sürümü 3.17.2-031702 ; sadece kurulu olan çekirdek sürümü 3.13.0-36 hocam