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.

#26 Le 13/01/2008, à 22:06

enebre

Re : erreur au démarrage (résolu)

c'est fait, sauf que j'ai oublié de sauver /media/sdb6/etc/fstab
mais je crois qu'il était le meme que le premier fstab et que j'ai sauvé comme tu l'a écris
j'y ai mis la meme chose que pour l'autre es ce ok ?
et maintenant que faire?


je redémarre ??

Dernière modification par enebre (Le 13/01/2008, à 22:13)

Hors ligne

#27 Le 13/01/2008, à 22:31

Compte anonymisé

Re : erreur au démarrage (résolu)

enebre a écrit :

c'est fait, sauf que j'ai oublié de sauver /media/sdb6/etc/fstab
mais je crois qu'il était le meme que le premier fstab et que j'ai sauvé comme tu l'a écris
j'y ai mis la meme chose que pour l'autre es ce ok ?
et maintenant que faire?


je redémarre ??

Ben non il fallait adapter.
En effet sur /dev/media/sdb6 le fstab est forcement différent que sur /dev/sda1.

Liste-le et on va le modifier.

Il faudrait potasser un peu tout ça et comprendre ce qu'on fait. Dans fstab, tu indiques au système o๠sont tes différents systèmes de fichier et le FS / ne peut pas être au même endroit sur 2 distributions différentes.

En fait :
/dev/media/sdb6/etc/fstab  devrait ressembler à  ceci :

# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
# /dev/sdb6
UUID=59fb6374-f8a7-4a2c-ad60-67219ae3a458  /     ext3    defaults,errors=remount-ro        0       1
# /dev/sda1
UUID=83287126-05e5-4584-8df4-c38ec4c254b3 /media/sda1               ext3    defaults 0       2
# /dev/sda2
UUID=75f3f7a9-83f4-4bce-b43e-bb47395b4c7b  /media/sda2               ext3    defaults  0       2
# /dev/sda5
UUID=878d935d-79c0-483e-8839-e5507dae5087 /media/sda5     ext3    defaults        0       2
# /dev/sdb5
UUID=fe78d6a0-70b6-485d-ab4d-7c4ac90e5328 none            swap    sw              0       0
/dev/scd1       /media/cdrom0   udf,iso9660 user,noauto,exec 0       0
/dev/scd0       /media/cdrom1   udf,iso9660 user,noauto,exec 0       0
/dev/fd0        /media/floppy0  auto    rw,user,noauto,exec 0       0

@+

Dernière modification par Compte anonymisé (Le 13/01/2008, à 22:44)

#28 Le 13/01/2008, à 22:55

enebre

Re : erreur au démarrage (résolu)

je remplace ?

Hors ligne

#29 Le 13/01/2008, à 22:56

Compte anonymisé

Re : erreur au démarrage (résolu)

Oui et tu rebootes ensuite en testant tes 3 distri.

@+

#30 Le 13/01/2008, à 22:58

enebre

Re : erreur au démarrage (résolu)

c'est parti, je reboote et si je reviens pas c'est que c'est rapé , c'est ca ?

Hors ligne

#31 Le 13/01/2008, à 23:11

enebre

Re : erreur au démarrage (résolu)

me revoila, tout fonctionne parfaitement les trois os sans plantage.
jeanjd63 tu est le gouru de cette journée.
bravo, je ne sais
quoi dire et en suis époustouflé
merci

Dernière modification par enebre (Le 13/01/2008, à 23:12)

Hors ligne

#32 Le 14/01/2008, à 08:23

Compte anonymisé

Re : erreur au démarrage (résolu)

Gouroucoucou lol

Bon tu as fait un grand pas. Mais ce n'est pas fini.
Pour finaliser ton install, la rendre stable il reste encore une étape :

Dans le menu.lst qui est lancé au démarrage (sur /dev/sda2) tu décris tes autres systèmes en détail ainsi :

