Problema con lilo

Se avete problemi con l'installazione e la configurazione di Slackware postate qui. Non usate questo forum per argomenti generali... per quelli usate Gnu/Linux in genere.

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 Slackware, se l'argomento è generale usate il forum Gnu/Linux in genere.
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.
Rispondi
pol
Linux 2.x
Linux 2.x
Messaggi: 407
Iscritto il: sab 16 apr 2005, 0:00
Località: Uno dei posti più belli d'Italia

Problema con lilo

Messaggio da pol »

Devo fare modifiche su lilo.conf ma non c'è verso di fargliele accettare, quando do # lilo -v

# lilo -v
LILO version 24.0 (released 07-Juni-2013)
* Copyright (C) 1992-1998 Werner Almesberger (until v20)
* Copyright (C) 1999-2007 John Coffman (until v22)
* Copyright (C) 2009-2013 Joachim Wiedorn (since v23)
This program comes with ABSOLUTELY NO WARRANTY. This is free software
distributed under the BSD License (3-clause). Details can be found in
the file COPYING, which is distributed with this software.
Compiled at 17:40:54 on Oct 27 2013

Warning: LBA32 addressing assumed
Reading boot sector from /dev/sda
Using BITMAP secondary loader
Calling map_insert_data
Mapping bitmap file /boot/slack.bmp
Calling map_insert_file

Boot other: /dev/sdb1, on /dev/sdb, loader CHAIN
Warning: Device 0x0810: Inconsistent partition table, 1st entry
CHS address in PT: 0:32:33 --> LBA (992)
LBA address in PT: 2048 --> CHS (0:68:9)
Fatal: Either FIX-TABLE or IGNORE-TABLE must be specified
If not sure, first try IGNORE-TABLE (-P ignore)

Sul pc c'è anche Windows installato.

Avatar utente
lablinux
Linux 4.x
Linux 4.x
Messaggi: 1153
Iscritto il: gio 27 nov 2008, 12:23
Desktop: Gnome
Distribuzione: Debian testing
Località: Rho

Re: Problema con lilo

Messaggio da lablinux »

Dacci le partizioni e il file lilo.conf

Come dissero a me "non abbiamo la palla di cristallo" :D

pol
Linux 2.x
Linux 2.x
Messaggi: 407
Iscritto il: sab 16 apr 2005, 0:00
Località: Uno dei posti più belli d'Italia

Re: Problema con lilo

Messaggio da pol »

Con cfdisk mi vede solo l'hd di slackware

Codice: Seleziona tutto

# fdisk -l

Disk /dev/sda: 80.0 GB, 80026361856 bytes
17 heads, 18 sectors/track, 510789 cylinders, total 156301488 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000425b0

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *          18    58593797    29296890   83  Linux
/dev/sda2        58593798   150390737    45898470    5  Extended
/dev/sda5        58593816   150390737    45898461   83  Linux

Disk /dev/sdb: 256.1 GB, 256060514304 bytes
255 heads, 63 sectors/track, 31130 cylinders, total 500118192 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x9f42c1bc

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *        2048     1026047      512000    7  HPFS/NTFS/exFAT
/dev/sdb2         1026048   500115455   249544704    7  HPFS/NTFS/exFAT

WARNING: GPT (GUID Partition Table) detected on '/dev/sdc'! The util fdisk doesn't support GPT. Use GNU Parted.


Disk /dev/sdc: 320.1 GB, 320071851520 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625140335 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xdd3f1a8b

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1            2048   625139711   312568832    7  HPFS/NTFS/exFAT
bash-4.2# 


Codice: Seleziona tutto

lilo.conf

# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
# Append any additional kernel parameters:
append=" vt.default_utf8=0"
boot = /dev/sda

#compact        # faster, but won't work on all systems.

# Boot BMP Image.
# Bitmap in BMP format: 640x480x8
  bitmap = /boot/slack.bmp
# Menu colors (foreground, background, shadow, highlighted
# foreground, highlighted background, highlighted shadow):
  bmp-colors = 255,0,255,0,255,0
# Location of the option table: location x, location y, number of
# columns, lines per column (max 15), "spill" (this is how many
# entries must be in the first column before the next begins to
# be used.  We don't specify it here, as there's just one column.
  bmp-table = 60,6,1,16
# Timer location x, timer location y, foreground color,
# background color, shadow color.
  bmp-timer = 65,27,0,255

# Standard menu.
# Or, you can comment out the bitmap menu above and 
# use a boot message with the standard menu:
#message = /boot/boot_message.txt

# Wait until the timeout to boot (if commented out, boot the
# first entry immediately):
prompt
# Timeout before the first entry boots.
# This is given in tenths of a second, so 600 for every minute:
timeout = 600
# Override dangerous defaults that rewrite the partition table:
change-rules
  reset
# Normal VGA console
vga = normal
# Ask for video mode at boot (time out to normal in 30s)
#vga = ask
# VESA framebuffer console @ 1024x768x64k
#vga=791
# VESA framebuffer console @ 1024x768x32k
#vga=790
# VESA framebuffer console @ 1024x768x256
#vga=773
# VESA framebuffer console @ 800x600x64k
#vga=788
# VESA framebuffer console @ 800x600x32k
#vga=787
# VESA framebuffer console @ 800x600x256
#vga=771
# VESA framebuffer console @ 640x480x64k
#vga=785
# VESA framebuffer console @ 640x480x32k
#vga=784
# VESA framebuffer console @ 640x480x256
#vga=769
# End LILO global section
# Windows bootable partition config begins
other = /dev/sdb1
  label = Windows
  table = /dev/sdb
# Windows bootable partition config ends
# Linux bootable partition config begins
image = /boot/vmlinuz
  root = /dev/sda1
  label = Linux
  read-only
# Linux bootable partition config ends
Ultima modifica di conraid il mar 1 set 2015, 10:09, modificato 1 volta in totale.
Motivazione: Cerca di mettere le parti di codice o di file di configurazione racchiusi nel tag CODE.

Avatar utente
lablinux
Linux 4.x
Linux 4.x
Messaggi: 1153
Iscritto il: gio 27 nov 2008, 12:23
Desktop: Gnome
Distribuzione: Debian testing
Località: Rho

Re: Problema con lilo

Messaggio da lablinux »

a occhio e corce, sdb1 è la partizione di ripristino di windows. Prova con sdb2.

Avatar utente
brg
Linux 3.x
Linux 3.x
Messaggi: 515
Iscritto il: sab 12 mar 2011, 14:20
Slackware: 14.2
Kernel: 4.4.172
Desktop: KDE4
Località: Montecatini
Contatta:

Re: Problema con lilo

Messaggio da brg »

Non rispondo direttamente al problema segnalato, ma ricordo che lo sviluppo di LILO è prossimo a fermarsi e che su Slackware è disponibile anche GRUB.

Rispondi