Pagina 1 di 1

Problema con lilo

Inviato: dom 30 ago 2015, 22:59
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.

Re: Problema con lilo

Inviato: lun 31 ago 2015, 19:06
da lablinux
Dacci le partizioni e il file lilo.conf

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

Re: Problema con lilo

Inviato: lun 31 ago 2015, 22:57
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

Re: Problema con lilo

Inviato: mar 1 set 2015, 0:06
da lablinux
a occhio e corce, sdb1 è la partizione di ripristino di windows. Prova con sdb2.

Re: Problema con lilo

Inviato: mar 1 set 2015, 15:25
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.