Problemas para configurar Lilo. [RESOLVIDO]

1. Problemas para configurar Lilo. [RESOLVIDO]

Luiz Paulo
maledicente

(usa Gentoo)

Enviado em 02/09/2013 - 12:33h

Segui um tutoral que entrei porém na hora do boot não aparecem o Arch e Debian. Lilo configurado e atual:

# 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-linux
root = /dev/sda5
label = Arch
read-only
# Linux bootable partition config ends
# Linux bootable partition config begins
image = /boot/vmlinuz-3.2.04-amd64
root = /dev/sda6
label = Debian
read-only
# Linux bootable partition config ends
# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/sda3
label = Slack
read-only
# Linux bootable partition config ends


Eu instalei o Windows, Slack, Arch, Debian nessa ordem e estava usando o grub, decidi usar o lilo pois ficavam varias entradas no grub e agora apesar de configurado só aparece o windows e slack para boot.


  


2. Re: Problemas para configurar Lilo. [RESOLVIDO]

Luís Fernando C. Cavalheiro
lcavalheiro

(usa Slackware)

Enviado em 02/09/2013 - 12:43h

shaed escreveu:

Segui um tutoral que entrei porém na hora do boot não aparecem o Arch e Debian. Lilo configurado e atual:

# 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-linux
root = /dev/sda5
label = Arch
read-only
# Linux bootable partition config ends
# Linux bootable partition config begins
image = /boot/vmlinuz-3.2.04-amd64
root = /dev/sda6
label = Debian
read-only
# Linux bootable partition config ends
# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/sda3
label = Slack
read-only
# Linux bootable partition config ends


Eu instalei o Windows, Slack, Arch, Debian nessa ordem e estava usando o grub, decidi usar o lilo pois ficavam varias entradas no grub e agora apesar de configurado só aparece o windows e slack para boot.


Você editou o lilo.conf e depois rodou um lilo -v?

--
Cordialmente,
lcavalheiro - http://my.opera.com/lcavalheiro/blog/
93 93/93


3. Re: Problemas para configurar Lilo. [RESOLVIDO]

Luiz Paulo
maledicente

(usa Gentoo)

Enviado em 02/09/2013 - 12:51h

Me voltou esse resultado:

LILO version 23.2 (released 09-Apr-2011)
* Copyright (C) 1992-1998 Werner Almesberger (until v20)
* Copyright (C) 1999-2007 John Coffman (until v22)
* Copyright (C) 2009-2011 Joachim Wiedorn (since v23)
This program comes with ABSOLUTELY NO WARRANTY. This is free software
distributed under the BSD License (3-clause). Details can be found in
the file COPYING, which is distributed with this software.
Compiled at 18:37:44 on Aug 17 2012

Warning: LBA32 addressing assumed
Reading boot sector from /dev/sda
Using BITMAP secondary loader
Calling map_insert_data
Mapping bitmap file /boot/slack.bmp
Calling map_insert_file

Boot other: /dev/sda1, on /dev/sda, loader CHAIN
Added Windows *

Boot image: /boot/vmlinuz-linux
Fatal: open /boot/vmlinuz-linux: No such file or directory



4. Re: Problemas para configurar Lilo. [RESOLVIDO]

Luís Fernando C. Cavalheiro
lcavalheiro

(usa Slackware)

Enviado em 02/09/2013 - 13:01h

shaed escreveu:

Me voltou esse resultado:

LILO version 23.2 (released 09-Apr-2011)
* Copyright (C) 1992-1998 Werner Almesberger (until v20)
* Copyright (C) 1999-2007 John Coffman (until v22)
* Copyright (C) 2009-2011 Joachim Wiedorn (since v23)
This program comes with ABSOLUTELY NO WARRANTY. This is free software
distributed under the BSD License (3-clause). Details can be found in
the file COPYING, which is distributed with this software.
Compiled at 18:37:44 on Aug 17 2012

Warning: LBA32 addressing assumed
Reading boot sector from /dev/sda
Using BITMAP secondary loader
Calling map_insert_data
Mapping bitmap file /boot/slack.bmp
Calling map_insert_file

Boot other: /dev/sda1, on /dev/sda, loader CHAIN
Added Windows *

Boot image: /boot/vmlinuz-linux
Fatal: open /boot/vmlinuz-linux: No such file or directory


