[+] Jak w

Pomoc dotycząca instalacji systemu
marvell
Posty: 92
Rejestracja: 17 lutego 2009, 20:58
Lokalizacja: Krasnystaw

[+] Jak właściwie zaktualizować jądro do wersji 2.6.28?

Post autor: marvell »

Witam.

Mam pewne pytanie. Jak poprawnie zaktualizować jądro do 2.6.28, która obsługuje ext4? Wiem, że jest o tym trochę wątków na forum, ale właściwie w żadnym nie znalazłem opisu krok po kroku.
Nie chciałbym czegoś zepsuć, dlatego pytam. Korzystając z tego tematu, wpisuję w konsoli:

Kod: Zaznacz cały

aptitude install linux-headers
ale nic się nie aktualizuje.

Po wpisaniu:

Kod: Zaznacz cały

aptitude search linux-image
otrzymuję:

Kod: Zaznacz cały

linux-headers-2.6.29-1-486 - Header files for Linux 2.6.29-1-486
linux-headers-2.6.29-1-686 - Header files for Linux 2.6.29-1-686
linux-headers-2.6.29-1-686-bigmem - Header files for Linux 2.6.29-1-686-bigmem
linux-headers-2.6.29-1-amd64 - Header files for Linux 2.6.29-1-amd64
linux-image-2.6-486 - Linux 2.6 image on x86
linux-image-2.6-686 - Linux 2.6 image on PPro/Celeron/PII/PIII/P4
linux-image-2.6-686-bigmem - Linux 2.6 image on PPro/Celeron/PII/PIII/P4
linux-image-2.6-amd64 - Linux 2.6 image on AMD64
linux-image-2.6-k7 - Linux 2.6 image on AMD K7 - transition package
linux-image-2.6-openvz-686 - Linux 2.6 image on PPro/Celeron/PII/PIII/P4, OpenVZ support
linux-image-2.6-vserver-686 - Linux 2.6 image on PPro/Celeron/PII/PIII/P4, Linux-VServer support
linux-image-2.6-vserver-686-bigmem - Linux 2.6 image on PPro/Celeron/PII/PIII/P4, Linux-VServer support
linux-image-2.6-xen-686 - Linux 2.6 image on i686, oldstyle Xen support
linux-image-2.6.29-1-486 - Linux 2.6.29 image on x86
linux-image-2.6.29-1-686 - Linux 2.6.29 image on PPro/Celeron/PII/PIII/P4
linux-image-2.6.29-1-686-bigmem - Linux 2.6.29 image on PPro/Celeron/PII/PIII/P4
linux-image-2.6.29-1-amd64 - Linux 2.6.29 image on AMD64
linux-image-486 - Linux image on x86
linux-image-686 - Linux image on PPro/Celeron/PII/PIII/P4
linux-image-686-bigmem - Linux image on PPro/Celeron/PII/PIII/P4
linux-image-amd64 - Linux image on AMD64
linux-image-k7 - Linux image on AMD K7 - transition package
linux-image-openvz-686 - Linux image on PPro/Celeron/PII/PIII/P4, OpenVZ support
linux-image-vserver-686 - Linux image on PPro/Celeron/PII/PIII/P4, Linux-VServer support
linux-image-vserver-686-bigmem - Linux image on PPro/Celeron/PII/PIII/P4, Linux-VServer support
linux-image-xen-686 - Linux image on i686, oldstyle Xen support
linux-tree-2.6.29 - Linux kernel source tree for building Debian kernel images
rt2400-source - source for rt2400 wireless network driver
rt2500-source - source for rt2500 wireless network driver
rt2570-source - source for rt2570 wireless network driver
linux-image-2.6.26-1-486 - Linux 2.6.26 image on x86
linux-image-2.6.26-1-686 - Linux 2.6.26 image on PPro/Celeron/PII/PIII/P4
linux-headers-2.6.26-1-686 - Header files for Linux 2.6.26-1-686
znajduje mi m.in linux-image-2.6.29-1-686, dlaczego? Czy to właśnie ją powinienem zainstalować?

Proszę o jakieś wskazówki.
Z góry dziękuję i pozdrawiam.
ziecio
Posty: 86
Rejestracja: 10 kwietnia 2007, 11:58

Post autor: ziecio »

