Vraag & Antwoord

OS Linux

[debian] kernel

13 antwoorden
  • hoi, ik ben vandaag voor het eerst egonnen om een poging te wagen voor een kernel te compileren, hier en daar wat informatie gezocht, en vooral bij een andere site, daar een tut van. Maar ik ben nu bij het gedeelte dat ik lilo moet update, naar m'n lilo.conf file. Maar daar zit een fout in, maa rik kan maar niet zien, welke. Hieronder de lilo.conf [code:1:b2a48c9738] lba32 # Overrides the default mapping between harddisk names and the BIOS' # harddisk order. Use with caution. #disk=/dev/hde # bios=0x81 #disk=/dev/sda # bios=0x80 #--------------------------- image=/boot/vmlinuz-2.4.21 label=newlinux read-only root=/dev/hda1 #--------------------------- message = /boot/boot_message.txt boot = /dev/hda1 prompt timeout = 10 vga = normal default = linux image = /boot/vmlinuz-2.4.21 root = /dev/hda1 label = linux read-only append = "ide=nodma apm=off acpi=off noapic" #----------------------------- # 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 # You have the choice between: bmp, compat, menu and text # Look in /boot/ and in lilo.conf(5) manpage for details # install=/boot/boot-menu.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 prompt timeout=150 # 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 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 other=/dev/hdc1 label="Other(hdc1)" [/code:1:b2a48c9738] de fouten die die dan geeft zijn zulke: [quote:b2a48c9738]Syntax error at or above line 35 in file /etc/lilo.conf[/quote:b2a48c9738] Zouden jlulie me kunnen helpen want ik zit echt vast :S
  • [quote:409d3a6705="Grezly"][code:1:409d3a6705] boot = /dev/hda1[/code:1:409d3a6705] [code:1:409d3a6705] boot=/dev/hda [/code:1:409d3a6705][/quote:409d3a6705] lilo kan dan wel worden geïnstalleerd in de root partitie of in de mbr, maar niet in allebei tegelijk. Als die lilo van Debian je bootloader is kun je die [code:1:409d3a6705] boot = /dev/hda1[/code:1:409d3a6705] verwijderen.
  • Dan geeft hij nog steeds dezelfde fout aan, als ik dan lilo intype, om hem te update.... en dit is line 35... [quote:34c73428be] message = /boot/boot_message.txt [/quote:34c73428be]
  • Zou de append regel het probleem kunnen zijn? Wat gebeurt er als je deze regel als test even op commentaar zet?
  • [quote:983b1880b1="Grezly"]message = /boot/boot_message.txt [/quote:983b1880b1] En bestaat deze bestand bij jouw dan echt?
  • de append commentaar voor zetten getest, maar hij geeft nog steeds de fout, en ja de boot_message.txt bestaat ook, mar als ik die commentaar geef, dan geeft lilo als output de volgende regel (dus 36) als foutlijn...
  • [quote:bbaaab4041="Grezly"]commentaar geef, dan geeft lilo als output de volgende regel (dus 36) als foutlijn...[/quote:bbaaab4041] Heb je de originele [b:bbaaab4041] /etc/lilo.conf [/b:bbaaab4041] nog? Zo ja, zou je deze ook kunnen posten?
  • ik had m niet meer, maar ik heb even de 'nieuwe plakken' text die ik had ingevoegd eruit gehaald.. [code:1:715d0c4c62] # /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 # Overrides the default mapping between harddisk names and the BIOS' # harddisk order. Use with caution. #disk=/dev/hde # bios=0x81 #disk=/dev/sda # bios=0x80 # 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 # You have the choice between: bmp, compat, menu and text # Look in /boot/ and in lilo.conf(5) manpage for details # install=/boot/boot-menu.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 timeout=150 # 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 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 other=/dev/hdc1 label="Other(hdc1)" [/code:1:715d0c4c62] btw. als ik nu lilo intpe doet hij het volgens mij wel goed [qoute]debian:~# lilo Added Linux * Skipping /vmlinuz.old Added Other(hdc1) [/qoute]
  • Grezly, helemaal duidelijk vind ik het nog niet, maar zou je ook nog je output kunnen posten van je [code:1:7c9ee55caa] ls -l /boot/ [/code:1:7c9ee55caa]
  • hier is de uitkomst van ls -l /boot/ [code:1:26643aa971]debian:/boot# ls -l /boot/ total 2040 -rw------- 1 root root 9492 Sep 20 18:23 DEADJOE -rw-r--r-- 1 root root 224124 Sep 19 22:03 System.map-2.2.20-idepci -rw-r--r-- 1 root root 7988 Apr 13 2002 boot-bmp.b -rw-r--r-- 1 root root 6204 Apr 13 2002 boot-compat.b -rw-r--r-- 1 root root 7964 Apr 13 2002 boot-menu.b -rw-r--r-- 1 root root 6204 Apr 13 2002 boot-text.b -rw-r--r-- 1 root root 512 Sep 19 22:12 boot.0300 lrwxrwxrwx 1 root root 11 Sep 19 22:11 boot.b -> boot-menu.b -rw-r--r-- 1 root root 30 Sep 20 01:25 boot_message.txt -rw-r--r-- 1 root root 728 Apr 13 2002 chain.b -rw-r--r-- 1 root root 3888 Sep 19 22:03 config-2.2.20-idepci -rw------- 1 root root 38400 Sep 20 18:27 map -rw-r--r-- 1 root root 656 Apr 13 2002 os2_d.b -rw-r--r-- 1 root root 665509 Sep 19 22:03 vmlinuz-2.2.20-idepci -rw-r--r-- 1 root root 1076669 Sep 20 00:47 vmlinuz-2.4.21 debian:/boot#[/code:1:26643aa971]
  • Dan zou je het volgende kunnen proberen Wijzig deze regel uit je laatst geposte lilo.conf [code:1:104564d9ed] image=/vmlinuz.old [/code:1:104564d9ed] in [code:1:104564d9ed] image=/boot/vmlinuz-2.4.21 [/code:1:104564d9ed] En wijzig [code:1:104564d9ed] label=LinuxOLD [/code:1:104564d9ed] in bijvoorbeeld [code:1:104564d9ed] label=LinuxNEW [/code:1:104564d9ed] Dan # lilo Ik zelf gaf eigenlijk de voorkeur aan # lilo -v
  • ik heb van iemand nu deze lilo gekregen, hier is toch ook niets mis meej?? [code:1:b15bb532b7]boot = /dev/hda default = linux delay = 20 install = /boot/boot-menu.b lba32 map = /boot/map message = /boot/boot_message.txt prompt root = /dev/hda1 timeout = 150 vga = normal image = /boot/vmlinuz-2.4.21 label = linux read-only append = "ide=nodma apm=off acpi=off noapic" image = /vmlinuz label = Linublaatx read-only #image = /vmlinuz.old #label = LinuxOLD #read-only #optional image = /boot/vmlinuz-2.4.21 label = newlinux read-only root = /dev/hda1 other = /dev/hdc1 label = "Other(hdc1)"[/code:1:b15bb532b7] Maar het kan ook zijn dat er iets is misgegaan met het compileren, dus ik zal dat maar eerst een opnieuw proberen...
  • Uit je eerste lilo.conf:[code:1:772c54c09f] Enable map compaction: [/code:1:772c54c09f] Het hekje ontbreekt. Als dit op je pc zo is, dan gaat dat niet goed. (of het is een typefoutje?)

Beantwoord deze vraag

Weet jij het antwoord op deze vraag? Registreer of meld je aan met je account

Dit is een gearchiveerde pagina. Antwoorden is niet meer mogelijk.