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 16/05/2006, à 15:15

0cedric

[résolu]2 grubs

j'ai trois partitions, dont 2 linux (1breezy + 1 dapper), et 1 windows.
je projette d'effacer la partition de breezy que je n'utilise jamais pour répartir l'espace récupéré sur les deux autres. problème, la breezy est la dernière que j'ai installé et donc celle qui gère le démarrage, j'ai bien un grub sur la partition qui contient dapper, mais il n'est pas ''utilisé''. Donc avant d'effacer la partition de breezy, comment utiliser l'autre grub pour être sur de redémarrer par la suite.
merci

Dernière modification par 0cedric (Le 20/05/2006, à 15:01)

Hors ligne

#2 Le 16/05/2006, à 15:21

goodluck

Re : [résolu]2 grubs

Salut,

1 - Vérifier que le fichier /boot/grub/menu.lst de la Dapper que tu vas conserver est correct.
2 - Sous Dapper : sudo grub-install /dev/hda
3 - Rebooter pour vérifier big_smile
4 - Détruire la Breezy


Amicalement, Gerard ;)
http://counter.li.org/cgi-bin/certificate.cgi/302199
http://www.worldcommunitygrid.org/

Hors ligne

#3 Le 16/05/2006, à 15:23

maxfox

Re : [résolu]2 grubs

Salut

La solution la plus simple serait de rendre la partition où est installé le Grub de Dapper amorçable (aprés avoir vérifié le menu.lst).

Tu te retrouveras ainsi dans cette configuration.

Edit, les 2 solutions sont valable mais la solution du grub-install n'est pas recommandé (voir ici).

Dernière modification par maxfox (Le 16/05/2006, à 15:32)

Hors ligne

#4 Le 16/05/2006, à 17:32

zarbizz

Re : [résolu]2 grubs

petit conseil :
si t'a un pc-desktop : cree une disquette de boot grub :

grub-floppy /dev/fd??? (suivant ton lecteur de disquette fd0 pour les gens normaux avec un seul lecteur...)