### 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 an existing
# linux installation on /dev/sda1.
title        Ubuntu 7.10, kernel 2.6.22-14-generic (on /dev/sda1)
root        (hd0,0)
kernel        /boot/vmlinuz-2.6.22-14-generic root=UUID=83287126-05e5-4584-8df4-c38ec4c254b3 ro quiet splash acpi=force lapic locale=fr_FR
initrd        /boot/initrd.img-2.6.22-14-generic
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda1.
title        Ubuntu 7.10, kernel 2.6.22-14-generic (recovery mode) (on /dev/sda1)
root        (hd0,0)
kernel        /boot/vmlinuz-2.6.22-14-generic root=UUID=83287126-05e5-4584-8df4-c38ec4c254b3 ro single
initrd        /boot/initrd.img-2.6.22-14-generic
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda1.
title        Ubuntu 7.10, memtest86+ (on /dev/sda1)
root        (hd0,0)
kernel        /boot/memtest86+.bin 
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sdb6.
title        Ubuntu 7.10, kernel 2.6.22-14-generic (on /dev/sdb6)
root        (hd1,5)
kernel        /boot/vmlinuz-2.6.22-14-generic root=UUID=59fb6374-f8a7-4a2c-ad60-67219ae3a458 ro quiet splash acpi=force lapic locale=fr_FR
initrd        /boot/initrd.img-2.6.22-14-generic
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sdb6.
title        Ubuntu 7.10, kernel 2.6.22-14-generic (recovery mode) (on /dev/sdb6)
root        (hd1,5)
kernel        /boot/vmlinuz-2.6.22-14-generic root=UUID=59fb6374-f8a7-4a2c-ad60-67219ae3a458 ro single
initrd        /boot/initrd.img-2.6.22-14-generic
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sdb6.
title        Ubuntu 7.10, memtest86+ (on /dev/sdb6)
root        (hd1,5)
kernel        /boot/memtest86+.bin 
savedefault
boot

Cela a 2 inconvénients :
1) surcharger ton menu
2) dès la première mise à  jour sur tes install /dev/sda1 et/ou /dev/sdb6, ce menu deviendra inopérant.
Je m'explique : tu définis le kernel :
kernel        /boot/vmlinuz-2.6.22-14-generic mais si ce n° change tu auras un joli "erreur 15" de grub.
Ton install /dev/sda2 sera mise à  jour car grub gère tout ce qui est entre :
### BEGIN AUTOMAGIC KERNELS LIST et
### END DEBIAN AUTOMAGIC KERNELS LIST

Mais pas les 2 autres.

La solution :
1) Dans chacune des 2 distributions sur :
/dev/media/sda1/boot/grub/menu.lst  et
/dev/media/sdb6/boot/grub/menu.lst
vérifier que les références kernel et surtout UUID sont en phase avec ce qui est listé  ci-dessus.
Si tout est ok il faut remplacer la partie listée ci-dessus par ceci (toujours dans le menu.lst de ta partition de boot sur /dev/sda2) :

### 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

title        Ubuntu sur /dev/sda1
root        (hd0,0)
chainloader    +1
boot

title        Ubuntu sur /dev/sdb6
root        (hd1,5)
chainloader    +1
boot

C'est plus court non ?

Il nous reste encore qq chose à  faire.
Il est necessaire maintenant de faire booter séparément chaque système et donc de créer le grub loader sur chaque partition concernée :
Tu lances :
sudo grub   --> grub>
là  tu tapes :
find /boot/grub/menu.lst  --> te donne toutes les install de grub. devrait donner :
(hd0,0)
(hd0,1)
(hd1,5)
là  tu tapes les commandes suivantes :
setup (hd0,0) (hd0,0)
setup (hd0,1) (hd0,1)   ---> celle-ci n'est pas indispensable mais c'est pas grave.
setup (hd1,5) (hd1,5)

tu termines par
quit

et normalement tout devrait fonctionner.

Si tu as un doute, liste les menu.lst de /dev/sda1 et /dev/sdb6  (entre balises [Code] de préférence)

@+

Dernière modification par Compte anonymisé (Le 14/01/2008, à 08:25)

#33 Le 14/01/2008, à 19:24

enebre

Re : erreur au démarrage (résolu)

