Recuperar Slackware no lilo [RESOLVIDO]

1. Recuperar Slackware no lilo [RESOLVIDO]

andre luiz
xiloba

(usa Slackware)

Enviado em 27/03/2011 - 08:57h

Eu sei que lilo é o assunto mais manjado do mundo. Antes de postar aqui pesquisei e consegui entrar no lilo:
mount /dev/sda6 /mnt
cd /etc
ln -s /mnt /etc/lilo.conf

o problema é que mesmo tendo o lilo configurado corretamente, não consigo entrar no slackware pois o lilo entra direto no windows(repare que o tempo está em 1200). O que fiz foi editar o lilo.conf e comentar as linhas do windows.Assim ele só acha o Slackware, o que é uma solução tosca, mas pelo menos serviu para eu entrar no Slackware. Não vou nem comentar o fato de não conseguir iniciar o ubuntu no sda5...
aí vai uma cópia do meu 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):
# 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 @ 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
# End LILO global section
# Windows bootable partition config begins
#other = /dev/sda1
# label = Windows
# table = /dev/sda
# Windows bootable partition config ends
#image = /mnt/sda5/boot/vmlinuz-2.6.32-28-generic
#root = /dev/sda5
#label = Ubuntu
# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/sda6
label = Slackware
read-only
# Linux bootable partition config ends

-------------------------------------

O que me chamou atenção foi o fato de não ter escrito "prompt= So desejado" no arquivo lilo.conf


  


2. Re: Recuperar Slackware no lilo [RESOLVIDO]

Joao
stack_of

(usa Slackware)

Enviado em 27/03/2011 - 09:21h

Não está faltando o argumento `prompt` antes do `timeout`? Sem esse argumento o boot inicia imediatamente.


3. Re: Recuperar Slackware no lilo [RESOLVIDO]

andre luiz
xiloba

(usa Slackware)

Enviado em 27/03/2011 - 10:44h

Obrigao, stack of.
Resolveu. Eu tinha reparado que estava faltando o prompt, mas não sabia em que lugar do lilo.conf ele viria. Estou há muito tempo sem usar o slackware. só estou usando o grub do ubuntu.
Valeu.







Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts