Twitter iPhone pliant OnePlus 11 PS5 Disney+ Orange Livebox Windows 11

Re: grub et device.map

1 réponse
Avatar
antoine
Voici ce que dit mon BIOS :
IDE Master Hard Disk
IDE Slave ATAPI CDROM
SATAII 1 Hard Disk
SATAII 2 Hard Disk
-----------------------------------------------------
Voici mon /boot/grub/device.map :
(fd0) /dev/fd0
(hd0) /dev/sda
(hd1) /dev/sdb
(hd2) /dev/hda
-----------------------------------------------------
Voici mon /boot/grub/menu.lst :

title Debian GNU/Linux, kernel 2.6.18-6-amd64
root (hd0,1)
kernel /boot/vmlinuz-2.6.18-6-amd64 root=/dev/sda2 ro
initrd /boot/initrd.img-2.6.18-6-amd64
savedefault

title Debian GNU/Linux, kernel 2.6.18-6-amd64 (single-user mode)
root (hd0,1)
kernel /boot/vmlinuz-2.6.18-6-amd64 root=/dev/sda2 ro single
initrd /boot/initrd.img-2.6.18-6-amd64
savedefault

title Debian-2 GNU/Linux, kernel 2.6.18-6-amd64
root (hd1,0)
kernel /boot/vmlinuz-2.6.18-6-amd64 root=/dev/sdb1 ro
initrd /boot/initrd.img-2.6.18-6-amd64
savedefault

title CentOS-64
root (hd1,4)
kernel /boot/vmlinuz-2.6.18-53.el5 root=/dev/sdb5 ro
initrd /boot/initrd-2.6.18-53.el5.img
savedefault

title Sidux-64
root (hd1,5)
kernel /boot/vmlinuz-2.6.24-2.6.24.4.slh.5-sidux-amd64 root=/dev/sdb6 ro

title Windows-XP
root (hd0,0)
chainloader +1
savedefault
makeactive
----------------------------------------
Seule les partitions (hd0,0) [Windows] et (hd0,1) [Debian] sont bootables,
pas les autres, avec ces messages d'erreur :
--------------------------------------------------------
title Debian-2
root (hd1,0)
error 15 : file not found
----------
title CentOS-64
root (hd1,4)
error 22 : no such partition
----------
title Sidux-64
root (hd1,5)
error 22 : no such partition

Grand merci d'une aide.

antoine






--
Lisez la FAQ de la liste avant de poser une question :
http://wiki.debian.org/DebFrFrenchLists
Vous pouvez aussi ajouter le mot ``spam'' dans vos champs "From" et
"Reply-To:"

To UNSUBSCRIBE, email to debian-user-french-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

1 réponse

Avatar
patrick
--=-mqJazsC/6kd2leTQWkrM
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Le samedi 07 juin 2008 à 14:45 +0200, a écri t :

bonsoir,
je veux bien essayer de comprendre déjà...et peut-être d'aid er à la
mesure de mes modestes moyens.


Voici mon /boot/grub/menu.lst :

title Debian GNU/Linux, kernel 2.6.18-6-amd64
root (hd0,1)
kernel /boot/vmlinuz-2.6.18-6-amd64 root=/dev/sda2 ro
initrd /boot/initrd.img-2.6.18-6-amd64
savedefault

title Debian GNU/Linux, kernel 2.6.18-6-amd64 (single-user mode )
root (hd0,1)
kernel /boot/vmlinuz-2.6.18-6-amd64 root=/dev/sda2 ro single
initrd /boot/initrd.img-2.6.18-6-amd64
savedefault

title Debian-2 GNU/Linux, kernel 2.6.18-6-amd64
root (hd1,0)
kernel /boot/vmlinuz-2.6.18-6-amd64 root=/dev/sdb1 ro
initrd /boot/initrd.img-2.6.18-6-amd64
savedefault


Pourquoi cette entrée qui est la même que Debian ci-dessus?
Le (hd1,0) correspond au *2e* disque et premiere partition:
- deux Debian identiques sont donc installés (un sur le premier disque
et un sur le 2e), c'est ça?

title CentOS-64
root (hd1,4)
kernel /boot/vmlinuz-2.6.18-53.el5 root=/dev/sdb5 ro
initrd /boot/initrd-2.6.18-53.el5.img
savedefault

title Sidux-64
root (hd1,5)
kernel /boot/vmlinuz-2.6.24-2.6.24.4.slh.5-sidux-amd64 root=/dev /sdb6 ro

title Windows-XP
root (hd0,0)
chainloader +1
savedefault
makeactive
----------------------------------------
Seule les partitions (hd0,0) [Windows] et (hd0,1) [Debian] sont bootable s,
pas les autres, avec ces messages d'erreur :
--------------------------------------------------------
title Debian-2
root (hd1,0)
error 15 : file not found


Disque et partitions sont trouvés mais le nom de fichier ne l'est pas:
- vérifier que le fichier "initrd.img-2.6.18-6-amd64" est bien à cet
emplacement
----------
title CentOS-64
root (hd1,4)
error 22 : no such partition
----------
title Sidux-64
root (hd1,5)
error 22 : no such partition


Les partitions n'existent pas sur ce disque:
- vérifier qu'une partition /boot/ existe bien sur ce disque
(2e disk, premiere parition logique
(2e disk, 2e partition logique

Plus d'infos (en anglais) sur ces erreurs (grub error 15 et 22)
http://www.gnu.org/software/grub/manual/grub.html#Stage2-errors

Grand merci d'une aide.


de rien, en espérant avoir aidé.
antoine


patrick



--=-mqJazsC/6kd2leTQWkrM
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: Ceci est une partie de message
=?ISO-8859-1?Q?numériquement?= =?ISO-8859-1?Q?_signée?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQBISvd3yHPpqz6NiwcRAiKVAJ9KXSZbmfbRf1baqnK5zJTO8OFZ5wCeLdtn
M8bg2xW0rY602rwAV3GOSRg =wL1D
-----END PGP SIGNATURE-----

--=-mqJazsC/6kd2leTQWkrM--


--
Lisez la FAQ de la liste avant de poser une question :
http://wiki.debian.org/DebFrFrenchLists
Vous pouvez aussi ajouter le mot ``spam'' dans vos champs "From" et
"Reply-To:"

To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact