Current time: 04-26-2024, 04:41 PM Hello There, Guest! (LoginRegister)


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Kernel Downgrade
Author Message
fulltilt Offline
Member
***

Posts: 1,225
Joined: Apr 2007
Reputation: 5
Post: #1
Kernel Downgrade
habe hier auf einem Server einen 2.6.31 vom RZ installiert, wobei die iptables Module fehlen ... /lib/modules/2.6.31/kernel/drivers nicht vorhanden
Kann man hierbei ein Kernel Downgrade (debian) problemlos machen?
apt-get install linux-image-2.6.26-2-686 iptables

P.S.
Im PMA auf der Loginseite > Textfeld Benutzername wird bei mir angezeigt:
�Կ��aY
Für was ist das denn gut?
(This post was last modified: 03-16-2010 09:01 PM by fulltilt.)
03-11-2010 11:48 AM
Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #2
RE: noch jemand wach? Kernel Downgrade
Wenn dein aktueller Kernel nicht in irgendeiner abhänigkeit steht sollte es klappen.

Quote:P.S.
Im PMA auf der Loginseite > Textfeld Benutzername wird bei mir angezeigt:
�Կ��aY
Für was ist das denn gut?
Browsercache ?

Greez BeNe
03-11-2010 04:26 PM
Visit this user's website Find all posts by this user Quote this message in a reply
fulltilt Offline
Member
***

Posts: 1,225
Joined: Apr 2007
Reputation: 5
Post: #3
RE: Kernel Downgrade
(03-11-2010 04:26 PM)BeNe Wrote:  Browsercache ?

Stimmt - Browsercache Big Grin
thnx
(This post was last modified: 03-16-2010 09:00 PM by fulltilt.)
03-11-2010 08:30 PM
Find all posts by this user Quote this message in a reply
fulltilt Offline
Member
***

Posts: 1,225
Joined: Apr 2007
Reputation: 5
Post: #4
RE: Kernel Downgrade
(03-11-2010 04:26 PM)BeNe Wrote:  Wenn dein aktueller Kernel nicht in irgendeiner abhänigkeit steht sollte es klappen.

die vom RZ sagen das der Kernel keine speziellen Abhängigkeiten hat ... habe das ganze aber auch noch nie gemacht :-)
Debian Lenny mit Kernel 2.6.31

6 GB DDR2 800 - sollte ich dann den bigmem nehmen?
linux-image-2.6.26-2-686-bigmem
oder
linux-image-2.6.26-2-686

damit müssten doch alle notwendigen Module für iptables erzeugt werden:
apt-get install linux-image-2.6.26-2-686 linux-headers-2.6.26-2-686
03-16-2010 09:00 PM
Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #5
RE: Kernel Downgrade
Ab 4GB solltest Du eigentlich den bigmem nehmen.
Ja das sollte so hinhauen mit deiner vorgehensweise.
Musst wahrscheinlich noch die grub.lst anpassen damit dieser Kernel default ist.
Sonst bist Du nach dem neustart wieder mit dem gleichen unterwegs.

Greez BeNe
03-16-2010 09:41 PM
Visit this user's website Find all posts by this user Quote this message in a reply
fulltilt Offline
Member
***

Posts: 1,225
Joined: Apr 2007
Reputation: 5
Post: #6
RE: Kernel Downgrade
OK - habe das bigmem image und headers nun installiert ...
Danach update-grub ausgeführt - ist die neue menu.lst so richtig, da steht oben auch noch mal: kernel /boot/bzImage root=/dev/sda1
alte menu.lst
Code:
default     0
timeout     5
color cyan/blue white/blue
title           Linux
root            (hd0,0)
kernel          /boot/bzImage root=/dev/sda1
savedefault
boot

neue menu.lst
Code:
default     0
timeout     5
color cyan/blue white/blue

title           Linux
root            (hd0,0)
kernel          /boot/bzImage root=/dev/sda1
savedefault
boot
### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below

## DO NOT UNCOMMENT THEM, Just edit them to your needs

## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
##      kopt_2_6_8=root=/dev/hdc1 ro
##      kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=UUID=0dae0ea3-bfba-464a-a369-a2d68eee2299 ro

## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,0)

## should update-grub create alternative automagic boot options
## e.g. alternative=true
##      alternative=false
# alternative=true

## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
##      lockalternative=false
# lockalternative=false

## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=

## should update-grub lock old automagic boot options
## e.g. lockold=false
##      lockold=true
# lockold=false

## Xen hypervisor options to use with the default Xen boot option
# xenhopt=

## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=console=tty0

## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
##      altoptions=(single-user) single
# altoptions=(single-user mode) single

## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
##      howmany=7
# howmany=all

## should update-grub create memtest86 boot option
## e.g. memtest86=true
##      memtest86=false
# memtest86=true

## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false

## should update-grub add savedefault to the default options
## can be true or false
# savedefault=false

## ## End Default Options ##

title        Debian GNU/Linux, kernel 2.6.26-2-686-bigmem
root        (hd0,0)
kernel        /boot/vmlinuz-2.6.26-2-686-bigmem root=UUID=0dae0ea3-bfba-464a-a369-a2d68eee2299 ro
initrd        /boot/initrd.img-2.6.26-2-686-bigmem

title        Debian GNU/Linux, kernel 2.6.26-2-686-bigmem (single-user mode)
root        (hd0,0)
kernel        /boot/vmlinuz-2.6.26-2-686-bigmem root=UUID=0dae0ea3-bfba-464a-a369-a2d68eee2299 ro single
initrd        /boot/initrd.img-2.6.26-2-686-bigmem

### END DEBIAN AUTOMAGIC KERNELS LIST
03-16-2010 09:57 PM
Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #7
RE: Kernel Downgrade
Hast Du deinen Softwareraid ?
Hatte es auf meinen Maschinen das Grub immer und immer wieder auf /dev/sda1 zeigt anstat auf md1.

Greez BeNe
03-16-2010 10:01 PM
Visit this user's website Find all posts by this user Quote this message in a reply
fulltilt Offline
Member
***

Posts: 1,225
Joined: Apr 2007
Reputation: 5
Post: #8
RE: Kernel Downgrade
(03-16-2010 10:01 PM)BeNe Wrote:  Hast Du deinen Softwareraid ?

nein - hier ist nur eine Platte drin ...
Was mir aber seltsam vorkommt, oben der Kopf in der neuen menu.lst ... muss das noch auskommentiert werden?

default 0
timeout 5
color cyan/blue white/blue

title Linux
root (hd0,0)
kernel /boot/bzImage root=/dev/sda1
savedefault
boot
03-16-2010 10:04 PM
Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #9
RE: Kernel Downgrade
I würde mal ja sagen, sonst greift das ja schon bevor Du zum eigentlich Teil der config kommst.

Fall nicht, hast Du ja sicher einen Rescue-Modus oder?

Greez BeNe
03-16-2010 10:15 PM
Visit this user's website Find all posts by this user Quote this message in a reply
fulltilt Offline
Member
***

Posts: 1,225
Joined: Apr 2007
Reputation: 5
Post: #10
RE: Kernel Downgrade
ja rescue console gibts ...
dann müsste wohl dieser Teil auskommentiert werden?
Code:
color cyan/blue white/blue
title           Linux
root            (hd0,0)
kernel          /boot/bzImage root=/dev/sda1
savedefault
boot
03-16-2010 10:21 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)