Déplacer Grub sur une autre partition

.

.

ca ne fonctionne pas sous le livecd j ai refais grub

grub> find /boot/grub/stage1 (hd1,0)

[code]fdisk -l

Disk /dev/sda: 163.9 GB, 163928604672 bytes
255 heads, 63 sectors/track, 19929 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0000f657

Device Boot Start End Blocks Id System
/dev/sda1 1 19929 160079661 5 Extended
/dev/sda5 1 19929 160079629+ 83 Linux

Disk /dev/sdb: 74.3 GB, 74355769344 bytes
255 heads, 63 sectors/track, 9039 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000675fa

Device Boot Start End Blocks Id System
/dev/sdb1 1 2480 19920568+ 83 Linux
/dev/sdb2 2481 2735 2048287+ 82 Linux swap / Solaris
/dev/sdb3 2736 9039 50636880 5 Extended
/dev/sdb5 2736 9039 50636848+ 83 Linux
[/code]

quel erreur j ai commis car la si je fait hd0 il dit qu il ne trouve pas de partition

.

Je n’ai rien touché dans le bios. ni resortit :frowning:

est-il possible de l’installé sur le mbr du 74gi?

(j’ai vérifier dans mon bios c’est bien le 74g qui est en premier pour le démarrage)

.

.

voici le device.map

(hd0) /dev/hda (hd1) /dev/hdb (hd2) /dev/sda

.

grub> geometry (hd0)
drive 0x80: C/H/S = 19929/255/63, The number of sectors = 320173056, /dev/sda
   Partition num: 4,  Filesystem type is ext2fs, partition type 0x83

grub> geometry (hd1)
drive 0x81: C/H/S = 9039/255/63, The number of sectors = 145226112, /dev/sdb
   Partition num: 0,  Filesystem type is ext2fs, partition type 0x83
   Partition num: 1,  Filesystem type unknown, partition type 0x82
   Partition num: 4,  Filesystem type is ext2fs, partition type 0x83

grub> geometry (hd2)

Error 21: Selected disk does not exist
root@ubuntu:~# cat /proc/partitions
major minor  #blocks  name

   8     0  160086528 sda
   8     1          1 sda1
   8     5  160079629 sda5
   8    16   72613056 sdb
   8    17   19920568 sdb1
   8    18    2048287 sdb2
   8    19          1 sdb3
   8    21   50636848 sdb5
   7     0     657224 loop0

guigui69

.

oui le disque dur (débranché) est actuellement dans mes mains en meme temps que je t’ecrit.

.

grub> geometry (hd0)
drive 0x80: C/H/S = 19929/255/63, The number of sectors = 320173056, /dev/sda
   Partition num: 4,  Filesystem type is ext2fs, partition type 0x83

grub> geometry (hd1)
drive 0x81: C/H/S = 9039/255/63, The number of sectors = 145226112, /dev/sdb
   Partition num: 0,  Filesystem type is ext2fs, partition type 0x83
   Partition num: 1,  Filesystem type unknown, partition type 0x82
   Partition num: 4,  Filesystem type is ext2fs, partition type 0x83

grub> geometry (hd2)

Error 21: Selected disk does not exist

.

voila


grub> geometry (hd0)
drive 0x80: C/H/S = 19929/255/63, The number of sectors = 320173056, /dev/sda
   Partition num: 4,  Filesystem type is ext2fs, partition type 0x83

grub> geometry (hd1)
drive 0x81: C/H/S = 9039/255/63, The number of sectors = 145226112, /dev/sdb
   Partition num: 0,  Filesystem type is ext2fs, partition type 0x83
   Partition num: 1,  Filesystem type unknown, partition type 0x82
   Partition num: 4,  Filesystem type is ext2fs, partition type 0x83
root@ubuntu:~# fdisk -l

Disque /dev/sda: 163.9 Go, 163928604672 octets
255 heads, 63 sectors/track, 19929 cylinders
Units = cylindres of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0000f657

Périphérique Amorce    Début         Fin      Blocs    Id  Système
/dev/sda1               1       19929   160079661    5  Extended
/dev/sda5               1       19929   160079629+  83  Linux

Disque /dev/sdb: 74.3 Go, 74355769344 octets
255 heads, 63 sectors/track, 9039 cylinders
Units = cylindres of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000675fa

Périphérique Amorce    Début         Fin      Blocs    Id  Système
/dev/sdb1               1        2480    19920568+  83  Linux
/dev/sdb2            2481        2735     2048287+  82  Linux swap / Solaris
/dev/sdb3            2736        9039    50636880    5  Extended
/dev/sdb5            2736        9039    50636848+  83  Linux

device.map

(hd0) /dev/sda
(hd1) /dev/sdb
grub> find /boot/grub/stage1
 (hd1,0)

.

.

J’ai fait les modification indiqué dans ton précédent message.

Mais je peut toujours pas booter dessus il me dit qu’il ne trouve pas le hd.

Avant de réaliser les dernières manipulation j’avais pu aller plus loin( hd1), mais le chargement s’était arrêter (je pense a cause du fstab).

.