Hm... experimenta montar as /dev/sda dos / das outras distros, e coloca o parâmetro root antes do image.

--
Cordialmente,
lcavalheiro - http://my.opera.com/lcavalheiro/blog/
93 93/93


5. Re: Problemas para configurar Lilo. [RESOLVIDO]

Luiz Paulo
maledicente

(usa Gentoo)

Enviado em 02/09/2013 - 13:19h

Agora volta:

Boot other: /dev/sda1, on /dev/sda, loader CHAIN
Added Windows *

Duplicate entry 'root' at or above line 75 in file '/etc/lilo.conf'


6. Re: Problemas para configurar Lilo. [RESOLVIDO]

Luís Fernando C. Cavalheiro
lcavalheiro

(usa Slackware)

Enviado em 02/09/2013 - 13:21h

shaed escreveu:

Agora volta:

Boot other: /dev/sda1, on /dev/sda, loader CHAIN
Added Windows *

Duplicate entry 'root' at or above line 75 in file '/etc/lilo.conf'


Como ficou o seu lilo.conf depois das mudanças que eu sugeri?

--
Cordialmente,
lcavalheiro - http://my.opera.com/lcavalheiro/blog/
93 93/93


7. Re: Problemas para configurar Lilo. [RESOLVIDO]

Luiz Paulo
maledicente

(usa Gentoo)

Enviado em 02/09/2013 - 13:26h

Ficou assim:

# 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/sda3
label = Linux
read-only
# Linux bootable partition config ends
# Linux bootable partition config begins
root = /dev/sda5
image = /boot/vmlinuz-linux
label = Arch
read-only
# Linux bootable partition config ends
# Linux bootable partition config begins
root = /dev/sda6
image = /boot/vmlinuz-3.2.04-amd64
label = Debian
read-only
# Linux bootable partition config ends




Teria algo a ver com o fstab? Pois ele esta desta maneira:

/dev/sda7 swap swap defaults 0 0
/dev/sda3 / ext4 defaults 1 1
/dev/sda8 /home ext4 defaults 1 2
#/dev/cdrom /mnt/cdrom auto noauto,owner,ro,comment=x-gvfs-show 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0
tmpfs /dev/shm tmpfs defaults 0 0
tmpfs /tmp tmpfs size=1G 0 0



8. Re: Problemas para configurar Lilo. [RESOLVIDO]

Luís Fernando C. Cavalheiro
lcavalheiro

(usa Slackware)

Enviado em 02/09/2013 - 13:39h

Hm... você está no Slackware, certo? Já tentou usar o liloconfig?

--
Cordialmente,
lcavalheiro - http://my.opera.com/lcavalheiro/blog/
93 93/93


9. Re: Problemas para configurar Lilo. [RESOLVIDO]

Luiz Paulo
maledicente

(usa Gentoo)

Enviado em 02/09/2013 - 13:44h

Sim foi a primeira coisa que fiz, e usando ele apenas adicionou o Windows e Slackware no lilo.


10. Re: Problemas para configurar Lilo. [RESOLVIDO]

Luiz Paulo
maledicente

(usa Gentoo)

Enviado em 02/09/2013 - 14:50h

Consegui resolver com esse tutorial. = D
http://gnutwoall.wordpress.com/2012/10/13/slackware-adicionando-outras-distribuicoes-ao-lilo/


Ficou assim:

# Windows 8.0
other = /dev/sda1
label = Windows
table = /dev/sda

# Slackware
image = /boot/vmlinuz
root = /dev/sda3
label = Linux
read-only

# Arch
image = /media/58692f87-82b9-4124-a737-24730e6409ff/boot/vmlinuz-linux
root = /dev/disk/by-uuid/58692f87-82b9-4124-a737-24730e6409ff
label = Arch
initrd = /media/58692f87-82b9-4124-a737-24730e6409ff/boot/initramfs-linux.img
read-only

# Wheezy
image = /media/fd9438a6-941d-4d23-9bd9-f2a7e818e8f7/boot/vmlinuz-3.2.0-4-amd64
root = /dev/disk/by-uuid/fd9438a6-941d-4d23-9bd9-f2a7e818e8f7
label = Debian
initrd = /media/fd9438a6-941d-4d23-9bd9-f2a7e818e8f7/boot/initrd.img-3.2.0-4-amd64
read-only







Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts