Forum |  HardWare.fr | News | Articles | PC | S'identifier | S'inscrire | Shop Recherche
1591 connectés 

  FORUM HardWare.fr
  Linux et OS Alternatifs
  Débats

  debian 2.4 et lilo

 


 Mot :   Pseudo :  
 
Bas de page
Auteur Sujet :

debian 2.4 et lilo

n°104287
matrik
Posté le 25-05-2002 à 17:57:08  profilanswer
 

g suivi un tuto pour update ma debian 2.2r6 en 2.4.18
apt-get update
apt-get -u dist-upgrade
apt-get install kernel-image-2.4.18-386
 
pdt l install du kernel il me demande de changer la config de lilo et de rajouter initrd=/initrd.img sous vmlinuz ou un truc du genre
ensuite il me demande si il veut creer le lien initrd.img
je lui dit oui l install se termine et je reboot
seulement lilo me relance sur le noyau 2.2!!! :(  
comment fais je pour booter sur le 2.4?
 
merci pour vos reponses

mood
Publicité
Posté le 25-05-2002 à 17:57:08  profilanswer
 

n°104296
djoh
Posté le 25-05-2002 à 18:11:13  profilanswer
 

matrik a écrit a écrit :

g suivi un tuto pour update ma debian 2.2r6 en 2.4.18
apt-get update
apt-get -u dist-upgrade
apt-get install kernel-image-2.4.18-386
 
pdt l install du kernel il me demande de changer la config de lilo et de rajouter initrd=/initrd.img sous vmlinuz ou un truc du genre
ensuite il me demande si il veut creer le lien initrd.img
je lui dit oui l install se termine et je reboot
seulement lilo me relance sur le noyau 2.2!!! :(  
comment fais je pour booter sur le 2.4?
 
merci pour vos reponses  




 
balance ton lilo :
> cat /etc/lilo.conf

n°104319
matrik
Posté le 25-05-2002 à 19:06:13  profilanswer
 

voila mon lilo.conf
je rajoute ke je na i rien dautre ke linux sur cette machine
l install ma bien cree un initrd.img a la racine
 
 
 
# /etc/lilo.conf - See: `lilo(8)' and `lilo.conf(5)',
# ---------------       `install-mbr(8)', `/usr/share/doc/lilo/',
#                       and `/usr/share/doc/mbr/'.
 
# +---------------------------------------------------------------+
# |                        !! Reminder !!                         |
# |                                                               |
# | Don't forget to run `lilo' after you make changes to this     |
# | conffile, `/boot/bootmess.txt', or install a new kernel.  The |
# | computer will most likely fail to boot if a kernel-image      |
# | post-install script or you don't remember to run `lilo'.      |
# |                                                               |
# +---------------------------------------------------------------+
 
# Support LBA for large hard disks.
#
lba32
 
# Specifies the boot device.  This is where Lilo installs its boot
# block.  It can be either a partition, or the raw device, in which
# case it installs in the MBR, and will overwrite the current MBR.
#
boot=/dev/hda
 
# Specifies the device that should be mounted as root. (`/';)
#
root=/dev/hda1
 
# Enable map compaction:
# Tries to merge read requests for adjacent sectors into a single
# read request. This drastically reduces load time and keeps the
# map smaller.  Using `compact' is especially recommended when
# booting from a floppy disk.  It is disabled here by default
# because it doesn't always work.
#
# compact
 
# Installs the specified file as the new boot sector
#
install=/boot/boot.b
 
# Specifies the location of the map file
#
map=/boot/map
 
# You can set a password here, and uncomment the `restricted' lines
# in the image definitions below to make it so that a password must
# be typed to boot anything but a default configuration.  If a
# command line is given, other than one specified by an `append'
# statement in `lilo.conf', the password will be required, but a
# standard default boot will not require one.
#
# This will, for instance, prevent anyone with access to the
# console from booting with something like `Linux init=/bin/sh',
# and thus becoming `root' without proper authorization.
#
# Note that if you really need this type of security, you will
# likely also want to use `install-mbr' to reconfigure the MBR
# program, as well as set up your BIOS to disallow booting from
# removable disk or CD-ROM, then put a password on getting into the
# BIOS configuration as well.  Please RTFM `install-mbr(8)'.
#
# password=tatercounter2000
 
# Specifies the number of deciseconds (0.1 seconds) LILO should
# wait before booting the first image.
#
delay=20
 
# You can put a customized boot message up if you like.  If you use
# `prompt', and this computer may need to reboot unattended, you
# must specify a `timeout', or it will sit there forever waiting
# for a keypress.  `single-key' goes with the `alias' lines in the
# `image' configurations below.  eg: You can press `1' to boot
# `Linux', `2' to boot `LinuxOLD', if you uncomment the `alias'.
#
# message=/boot/bootmess.txt
# prompt
# single-key
# delay=100
# timeout=100
 
# Specifies the VGA text mode at boot time. (normal, extended, ask, <mode> )
#
# vga=ask
# vga=9
#
vga=normal
 
# Kernel command line options that apply to all installed images go
# here.  See: The `boot-prompt-HOWO' and `kernel-parameters.txt' in
# the Linux kernel `Documentation' directory.
#
# append=""
 
# Boot up Linux by default.
#
default=Linux
 
image=/vmlinuz
        initrd=/initrd.img
  label=Linux
 read-only
# restricted
# alias=1
 
image=/vmlinuz.old
 label=LinuxOLD
 read-only
 optional
# restricted
# alias=2
 
# If you have another OS on this machine to boot, you can uncomment the
# following lines, changing the device name on the `other' line to
# where your other OS' partition is.
#
# other=/dev/hda4
# label=HURD
# restricted
# alias=3

 

[jfdsdjhfuetppo]--Message édité par matrik le 25-05-2002 à 19:07:44--[/jfdsdjhfuetppo]

n°104331
djoh
Posté le 25-05-2002 à 19:34:24  profilanswer
 

ok
maintenant, tu fais un :
> ls -l /

n°104346
matrik
Posté le 25-05-2002 à 20:11:32  profilanswer
 

euuhh moi je veux bien mais je v pas tout recopier
il me semble k il y aun moyen pour envoyer tout ca ds VI mais je c pas comment

n°104353
djoh
Posté le 25-05-2002 à 20:19:00  profilanswer
 

matrik a écrit a écrit :

euuhh moi je veux bien mais je v pas tout recopier
il me semble k il y aun moyen pour envoyer tout ca ds VI mais je c pas comment  




 
tu sélectionne avec le bouton gauche
puis tu fais un clique milieu la où tu veux coller, c'est tout  :sol:

n°104356
matrik
Posté le 25-05-2002 à 20:21:27  profilanswer
 

c bien essaye mais la g ni souris ni interface graphike sur le serveur
mais c bon je crois ke g trouve

n°104364
matrik
Posté le 25-05-2002 à 20:26:18  profilanswer
 

voila le resultat de ls-l /
 
 
total 124
drwxr-xr-x    2 root     root         4096 May 25 17:35 bin
drwxr-xr-x    2 root     root         4096 May 25 17:42 boot
drwxr-xr-x    2 root     root         4096 Nov 30  2000 cdrom
drwxr-xr-x    5 root     root        20480 May 25 17:44 dev
-rwxr--r--    1 root     root         9426 May 12 23:31 dhs
drwxr-xr-x   58 root     root         4096 May 25 20:11 etc
drwxr-xr-x    2 root     root         4096 Nov 30  2000 floppy
drwxrwsr-x    4 root     staff        4096 May 22 22:14 home
drwxr-xr-x    2 root     root         4096 Nov 30  2000 initrd
lrwxrwxrwx    1 root     root           27 May 25 17:42 initrd.img -> /boot/initrd.img-2.4.18-386
drwxrwxrwx    4 root     root         4096 May 25 20:24 intranet
drwxr-xr-x    4 root     root         4096 May 25 17:29 lib
drwxr-xr-x    2 root     root        16384 May  5 20:31 lost+found
drwxr-xr-x    2 root     root         4096 May 27  2000 mnt
dr-xr-xr-x   50 root     root            0 May 25 19:44 proc
drwxr-xr-x    2 root     root         4096 May 25 17:45 root
drwxr-xr-x    2 root     root         4096 May 25 17:29 sbin
drwxrwxrwx    3 root     root         4096 May 25 18:54 temp
drwxrwxrwt    4 root     root         4096 May 25 20:11 tmp
-rwxrwxrwx    1 root     root         9065 May 12 23:42 updatedhs
drwxr-xr-x   14 root     root         4096 May  5 18:50 usr
drwxr-xr-x   15 root     root         4096 May  5 18:54 var
lrwxrwxrwx    1 root     root           23 May 25 17:42 vmlinuz -> boot/vmlinuz-2.4.18-386
lrwxrwxrwx    1 root     root           20 May  5 19:32 vmlinuz.old -> /boot/vmlinuz-2.2.19

n°104365
djoh
Posté le 25-05-2002 à 20:26:23  profilanswer
 

matrik a écrit a écrit :

c bien essaye mais la g ni souris ni interface graphike sur le serveur
mais c bon je crois ke g trouve  




 
ben moi non plus, mais je m'y connecte depuis le PC client :D  :sol:

n°104366
djoh
Posté le 25-05-2002 à 20:27:34  profilanswer
 

et je suis con là ... avant de t'emmerder à faire tout ça, j'aurais du te dire de tapper lilo  en ligne de commande et de redémarrer, ça devrait marcher

mood
Publicité
Posté le 25-05-2002 à 20:27:34  profilanswer
 

n°104368
matrik
Posté le 25-05-2002 à 20:29:07  profilanswer
 

djoh a écrit a écrit :

 
 
ben moi non plus, mais je m'y connecte depuis le PC client :D  :sol:  




ah oui ca serait sympa si tu me disais commetn faire paske la le serveur est ds la chambre de mon frere etca le fait chier ke j entre et sorte ttes les deux sec
j ai bien essaye la baffotherapie mais riena  faire

n°104371
- Fred -
007 Agent
Posté le 25-05-2002 à 20:31:07  profilanswer
 

Il suffit de suivre ce qui est écrit ... tu nous mets la ligne dans le lilo.conf et ensuite, tu mets la ligne do_initrd=Yes dans le fichier spécifié, et voilà.
 
Mais tu n'a pas un 386 non ? Parce qu'il existe des kernels optimisés, comme le i686 ou le i586 ...


---------------
"You know the name, You know the number..."
n°104373
djoh
Posté le 25-05-2002 à 20:34:44  profilanswer
 

matrik a écrit a écrit :

 
ah oui ca serait sympa si tu me disais commetn faire paske la le serveur est ds la chambre de mon frere etca le fait chier ke j entre et sorte ttes les deux sec
j ai bien essaye la baffotherapie mais riena  faire  




 
 
ben c'est simple
soit tu fais un :
> telnet ip_serveur
ça ça marche partout (même sous windows si ton pc client tourne sous windows)
sinon, y-a mieux :
> ssh ip_serveur
sous linux, ça marche si il est installer (sinon tu l'installes, c'est facile)
sous windows faut l'installer (y-a pas à l'origine), mais je sais pas ou trouver par contre)

n°104379
matrik
Posté le 25-05-2002 à 20:46:40  profilanswer
 

djoh merci pour tes reponses :jap:  
fallait juste taper lilo et c bon  
maintenant il fo ke je reconfigure la connexion cad passer de ipchains a iptables


Aller à :
Ajouter une réponse
  FORUM HardWare.fr
  Linux et OS Alternatifs
  Débats

  debian 2.4 et lilo

 

Sujets relatifs
[lilo].. j'ai un peu peur[Linux / Debian] PPPoE et nouveau modem
[lilo][debian]questions diverses
comment désinstaller lilo?[Debian] Php4-Mysql et refus dafficher la page
Comment on supprime lilo a partir de windows ?[TI] Debian capulepatai : Ils ont meme pas Xfree 4.2 ni KDE3
[TI] Suite de la démonstration MDK sux - Debian RoxorA Lilo Bootscreen for Debian
Plus de sujets relatifs à : debian 2.4 et lilo


Copyright © 1997-2022 Hardware.fr SARL (Signaler un contenu illicite / Données personnelles) / Groupe LDLC / Shop HFR