bonjour,
me revoila, après le boulot.
bon, c'est pas fini...
je fais un effort pour te suivre , je résume pour voir si j'ai bien compris.
tu veux que je remplace le menu.lst par la version super courte que tu donne, je trouve cela très cool, mais tuvoudrais que je vérifie les lignes du kernel et les uuid qu'ils soit en phase , c'est a dire les memes ?
je voudrais te signaler que depuis que j'ai rebooté avec le nouveau menu.lst
ma connection est tombée a environ 10kloctet a la place d'environ 380kloctets !!!!
comment je retrouve ma configuration de connection ?
ca semble tres bizarre qu'il y ai un lien avec la procedure mais je n'ai rien touché d'autre

Dernière modification par enebre (Le 14/01/2008, à 19:38)

Hors ligne

#34 Le 14/01/2008, à 19:36

Compte anonymisé

Re : erreur au démarrage (résolu)

Salut

Attention attention.
Tout d'abord tu n'es pas obligé de le faire bien entendu, c'est simplement un conseil.

Ensuite ne pas faire n'importe quoi. Je ne t'ai jamais dit de remplacer tout le menu.lst mais simplement une partie (j'ai listé l'existant et ce qu'il faudrait mettre à  la place).

Essaye tout d'abord de bien comprendre  ce qui est écrit avant de faire quoi que ce soit.

De plus avant de modifier tu sauvegardes


Pour vérifier les menu.lst sur tes 2 environnements sda1 et sdb6, le plus simple est de les lister ici. Mais il faut mettre le résultat entre balises [Code] pour + de lisibilité.

@+

#35 Le 14/01/2008, à 19:42

enebre

Re : erreur au démarrage (résolu)

as tu vu le probleme de connection ?que j'ai posté en modif

ok je ne vais pas faire trop vite , je poster les deux menu.lst ; sda1 et sda6 pour confirmation ce sont les deux menu.lst des os qui ne sont pas l'os par defaut, exact ?

Hors ligne

#36 Le 14/01/2008, à 19:49

enebre

Re : erreur au démarrage (résolu)

# 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'.
# WARNING: If you are using dmraid do not use 'savedefault' or your
# array will desync and will not let you boot your system.
default		0

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

## 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

#
# examples
#
# title		Windows 95/98/NT/2000
# root		(hd0,0)
# makeactive
# chainloader	+1
#
# title		Linux
# root		(hd0,1)
# kernel	/vmlinuz root=/dev/hda2 ro
#

#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST

### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below

## DO NOT UNCOMMENT THEM, Just edit them to your needs

## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
##      kopt_2_6_8=root=/dev/hdc1 ro
##      kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=UUID=83287126-05e5-4584-8df4-c38ec4c254b3 ro

## Setup crashdump menu entries
## e.g. crashdump=1
# crashdump=0

## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,0)

## should update-grub create alternative automagic boot options
## e.g. alternative=true
##      alternative=false
# alternative=true

## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
##      lockalternative=false
# lockalternative=false

## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=quiet splash locale=fr_FR

## should update-grub lock old automagic boot options
## e.g. lockold=false
##      lockold=true
# lockold=false

## Xen hypervisor options to use with the default Xen boot option
# xenhopt=

## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=console=tty0

## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
##      altoptions=(recovery) single
# altoptions=(recovery mode) single

## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
##      howmany=7
# howmany=all

## should update-grub create memtest86 boot option
## e.g. memtest86=true
##      memtest86=false
# memtest86=true

## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false

## should update-grub add savedefault to the default options
## can be true or false
# savedefault=false

## ## End Default Options ##

title		Ubuntu 7.10, kernel 2.6.22-14-generic
root		(hd0,0)
kernel		/boot/vmlinuz-2.6.22-14-generic root=UUID=83287126-05e5-4584-8df4-c38ec4c254b3 ro quiet splash locale=fr_FR
initrd		/boot/initrd.img-2.6.22-14-generic
quiet

title		Ubuntu 7.10, kernel 2.6.22-14-generic (recovery mode)
root		(hd0,0)
kernel		/boot/vmlinuz-2.6.22-14-generic root=UUID=83287126-05e5-4584-8df4-c38ec4c254b3 ro single
initrd		/boot/initrd.img-2.6.22-14-generic

title		Ubuntu 7.10, memtest86+
root		(hd0,0)
kernel		/boot/memtest86+.bin
quiet

### 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 an existing
# linux installation on /dev/sda5.
title		Ubuntu 7.10, kernel 2.6.22-14-generic (on /dev/sda5)
root		(hd0,4)
kernel		/boot/vmlinuz-2.6.22-14-generic root=UUID=f3bc933a-6a20-4a24-87ed-ea68d982776b ro quiet splash 
initrd		/boot/initrd.img-2.6.22-14-generic
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda5.
title		Ubuntu 7.10, kernel 2.6.22-14-generic (recovery mode) (on /dev/sda5)
root		(hd0,4)
kernel		/boot/vmlinuz-2.6.22-14-generic root=UUID=f3bc933a-6a20-4a24-87ed-ea68d982776b ro single 
initrd		/boot/initrd.img-2.6.22-14-generic
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda5.
title		Ubuntu 7.10, memtest86+ (on /dev/sda5)
root		(hd0,4)
kernel		/boot/memtest86+.bin  
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sdb6.
title		Ubuntu 7.10, kernel 2.6.22-14-generic (on /dev/sdb6)
root		(hd1,5)
kernel		/boot/vmlinuz-2.6.22-14-generic root=UUID=585cb8cd-0690-4dd2-bf18-4a83c12a6623 ro quiet splash locale=fr_FR 
initrd		/boot/initrd.img-2.6.22-14-generic
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sdb6.
title		Ubuntu 7.10, kernel 2.6.22-14-generic (recovery mode) (on /dev/sdb6)
root		(hd1,5)
kernel		/boot/vmlinuz-2.6.22-14-generic root=UUID=585cb8cd-0690-4dd2-bf18-4a83c12a6623 ro single 
initrd		/boot/initrd.img-2.6.22-14-generic
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sdb6.
title		Ubuntu 7.10, memtest86+ (on /dev/sdb6)
root		(hd1,5)
kernel		/boot/memtest86+.bin  
savedefault
boot
[Code]

c'est le menu de sda1 os ubuntu7.10

Dernière modification par enebre (Le 14/01/2008, à 20:09)

Hors ligne

#37 Le 14/01/2008, à 20:01

enebre

Re : erreur au démarrage (résolu)

ceci est sda6 kubuntu 7.10

 # 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'.
# WARNING: If you are using dmraid do not use 'savedefault' or your
# array will desync and will not let you boot your system.
default		0

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

## 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

#
# examples
#
# title		Windows 95/98/NT/2000
# root		(hd0,0)
# makeactive
# chainloader	+1
#
# title		Linux
# root		(hd0,1)
# kernel	/vmlinuz root=/dev/hda2 ro
#

#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST

### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below

## DO NOT UNCOMMENT THEM, Just edit them to your needs

## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
##      kopt_2_6_8=root=/dev/hdc1 ro
##      kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=UUID=59fb6374-f8a7-4a2c-ad60-67219ae3a458 ro

## Setup crashdump menu entries
## e.g. crashdump=1
# crashdump=0

## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd1,5)

## should update-grub create alternative automagic boot options
## e.g. alternative=true
##      alternative=false
# alternative=true

## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
##      lockalternative=false
# lockalternative=false

## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=quiet splash acpi=force lapic locale=fr_FR

## should update-grub lock old automagic boot options
## e.g. lockold=false
##      lockold=true
# lockold=false

## Xen hypervisor options to use with the default Xen boot option
# xenhopt=

## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=console=tty0

## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
##      altoptions=(recovery) single
# altoptions=(recovery mode) single

## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
##      howmany=7
# howmany=all

## should update-grub create memtest86 boot option
## e.g. memtest86=true
##      memtest86=false
# memtest86=true

## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false

## should update-grub add savedefault to the default options
## can be true or false
# savedefault=false

## ## End Default Options ##

title		Ubuntu 7.10, kernel 2.6.22-14-generic
root		(hd1,5)
kernel		/boot/vmlinuz-2.6.22-14-generic root=UUID=59fb6374-f8a7-4a2c-ad60-67219ae3a458 ro quiet splash acpi=force lapic locale=fr_FR
initrd		/boot/initrd.img-2.6.22-14-generic
quiet

title		Ubuntu 7.10, kernel 2.6.22-14-generic (recovery mode)
root		(hd1,5)
kernel		/boot/vmlinuz-2.6.22-14-generic root=UUID=59fb6374-f8a7-4a2c-ad60-67219ae3a458 ro single
initrd		/boot/initrd.img-2.6.22-14-generic

title		Ubuntu 7.10, memtest86+
root		(hd1,5)
kernel		/boot/memtest86+.bin
quiet

### 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 an existing
# linux installation on /dev/sda1.
title		Ubuntu 7.10, kernel 2.6.22-14-generic (on /dev/sda1)
root		(hd0,0)
kernel		/boot/vmlinuz-2.6.22-14-generic root=UUID=83287126-05e5-4584-8df4-c38ec4c254b3 ro quiet splash acpi=force locale=fr_FR 
initrd		/boot/initrd.img-2.6.22-14-generic
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda1.
title		Ubuntu 7.10, kernel 2.6.22-14-generic (recovery mode) (on /dev/sda1)
root		(hd0,0)
kernel		/boot/vmlinuz-2.6.22-14-generic root=UUID=83287126-05e5-4584-8df4-c38ec4c254b3 ro single 
initrd		/boot/initrd.img-2.6.22-14-generic
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda1.
title		Ubuntu 7.10, memtest86+ (on /dev/sda1)
root		(hd0,0)
kernel		/boot/memtest86+.bin  
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda5.
title		Ubuntu 7.10, kernel 2.6.22-14-generic (on /dev/sda5)
root		(hd0,4)
kernel		/boot/vmlinuz-2.6.22-14-generic root=UUID=f3bc933a-6a20-4a24-87ed-ea68d982776b ro quiet splash acpi=force
initrd		/boot/initrd.img-2.6.22-14-generic
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda5.
title		Ubuntu 7.10, kernel 2.6.22-14-generic (recovery mode) (on /dev/sda5)
root		(hd0,4)
kernel		/boot/vmlinuz-2.6.22-14-generic root=UUID=f3bc933a-6a20-4a24-87ed-ea68d982776b ro single 
initrd		/boot/initrd.img-2.6.22-14-generic
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda5.
title		Ubuntu 7.10, memtest86+ (on /dev/sda5)
root		(hd0,4)
kernel		/boot/memtest86+.bin  
savedefault
boot

Dernière modification par enebre (Le 14/01/2008, à 20:04)

Hors ligne

#38 Le 14/01/2008, à 20:09

Compte anonymisé

Re : erreur au démarrage (résolu)

Salut

Pour les balises, c'est juste au dessus de la fenetre de saisie de message :
B pour mettre en gras I italiques etc.. Code pour ....
Tu cliques dans  code et ça crée à  la position du curseur les fameuses balises et tu mets ton texte à  l'intérieur.

Je te pose le menu.lst de sda1 :

# 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'.
# WARNING: If you are using dmraid do not use 'savedefault' or your
# array will desync and will not let you boot your system.
default        0

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

## 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

#
# examples
#
# title        Windows 95/98/NT/2000
# root        (hd0,0)
# makeactive
# chainloader    +1
#
# title        Linux
# root        (hd0,1)
# kernel    /vmlinuz root=/dev/hda2 ro
#

#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST

### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below

## DO NOT UNCOMMENT THEM, Just edit them to your needs

## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
##      kopt_2_6_8=root=/dev/hdc1 ro
##      kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=UUID=83287126-05e5-4584-8df4-c38ec4c254b3 ro

## Setup crashdump menu entries
## e.g. crashdump=1
# crashdump=0

## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,0)

## should update-grub create alternative automagic boot options
## e.g. alternative=true
##      alternative=false
# alternative=true

## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
##      lockalternative=false
# lockalternative=false

## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=quiet splash locale=fr_FR

## should update-grub lock old automagic boot options
## e.g. lockold=false
##      lockold=true
# lockold=false

## Xen hypervisor options to use with the default Xen boot option
# xenhopt=

## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=console=tty0

## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
##      altoptions=(recovery) single
# altoptions=(recovery mode) single

## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
##      howmany=7
# howmany=all

## should update-grub create memtest86 boot option
## e.g. memtest86=true
##      memtest86=false
# memtest86=true

## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false

## should update-grub add savedefault to the default options
## can be true or false
# savedefault=false

## ## End Default Options ##

title        Ubuntu 7.10, kernel 2.6.22-14-generic
root        (hd0,0)
kernel        /boot/vmlinuz-2.6.22-14-generic root=UUID=83287126-05e5-4584-8df4-c38ec4c254b3 ro quiet splash locale=fr_FR
initrd        /boot/initrd.img-2.6.22-14-generic
quiet

title        Ubuntu 7.10, kernel 2.6.22-14-generic (recovery mode)
root        (hd0,0)
kernel        /boot/vmlinuz-2.6.22-14-generic root=UUID=83287126-05e5-4584-8df4-c38ec4c254b3 ro single
initrd        /boot/initrd.img-2.6.22-14-generic

title        Ubuntu 7.10, memtest86+
root        (hd0,0)
kernel        /boot/memtest86+.bin
quiet

### 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


title        Ubuntu sur /dev/sda2
root        (hd0,1)
chainloader    +1
boot

title        Ubuntu sur /dev/sdb6
root        (hd1,5)
chainloader    +1
boot

Pour ta connexion je ne vois pas le rapport. C'est un hasard sad

@+

#39 Le 14/01/2008, à 20:13

enebre

Re : erreur au démarrage (résolu)

je n'y suis pour rien dans l'élaboration de ces menu.lst grub a fait les installs et ne m'a rien demandé, c'est lui qui a mis ces numéros et cette salade, bon peut etre qu'il a eut du mal a suivre des qu'il y eu trois os, une xp et deux linux, et maintenant pour ne rien arrangé j'ai enlevé xp et rajouté un kubuntu.
je me souviend qu'il n'y a pas si longtemps je n'arrivais jamais en automatique installation a avoir plus deux deux distribution sur un meme pc

pense tu qu'il y ai possibilité d'arranger cela , sinon ce que nous faisons est voué a etre en partie perdue sauf mon apprentissage s'il en est,
car je devrai réinstaller pour retrouver ma connection, avec cette vitesse je ne peux faire les mises a jour . c'est tout juste asser pour le navigateur !

puis je faire un copier collé de la config de connection depuis le live cd, mais pour y arriver si c'est possible , j'aurai bien besoin d'une main de guide pour me conduire dans ce dédale.

Dernière modification par enebre (Le 14/01/2008, à 20:20)

Hors ligne

#40 Le 14/01/2008, à 20:16

Compte anonymisé

Re : erreur au démarrage (résolu)

Et voici voila pour /dev/sdb6:

# 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'.
# WARNING: If you are using dmraid do not use 'savedefault' or your
# array will desync and will not let you boot your system.
default        0

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

## 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

#
# examples
#
# title        Windows 95/98/NT/2000
# root        (hd0,0)
# makeactive
# chainloader    +1
#
# title        Linux
# root        (hd0,1)
# kernel    /vmlinuz root=/dev/hda2 ro
#

#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST

### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below

## DO NOT UNCOMMENT THEM, Just edit them to your needs

## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
##      kopt_2_6_8=root=/dev/hdc1 ro
##      kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=UUID=59fb6374-f8a7-4a2c-ad60-67219ae3a458 ro

## Setup crashdump menu entries
## e.g. crashdump=1
# crashdump=0

## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd1,5)

## should update-grub create alternative automagic boot options
## e.g. alternative=true
##      alternative=false
# alternative=true

## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
##      lockalternative=false
# lockalternative=false

## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=quiet splash acpi=force lapic locale=fr_FR

## should update-grub lock old automagic boot options
## e.g. lockold=false
##      lockold=true
# lockold=false

## Xen hypervisor options to use with the default Xen boot option
# xenhopt=

## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=console=tty0

## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
##      altoptions=(recovery) single
# altoptions=(recovery mode) single

## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
##      howmany=7
# howmany=all

## should update-grub create memtest86 boot option
## e.g. memtest86=true
##      memtest86=false
# memtest86=true

## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false

## should update-grub add savedefault to the default options
## can be true or false
# savedefault=false

## ## End Default Options ##

title        Ubuntu 7.10, kernel 2.6.22-14-generic
root        (hd1,5)
kernel        /boot/vmlinuz-2.6.22-14-generic root=UUID=59fb6374-f8a7-4a2c-ad60-67219ae3a458 ro quiet splash acpi=force lapic locale=fr_FR
initrd        /boot/initrd.img-2.6.22-14-generic
quiet

title        Ubuntu 7.10, kernel 2.6.22-14-generic (recovery mode)
root        (hd1,5)
kernel        /boot/vmlinuz-2.6.22-14-generic root=UUID=59fb6374-f8a7-4a2c-ad60-67219ae3a458 ro single
initrd        /boot/initrd.img-2.6.22-14-generic

title        Ubuntu 7.10, memtest86+
root        (hd1,5)
kernel        /boot/memtest86+.bin
quiet

### 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

title        Ubuntu sur /dev/sda1
root        (hd0,0)
chainloader    +1
boot

title        Ubuntu sur /dev/sda2
root        (hd0,1)
chainloader    +1
boot

Une petite question :
C'est toi qui a ajouté ces pavés détaillés ou c'est le système lors de l'install ???

@+

PS super, tu réponds à  mes questions avant que je les pose lol
Je sentais bien un regard dans mon dos roll

Dernière modification par Compte anonymisé (Le 14/01/2008, à 20:19)

#41 Le 14/01/2008, à 20:31

enebre

Re : erreur au démarrage (résolu)

il doit bien y avoir de fichier qui gere la connection.
a mon avis avec le changement d'adresse le systeme a reconfiguré certain parametres et il n'est pas tres stable vis a vis de wifi, des qu'il y a un probleme il saute sur la connection filaire et donc fait un transit lorsqu'il y a wifi, au début j'ai eu a reinstaller souvent a cause de cela, je ne suis pas du tout certain de ma theorie mais j'avais constatté que lorsque je perdais la vitesse et que je recherchai a faire la réparation je voyais que la connection étais comme reglée sur le reseau filaire !!!
n'y connaissant pas assez j'abandonnais et je réinstallais , je n'ai pas le choix dans ces situations

oui oui c'est big brother , et on ne s'en rend pas compte le plus souvent , mais il est là .;)

