Pagina 1 di 1

Lilo e Slackware 14.2

Inviato: mar 9 ago 2016, 22:21
da hal9000
Ho appena installato la Slackware64 14.2 praticamente completa (tranne Caligra e pochi altri pacchetti) ma non riesco a farla partire. Il Lilo da un errore sulla VGA Vesa, in fase di installazione, che effettivamente con lspci | grep -i vga non viene vista. La scheda video è una Nvidia 8300 riconosciuta e che con Slackware 14.1 non dava nessun problema. Il sistema è installato su /sdb1 mentre su sda1 c'è Windows 7 non aggiornato. In pratica a causa di questo errore il Lilo non parte e all' avvio ho solo Windows. Per partire con Slackware devo inserire il cd di istallazione e ho tutto il sistema funzionante come da installazione.

Re: Lilo e Slackware 14.2

Inviato: mer 10 ago 2016, 21:05
da hal9000
Ho provato a disinstallare i xf86-video-vesa e il lilo e poi ho reinstallato nuovamente, ma alla nuova installazione dopo lilo -v ottengo;
Reading boot sector from /dev/sda
Warning: Unable to determine video adapter in use in the present system.
Using BITMAP secondary loader
Calling map_insert_data
Warning: The boot sector and map file are on different disks.
Mapping bitmap file /boot/slack.bmp
Warning: Video adapter does not support VESA BIOS extensions needed for
display of 256 colors. Boot loader will fall back to TEXT only operation.
Calling map_insert_file

Boot other: /dev/sda1, on /dev/sda, loader CHAIN
Warning: Device 0x0800: Inconsistent partition table, 1st entry
CHS address in PT: 1:27:15 --> LBA (17780)
LBA address in PT: 2048 --> CHS (0:32:33)
Fatal: Either FIX-TABLE or IGNORE-TABLE must be specified
If not sure, first try IGNORE-TABLE (-P ignore)
e questo l' ouput di:

Codice: Seleziona tutto

lspci | grep -i nv
VGA compatible controller: NVIDIA Corporation G86 [GeForce 8400 GS] (rev a1)
che dopo un avvio con disco Slackware64 e lanciato startx funziona benissimo.
Mi conviene provare ad installare grub?
Nessuna idea di come posso fare per far riconoscere al lilo la mia scheda video?
Grazie.

Re: Lilo e Slackware 14.2

Inviato: gio 11 ago 2016, 9:00
da conraid
Dovresti mettere VGA semplice, non è che hai qualche configurazione con framebuffer?
Metti lilo.conf

Re: Lilo e Slackware 14.2

Inviato: gio 11 ago 2016, 10:32
da hal9000
Ecco l' output di :

Codice: Seleziona tutto

bash-4.3# modprobe vesa
modprobe: FATAL: Module vesa not found in directory /lib/modules/4.4.14
e questo è il lilo.conf
  • # LILO configuration file
    # generated by 'liloconfig'
    #
    # Start LILO global section
    lba32 # Allow booting past 1024th cylinder with a recent BIOS
    # 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 = 1200
    # 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/sda1
    label = Windows
    table = /dev/sda
    # Windows bootable partition config ends
    # Linux bootable partition config begins
    image = /boot/vmlinuz
    root = /dev/sdb1
    label = Linux
    read-only
    # Linux bootable partition config ends
Sembra tutto . Grazie.

Re: Lilo e Slackware 14.2

Inviato: gio 11 ago 2016, 10:43
da hal9000
Aggiungo:
con

Codice: Seleziona tutto

Disk /dev/sda: 465,8 GiB, 500107862016 bytes, 976773168 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
Disklabel type: dos
Disk identifier: 0xf358f358

Dispositivo Avvio Start      Fine   Settori   Size Id Tipo
/dev/sda1   *      2048 716802047 716800000 341,8G  7 HPFS/NTFS/exFAT


Disk /dev/sdb: 465,8 GiB, 500107862016 bytes, 976773168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0x000662f2

Dispositivo Avvio     Start      Fine   Settori   Size Id Tipo
/dev/sdb1              2048 199264255 199262208    95G 83 Linux
/dev/sdb2         199264256 976756735 777492480 370,8G 83 Linux
/dev/sdb3         976756736 976773119     16384     8M 82 Linux swap
vedo che /dev/sdb1 non ha l' asterisco su avvio. Non è che la pèartizione non è bbotabile e per questo il lilo non parte?
Grazie.

Re: Lilo e Slackware 14.2

Inviato: gio 11 ago 2016, 10:46
da rik70
La butto lì a ca.. ..so:

secondo me l'errore d'installazione di lilo non è relativo alla VGA - dal log sembra un semplice warning - ma a /dev/sda.

Prova a incollare qui

Codice: Seleziona tutto

fdisk -l /dev/sda
perché viene rilevato un problema alla tabella delle partizioni del disco sda:
hal9000 ha scritto:Warning: Device 0x0800: Inconsistent partition table, 1st entry
CHS address in PT: 1:27:15 --> LBA (17780)
LBA address in PT: 2048 --> CHS (0:32:33)
Fatal: Either FIX-TABLE or IGNORE-TABLE must be specified
If not sure, first try IGNORE-TABLE (-P ignore)
In pratica ti dice di provare con

Codice: Seleziona tutto

lilo -v -P ignore

Occhio a non passare il flag '-P fix' che potrebbe essere distruttivo dello schema partizioni.

Re: [Risolto] Lilo e Slackware 14.2

Inviato: gio 11 ago 2016, 12:40
da hal9000
Grazie rik70.
con

Codice: Seleziona tutto

lilo -v -P ignore
il lilo si è avviato.