Pages : 1
#1 Le 27/03/2011, à 14:27
- cyberguinguette
GRUB 2 invalid signature?
Bonjour,
Je n'arrive pas à lancer windows sur mon deuxième disque dur. Il me mets "invalid Signature". J'y comprends rien. Pouvez vous m'aider s'il vous plait?
Merci d'avance
sudo ls -l /dev/disk/by-id
total 0
lrwxrwxrwx 1 root root 9 2011-03-27 12:07 ata-Hitachi_HDT725032VLAT80_VF6201R2E7Y92N -> ../../sda
lrwxrwxrwx 1 root root 10 2011-03-27 12:04 ata-Hitachi_HDT725032VLAT80_VF6201R2E7Y92N-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 2011-03-27 12:04 ata-Hitachi_HDT725032VLAT80_VF6201R2E7Y92N-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 2011-03-27 12:04 ata-Hitachi_HDT725032VLAT80_VF6201R2E7Y92N-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 2011-03-27 12:04 ata-Hitachi_HDT725032VLAT80_VF6201R2E7Y92N-part4 -> ../../sda4
lrwxrwxrwx 1 root root 10 2011-03-27 12:04 ata-Hitachi_HDT725032VLAT80_VF6201R2E7Y92N-part5 -> ../../sda5
lrwxrwxrwx 1 root root 10 2011-03-27 12:04 ata-Hitachi_HDT725032VLAT80_VF6201R2E7Y92N-part6 -> ../../sda6
lrwxrwxrwx 1 root root 9 2011-03-27 12:07 ata-WDC_WD200BB-00CFC0_WD-WMA9L1017655 -> ../../sdb
lrwxrwxrwx 1 root root 10 2011-03-27 12:04 ata-WDC_WD200BB-00CFC0_WD-WMA9L1017655-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 2011-03-27 12:04 ata-WDC_WD200BB-00CFC0_WD-WMA9L1017655-part2 -> ../../sdb2
lrwxrwxrwx 1 root root 10 2011-03-27 12:04 ata-WDC_WD200BB-00CFC0_WD-WMA9L1017655-part5 -> ../../sdb5
lrwxrwxrwx 1 root root 9 2011-03-27 12:07 scsi-SATA_Hitachi_HDT7250_VF6201R2E7Y92N -> ../../sda
lrwxrwxrwx 1 root root 10 2011-03-27 12:04 scsi-SATA_Hitachi_HDT7250_VF6201R2E7Y92N-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 2011-03-27 12:04 scsi-SATA_Hitachi_HDT7250_VF6201R2E7Y92N-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 2011-03-27 12:04 scsi-SATA_Hitachi_HDT7250_VF6201R2E7Y92N-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 2011-03-27 12:04 scsi-SATA_Hitachi_HDT7250_VF6201R2E7Y92N-part4 -> ../../sda4
lrwxrwxrwx 1 root root 10 2011-03-27 12:04 scsi-SATA_Hitachi_HDT7250_VF6201R2E7Y92N-part5 -> ../../sda5
lrwxrwxrwx 1 root root 10 2011-03-27 12:04 scsi-SATA_Hitachi_HDT7250_VF6201R2E7Y92N-part6 -> ../../sda6
lrwxrwxrwx 1 root root 9 2011-03-27 12:07 scsi-SATA_WDC_WD200BB-00CWD-WMA9L1017655 -> ../../sdb
lrwxrwxrwx 1 root root 10 2011-03-27 12:04 scsi-SATA_WDC_WD200BB-00CWD-WMA9L1017655-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 2011-03-27 12:04 scsi-SATA_WDC_WD200BB-00CWD-WMA9L1017655-part2 -> ../../sdb2
lrwxrwxrwx 1 root root 10 2011-03-27 12:04 scsi-SATA_WDC_WD200BB-00CWD-WMA9L1017655-part5 -> ../../sdb5
lrwxrwxrwx 1 root root 9 2011-03-27 12:07 wwn-0x5000cca211dfcb91 -> ../../sda
lrwxrwxrwx 1 root root 10 2011-03-27 12:04 wwn-0x5000cca211dfcb91-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 2011-03-27 12:04 wwn-0x5000cca211dfcb91-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 2011-03-27 12:04 wwn-0x5000cca211dfcb91-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 2011-03-27 12:04 wwn-0x5000cca211dfcb91-part4 -> ../../sda4
lrwxrwxrwx 1 root root 10 2011-03-27 12:04 wwn-0x5000cca211dfcb91-part5 -> ../../sda5
lrwxrwxrwx 1 root root 10 2011-03-27 12:04 wwn-0x5000cca211dfcb91-part6 -> ../../sda6
gedit /boot/grub/device.map
(hd0) /dev/sda
(hd1) /dev/sdb
gedit /etc/grub.d/40_custom
#!/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
menuentry "Windows XP Professionnal Custom test 1(on /dev/sda1)" {
insmod ntfs
set root=(hd1,1)
chainloader +1
}
menuentry "Microsoft Windows XP test 2" {
insmod ntfs
set root=(hd1,1)
chainloader (hd0,1)+1
boot
}
# windows
menuentry "windows XP test3" {
set root=(hd1,1)
chainloader +1
insmod ntfs
}
menuentry "Windows test 4 (on /dev/sdb1)" {
insmod ntfs
set root=(hd1,1)
chainloader +1
}
menuentry "Windows test5(on /dev/sdb1)" {
insmod ntfs
set root=(hd1,2)
chainloader +1
}
# 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-legacy-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 3
## 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=c89601b8-0f27-4393-a59c-ca39b6e28d29 ro
## default grub root device
## e.g. groot=(hd0,0)
# groot=5dfd9f5b-a223-47b3-ba4e-625419e00401
## 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
## 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
## specify if running in Xen domU or have grub detect automatically
## update-grub will ignore non-xen kernels when running in domU and vice versa
## e.g. indomU=detect
## indomU=true
## indomU=false
# indomU=detect
## 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 10.04.2 LTS, kernel 2.6.32-30-generic
uuid 5dfd9f5b-a223-47b3-ba4e-625419e00401
kernel /vmlinuz-2.6.32-30-generic root=UUID=c89601b8-0f27-4393-a59c-ca39b6e28d29 ro quiet splash
initrd /initrd.img-2.6.32-30-generic
title Ubuntu 10.04.2 LTS, kernel 2.6.32-30-generic (recovery mode)
uuid 5dfd9f5b-a223-47b3-ba4e-625419e00401
kernel /vmlinuz-2.6.32-30-generic root=UUID=c89601b8-0f27-4393-a59c-ca39b6e28d29 ro single
initrd /initrd.img-2.6.32-30-generic
title Ubuntu 10.04.2 LTS, kernel 2.6.32-21-generic
uuid 5dfd9f5b-a223-47b3-ba4e-625419e00401
kernel /vmlinuz-2.6.32-21-generic root=UUID=c89601b8-0f27-4393-a59c-ca39b6e28d29 ro quiet splash
initrd /initrd.img-2.6.32-21-generic
title Ubuntu 10.04.2 LTS, kernel 2.6.32-21-generic (recovery mode)
uuid 5dfd9f5b-a223-47b3-ba4e-625419e00401
kernel /vmlinuz-2.6.32-21-generic root=UUID=c89601b8-0f27-4393-a59c-ca39b6e28d29 ro single
initrd /initrd.img-2.6.32-21-generic
title Chainload into GRUB 2
root 5dfd9f5b-a223-47b3-ba4e-625419e00401
kernel /boot/grub/core.img
title Ubuntu 10.04.2 LTS, memtest86+
uuid 5dfd9f5b-a223-47b3-ba4e-625419e00401
kernel /memtest86+.bin
### END DEBIAN AUTOMAGIC KERNELS LIST
J'ai même essayé de changer de disque dur et le problème reste le même...
Dernière modification par helly (Le 27/03/2011, à 14:37)
A winner never gives up
Hors ligne
#2 Le 29/03/2011, à 23:25
- cyberguinguette
Re : GRUB 2 invalid signature?
lorsque je mets
menuentry "Windows NT/2000/XP (on /dev/sda1)" {
insmod ntfs
set root='(hd1,1)'
search --no-floppy --fs-uuid --set 525464FB5464E369
drivemap -s (hd0) ${root}
chainloader +1
}
j'obtiens
error : no such device : 525464FB5464E369
Lorsque j'essaye
menuentry "Windows NT/2000/XP (on /dev/sda1)" {
insmod ntfs
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 525464FB5464E369
drivemap -s (hd0) ${root}
chainloader +1
}
J'obtiens
error : no such device : 525464FB5464E369
error : out of disk
Pour info :
sudo blkid
/dev/sda1: UUID="8A94-B58B" TYPE="vfat"
/dev/sda2: UUID="8b1346d2-32f9-4a25-9f93-5ef67b30642b" TYPE="swap"
/dev/sda3: UUID="3b70f71f-a9e1-448d-a477-56aa21edc221" TYPE="ext4"
/dev/sda4: UUID="04f84bb6-e550-4fa0-8992-f58e3b4eace0" TYPE="ext4"
/dev/sda5: UUID="0bf3a01c-7026-4c58-aa58-20f686b83ee8" TYPE="ext4"
/dev/sda6: UUID="41601478-e038-4405-ade9-eaea6dd57f6a" TYPE="ext4"
/dev/sda7: UUID="351508a8-8914-48e9-a50e-aa706dd2a3e7" TYPE="ext4"
/dev/sdb1: UUID="525464FB5464E369" TYPE="ntfs"
/dev/sdc1: SEC_TYPE="msdos" UUID="D4C4-7013" TYPE="vfat"
On est bien d'accord c'est la bonne partition alors pouquoi il la reconnait pas???
A winner never gives up
Hors ligne
#3 Le 29/03/2011, à 23:39
- cyberguinguette
Re : GRUB 2 invalid signature?
# windows
menuentry "windows XP test3" {
set root=(hd1,1)
chainloader +1
insmod ntfs
}
= error : no such partition
menuentry "Windows test 4 (on /dev/sdb1)" {
insmod ntfs
set root=(hd1,1)
chainloader +1
}
= error : no such partition
# windows
menuentry "windows XP test3" {
set root=(hd0,1)
chainloader +1
insmod ntfs
}
= error : out of disk
menuentry "Windows test 4 (on /dev/sdb1)" {
insmod ntfs
set root=(hd0,1)
chainloader +1
}
= error : out of disk
Donc le disque est bien hd1 et la partition??
A winner never gives up
Hors ligne
#4 Le 30/03/2011, à 09:13
- cyberguinguette
Re : GRUB 2 invalid signature?
up
A winner never gives up
Hors ligne
Pages : 1