Dernière modification par enebre (Le 14/01/2008, à 20:33)

Hors ligne

#42 Le 14/01/2008, à 20:37

Compte anonymisé

Re : erreur au démarrage (résolu)

Je ne vois pas trop là .

Par contre pour le problème ci-dessus, avant de faire les modifs des menu.lst, n'oublie pas d'exécuter les commandes listées post #32 :

Il nous reste encore qq chose à  faire.
Il est necessaire maintenant de faire booter séparément chaque système et donc de créer le grub loader sur chaque partition concernée :
Tu lances :
sudo grub   --> grub>
là  tu tapes :
find /boot/grub/menu.lst  --> te donne toutes les install de grub. devrait donner :
(hd0,0)
(hd0,1)
(hd1,5)
là  tu tapes les commandes suivantes :
setup (hd0,0) (hd0,0)
setup (hd0,1) (hd0,1)   
setup (hd1,5) (hd1,5)

tu termines par
quit

@+

#43 Le 14/01/2008, à 20:37

enebre

Re : erreur au démarrage (résolu)

c'est a remplacer par ce que tu as écris , ou y a t il une portion a vérifier ?
je retourne faire le poste 32 sur l'os par defaut.
j'y vais

Dernière modification par enebre (Le 14/01/2008, à 20:40)

