Avevo dentro una partizione Windows e Debian quando ho installato slackware current 32 bit. Ovviamente con l'installazione di Slackware mi è scomparso Debian come voce del Boot loader.
Vorrei rimetterla. Ho visto qualche guida ma non ho capito bene cosa inserire a lilo.conf .
Questo è lilo.conf
Codice: Seleziona tutto
# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
# Append any additional kernel parameters:
append=" vt.default_utf8=0"
boot = /dev/sda
# 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/sda7
label = Linux
read-only
# Linux bootable partition config ends
Questo è il risultato di "ls /boot"
Codice: Seleziona tutto
README.initrd config-huge-2.6.37.6
System.map config-huge-smp-2.6.37.6-smp
System.map-generic-2.6.37.6 diag1.img
System.map-generic-smp-2.6.37.6-smp diag2.img
System.map-huge-2.6.37.6 map
System.map-huge-smp-2.6.37.6-smp slack.bmp
boot.0800 vmlinuz
boot_message.txt vmlinuz-generic-2.6.37.6
config vmlinuz-generic-smp-2.6.37.6-smp
config-generic-2.6.37.6 vmlinuz-huge-2.6.37.6
config-generic-smp-2.6.37.6-smp vmlinuz-huge-smp-2.6.37.6-smp
questo è il risultato di "fdisk -l"
Codice: Seleziona tutto
bash-4.1# fdisk -l
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 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
Disk identifier: 0xd69bd69b
Device Boot Start End Blocks Id System
/dev/sda1 * 63 204814333 102407135+ 7 HPFS/NTFS/exFAT
/dev/sda2 204828811 976768064 385969627 f W95 Ext'd (LBA)
/dev/sda5 204828813 208925324 2048256 82 Linux swap
/dev/sda6 208925388 331806509 61440561 83 Linux
/dev/sda7 331806573 444454289 56323858+ 83 Linux
/dev/sda8 444454353 555270659 55408153+ 7 HPFS/NTFS/exFAT
/dev/sda9 555284480 771971071 108343296 7 HPFS/NTFS/exFAT
/dev/sda10 771971508 976768064 102398278+ 7 HPFS/NTFS/exFAT
Se avete bisogno di altro ditemi.
un'ultima cosa: quando digito "/sbin/lilo" mi viene fuori questo:
Codice: Seleziona tutto
bash-4.1# /sbin/lilo
Warning: LBA32 addressing assumed
Warning: '/proc/partitions' does not match '/dev' directory structure.
Name change: '/dev/sda1' -> '/dev/sda1'
part_nowrite check:: Input/output error