Bonjour à tous,
je réouvre un nouveau sujet concernant mon problème, l’ancien http://www.debian-fr.org/annuler-apt-get-install-et-selectionner-les-paquets-t34328.html n’étant pas assez précis.
J’ai un serveur chez OVH sur lequel je dois mettre à jour grub, pendant l’éxécution de la MAJ j’ai ce message :
[code]The GRUB boot loader was previously installed to a disk that is no longer present, or whose normally unique identifier has changed for some reason. It is important to make sure that the installed GRUB stays in sync with other components such as grub.cfg or with newer Linux images it will have to load, and so you should check again to make sure that GRUB is installed to the appropriate boot devices.
If you’re unsure which drive is designated as boot drive by your BIOS, it is often a good idea to install GRUB to all of them.
Note: It is possible to install GRUB to partition boot records as well, and some appropriate partitions are offered here. However, this forces GRUB to use the blocklist mechanism, which makes it less reliable, and therefore is not recommended.
GRUB install devices:
[ ] /dev/sda (750156 Mo, ST3750525AS) │
[ ] /dev/sdb (750156 Mo, ST3750525AS) │
[ ] /dev/md1 (10737 Mo, ???) [/code]
Voici mon grub.cfg (l’os est Ubuntu, pas de debian proposé par OVH) :
[code]### BEGIN /etc/grub.d/06_OVHkernel ###
menuentry “Ubuntu 10.10, OVH kernel 2.6.34.6-xxxx-grs-ipv6-64” {
insmod raid
insmod mdraid
insmod part_msdos
insmod part_msdos
insmod ext2
set root=’(md1)'
search --no-floppy --fs-uuid --set 3b5d96d0-7f2d-41f7-b472-4fb0d5660c2a
linux /boot/bzImage-2.6.34.6-xxxx-grs-ipv6-64 root=/dev/md1 ro nomodeset debug
}
END /etc/grub.d/06_OVHkernel
[/code]
le résultat du fdisk :
[code]# fdisk -l
Disk /dev/sdb: 750.2 GB, 750156374016 bytes
255 heads, 63 sectors/track, 91201 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000d944c
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 1306 10485760+ fd Linux raid autodetect
/dev/sdb2 1306 91136 721558528 fd Linux raid autodetect
/dev/sdb3 91136 91201 525696 82 Linux swap / Solaris
Disk /dev/sda: 750.2 GB, 750156374016 bytes
255 heads, 63 sectors/track, 91201 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000aa1b6
Device Boot Start End Blocks Id System
/dev/sda1 * 1 1306 10485760+ fd Linux raid autodetect
/dev/sda2 1306 91136 721558528 fd Linux raid autodetect
/dev/sda3 91136 91201 525696 82 Linux swap / Solaris
Disk /dev/md2: 738.9 GB, 738875867136 bytes
2 heads, 4 sectors/track, 180389616 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/md2 doesn’t contain a valid partition table
Disk /dev/md1: 10.7 GB, 10737352704 bytes
2 heads, 4 sectors/track, 2621424 cylinders
Units = cylinders of 8 * 512 = 4096 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Disk /dev/md1 doesn’t contain a valid partition table[/code]
Fdisk indique un boot sur sda1 et sdb1 mais vu qu’il y a du raid, devrais je choisir md1 (d’ailleur le grub.cfg en fait référence) ?
Merci d’avance pour vos conseils