Hors ligne

#44 Le 14/01/2008, à 20:40

Compte anonymisé

Re : erreur au démarrage (résolu)

enebre a écrit :

c'est a remplacer par ce que tu as écris , ou y a t il une portion a vérifier ?

What ????????
Si tu parles des menu.lst, tu sauves l'existant et tu remplaces par ce qui est écrit

@+

Dernière modification par Compte anonymisé (Le 14/01/2008, à 20:41)

#45 Le 14/01/2008, à 20:51

enebre

Re : erreur au démarrage (résolu)

ok je viens de terminer le poste  et les commandes suivantes

 sudo grub   --> grub>
là  tu tapes :
find /boot/grub/menu.lst  --> te donne toutes les install de grub. devrait donner :
(hd0,0)
(hd0,1)
(hd1,5)
là  tu tapes les commandes suivantes :
setup (hd0,0) (hd0,0)
setup (hd0,1) (hd0,1)   ---> celle-ci n'est pas indispensable mais c'est pas grave.
setup (hd1,5) (hd1,5)

tu termines par
quit

et maintenant je vais sda1 . ok fait
je vais sda6

Dernière modification par enebre (Le 14/01/2008, à 21:01)

Hors ligne

#46 Le 14/01/2008, à 21:07

enebre

Re : erreur au démarrage (résolu)