marvell pisze:znajduje mi m.in linux-image-2.6.29-1-686, dlaczego?
Bo to jest najnowsze jądro. Zainstaluj je sobie poprzez aptitude oraz headers i automatycznie przy uruchamianiu systemu będziesz miał je w grubie do wyboru. Przy instalacji podaj pełną nazwę czyli linux-image-2.6.29-1-686 to samo jak instalujesz headers
marvell
Posty: 92
Rejestracja: 17 lutego 2009, 20:58
Lokalizacja: Krasnystaw

Post autor: marvell »

Dzięki za odpowiedź. Zainstalowałem, uruchomiłem ponownie, po czym rozsypał mi się grub.
Poradziłem sobie, ale kiedy próbuję uruchomić system z nowego jajka, nie mogę wystartować trybu graficznego, (komunikat mówiący o źle skonfigurowanym serwerze X)

Na starym kernelu jest dobrze. O co tutaj chodzi?
beel
Beginner
Posty: 340
Rejestracja: 28 marca 2007, 07:06

Post autor: beel »

marvell pisze:...ale kiedy próbuję uruchomić system z nowego jajka, nie mogę wystartować trybu graficznego, (komunikat mówiący o źle skonfigurowanym serwerze X)

Na starym kernelu jest dobrze. O co tutaj chodzi?
To norma, uruchom system na nowym jądrze i przekonfiguruj X'y. Polecenie:

Kod: Zaznacz cały

dpkg-reconfigure xserver-xorg
Jeśli nie wiesz, co klikać podczas ponownej konfiguracji to poszukaj na forum bo jest taki temat. Wszystko opisane np. tutaj.
marvell
Posty: 92
Rejestracja: 17 lutego 2009, 20:58
Lokalizacja: Krasnystaw

Post autor: marvell »

Dziękuję. Czy to, że muszę przeinstalować sterowniki do grafiki to też norma?

Przepraszam, ale jak widzę, muszę jeszcze skonfigurować układ klawiatury?
beel
Beginner
Posty: 340
Rejestracja: 28 marca 2007, 07:06

Post autor: beel »

marvell pisze:Czy to, ze musze przeinstalowac sterowniki do grafiki to tez norma?
Często się tak właśnie zdarza. Klawiaturę zostaw sobie na koniec, jeśli nie będziesz miał polskich znaków diaktrycznych po instalacji sterowników i rekonfiguracji xorg'a to być może wystarczy, że dopiszesz odpowiednie (dwie) linijki do konfigu xorg'a. Na forum oczywiście było.
marvell
Posty: 92
Rejestracja: 17 lutego 2009, 20:58
Lokalizacja: Krasnystaw

Post autor: marvell »

Skonfigurowałem xorga, ale teraz nie mogę zainstalować sterowników nvidia. Błąd, który występuje to:

Kod: Zaznacz cały

ERROR: The kernel header file
       '/lib/modules/2.6.29-1-686/build/include/linux/kernel.h' does not exist.
       The most likely reason for this is that the kernel source path
       '/lib/modules/2.6.29-1-686/build' is incorrect.  Please make sure you
       have installed the kernel source files for your kernel and that they are
       properly configured; on Red Hat Linux systems, for example, be sure you
       have the 'kernel-source' or 'kernel-devel' RPM installed.  If you know
       the correct kernel source files are installed, you may specify the
       kernel source path with the '--kernel-source-path' command line option.
Co powinienem zrobić? Rozumiem ten komunikat, ale nie wiem jak się za to zabrać. Próbowałem instalować pakiety linux-headers-`uname -r`, build-essential, nvidia-kernel-source, ale mam już je zainstalowane. Próba instalacji różnych wersji sterowników daje taki sam mizerny efekt.
beta1
Beginner
Posty: 131
Rejestracja: 27 kwietnia 2008, 09:42

Post autor: beta1 »

Na razie nie da sie nic zrobic.
linux-headers-2.6.29-1-... są nieprawidłowo zrobione

Problem jest juz zameldowany: http://www.mail-archive.com/debian-bugs ... 29820.html

Pozdrowienia
fnmirk
Senior Member
Posty: 8321
Rejestracja: 03 grudnia 2007, 06:37

Post autor: fnmirk »

beta1 pisze:Na razie nie da sie nic zrobic.
A własnej wersji nie można zrobić? Można i działa.
beta1
Beginner
Posty: 131
Rejestracja: 27 kwietnia 2008, 09:42

Post autor: beta1 »

No może i można, nie wiem.

W normalnym przypadku powinno to zostać szybko naprawione i pojawią sie w krótce nowe paczki ;-)
ODPOWIEDZ