O ben(mal)...dito do lilo [RESOLVIDO]

1. O ben(mal)...dito do lilo [RESOLVIDO]

fcbatera
fcbatera

(usa Debian)

Enviado em 16/09/2012 - 16:26h

galera desculpa criar mais topico sobre esse assunto, q jah tah mais doq saturado
mas eh o seguinte, eu li varias formas de configurar o lilo, um monte d sites mas nenhum deu certo aki
to com o slack1337 e o deb squeeze na maquina e num keria deixar o boot com o grub pq as vzs dah a loca d instalar alguma distro soh pra tirar uma pira, dae como o slack eh o "SLACK" e sempre serah o primeiro(puxacao de saco =P) o alvo da eliminacao serah o deb
mas enfim serah q algum pod dar uma ajudinha
vlw

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

# 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
# VESA framebuffer console @ 1024x768x64k
vga = 791
# 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
default = Slacware

# Linux bootable partition config begins
#Slack kernel 2.6.37
image = /boot/vmlinuz
root = /dev/sda1
label = Linux
read-only

#Debian kernel 2.6.32
image = "/boot/vmlinuz-2.6.32-5-amd64"
initrd = "/boot/initrd.img-2.6.32-5-amd64"
root = "/dev/sda3"
label = "Debian"
ready-only



  


2. Re: O ben(mal)...dito do lilo [RESOLVIDO]

Cristiano
sempreslack

(usa Slackware)

Enviado em 16/09/2012 - 18:19h

fcbatera escreveu:

galera desculpa criar mais topico sobre esse assunto, q jah tah mais doq saturado
mas eh o seguinte, eu li varias formas de configurar o lilo, um monte d sites mas nenhum deu certo aki
to com o slack1337 e o deb squeeze na maquina e num keria deixar o boot com o grub pq as vzs dah a loca d instalar alguma distro soh pra tirar uma pira, dae como o slack eh o "SLACK" e sempre serah o primeiro(puxacao de saco =P) o alvo da eliminacao serah o deb
mas enfim serah q algum pod dar uma ajudinha
vlw

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

# 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
# VESA framebuffer console @ 1024x768x64k
vga = 791
# 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
default = Slacware

# Linux bootable partition config begins
#Slack kernel 2.6.37
image = /boot/vmlinuz
root = /dev/sda1
label = Linux
read-only

#Debian kernel 2.6.32
image = "/boot/vmlinuz-2.6.32-5-amd64"
initrd = "/boot/initrd.img-2.6.32-5-amd64"
root = "/dev/sda3"
label = "Debian"
ready-only


O teu lilo ta errado pelo seguinte, você precisa colocar o endereço completo, por endereço completo digo o ponto de montagem. por exemplo, cria uma pasta em /mnt chamada debian, supondo que realmente ta em sda3 a partição do debian, então ficaria assim:

# End LILO global section
default = Slacware

# Linux bootable partition config begins
#Slack kernel 2.6.37
image = /boot/vmlinuz
root = /dev/sda1
label = Linux
read-only

#Debian kernel 2.6.32
image = "/mnt/debian/boot/vmlinuz-2.6.32-5-amd64"
initrd = "/mnt/debian/boot/initrd.img-2.6.32-5-amd64"
root = "/dev/sda3"
label = "Debian"
ready-only

é claro que tem que montar antes, portanto, antes de reconfigurar o lilo da um mount /dev/sda3 /mnt/debian (supondo é claro que tenha criado /mnt/debian)
Outra coisa, mantem a configuração global do lilo da forma como vc fez, só acertei o final.

Forte abraço


3. Re: O ben(mal)...dito do lilo [RESOLVIDO]

fcbatera
fcbatera

(usa Debian)

Enviado em 16/09/2012 - 23:07h

root@:~# /sbin/lilo
Warning: LBA32 addressing assumed
Added Linux
Warning: The initial RAM disk is too big to fit between the kernel and
the 15M-16M memory hole. It will be loaded in the highest memory as
though the configuration file specified "large-memory" and it will
be assumed that the BIOS supports memory moves above 16M.
Added Debian ?
Fatal: Default image doesn't exist.
root@:~# tail -8 /etc/lilo.conf
#Debian kernel 2.6.32
image = /mnt/debian/boot/vmlinuz-2.6.32-5-amd64
initrd = /mnt/debian/boot/initrd.img-2.6.32-5-amd64
root = /dev/sda3
label = Debian
read-only

kra, eu num sei pq tah dando erro erro
tah tdu certo, montei na pasta /mnt/debian
o nome do arq vmlinuz tbm tah certo


4. Re: O ben(mal)...dito do lilo [RESOLVIDO]

Cristiano
sempreslack

(usa Slackware)

Enviado em 17/09/2012 - 11:59h

Opa, mals ai, não tinha observado que vc colocou o nome do default de Slackware e tinha chamado ele no label de Linux, por isso ele não encontro. O erro que ele reclama do debian se resolve em apenas uma linha a mais, coloque-a antes do default, assim como coloquei. Segue teu lilo acertado, forte abraço.

# End LILO global section
large-memory
default = Slackware

# Linux bootable partition config begins
#Slack kernel 2.6.37
image = /boot/vmlinuz
root = /dev/sda1
label = Slackware
read-only

#Debian kernel 2.6.32
image = "/mnt/debian/boot/vmlinuz-2.6.32-5-amd64"
initrd = "/mnt/debian/boot/initrd.img-2.6.32-5-amd64"
root = "/dev/sda3"
label = "Debian"
ready-only

Da mesma forma, precisa montar antes de dar o comando lilo a partição do debian usando o comando mount /dev/sda3 /mnt/debian


5. Re: O ben(mal)...dito do lilo [RESOLVIDO]

fcbatera
fcbatera

(usa Debian)

Enviado em 17/09/2012 - 13:10h

porra veio, valeu msmo, funfo direitinho
tava quase reinstalando o deb pra usar o grub
brassao





"So lock up your daughter
Lock up your wife
Lock up your back door
Run for your life

The man is back in town
Don't you mess me 'round

'Cause I'm TNT, I'm dynamite
TNT and I'll win the fight
TNT, I'm a power load
TNT, watch me explode"







Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts