Instalando e configurando o lilo no SliTaz

25. vou mostra tanto em hda quanto em hdb

Perfil removido
removido

(usa Nenhuma)

Enviado em 01/01/2013 - 08:22h

bom segue ai o print do lilo -v primeiro em hda


root@slitaz:/etc# lilo -v
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 11:53:01 on Feb 26 2012

Reading boot sector from /dev/hda
Warning: '/proc/partitions' does not exist, disk scan bypassed
Using MENU secondary loader
Calling map_insert_data
Warning: The boot sector and map file are on different disks.
Warning: 'bmp-colors' not supported by boot loader

Boot image: /boot/vmlinuz-2.6.37-slitaz
Added SliTaz *

Boot other: /dev/hda1, on /dev/hda, loader CHAIN
Added WindowsXP

Writing boot sector.
Backup copy of boot sector in /boot/boot.0300
3 warnings were issued.

-------------------------------------------------------------------------
e agora em hdb


root@slitaz:/etc# lilo -v
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 11:53:01 on Feb 26 2012

Reading boot sector from /dev/hdb
Warning: '/proc/partitions' does not exist, disk scan bypassed
Warning: /dev/hdb is not on the first disk
Fatal: Filesystem would be destroyed by LILO boot sector: /dev/hdb
root@slitaz:/etc#



  


26. Re: Instalando e configurando o lilo no SliTaz

Luís Fernando C. Cavalheiro
lcavalheiro

(usa Slackware)

Enviado em 01/01/2013 - 12:06h

Comenta a linha bmp-color do seu lilo.conf e deixa o boot em /dev/hda, pois neste funcionou. Warning não impede o LILO de funcionar ;-)


27. comentei o mesmo, mas tudo igual

Perfil removido
removido

(usa Nenhuma)

Enviado em 01/01/2013 - 12:48h

ta tudo igual no boot L 01010101,

eu acho que o erro esta relacionado com essa linha:
Warning: '/proc/partitions' does not exist, disk scan bypassed

segue o print do lilo -v:

root@slitaz:/etc# lilo -v
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 11:53:01 on Feb 26 2012

Reading boot sector from /dev/hda
Warning: '/proc/partitions' does not exist, disk scan bypassed
Using MENU secondary loader
Calling map_insert_data
Warning: The boot sector and map file are on different disks.

Boot image: /boot/vmlinuz-2.6.37-slitaz
Added SliTaz *

Boot other: /dev/hda1, on /dev/hda, loader CHAIN
Added WindowsXP

Writing boot sector.
/boot/boot.0300 exists - no boot sector backup copy made.
2 warnings were issued.



28. Re: Instalando e configurando o lilo no SliTaz

Luís Fernando C. Cavalheiro
lcavalheiro

(usa Slackware)

Enviado em 01/01/2013 - 14:10h

Como root, vê se existe o comando
 # liloconfig  



29. não tem

Perfil removido
removido

(usa Nenhuma)

Enviado em 01/01/2013 - 15:07h

Foi uma das primeiras coisas que eu tentei mas infelizmente não tem deve ser um programa separado do lilo seria com certeza interessante!!!!


30. Re: Instalando e configurando o lilo no SliTaz

Luís Fernando C. Cavalheiro
lcavalheiro

(usa Slackware)

Enviado em 01/01/2013 - 15:30h

Alexandrejc4 escreveu:

Foi uma das primeiras coisas que eu tentei mas infelizmente não tem deve ser um programa separado do lilo seria com certeza interessante!!!!


Eu copiei este LILO de uma instalação do Slackware que eu fiz numa VM só pra te passar um modelo válido.

# /etc/lilo.conf  -   systemwide LILO configuration (LILO 23)
# details see in manpages: lilo(8) and lilo.conf(5)

# +-------------------------------------------------------------+
# | !! Reminder !! |
# | |
# | Don't forget to run 'lilo' after you make changes to this |
# | conffile or you have installed a new kernel. |
# +-------------------------------------------------------------+


# #################### LILO global section ######################

# With all newer systems (until year 2004) you can use the RAM
# above 15 MB. This option allows the use of this range of RAM.
large-memory

# With all newer systems you can boot from any partition on disks
# with more than 1024 cylinders. This option allows the use of
# partitions above 1024 cylinders.
lba32

# Specifies the boot device. This is where Lilo installs its boot
# block. It can be either a partition, or the raw device, in which
# case it installs in the MBR, and will overwrite the current MBR.
# With newer kernel you should use the ID of the boot device, which
# can be found here: /dev/disks/by-id/ata*.
boot = /dev/sda

# This option may be needed for some software RAID installs.
#raid-extra-boot = mbr-only

# Enable map compaction. This tries to merge read requests for
# adjacent sectors into a single read request. This drastically
# reduces load time and keeps the map smaller. Using 'compact'
# is especially recommended when booting from a floppy disk.
# It is disabled here by default because it doesn't always work.
#compact

# Set the verbose level for bootloader installation. Value range:
# 0 to 5. Default value is 0.
#verbose = 1

# Specifies the location of the map file. Lilo creates the (sector)
# map file of direct sector addresses which are independent of any
# filesystem.
map = /boot/map

# ---------------------------------------------------------------

# Specifies the menu interface. You have the choice between:
# text: simple text menu with black background and white text
# menu: configurable text menu with background and text colors.
# bmp: graphical menu with 640x480 bitmap background.
install = bmp

# A) Customized boot message for choice 'text'.
# For the simple text menu you can set an extra message in the
# created file. Its text will be displayed before boot prompt.
#message = /boot/message.txt

