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

  FORUM HardWare.fr
  Linux et OS Alternatifs
  Logiciels

  Debian et probleme avec Lilo

 


 Mot :   Pseudo :  
 
Bas de page
Auteur Sujet :

Debian et probleme avec Lilo

n°759643
madsurfer
Boulet's eradicator
Posté le 06-12-2005 à 08:40:19  profilanswer
 

:hello: à tous,
 
 
Lilo ne veut pas booter sur le noyau par defaut (label = Linux) alors que tout me semble correctement défini.
Il reste sur le prompt, ce qui est génant lorsqu'il y a des coupures électriques (malheureusement).  :sweat:  
 
Donc si vous avez une idée sur le problème n'hésité pas. Je souhaiterais qu'au bout de 20 secondes si personne ne touche à rien, lilo lance le label Linux
 
 
Voici mon /etc/lilo.conf
 

Code :
  1. # /etc/lilo.conf - See: `lilo(8)' and `lilo.conf(5)',
  2. # ---------------       `install-mbr(8)', `/usr/share/doc/lilo/',
  3. #                       and `/usr/share/doc/mbr/'.
  4. # +---------------------------------------------------------------+
  5. # |                        !! Reminder !!                         |
  6. # |                                                               |
  7. # | Don't forget to run `lilo' after you make changes to this     |
  8. # | conffile, `/boot/bootmess.txt', or install a new kernel.  The |
  9. # | computer will most likely fail to boot if a kernel-image      |
  10. # | post-install script or you don't remember to run `lilo'.      |
  11. # |                                                               |
  12. # +---------------------------------------------------------------+
  13. # Support LBA for large hard disks.
  14. #
  15. lba32
  16. # Overrides the default mapping between harddisk names and the BIOS'
  17. # harddisk order. Use with caution.
  18. #disk=/dev/hde
  19. #    bios=0x81
  20. #disk=/dev/sda
  21. #    bios=0x80
  22. # Specifies the boot device.  This is where Lilo installs its boot
  23. # block.  It can be either a partition, or the raw device, in which
  24. # case it installs in the MBR, and will overwrite the current MBR.
  25. #
  26. boot=/dev/hda
  27. # Specifies the device that should be mounted as root. (`/')
  28. #
  29. root=/dev/hda2
  30. # Enable map compaction:
  31. # Tries to merge read requests for adjacent sectors into a single
  32. # read request. This drastically reduces load time and keeps the
  33. # map smaller.  Using `compact' is especially recommended when
  34. # booting from a floppy disk.  It is disabled here by default
  35. # because it doesn't always work.
  36. #
  37. # compact
  38. # Installs the specified file as the new boot sector
  39. # You have the choice between: bmp, compat, menu and text
  40. # Look in /boot/ and in lilo.conf(5) manpage for details
  41. #
  42. install=/boot/boot-menu.b
  43. # Specifies the location of the map file
  44. #
  45. map=/boot/map
  46. # You can set a password here, and uncomment the `restricted' lines
  47. # in the image definitions below to make it so that a password must
  48. # be typed to boot anything but a default configuration.  If a
  49. # command line is given, other than one specified by an `append'
  50. # statement in `lilo.conf', the password will be required, but a
  51. # standard default boot will not require one.
  52. #
  53. # This will, for instance, prevent anyone with access to the
  54. # console from booting with something like `Linux init=/bin/sh',
  55. # and thus becoming `root' without proper authorization.
  56. #
  57. # Note that if you really need this type of security, you will
  58. # likely also want to use `install-mbr' to reconfigure the MBR
  59. # program, as well as set up your BIOS to disallow booting from
  60. # removable disk or CD-ROM, then put a password on getting into the
  61. # BIOS configuration as well.  Please RTFM `install-mbr(8)'.
  62. #
  63. # password=tatercounter2000
  64. # Specifies the number of deciseconds (0.1 seconds) LILO should
  65. # wait before booting the first image.
  66. #
  67. delay=20
  68. prompt
  69. # You can put a customized boot message up if you like.  If you use
  70. # `prompt', and this computer may need to reboot unattended, you
  71. # must specify a `timeout', or it will sit there forever waiting
  72. # for a keypress.  `single-key' goes with the `alias' lines in the
  73. # `image' configurations below.  eg: You can press `1' to boot
  74. # `Linux', `2' to boot `LinuxOLD', if you uncomment the `alias'.
  75. #
  76. # message=/boot/bootmess.txt
  77. #       prompt
  78. #       single-key
  79. #       delay=100
  80. #       timeout=100
  81. # Specifies the VGA text mode at boot time. (normal, extended, ask, <mode> )
  82. #
  83. # vga=ask
  84. # vga=9
  85. #
  86. vga=normal
  87. # Kernel command line options that apply to all installed images go
  88. # here.  See: The `boot-prompt-HOWO' and `kernel-parameters.txt' in
  89. # the Linux kernel `Documentation' directory.
  90. #
  91. # append=""
  92. # Boot up Linux by default.
  93. #
  94. default=Linux
  95. image=/boot/bzImage
  96.         label=Linux
  97.         read-only
  98. image=/boot/bzImage2418
  99.         label=Linux-2418
  100.         read-only
  101. image=/vmlinuz
  102.         label=Linux_old
  103.         read-only
  104. #       restricted
  105. #       alias=1
  106. image=/vmlinuz.old
  107.         label=LinuxOLD
  108.         read-only
  109.         optional
  110. #       restricted
  111. #       alias=2
  112. # If you have another OS on this machine to boot, you can uncomment the
  113. # following lines, changing the device name on the `other' line to
  114. # where your other OS' partition is.
  115. #
  116. # other=/dev/hda4
  117. #       label=HURD
  118. #       restricted
  119. #       alias=3


Message édité par madsurfer le 06-12-2005 à 08:41:03
mood
Publicité
Posté le 06-12-2005 à 08:40:19  profilanswer
 

n°759648
Zzozo
Modérateur
Un peu, passionément, à la fol
Posté le 06-12-2005 à 08:54:07  profilanswer
 

Rajoutes une ligne timeout=xxxx, juste après la ligne prompt avec le nombre de dixièmes de secondes d'attente avant que lilo ne boote sur l'entrée définie par défaut


---------------
« Ce qui ne vous tue pas vous rend plus fort » F. Nietzsche | « Vise_ la Lune. Si tu rates, au pire, t'es dans la merde » Un poète disparu dans le cercle
n°760913
madsurfer
Boulet's eradicator
Posté le 10-12-2005 à 10:11:23  profilanswer
 

:hello:  
 
Merci Zzozo. Je test cela lundi et je te tiens au courant.
 
 :jap:


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

  Debian et probleme avec Lilo

 

Sujets relatifs
probleme xhostProbléme détéction du matériel debian
Problême sous linuxInstallation de php5 sous Debian 3.1
formater sous debianProbleme de vitesse d'affichage
Debian de sid en testing ...pb ouverture session root interface graphique debian !! help me !!!
(gros) probleme avec lilo sous debian[Debian SID] Problème avec lilo ?
Plus de sujets relatifs à : Debian et probleme avec Lilo


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