on ne sait jamais...(ca m'a deja été utile.):/

Dernière modification par zarbizz (Le 16/05/2006, à 17:34)

Hors ligne

#5 Le 17/05/2006, à 15:13

0cedric

Re : [résolu]2 grubs

merci j'ai pas trop le temps d'essayer ça tout de suite, mais avec vos explications je pense que je vais m'en sortir

Hors ligne

#6 Le 19/05/2006, à 09:24

0cedric

Re : [résolu]2 grubs

J'avais mis résolu un peu trop vite, maintenant que j'ai un peu plus de temps, je suis encore pas bien sur de ce que je doit faire.
-->maxfox: Comment est ce que je rend une partition amorçable?
-->goodluck: est ce vraiment dans mon cas hda, ou plutot sda, ou sda4?
voilà le contenu de fstab quand je suis sur la dapper

# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
/dev/sda4       /               ext3    defaults,errors=remount-ro 0       1
/dev/sda7       none            swap    sw              0       0
/dev/scd0       /media/cdrom0   udf,iso9660 user,noauto     0       0
/dev/scd1       /media/cdrom1   udf,iso9660 user,noauto     0       0
/dev/fd0        /media/floppy0  auto    rw,user,noauto  0       0
/dev/sda3       /home/cedric/Breezy	ext3    defaults 0       0
/dev/sda1 /home/cedric/NTFS ntfs umask=0222 0 0
/dev/sda5 /home/cedric/FAT vfat umask=0000 0 0

Une autre question, si j'efface une partition, par exemple sda3 avec gparted, est-ce que sda4 devient sda3 ou est ce que toutes les partitions gardent leurs anciens noms?

Hors ligne

#7 Le 19/05/2006, à 10:43

SamheG

Re : [résolu]2 grubs

J'avais exactement le même problème que toi donc je ne peux que te conseiller d'aller voir ce post

Hors ligne

#8 Le 19/05/2006, à 13:59

0cedric

Re : [résolu]2 grubs

je ne peux que te conseiller d'aller voir ce post

ça avait l'air super mais root (hd0,1) retourne disk does'nt exist
et find  /boot/grub/stage1 retourne file not found.
j'ai essayer depuis les deux partitions, pareil

Hors ligne

#9 Le 19/05/2006, à 14:05

0cedric

Re : [résolu]2 grubs

si ça peut aider a mieux se rendre compte du bordel qu'il y a dans mes partitions...
capturegparted12bs.th.png
capturegestionnairededisques1t.th.png

Hors ligne

#10 Le 19/05/2006, à 14:30

SamheG

Re : [résolu]2 grubs

C'est tout à fait normal car il faut que tu l'adaptes à ta config.
Pour plus de renseignements, vas lire ceci

Si c'est le menu.lst de la première partition ext3 que tu veux utiliser, alors c'est hd0,2
Si c'est le menu.lst de la deuxième partition ext3 que tu veux utiliser, alors c'est hd0,3

Par contre pourquoi as-tu 3 swap sur ton disque dur ? Ca n'a auucun intérêt !
De plus je te conseillerais de mettre ton /home sur une partition séparée.


Edit : Ne sait plus compter tongue

Dernière modification par SamheG (Le 19/05/2006, à 16:00)

Hors ligne

#11 Le 19/05/2006, à 15:40

0cedric

Re : [résolu]2 grubs

les autres disques c'est scd0, scd1. Peut être des disques externes que j'ai branché une fois? en tout cas j'ai qu'un disque dans mon ordi ( /dev/sda)
Pour les 3 swaps, je sais pas trop comment ils sont arrivés là... je vais voir pour en effacer deux en même temps.
Le home sur une partition séparée ça sert à quoi ? Je sais pas trop comment le faire, j'imagine que si je fais un copier-coller ça va poser des problèmes au redémarrage de ma prochaine session?

Hors ligne

#12 Le 19/05/2006, à 15:58

SamheG

Re : [résolu]2 grubs

Ok alors visiblement Dapper est installé sur ton sda4, soit en numérotation grub : hd0,3

Donc si on récapitule, tu fais :

grub --batch
root (hd0,3)
setup (hd0)

Et tu redémarres...

Hors ligne

#13 Le 19/05/2006, à 16:02

cedric0

Re : [résolu]2 grubs

ok c'est ce que j'avais cru comprendre, malheureusement maintenant je suis sur live cd, parce qu'il voulait plus démarrer... c'est pas mon copain "grub", a chaque fois il me fait le même coup...

#14 Le 19/05/2006, à 16:04

cedric0

Re : [résolu]2 grubs

je devine ... monter la partition, et edit menu.lst ???

#15 Le 19/05/2006, à 16:07

SamheG

Re : [résolu]2 grubs

C'est sûr que comme l'as dit goodluck, il faut que ton menu.lst sur Dapper soit bon !

Hors ligne

#16 Le 19/05/2006, à 16:11

cedric0

Re : [résolu]2 grubs

mieux, je copie le boot/grub/menu.lst de la partition a effacer (mais qui fonctionne) sur celle a garder. Est ce que je peux faire ça ? wink

#17 Le 19/05/2006, à 16:20

SamheG

Re : [résolu]2 grubs

En théorie çà devrait fonctionner.

Poste le quand-même pour qu'on y jette un oeil !

Hors ligne

#18 Le 19/05/2006, à 16:22

0cedric

Re : [résolu]2 grubs

le nouveau qui marche pas

# 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		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=/dev/sda4 ro

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

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

## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
##      altoptions=(recovery mode) 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

## ## End Default Options ##

title		Ubuntu, kernel 2.6.15-23-686
root		(hd0,4)
kernel		/boot/vmlinuz-2.6.15-23-686 root=/dev/sda4 ro quiet splash
initrd		/boot/initrd.img-2.6.15-23-686
savedefault
boot

title		Ubuntu, kernel 2.6.15-23-686 (recovery mode)
root		(hd0,3)
kernel		/boot/vmlinuz-2.6.15-23-686 root=/dev/sda4 ro single
initrd		/boot/initrd.img-2.6.15-23-686
boot

title		Ubuntu, kernel 2.6.15-23-386
root		(hd0,3)
kernel		/boot/vmlinuz-2.6.15-23-386 root=/dev/sda4 ro quiet splash
initrd		/boot/initrd.img-2.6.15-23-386
savedefault
boot

title		Ubuntu, kernel 2.6.15-23-386 (recovery mode)
root		(hd0,3)
kernel		/boot/vmlinuz-2.6.15-23-386 root=/dev/sda4 ro single
initrd		/boot/initrd.img-2.6.15-23-386
boot

title		Ubuntu, kernel 2.6.15-22-686
root		(hd0,3)
kernel		/boot/vmlinuz-2.6.15-22-686 root=/dev/sda4 ro quiet splash
initrd		/boot/initrd.img-2.6.15-22-686
savedefault
boot

title		Ubuntu, kernel 2.6.15-22-686 (recovery mode)
root		(hd0,3)
kernel		/boot/vmlinuz-2.6.15-22-686 root=/dev/sda4 ro single
initrd		/boot/initrd.img-2.6.15-22-686
boot

title		Ubuntu, kernel 2.6.15-22-386
root		(hd0,3)
kernel		/boot/vmlinuz-2.6.15-22-386 root=/dev/sda4 ro quiet splash
initrd		/boot/initrd.img-2.6.15-22-386
savedefault
boot

title		Ubuntu, kernel 2.6.15-22-386 (recovery mode)
root		(hd0,3)
kernel		/boot/vmlinuz-2.6.15-22-386 root=/dev/sda4 ro single
initrd		/boot/initrd.img-2.6.15-22-386
boot

title		Ubuntu, kernel 2.6.15-21-686
root		(hd0,3)
kernel		/boot/vmlinuz-2.6.15-21-686 root=/dev/sda4 ro quiet splash
initrd		/boot/initrd.img-2.6.15-21-686
savedefault
boot

title		Ubuntu, kernel 2.6.15-21-686 (recovery mode)
root		(hd0,3)
kernel		/boot/vmlinuz-2.6.15-21-686 root=/dev/sda4 ro single
initrd		/boot/initrd.img-2.6.15-21-686
boot

title		Ubuntu, kernel 2.6.15-21-386
root		(hd0,3)
kernel		/boot/vmlinuz-2.6.15-21-386 root=/dev/sda4 ro quiet splash
initrd		/boot/initrd.img-2.6.15-21-386
savedefault
boot

title		Ubuntu, kernel 2.6.15-21-386 (recovery mode)
root		(hd0,3)
kernel		/boot/vmlinuz-2.6.15-21-386 root=/dev/sda4 ro single
initrd		/boot/initrd.img-2.6.15-21-386
boot

title		Ubuntu, kernel 2.6.12-10-386
root		(hd0,3)
kernel		/boot/vmlinuz-2.6.12-10-386 root=/dev/sda4 ro quiet splash
initrd		/boot/initrd.img-2.6.12-10-386
savedefault
boot

title		Ubuntu, kernel 2.6.12-10-386 (recovery mode)
root		(hd0,3)
kernel		/boot/vmlinuz-2.6.12-10-386 root=/dev/sda4 ro single
initrd		/boot/initrd.img-2.6.12-10-386
boot

title		Ubuntu, kernel 2.6.12-9-386
root		(hd0,3)
kernel		/boot/vmlinuz-2.6.12-9-386 root=/dev/sda4 ro quiet splash
initrd		/boot/initrd.img-2.6.12-9-386
savedefault
boot

title		Ubuntu, kernel 2.6.12-9-386 (recovery mode)
root		(hd0,3)
kernel		/boot/vmlinuz-2.6.12-9-386 root=/dev/sda4 ro single
initrd		/boot/initrd.img-2.6.12-9-386
boot

title		Ubuntu, memtest86+
root		(hd0,3)
kernel		/boot/memtest86+.bin 
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 an existing
# linux installation on /dev/sda3.
#title		Ubuntu, kernel 2.6.12-10-686-smp (on /dev/sda3)
#root		(hd0,2)
#kernel		/boot/vmlinuz-2.6.12-10-686-smp root=/dev/sda3 ro quiet splash 
#initrd		/boot/initrd.img-2.6.12-10-686-smp
#savedefault
#boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda3.
title		Ubuntu, kernel 2.6.12-10-686-smp (recovery mode) (on /dev/sda3)
root		(hd0,2)
kernel		/boot/vmlinuz-2.6.12-10-686-smp root=/dev/sda3 ro single 
initrd		/boot/initrd.img-2.6.12-10-686-smp
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda3.
#title		Ubuntu, kernel 2.6.12-10-686 (on /dev/sda3)
#root		(hd0,2)
#kernel		/boot/vmlinuz-2.6.12-10-686 root=/dev/sda3 ro quiet splash 
#initrd		/boot/initrd.img-2.6.12-10-686
#savedefault
#boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda3.
#title		Ubuntu, kernel 2.6.12-10-686 (recovery mode) (on /dev/sda3)
#root		(hd0,2)
#kernel		/boot/vmlinuz-2.6.12-10-686 root=/dev/sda3 ro single 
#initrd		/boot/initrd.img-2.6.12-10-686
#savedefault
#boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda3.
#title		Ubuntu, kernel 2.6.12-10-386 (on /dev/sda3)
#root		(hd0,2)
#kernel		/boot/vmlinuz-2.6.12-10-386 root=/dev/sda3 ro quiet splash 
#initrd		/boot/initrd.img-2.6.12-10-386
#savedefault
#boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda3.
#title		Ubuntu, kernel 2.6.12-10-386 (recovery mode) (on /dev/sda3)
#root		(hd0,2)
#kernel		/boot/vmlinuz-2.6.12-10-386 root=/dev/sda3 ro single 
#initrd		/boot/initrd.img-2.6.12-10-386
#savedefault
#boot


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


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

Hors ligne

#19 Le 19/05/2006, à 16:24

0cedric

Re : [résolu]2 grubs

l'ancien que je viens de remmettre en activité

# 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		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 specifiv 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=root=/dev/sda3 ro

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

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

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

## nonaltoption boot targets option
## This option controls options to pass to only the
## primary kernel menu item.
## You can have ONLY one nonaltoptions line
# nonaltoptions=quiet splash

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

## ## End Default Options ##
splashimage (hd0,2)/boot/grub/splashimages/tux.xpm.gz
title		Ubuntu, kernel 2.6.12-10-386 
root		(hd0,2)
kernel		/boot/vmlinuz-2.6.12-10-386 root=/dev/sda3 ro quiet splash
initrd		/boot/initrd.img-2.6.12-10-386
boot

title		Ubuntu, kernel 2.6.12-10-386 (recovery mode)
root		(hd0,2)
kernel		/boot/vmlinuz-2.6.12-10-386 root=/dev/sda3 ro single
initrd		/boot/initrd.img-2.6.12-10-386
boot

#title		Ubuntu, kernel 2.6.12-9-386 
#root		(hd0,2)
#kernel		/boot/vmlinuz-2.6.12-9-386 root=/dev/sda3 ro quiet splash
#initrd		/boot/initrd.img-2.6.12-9-386
#savedefault
#boot

#title		Ubuntu, kernel 2.6.12-9-386 (recovery mode)
#root		(hd0,2)
#kernel		/boot/vmlinuz-2.6.12-9-386 root=/dev/sda3 ro single
#initrd		/boot/initrd.img-2.6.12-9-386
#boot

#title		Ubuntu, memtest86+
#root		(hd0,2)
#kernel		/boot/memtest86+.bin  
#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 an existing
# linux installation on /dev/sda4.

title		Ubuntu, kernel 2.6.15-22-686 (on /dev/sda4)
root		(hd0,3)
kernel		/boot/vmlinuz-2.6.15-22-686 root=/dev/sda4 ro quiet splash
initrd		/boot/initrd.img-2.6.15-22-686
savedefault
boot

title		Ubuntu, kernel 2.6.15-21-686 (on /dev/sda4)
root		(hd0,3)
kernel		/boot/vmlinuz-2.6.15-21-686 root=/dev/sda4 ro quiet splash 
initrd		/boot/initrd.img-2.6.15-21-686
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda4.
#title		Ubuntu, kernel 2.6.15-21-686 (recovery mode) (on /dev/sda4)
#root		(hd0,3)
#kernel		/boot/vmlinuz-2.6.15-21-686 root=/dev/sda4 ro single 
#initrd		/boot/initrd.img-2.6.15-21-686
#savedefault
#boot


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

Hors ligne

#20 Le 19/05/2006, à 16:25

0cedric

Re : [résolu]2 grubs

je lui enlève ça ?

splashimage (hd0,2)/boot/grub/splashimages/tux.xpm.gz
title        Ubuntu, kernel 2.6.12-10-386 
root        (hd0,2)
kernel        /boot/vmlinuz-2.6.12-10-386 root=/dev/sda3 ro quiet splash
initrd        /boot/initrd.img-2.6.12-10-386
boot

title        Ubuntu, kernel 2.6.12-10-386 (recovery mode)
root        (hd0,2)
kernel        /boot/vmlinuz-2.6.12-10-386 root=/dev/sda3 ro single
initrd        /boot/initrd.img-2.6.12-10-386
boot

#title        Ubuntu, kernel 2.6.12-9-386 
#root        (hd0,2)
#kernel        /boot/vmlinuz-2.6.12-9-386 root=/dev/sda3 ro quiet splash
#initrd        /boot/initrd.img-2.6.12-9-386
#savedefault
#boot

#title        Ubuntu, kernel 2.6.12-9-386 (recovery mode)
#root        (hd0,2)
#kernel        /boot/vmlinuz-2.6.12-9-386 root=/dev/sda3 ro single
#initrd        /boot/initrd.img-2.6.12-9-386
#boot

#title        Ubuntu, memtest86+
#root        (hd0,2)
#kernel        /boot/memtest86+.bin  
#boot

Hors ligne

#21 Le 19/05/2006, à 16:27

cep_

Re : [résolu]2 grubs

root        (hd0,4)
kernel        /boot/vmlinuz-2.6.15-23-686 root=/dev/sda4

Il y a une erreur de numérotation.

À toutes fins utiles vérifier aussi avec fstab et device.map pour être sûr de bien conserver fapper.

FAire aussi un fdisk -l par précaution.

#22 Le 19/05/2006, à 16:31

cep_

Re : [résolu]2 grubs

Pfiou smile
J'avais pas vu les autres messages qui n'étaient pas encore affichés. Quel pastis smile

Si tu gardes la dapper, garde le menu.lst de dapper, corrige l'erreur de numérotation et tu mets dans le mbr le stage1 de dapper qui si j'ai bien compris est dans (hd0,3).

#23 Le 19/05/2006, à 16:32

SamheG

Re : [résolu]2 grubs

Ca y est le boss est dans l'arène wink

Effectivement il y avais une erreur de numérotation dans le menu.lst défectueux
Donc :
- si tu as déjà écrasé celui de Dapper par celui de Breezy, effectivement enlève le lignes que tu as citées
- si tu n'as pas encore fais le copier-coller, remplace simplent le 4 par un 3

Hors ligne

#24 Le 19/05/2006, à 16:56

0cedric

Re : [résolu]2 grubs

bouuu, ja'i essayer les deux mais ça veut pas marcher...
je reprend calmement:
je récupère le menu.lst de dapper
remplace (hd0,4) par (hd0,3)

sudo -s
grub --batch
root (hd0,3)
setup (hd0)

a tout à l'heure et merci à vous

Hors ligne

#25 Le 19/05/2006, à 17:12

0cedric

Re : [résolu]2 grubs

non, j'ai toujours le même "reboot and select proper boot device"
j'ai mis un cd de boot et lancé smart boot manager j'ai choisi une partition qui s'appellair HD0 4 et me revoilà sur Dapper, jy comprend plus rien, est ce que c'est tout des 4 alors?

Hors ligne