ok jeanjd63 c'est fait, et maintenant ?
tu connais une commande de test, ou bien c'est bon .
je te remercie de m'avoir si bien aidé avec ce probleme de grub.
pourrais tu m'expliqué le pourquoi d'un tel caffouillage dans les menu.lst.
ais je , ou n'ais je pas fais les installation correctement lorsqu'il y a plus d'un OS.
et si je dois réinstaller l'un ou l'autre  , vais je avoir a faire des modif des menus ?
le probleme de connection se retrouve sur chaque distrbution, je ne sais pas comment résoudre ce probleme, j'y avais déja consacré beaucoup de temps en consultant les forums , mais sans trouver de solution, ca me desespere, meme pas fini avec un trouble que deja le suivant est dans la boite

Dernière modification par enebre (Le 14/01/2008, à 21:39)

Hors ligne

#47 Le 14/01/2008, à 21:35

Compte anonymisé

Re : erreur au démarrage (résolu)

Pour tester, il ne te reste plus qu'à  choisir de booter sur tes différentes install pour voir si ça fonctionne et ensuite tu peux tenter de te ballader d'un grub à  l'autre en choisissant par exemple depuis sda2 de lancer sda1 et là  de lancer sdb6 et de revenir vers sda2. C'est une idée.

Le plus important étant déjà  de pouvoir booter les trois installs.

