Repository 32bit  Forum
Repository 64bit  Wiki

lilo.conf per più linux distros

Postate qui per tutte le discussioni legate a Linux in generale.

Moderatore: Staff

Regole del forum
1) Citare sempre la versione di Slackware usata, la versione del Kernel e magari anche la versione della libreria coinvolta. Questi dati aiutano le persone che possono rispondere.
2) Per evitare confusione prego inserire in questo forum solo topic che riguardano appunto Gnu/Linux in genere, se l'argomento è specifico alla Slackware usate uno dei forum Slackware o Slackware64.
3) Leggere attentamente le risposte ricevute
4) Scrivere i messaggi con il colore di default, evitare altri colori.
5) Scrivere in Italiano o in Inglese, se possibile grammaticalmente corretto, evitate stili di scrittura poco chiari, quindi nessuna abbreviazione tipo telegramma o scrittura stile SMS o CHAT.
6) Appena registrati è consigliato presentarsi nel forum dedicato.

La non osservanza delle regole porta a provvedimenti di vari tipo da parte dello staff, in particolare la non osservanza della regola 5 porta alla cancellazione del post e alla segnalazione dell'utente. In caso di recidività l'utente rischia il ban temporaneo.

lilo.conf per più linux distros

Messaggioda dadda » mar giu 22, 2004 12:44

Per essere più chiara ecco il file /etc/lilo.conf della Debian <BR> <BR> <BR># Support LBA for large hard disks. <BR># <BR>lba32 <BR> <BR>vga=791 <BR> <BR># Overrides the default mapping between harddisk names and the BIOS´ <BR># harddisk order. Use with caution. <BR>#disk=/dev/hde <BR># bios=0x81 <BR> <BR>#disk=/dev/sda <BR># bios=0x80 <BR> <BR># Specifies the boot device. This is where Lilo installs its boot <BR># block. It can be either a partition, or the raw device, in which <BR># case it installs in the MBR, and will overwrite the current MBR. <BR># <BR>boot=/dev/hda <BR> <BR># Specifies the device that should be mounted as root. (`/´) <BR># <BR>root=/dev/hda1 <BR> <BR># Enable map compaction: <BR># Tries to merge read requests for adjacent sectors into a single <BR># read request. This drastically reduces load time and keeps the <BR># map smaller. Using `compact´ is especially recommended when <BR># booting from a floppy disk. It is disabled here by default <BR># because it doesn´t always work. <BR># <BR># compact <BR># Installs the specified file as the new boot sector <BR># You have the choice between: bmp, compat, menu and text <BR># Look in /boot/ and in lilo.conf(5) manpage for details <BR># <BR>install=/boot/boot-menu.b <BR> <BR># Specifies the location of the map file <BR># <BR>map=/boot/map <BR> <BR># You can set a password here, and uncomment the `restricted´ lines <BR># in the image definitions below to make it so that a password must <BR># be typed to boot anything but a default configuration. If a <BR># command line is given, other than one specified by an `append´ <BR># statement in `lilo.conf´, the password will be required, but a <BR># standard default boot will not require one. <BR># <BR># This will, for instance, prevent anyone with access to the <BR># console from booting with something like `Linux init=/bin/sh´, <BR># and thus becoming `root´ without proper authorization. <BR># <BR># Note that if you really need this type of security, you will <BR># likely also want to use `install-mbr´ to reconfigure the MBR <BR># program, as well as set up your BIOS to disallow booting from <BR># removable disk or CD-ROM, then put a password on getting into the <BR># BIOS configuration as well. Please RTFM `install-mbr(8)´. <BR># <BR># password=tatercounter2000 <BR> <BR># Specifies the number of deciseconds (0.1 seconds) LILO should <BR># wait before booting the first image. <BR># <BR>delay=20 <BR> You can put a customized boot message up if you like. If you use <BR># `prompt´, and this computer may need to reboot unattended, you <BR># must specify a `timeout´, or it will sit there forever waiting <BR># for a keypress. `single-key´ goes with the `alias´ lines in the <BR># `image´ configurations below. eg: You can press `1´ to boot <BR># `Linux´, `2´ to boot `LinuxOLD´, if you uncomment the `alias´. <BR># <BR># message=/boot/bootmess.txt <BR> prompt <BR># single-key <BR># delay=100 <BR> timeout=100 <BR> <BR># Kernel command line options that apply to all installed images go <BR># here. See: The `boot-prompt-HOWO´ and `kernel-parameters.txt´ in <BR># the Linux kernel `Documentation´ directory. <BR># <BR># append="" <BR>append="hda=scsi hdb=scsi hdc=scsi hdd=scsi hde=scsi hdf=scsi hdg=scsi hdh=scsi noapic acpi=off apm=power-off" <BR> <BR># Boot up Linux by default. <BR># <BR>default=Linux <BR>image=/boot/vmlinuz-2.4.21-xfs <BR> label=Linux <BR> read-only <BR># restricted <BR># alias=1 <BR> <BR>image=/vmlinuz.old <BR> label=LinuxOLD <BR> read-only <BR> optional <BR># restricted <BR># alias=2 <BR> <BR>#Avvio distro Slackware 9-1 --------- <BR> <BR>image=/boot/vmlinuz <BR> label=Slack_9_1 <BR> root=/dev/hda6 <BR> read-only <BR> <BR># If you have another OS on this machine to boot, you can uncomment the <BR># following lines, changing the device name on the `other´ line to <BR># where your other OS´ partition is. <BR># other=/dev/hda6 <BR># label=Slack9-1 <BR># read-only <BR># restricted <BR># alias=1 <BR> <BR>SE AL PROMPT OPTO PER SLACK_9_1 <BR>ricevo il seguente messaggio: <BR> <BR>modprobe: can´t open dependencies file /lib/modules/2.4.21-xfs/modulesdep no suc file or directory <BR> <BR>COME / COSA FARE? <BR> <BR>GRAZIE A TUTTI <BR>DADDA <br>
dadda
Linux 1.0
Linux 1.0
 
Messaggi: 14
Iscritto il: dom mag 16, 2004 23:00

Torna a Gnu/Linux in genere

Chi c’è in linea

Visitano il forum: Nessuno e 2 ospiti