Pagina 1 di 1

Errore con LILO e dualboot

Inviato: sab 20 dic 2008, 15:48
da lawais 90
Ciao sono nuovo di Slackware mi mandate il vostro lilo.conf... l'ho modificato ed ora non mi dà più l'immagine come prima..inoltre vorrei boottare anche dalla partizione di windows senza dover entrare nel bios ogni volta
Grazie :D

Re: Aiuto perfavore

Inviato: sab 20 dic 2008, 16:03
da V
Puoi postare il tuo lilo.conf e dirci come e' partizionato il disco?

Re: Aiuto perfavore

Inviato: sab 20 dic 2008, 16:05
da pino
lawais 90 ha scritto:Ciao sono nuovo di Slackware mi mandate il vostro lilo.conf... l'ho modificato ed ora non mi dà più l'immagine come prima..inoltre vorrei boottare anche dalla partizione di windows senza dover entrare nel bios ogni volta
Grazie :D
eccoti il mio lilo conf. Ma che vuole dire "non mi dà più l'immagine come"
Ciao Pino

Codice: Seleziona tutto

# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
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

# Append any additional kernel parameters:
append=" vt.default_utf8=0"
prompt
timeout = 300
# VESA framebuffer console @ 1024x768x256
vga = 773
# Normal VGA console
# vga = normal
# 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
# ramdisk = 0     # paranoia setting
# End LILO global section
# Linux bootable partition config begins
image = /boot/vmlinuz
  root = /dev/sda5
  label = linux
  read-only  # Partitions should be mounted read-only for checking
# Linux bootable partition config ends
# Windows bootable partition config begins
other = /dev/sda1
  label = windows
#  map-drive = 0x80
#   to = 0x81
#  map-drive = 0x81
#   to = 0x80
  table = /dev/sda
# Windows bootable partition config ends

Re: Errore con LILO e dualboot

Inviato: sab 20 dic 2008, 16:47
da metrofox
Scusa, posta il tuo lilo.conf, poi hai fatto pasticci con gli HD? Se sì posta il tuo fdisk -l ;) O almeno dicci la tavola delle partizioni ;)

Re: Errore con LILO e dualboot

Inviato: sab 20 dic 2008, 16:58
da lawais 90
Grazie.....
questo è il mio vecchio lilo.conf
boot="/dev/hda"
lba32
prompt
timeout="1200"
root=/dev/hda1
vga="773"

image="/boot/vmlinuz"
label="Linux"
root="/dev/hda1"
read-only


optional
other=/dev/hdb1
label="Windows"
image="/dev/hdb1"
root="/dev/hdb1"
questo è fdisk -l
Disk /dev/hda: 81.9 GB, 81964302336 bytes
255 heads, 63 sectors/track, 9964 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x1d1d1d1d

Device Boot Start End Blocks Id System
/dev/hda1 * 1 8510 68356543+ 83 Linux
/dev/hda2 8511 9957 11623027+ c W95 FAT32 (LBA)

Disk /dev/hdb: 8455 MB, 8455200768 bytes
255 heads, 63 sectors/track, 1027 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x381f381f

Device Boot Start End Blocks Id System
/dev/hdb1 * 1 1026 8241313+ c W95 FAT32 (LBA)

Disk /dev/sda: 1022 MB, 1022623744 bytes
24 heads, 23 sectors/track, 3618 cylinders
Units = cylinders of 552 * 512 = 282624 bytes
Disk identifier: 0x528abfeb

Device Boot Start End Blocks Id System
/dev/sda1 1 3619 998532+ 6 FAT16
ho modificato lilo.conf così:
# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
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

# Append any additional kernel parameters:
append=" vt.default_utf8=0"
prompt
timeout = 300
# VESA framebuffer console @ 1024x768x256
vga = 773
# Normal VGA console
# vga = normal
# 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
# ramdisk = 0 # paranoia setting
# End LILO global section
# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/hda1
label = Linux
read-only
# Partitions should be mounted read-only for checking
# Linux bootable partition config ends
#
# Windows bootable partition config begins
other = /dev/hdb1
label = windows
table = /dev/hdb1
# map-drive = 0x80
# to = 0x81
# map-drive = 0x81
# to = 0x80
# Windows bootable partition config ends
Consigli.. :o

Re: Errore con LILO e dualboot

Inviato: sab 20 dic 2008, 17:08
da conraid
lawais 90 ha scritto:Consigli.. :o
Ma in /dev/sda cosa hai?

P.S.
Non usare il tag QUOTE per le parti di codice, ma il tag CODE

Re: Errore con LILO e dualboot

Inviato: sab 20 dic 2008, 23:23
da urka58
Edit:
Non avevo letto accuratamente
Mi associo a conraid, cosa c'è su /dev/sda..

Comunque la tabella delle partizioni nella sezione windows sarà eventualmente hdb, non hdb1
Ciao

Re: Errore con LILO e dualboot

Inviato: sab 20 dic 2008, 23:43
da slucky
se con lilo hai problemi, puoi anche cambiare bootloader e installarti grub, lo trovi nella sezione /extra del dvd, una volta installato il pacchetto, con il comando grubconfig lo configuri, poi ti basta editare il file /boot/grub/menu.lst e mettendo il caso che la tua partizione di windows sia in hdb1, aggiungi questa sezione per il boot:
title Windows 95/98/NT/2000
root (hd1,0)
makeactive
chainloader +1

saluti

Re: Errore con LILO e dualboot

Inviato: dom 21 dic 2008, 22:40
da Luke
Secondo me il problema è che hai modificato il dispositivo di boot da /dev/hda a /dev/sda, quindi se non è una cosa voluta prova a rimettere a posto la direttiva boot con hda, come era prima, aggiorna lilo (# lilo -v) e potrebbe tornare tutto a posto.

Ciao

Luke

Re: Errore con LILO e dualboot

Inviato: dom 21 dic 2008, 22:44
da Darkstar89
Conosco lawais.. gli ho installato io slackware, in /dev/sda1 ha slackware mentre su /dev/hdb1 ha Win... L'altro giorno a casa sua non riuscivo ad editarle lilo.conf... :D Ho aggiunto le classiche righe ma non partiva Win.. mi scriveva Loading Windows e si fermava.. Potrebbe dipendere da i jump de gli hd? (Se avvio slackware con tutti e 2 gli hd win viene rilevato su /dev/sdb1)

Re: Errore con LILO e dualboot

Inviato: lun 22 dic 2008, 8:23
da conraid
Darkstar89 ha scritto:Conosco lawais.. gli ho installato io slackware, in /dev/sda1 ha slackware mentre su /dev/hdb1 ha Win... L'altro giorno a casa sua non riuscivo ad editarle lilo.conf... :D Ho aggiunto le classiche righe ma non partiva Win.. mi scriveva Loading Windows e si fermava.. Potrebbe dipendere da i jump de gli hd? (Se avvio slackware con tutti e 2 gli hd win viene rilevato su /dev/sdb1)
quel lilo.conf allora è sbagliato. Per ovviare al fatto che ti trova un nome diverso ogni volta (ma sono esterni? se no perché togli un hd?) usa l'UUID anche in lilo.conf