@+

#48 Le 14/01/2008, à 21:40

Compte anonymisé

Re : erreur au démarrage (résolu)

En fait je ne pensait pas que grub mettait un tel bazard, mais si c'est le cas et si tu réinstalles un de tes systèmes, il doit te proposer d'ajouter ou non des systèmes à  booter.
Dans ce cas tu n'ajoutes rien et ensuite tu fais "à  la main" comme on vient de faire.

Le mieux étant de garder ton menu.lst avant de réinstaller puis de l'adapter ensuite.

Est-ce que tout fonctionne ?

Dernière modification par Compte anonymisé (Le 14/01/2008, à 21:41)

#49 Le 14/01/2008, à 21:41

enebre

Re : erreur au démarrage (résolu)

ca semble trs confortable de pouvoir choisir l'install par defaut, mais comment tu envisage cette manip de ballade d'un grub a l'autre, j'ai pas saisi la

j'en suis a 4kgoctet/s

il ne me propose rien en version alternate, c'est pas des cd desktop,

je fais un retour sur ma ubuntu préférée , et je te dis si ca marche , mais jusqu'a présent tout semble etre dans l'ordre d'une bonne rectification faite par le grand gourou.
dommage que linux n'a pas tenu sa config du wifi


suis sur sda1 ubuntu pas de probleme pour booter, super

Dernière modification par enebre (Le 14/01/2008, à 21:53)

Hors ligne

#50 Le 14/01/2008, à 21:51

Compte anonymisé

Re : erreur au démarrage (résolu)

Pour être concret :

Au boot (grub sda2), tu choisis :
1)  Ubuntu sur /dev/sda1 qui doit t'être proposé en position 4
là  tu devrais avoir un nouveau menu grub (celui de sda1)
là  tu choisis :
2)  Ubuntu sur /dev/sdb6 qui doit t'être proposé en position 5
là  tu devrais avoir un nouveau menu grub (celui de sdb6)
là  tu choisis :
3)  Ubuntu sur /dev/sda2 qui doit t'être proposé en position 5
et la boucle est bouclée. Tu as fais un grub de tour lol

Tu valideras ainsi tes différents menus.

Le but étant ensuite de revenir au point :
1) et là  choisir de lancer Ubuntu (le premier choix du menu) et ainsi de suite pour les autres.
Ok ?