# B) Configuration of the scheme for choice 'menu'.
# Use following coding: <text>:<highlight>:<border>:<title>
# The first character of each part sets the text frontcolor,
# the second character of earch part sets the text backcolor,
# an upper-case character sets bold face text (frontcolor).
# i.g. 'menu-scheme=wm:rw:wm:Wm'. Possible colors:
# k=black, b=blue, g=green, c=cyan, r=red, m=magenta, y=yellow, w=white.
menu-scheme = Wb:Yr:Wb:Wb
#menu-title = " DESDEMONA Boot-Manager "

# C) Configuration of the image for choice 'bmp'.
# For the graphical menu you need a bitmap file, which needs a special
# menu configuration in the file header (see: lilo -E). Ideally you
# use one of the delivered images of the lilo package.
# with 16 colors: onlyblue, tuxlogo, inside
# with 256 colors: coffee
# for Debian: debianlilo, debian, debian-de
bitmap = /boot/tuxlogo.bmp

# ---------------------------------------------------------------

# Specifies the number of deciseconds (0.1 seconds) how long LILO
# should wait before booting the first image. LILO doesn't wait if
# 'delay' is omitted or set to zero. You do not see the defined menu.
#delay = 20

# Prompt to start one certain kernel from the displayed menu.
# It is very recommeded to also set 'timeout'. Without timeout boot
# will not take place unless you hit return. Timeout is the number
# of deciseconds (0.1 seconds) after there the default image will
# be started. With 'single-key' alias numbers for each menu line can
# be used.
prompt
#timeout = 100
#single-key

# ---------------------------------------------------------------

# Specifying the VGA text mode that should be selected when booting.
# The following values are recognized (case is ignored):
# vga=normal 80x25 text mode (default)
# vga=extended 80x50 text mode (abbreviated to 'ext')
# vga=ask stop and ask for user input: choice of text mode
# vga=<mode> use the corresponding text mode number. A list of
# available modes can be obtained by booting with
# vga=ask' and then pressing [Enter].
# Another way is the use of frame buffer mode. Then the kernel
# will switch from the normal vga text mode (80x25) to the frame
# buffer mode (if frame buffer support is in the kernel):
# vga=0x314 800x600 @ 16 bit
# vga=0x317 1024x768 @ 16 bit
# vga=0x318 1024x768 @ 24 bit
vga = ask
#vga = normal
#vga = 0x317

# ---------------------------------------------------------------

# Kernel command line options that apply to all installed images go
# here. See 'kernel-parameters.txt' in the Linux kernel 'Documentation'
# directory. I.g. for start into 'init 5' write: append="5"
#append = ""

# If you used a serial console to install Debian, this option should be
# enabled by default.
#serial = 0,9600

# Set the image which should be started after delay or timeout.
# If not set, the first defined image will be started.
#default = SliTaz


# ################### LILO per-image section ####################

# Each image is configured with the linux kernel (=image) and
# usually with the initrd file. Configure all GNU/Linux systems
# on other partitions, too.



# first example (default)
image = /boot/vmlinuz-2.6.37-slitaz
label = "SliTaz"
root = /dev/hdb3
read-only
# restricted
# alias = 1
# optional
# initrd = /boot/initrd.img-2.6.32-2-generic (descomente esta linha e apague este parêntese se houver um arquivo /boot/init alguma coisa relacionado ao seu kernel)
# Fim do primeiro disco

# second example (Windows)
other = /dev/hda1
label = WindowsXP
table = /dev/hda
# Fim do segundo disco


Tenta agora


31. não entendi

Perfil removido
removido

(usa Nenhuma)

Enviado em 01/01/2013 - 16:06h

eu percebi que vc colocou varios aquivos separados por --------- e no ultimo do lilo separado por ######## por favor coloque o nome os arquivos e onde ficam para que eu possa colocalos adequadamente e se possivel o que eles fazem, muito obrigado!!!


32. Re: Instalando e configurando o lilo no SliTaz

Luís Fernando C. Cavalheiro
lcavalheiro

(usa Slackware)

Enviado em 01/01/2013 - 16:19h

Alexandrejc4 escreveu:

eu percebi que vc colocou varios aquivos separados por --------- e no ultimo do lilo separado por ######## por favor coloque o nome os arquivos e onde ficam para que eu possa colocalos adequadamente e se possivel o que eles fazem, muito obrigado!!!


Você usa esse arquivo no lugar do seu /etc/lilo.conf, eu já editei para se adequar ao seu sistema.


33. deu um erro que eu não consegui resolver

Perfil removido
removido

(usa Nenhuma)

Enviado em 01/01/2013 - 17:07h

segre o print do lilo -v:

root@slitaz:/home/alexandre/Documents# lilo -v
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 11:53:01 on Feb 26 2012

Unrecognized token "&#65533;" at or above line 10 in file '/etc/lilo.conf'


34. Re: Instalando e configurando o lilo no SliTaz

Luís Fernando C. Cavalheiro
lcavalheiro

(usa Slackware)

Enviado em 01/01/2013 - 17:11h

Alexandrejc4 escreveu:

segre o print do lilo -v:

root@slitaz:/home/alexandre/Documents# lilo -v
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 11:53:01 on Feb 26 2012

Unrecognized token "&#65533;" at or above line 10 in file '/etc/lilo.conf'


Comenta as linhas large-memory e lba e tenta de novo.


35. não rodou

Perfil removido
removido

(usa Nenhuma)

Enviado em 01/01/2013 - 17:44h

Deu exatamente o mesmo erro.


36. tenho uma idéia

Perfil removido
removido

(usa Nenhuma)

Enviado em 01/01/2013 - 18:37h

Eu acho que seria apropriado balxar o liloconfig, mas eu procurei o liloconfig na internet e só achei .deb, mas quem sabe vc acha um liloconfig.tazpkg ou então converte ele para tazpkg, seria mais rápido do que configurar o lilo passo a passo o que vc acha????






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts