Visualizzazione dei risultati da 1 a 9 su 9

Discussione: da grub a lilo

  1. #1
    Utente di HTML.it
    Registrato dal
    Feb 2003
    Messaggi
    267

    da grub a lilo

    Salve, ho una debian e volevo sapere se esisteva un modo veloce per cambiare boot loader...

  2. #2
    Moderatore di Linux e software L'avatar di francofait
    Registrato dal
    Aug 2001
    Messaggi
    13,559

    Re: da grub a lilo

    Originariamente inviato da dybart
    Salve, ho una debian e volevo sapere se esisteva un modo veloce per cambiare boot loader...
    apt-get install lilo

    liloconfig
    se segui attentamente le richieste che ti fa te lo installa completo di bootspalsh .

    rebot

  3. #3
    Utente di HTML.it
    Registrato dal
    Feb 2003
    Messaggi
    267
    Grazie, ho appena provato e pare sia bbastanza semplice, però riscontro questo errore... qualcuno mi sa dare una mano?

    Warning: Partition 2 on /dev/hda is not marked Active.
    Device 0x0300: Inconsistent partition table, 2nd entry
    CHS address in PT: 892:0:1 --> LBA (899136)
    LBA address in PT: 14329980 --> CHS (14216:4:1)
    Fatal: Either FIX-TABLE or IGNORE-TABLE must be specified
    If not sure, first try IGNORE-TABLE (-P ignore)

    Questo è il mio lilo.conf:

    # Generated by liloconfig

    # This allows booting from any partition on disks with more than 1024
    # cylinders.
    lba32

    # Specifies the boot device
    boot=/dev/hda2

    # Specifies the device that should be mounted as root.
    # If the special name CURRENT is used, the root device is set to the
    # device on which the root file system is currently mounted. If the root
    # has been changed with -r , the respective device is used. If the
    # variable ROOT is omitted, the root device setting contained in the
    # kernel image is used. It can be changed with the rdev program.
    root=/dev/hda2

    # Bitmap configuration for /boot/coffee.bmp
    bitmap=/boot/coffee.bmp
    bmp-colors=12,,11,15,,8
    bmp-table=385p,100p,1,10
    bmp-timer=38,2,13,1

    # Enables map compaction:
    # 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.
    # compact

    # Install the specified file as the new boot sector.
    # LILO supports built in boot sectory, you only need
    # to specify the type, choose one from 'text', 'menu' or 'bitmap'.
    # new: install=bmp old: install=/boot/boot-bmp.b
    # new: install=text old: install=/boot/boot-text.b
    # new: install=menu old: install=/boot/boot-menu.b or boot.b
    # default: 'menu' is default, unless you have a bitmap= line
    # Note: install=bmp must be used to see the bitmap menu.
    # install=menu
    install=bmp

    # Specifies the number of _tenths_ of a second LILO should
    # wait before booting the first image. LILO
    # doesn't wait if DELAY is omitted or if DELAY is set to zero.
    # delay=20

    # Prompt to use certaing image. If prompt is specified without timeout,
    # boot will not take place unless you hit RETURN
    prompt
    timeout=50

    # Specifies the location of the map file. If MAP is
    # omitted, a file /boot/map is used.
    map=/boot/map

    # Specifies the VGA text mode that should be selected when
    # booting. The following values are recognized (case is ignored):
    # NORMAL select normal 80x25 text mode.
    # EXTENDED select 80x50 text mode. The word EXTENDED can be
    # abbreviated to EXT.
    # ASK stop and ask for user input (at boot time).
    # <number> use the corresponding text mode. A list of available modes
    # can be obtained by booting with vga=ask and pressing [Enter].
    vga=normal

    # These images were automagically added. You may need to edit something.

    image=/boot/vmlinuz-2.4.27-2-386
    label="Lin 2.4.27img0"
    initrd=/boot/initrd.img-2.4.27-2-386
    read-only

    image=/boot/vmlinuz-2.6.8-2-686
    label="Lin 2.6.8img1"
    initrd=/boot/initrd.img-2.6.8-2-686
    read-only

    # If you have another OS on this machine (say DOS),
    # you can boot if by uncommenting the following lines
    # (Of course, change /dev/hda2 to wherever your DOS partition is.)
    # other=/dev/hda2
    # label="MS Windows"

  4. #4
    Moderatore di Linux e software L'avatar di francofait
    Registrato dal
    Aug 2001
    Messaggi
    13,559
    Risposta molto semplice:
    lilo x installarsi correntamente in sessione multiboot vuole tutte le partizioni / delle altre distro montate , altrimenti non le vede.

  5. #5
    poi se vuoi metterlo come boot loader di default devi modificare la riga boot=/dev/hda2 in

    boot=/dev/hda


    in alto
    poi dare un lilo -v

  6. #6
    Utente di HTML.it L'avatar di Marcolino's
    Registrato dal
    May 2003
    residenza
    Udine
    Messaggi
    3,606
    Insomma perché vuoi lilo al posto di grub?

  7. #7
    Utente di HTML.it
    Registrato dal
    Jan 2001
    Messaggi
    7,691
    probabilmente perchè ... gli piace di più..

    non è bello ciò che è bello ma è bello ciò che piace ....

    comunque anch'io preferisco LILO (forse perchè conosco poco GRUB ....)
    ... S'i' fosse Giorgio, com'i' sono e fui,
    torrei le donne giovani e leggiadre:
    le vecchie e laide lasserei altrui....
    Non mandatemi PVT, mi dimentico sempre di leggerli ... mandatemi e-mail, se è il caso

  8. #8
    Utente di HTML.it L'avatar di Marcolino's
    Registrato dal
    May 2003
    residenza
    Udine
    Messaggi
    3,606
    Ma sì, il piacere è soggettivo indubbiamente, ma a parte ciò non ne vedo la necessità, trovo più configurabile grub.
    Comunque de gustibus ....

  9. #9
    Utente di HTML.it
    Registrato dal
    Feb 2003
    Messaggi
    267
    Ho provato ad inserire /dev/hda come root ed il lilo è partito.. però in aggiunta mi sono ritrovato un kernel panic... Forse perchè in /dev/hda1 avevo una partizione win?Comunque domani mi tocca reinstallare quindi starò più attento a scegliere il bootloader preferito già dall'inizio...

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.