Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 03/06/2005, à 08:43

jpeg69

Configuration de Lilo sur Ubuntu Hoary

Bonjour à tous,

alors voilà j'aurais quelques questions à poser concernant la configuration de lilo sur Ubuntu (Distribution qui me convient très bien mais qui installe GRUB et pas Lilo). Sur mon poste, de façon régulière (je ne vais pas dire systématique mais presque), j'ai une erreur 18 au boot de GRUB, D'après ce que j'ai pu voir sur différents forums, le problème viendrait soit du fait que mes partitions linux sont au delà de je ne sais plus quel cylindre soit du fait que les partitons systèmes de linux ne sont pas sur le même disque que celle de windows; enfin bref, du coup je me suis dit qu j'allais installé lilo (d'ailleurs avec les autres distribs que j'avais essayé, à chaque fois c'était avec lilo et j'ai jamais eu un pépin avec);

Donc hier j'ai lancé un apt-get install lilo mais voilà je pensais que lilo allait récupéré les infos de grub mais c'est pas le cas (j'suis un peu naïf quand même hmm)

Du coup je lance un liloconfig mais là dès la première question je bloque (euh j'suis un peu newb quand même sur Linux donc ... pas tapper hein ... roll) :

root@ubuntu-hoary:/home/jpeg # liloconfig
LILO, the LInux LOader, sets up your system to boot Linux directly
from your hard disk, without the need for a boot floppy.

You must do three things to make the Linux system boot from the
hard disk. Install a partition boot record, install a master boot
record, and set the partition active. You'll be asked to perform
each of these tasks. You may skip any or all of them, and perform
them manually later on.

This will result in Linux being booted by default from the hard disk.
If your setup is complicated or unusual you should consider writing your
own customised /etc/lilo.conf. To do this you should exit this configuration
program and refer to the comprehensive lilo documentation, which can be
found in /usr/share/doc/lilo/.

Install a partition boot record to boot Linux from /dev/hdb8? [Yes]

Que dois je mettre (je sais je pourrais laisser les choix par défaut mais j'ai peur de ne pas pouvoir redémarrer hmm ) : je pense qu'il faut bien que je mette sur YES sur la première question du fait que c'est ma partition / mais j'aimerai en être sur.

Voilà mon fstab :

# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/hda1 /mnt/C ntfs umask=0222,auto,iocharset=iso8859-15 0 0
/dev/hda5 /mnt/D ntfs umask=0222,auto,iocharset=iso8859-15 0 0
/dev/hda6 /mnt/E ntfs umask=0222,auto,iocharset=iso8859-15 0 0
/dev/hdb6 /mnt/G vfat umask=000,auto,rw,exec,iocharset=iso8859-15 0 0
/dev/hdb5 /mnt/F vfat umask=000,auto,rw,exec,iocharset=iso8859-15 0 0
/dev/hdb8 / ext3 defaults,errors=remount-ro 0 1
/dev/hdb9 /home ext3 defaults 0 2
/dev/hdb7 none swap sw 0 0
/dev/hdc /media/cdrom0 udf,iso9660 ro,user,noauto 0 0
/dev/hdd /media/cdrom1 udf,iso9660 ro,user,noauto 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0

et mon menu.lst :

# menu.lst - See: grub(8), info grub, update-grub(8)
# grub-install(8), grub-floppy(8),
# grub-md5-crypt, /usr/share/doc/grub
# and /usr/share/doc/grub-doc/.

## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
default 8

## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout 15

## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
#hiddenmenu

# Pretty colours
#color cyan/blue white/blue

## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line) and entries protected by the
# command 'lock'
# e.g. password topsecret
# password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret

title Ubuntu, kernel 2.6.10-5-686-smp
root (hd1,7)
kernel /boot/vmlinuz-2.6.10-5-686-smp root=/dev/hdb8 ro quiet splash
initrd /boot/initrd.img-2.6.10-5-686-smp
savedefault
boot

title Ubuntu, kernel 2.6.10-5-686-smp (recovery mode)
root (hd1,7)
kernel /boot/vmlinuz-2.6.10-5-686-smp root=/dev/hdb8 ro single
initrd /boot/initrd.img-2.6.10-5-686-smp
savedefault
boot

title Ubuntu, kernel 2.6.10-5-386
root (hd1,7)
kernel /boot/vmlinuz-2.6.10-5-386 root=/dev/hdb8 ro quiet splash
initrd /boot/initrd.img-2.6.10-5-386
savedefault
boot

title Ubuntu, kernel 2.6.10-5-386 (recovery mode)
root (hd1,7)
kernel /boot/vmlinuz-2.6.10-5-386 root=/dev/hdb8 ro single
initrd /boot/initrd.img-2.6.10-5-386
savedefault
boot

title Ubuntu, kernel 2.6.10-4-386
root (hd1,7)
kernel /boot/vmlinuz-2.6.10-4-386 root=/dev/hdb8 ro quiet splash
initrd /boot/initrd.img-2.6.10-4-386
savedefault
boot

title Ubuntu, kernel 2.6.10-4-386 (recovery mode)
root (hd1,7)
kernel /boot/vmlinuz-2.6.10-4-386 root=/dev/hdb8 ro single
initrd /boot/initrd.img-2.6.10-4-386
savedefault
boot

title Ubuntu, kernel memtest86+
root (hd1,7)
kernel /boot/memtest86+.bin
savedefault
boot

### END DEBIAN AUTOMAGIC KERNELS LIST

# This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems:
root


# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/hda1
title Microsoft Windows XP Professionnel
root (hd0,0)
savedefault
makeactive
chainloader +1

merci d'avance pour tout

Hors ligne

#2 Le 03/06/2005, à 08:49

yeKcim

Re : Configuration de Lilo sur Ubuntu Hoary

J'ai édité ton message pour enlever les commentaires d'exemple au debut de ton menu.lst pour éviter d'avoir un post de 10 metre de long (ca ne donne pas envie de t'aider) J'ai utilisé la fonction code pour améliorer la lisibilité


Participer à un projet libre est un jeu... Et toi, à quoi tu joues ?
http://yeknan.free.fr

Hors ligne

#3 Le 03/06/2005, à 13:00

jpeg69

Re : Configuration de Lilo sur Ubuntu Hoary

yeKcim a écrit :

J'ai édité ton message pour enlever les commentaires d'exemple au debut de ton menu.lst pour éviter d'avoir un post de 10 metre de long (ca ne donne pas envie de t'aider) J'ai utilisé la fonction code pour améliorer la lisibilité

ok merci

Hors ligne

#4 Le 09/03/2008, à 22:34

rossignol

Re : Configuration de Lilo sur Ubuntu Hoary

Jai eu ce même problème.
Il te faut réinstaller ubountu avec l'option Expert dans le menu de boot
Sinon il y a peut être une solution  en installant un LILO .conf  et copier LILO sur ton MBR mais je ne sais pas faire
Salut

jpeg69 a écrit :

Bonjour à tous,

alors voilà j'aurais quelques questions à poser concernant la configuration de lilo sur Ubuntu (Distribution qui me convient très bien mais qui installe GRUB et pas Lilo). Sur mon poste, de façon régulière (je ne vais pas dire systématique mais presque), j'ai une erreur 18 au boot de GRUB, D'après ce que j'ai pu voir sur différents forums, le problème viendrait soit du fait que mes partitions linux sont au delà de je ne sais plus quel cylindre soit du fait que les partitons systèmes de linux ne sont pas sur le même disque que celle de windows; enfin bref, du coup je me suis dit qu j'allais installé lilo (d'ailleurs avec les autres distribs que j'avais essayé, à chaque fois c'était avec lilo et j'ai jamais eu un pépin avec);

Donc hier j'ai lancé un apt-get install lilo mais voilà je pensais que lilo allait récupéré les infos de grub mais c'est pas le cas (j'suis un peu naïf quand même hmm)

Du coup je lance un liloconfig mais là dès la première question je bloque (euh j'suis un peu newb quand même sur Linux donc ... pas tapper hein ... roll) :

root@ubuntu-hoary:/home/jpeg # liloconfig
LILO, the LInux LOader, sets up your system to boot Linux directly
from your hard disk, without the need for a boot floppy.

You must do three things to make the Linux system boot from the
hard disk. Install a partition boot record, install a master boot
record, and set the partition active. You'll be asked to perform
each of these tasks. You may skip any or all of them, and perform
them manually later on.

This will result in Linux being booted by default from the hard disk.
If your setup is complicated or unusual you should consider writing your
own customised /etc/lilo.conf. To do this you should exit this configuration
program and refer to the comprehensive lilo documentation, which can be
found in /usr/share/doc/lilo/.

Install a partition boot record to boot Linux from /dev/hdb8? [Yes]

Que dois je mettre (je sais je pourrais laisser les choix par défaut mais j'ai peur de ne pas pouvoir redémarrer hmm ) : je pense qu'il faut bien que je mette sur YES sur la première question du fait que c'est ma partition / mais j'aimerai en être sur.

Voilà mon fstab :

# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/hda1 /mnt/C ntfs umask=0222,auto,iocharset=iso8859-15 0 0
/dev/hda5 /mnt/D ntfs umask=0222,auto,iocharset=iso8859-15 0 0
/dev/hda6 /mnt/E ntfs umask=0222,auto,iocharset=iso8859-15 0 0
/dev/hdb6 /mnt/G vfat umask=000,auto,rw,exec,iocharset=iso8859-15 0 0
/dev/hdb5 /mnt/F vfat umask=000,auto,rw,exec,iocharset=iso8859-15 0 0
/dev/hdb8 / ext3 defaults,errors=remount-ro 0 1
/dev/hdb9 /home ext3 defaults 0 2
/dev/hdb7 none swap sw 0 0
/dev/hdc /media/cdrom0 udf,iso9660 ro,user,noauto 0 0
/dev/hdd /media/cdrom1 udf,iso9660 ro,user,noauto 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0

et mon menu.lst :

# menu.lst - See: grub(8), info grub, update-grub(8)
# grub-install(8), grub-floppy(8),
# grub-md5-crypt, /usr/share/doc/grub
# and /usr/share/doc/grub-doc/.

## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
default 8

## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout 15

## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
#hiddenmenu

# Pretty colours
#color cyan/blue white/blue

## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line) and entries protected by the
# command 'lock'
# e.g. password topsecret
# password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret

title Ubuntu, kernel 2.6.10-5-686-smp
root (hd1,7)
kernel /boot/vmlinuz-2.6.10-5-686-smp root=/dev/hdb8 ro quiet splash
initrd /boot/initrd.img-2.6.10-5-686-smp
savedefault
boot

title Ubuntu, kernel 2.6.10-5-686-smp (recovery mode)
root (hd1,7)
kernel /boot/vmlinuz-2.6.10-5-686-smp root=/dev/hdb8 ro single
initrd /boot/initrd.img-2.6.10-5-686-smp
savedefault
boot

title Ubuntu, kernel 2.6.10-5-386
root (hd1,7)
kernel /boot/vmlinuz-2.6.10-5-386 root=/dev/hdb8 ro quiet splash
initrd /boot/initrd.img-2.6.10-5-386
savedefault
boot

title Ubuntu, kernel 2.6.10-5-386 (recovery mode)
root (hd1,7)
kernel /boot/vmlinuz-2.6.10-5-386 root=/dev/hdb8 ro single
initrd /boot/initrd.img-2.6.10-5-386
savedefault
boot

title Ubuntu, kernel 2.6.10-4-386
root (hd1,7)
kernel /boot/vmlinuz-2.6.10-4-386 root=/dev/hdb8 ro quiet splash
initrd /boot/initrd.img-2.6.10-4-386
savedefault
boot

title Ubuntu, kernel 2.6.10-4-386 (recovery mode)
root (hd1,7)
kernel /boot/vmlinuz-2.6.10-4-386 root=/dev/hdb8 ro single
initrd /boot/initrd.img-2.6.10-4-386
savedefault
boot

title Ubuntu, kernel memtest86+
root (hd1,7)
kernel /boot/memtest86+.bin
savedefault
boot

### END DEBIAN AUTOMAGIC KERNELS LIST

# This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems:
root


# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/hda1
title Microsoft Windows XP Professionnel
root (hd0,0)
savedefault
makeactive
chainloader +1

merci d'avance pour tout