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 19/12/2011, à 12:47

plexus

[RESOLU] Renseignement deplacer GRUB/DUAL BOOT

Bonjour,
je poste pour avoir votre avis avant de tout trifouiller.
Je suis en dual boot 7/ Lucid sur plusieurs DD
Je viens de me rendre compte que j'avais mal partitioné mon DD linux (400 Go) j'avais fais 3 partitions : swap (6 Go) - / (194 Go) - /home (200 go) évidemment mes 200 go sur /home me sont insuffisant maintenant et j'ai plein de place perdue sur /. donc je pensais modifier ma partition avec Gparted (via livecd comme lu sur le forum et la doc):

1° est il fiable de modifier une partition afin de ne perdre aucune donnée ou vaut-il mieux sauvegarder et tout réinstaller (ce que je m'apprête à faire)

Avec le temps je m'aperçois que j'utilise plus souvent Ubuntu que windows, aussi si je décide de reformater mon DD 400go je pense booter dessus et donc y avoir grub d'installer.
Alors je voudrais savoir :

2° comment savoir sur quel DD est installé grub actuellement ? (je crains que ce soit sur le DD win7, car même en retirant le DD linux il refuse de mettre à jour le sp1 avec un code d'erreur relatif à impossibilité d'écrire sur le disque mais peut-être que cela n'a rien à voir)

3° avec Boot-Repair peut-on faire en sorte de déplacer mon grub actuel vers le DD Linux ?
4° le mbr original (celui avec win7 tout seul) sera-t'il restauré sur le DD win7? (Je voudrais que Win7 se croit seul (sans grub) si je décide de booter via le bios sur son DD)
5° me faudra-t'il réinstaller win7 ?

Merci de vos réponses et conseils avisés.

Dernière modification par plexus (Le 20/12/2011, à 19:07)

Hors ligne

#2 Le 19/12/2011, à 20:31

malbo

Re : [RESOLU] Renseignement deplacer GRUB/DUAL BOOT

Si tu répondais à cette demande, on pourrait mieux comprendre la situation : http://forum.ubuntu-fr.org/viewtopic.php?id=614071

Hors ligne

#3 Le 19/12/2011, à 20:44

compte supprimé

Re : [RESOLU] Renseignement deplacer GRUB/DUAL BOOT

Un sudo fdisk -l ne suffrait pas ? cool

A part ça, quand il s'agit de toucher aux partitions, il est toujours prudent de faire une sauvegarde au moins de tes documents. Parce que ré-installer, ça on peut toujours, mais les photos de vacances...

Dernière modification par faustus (Le 19/12/2011, à 20:51)

#4 Le 20/12/2011, à 08:56

plexus

Re : [RESOLU] Renseignement deplacer GRUB/DUAL BOOT

bonjour,
voici le lien du rapport :
http://paste.ubuntu.com/776039/

je regarde du coté du fdisk -l

merci,

Hors ligne

#5 Le 20/12/2011, à 09:12

malbo

Re : [RESOLU] Renseignement deplacer GRUB/DUAL BOOT

Je colle ici le résultat de ton Boot Info Script pour qu'on l'ait sous les yeux :

                  Boot Info Script 0.60    from 17 May 2011


============================= Boot Info Summary: ===============================

 => Grub2 (v1.97-1.98) is installed in the MBR of /dev/sda and looks at sector 
    1 of the same hard drive for core.img. core.img is at this location and 
    looks in partition 5 for /boot/grub.
 => Windows is installed in the MBR of /dev/sdb.
 => Grub2 (v1.97-1.98) is installed in the MBR of /dev/sdc and looks at sector 
    1 of the same hard drive for core.img. core.img is at this location and 
    looks in partition 5 for /boot/grub.

sda1: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows Vista/7
    Boot sector info:   No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /bootmgr /Boot/BCD

sda2: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows Vista/7
    Boot sector info:   No errors found in the Boot Parameter Block.
    Operating System:  Windows 7
    Boot files:        /Windows/System32/winload.exe

sda3: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows Vista/7
    Boot sector info:   No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        

sda4: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows Vista/7
    Boot sector info:   No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        

sdb1: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows Vista/7
    Boot sector info:   No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        

sdb2: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows Vista/7
    Boot sector info:   No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        

sdb3: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows Vista/7
    Boot sector info:   No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        

sdc1: __________________________________________________________________________

    File system:       swap
    Boot sector type:  -
    Boot sector info:  

sdc2: __________________________________________________________________________

    File system:       Extended Partition
    Boot sector type:  Unknown
    Boot sector info:  

sdc5: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info:  
    Operating System:  Ubuntu 10.04.3 LTS
    Boot files:        /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img

sdc6: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info:  
    Operating System:  
    Boot files:        

============================ Drive/Partition Info: =============================

Drive: sda _____________________________________________________________________

Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sda1               2,048       206,847       204,800   7 NTFS / exFAT / HPFS
/dev/sda2    *        206,848   307,202,047   306,995,200   7 NTFS / exFAT / HPFS
/dev/sda3         307,202,048 1,331,202,047 1,024,000,000   7 NTFS / exFAT / HPFS
/dev/sda4       1,331,202,048 1,953,521,663   622,319,616   7 NTFS / exFAT / HPFS


Drive: sdb _____________________________________________________________________

Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sdb1               2,048   657,819,647   657,817,600   7 NTFS / exFAT / HPFS
/dev/sdb2         657,819,648 1,305,669,631   647,849,984   7 NTFS / exFAT / HPFS
/dev/sdb3       1,305,669,632 1,953,519,615   647,849,984   7 NTFS / exFAT / HPFS


Drive: sdc _____________________________________________________________________

Disk /dev/sdc: 400.1 GB, 400088457216 bytes
255 heads, 63 sectors/track, 48641 cylinders, total 781422768 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sdc1               2,048    11,718,655    11,716,608  82 Linux swap / Solaris
/dev/sdc2          11,720,702   781,422,591   769,701,890   5 Extended
/dev/sdc5          11,720,704   390,797,311   379,076,608  83 Linux
/dev/sdc6         390,799,360   781,422,591   390,623,232  83 Linux


"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/sda1        B6D0F12FD0F0F709                       ntfs       Réservé au système
/dev/sda2        7C00FD1500FCD6DC                       ntfs       SysWin7
/dev/sda3        1A821021821003C3                       ntfs       Brouillon 7
/dev/sda4        6C461657461621FE                       ntfs       Docs Plexus 7
/dev/sdb1        E6041673041646C9                       ntfs       Malle
/dev/sdb2        8E307BDD307BCB2B                       ntfs       Besace
/dev/sdb3        1EDE1E47DE1E181B                       ntfs       Saccoche
/dev/sdc1        97897bd3-2a78-47e9-99a0-a29a75755d4a   swap       
/dev/sdc5        634ea176-ba6b-49cb-aed7-f108e486a397   ext4       
/dev/sdc6        7fd2f406-2da5-4efe-a3d0-46c5d736d63b   ext4       

================================ Mount points: =================================

Device           Mount_Point              Type       Options

/dev/sdc5        /                        ext4       (rw,errors=remount-ro)
/dev/sdc6        /home                    ext4       (rw)


=========================== sdc5/boot/grub/grub.cfg: ===========================

--------------------------------------------------------------------------------
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  load_env
fi
set default="0"
if [ ${prev_saved_entry} ]; then
  set saved_entry=${prev_saved_entry}
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z ${boot_once} ]; then
    saved_entry=${chosen}
    save_env saved_entry
  fi
}

function recordfail {
  set recordfail=1
  if [ -n ${have_grubenv} ]; then if [ -z ${boot_once} ]; then save_env recordfail; fi; fi
}
insmod ext2
set root='(hd2,5)'
search --no-floppy --fs-uuid --set 634ea176-ba6b-49cb-aed7-f108e486a397
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=1280x1024
  insmod gfxterm
  insmod vbe
  if terminal_output gfxterm ; then true ; else
    # For backward compatibility with versions of terminal.mod that don't
    # understand terminal_output
    terminal gfxterm
  fi
fi
insmod ext2
set root='(hd2,5)'
search --no-floppy --fs-uuid --set 634ea176-ba6b-49cb-aed7-f108e486a397
set locale_dir=($root)/boot/grub/locale
set lang=fr
insmod gettext
if [ ${recordfail} = 1 ]; then
  set timeout=-1
else
  set timeout=5
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Ubuntu, avec Linux 2.6.32-37-generic' --class ubuntu --class gnu-linux --class gnu --class os {
    recordfail
    insmod ext2
    set root='(hd2,5)'
    search --no-floppy --fs-uuid --set 634ea176-ba6b-49cb-aed7-f108e486a397
    linux    /boot/vmlinuz-2.6.32-37-generic root=UUID=634ea176-ba6b-49cb-aed7-f108e486a397 ro splash quiet vga=794  quiet splash nomodeset video=uvesafb:mode_option=1280x1024-24,mtrr=3,scroll=ywrap
    initrd    /boot/initrd.img-2.6.32-37-generic
}
menuentry 'Ubuntu, avec Linux 2.6.32-37-generic (mode de dépannage)' --class ubuntu --class gnu-linux --class gnu --class os {
    recordfail
    insmod ext2
    set root='(hd2,5)'
    search --no-floppy --fs-uuid --set 634ea176-ba6b-49cb-aed7-f108e486a397
    echo    'Chargement de Linux 2.6.32-37-generic ...'
    linux    /boot/vmlinuz-2.6.32-37-generic root=UUID=634ea176-ba6b-49cb-aed7-f108e486a397 ro single splash quiet vga=794
    echo    'Chargement du disque mémoire initial ...'
    initrd    /boot/initrd.img-2.6.32-37-generic
}
menuentry 'Ubuntu, avec Linux 2.6.32-36-generic' --class ubuntu --class gnu-linux --class gnu --class os {
    recordfail
    insmod ext2
    set root='(hd2,5)'
    search --no-floppy --fs-uuid --set 634ea176-ba6b-49cb-aed7-f108e486a397
    linux    /boot/vmlinuz-2.6.32-36-generic root=UUID=634ea176-ba6b-49cb-aed7-f108e486a397 ro splash quiet vga=794  quiet splash nomodeset video=uvesafb:mode_option=1280x1024-24,mtrr=3,scroll=ywrap
    initrd    /boot/initrd.img-2.6.32-36-generic
}
menuentry 'Ubuntu, avec Linux 2.6.32-36-generic (mode de dépannage)' --class ubuntu --class gnu-linux --class gnu --class os {
    recordfail
    insmod ext2
    set root='(hd2,5)'
    search --no-floppy --fs-uuid --set 634ea176-ba6b-49cb-aed7-f108e486a397
    echo    'Chargement de Linux 2.6.32-36-generic ...'
    linux    /boot/vmlinuz-2.6.32-36-generic root=UUID=634ea176-ba6b-49cb-aed7-f108e486a397 ro single splash quiet vga=794
    echo    'Chargement du disque mémoire initial ...'
    initrd    /boot/initrd.img-2.6.32-36-generic
}
menuentry 'Ubuntu, avec Linux 2.6.32-35-generic' --class ubuntu --class gnu-linux --class gnu --class os {
    recordfail
    insmod ext2
    set root='(hd2,5)'
    search --no-floppy --fs-uuid --set 634ea176-ba6b-49cb-aed7-f108e486a397
    linux    /boot/vmlinuz-2.6.32-35-generic root=UUID=634ea176-ba6b-49cb-aed7-f108e486a397 ro splash quiet vga=794  quiet splash nomodeset video=uvesafb:mode_option=1280x1024-24,mtrr=3,scroll=ywrap
    initrd    /boot/initrd.img-2.6.32-35-generic
}
menuentry 'Ubuntu, avec Linux 2.6.32-35-generic (mode de dépannage)' --class ubuntu --class gnu-linux --class gnu --class os {
    recordfail
    insmod ext2
    set root='(hd2,5)'
    search --no-floppy --fs-uuid --set 634ea176-ba6b-49cb-aed7-f108e486a397
    echo    'Chargement de Linux 2.6.32-35-generic ...'
    linux    /boot/vmlinuz-2.6.32-35-generic root=UUID=634ea176-ba6b-49cb-aed7-f108e486a397 ro single splash quiet vga=794
    echo    'Chargement du disque mémoire initial ...'
    initrd    /boot/initrd.img-2.6.32-35-generic
}
menuentry 'Ubuntu, avec Linux 2.6.32-34-generic' --class ubuntu --class gnu-linux --class gnu --class os {
    recordfail
    insmod ext2
    set root='(hd2,5)'
    search --no-floppy --fs-uuid --set 634ea176-ba6b-49cb-aed7-f108e486a397
    linux    /boot/vmlinuz-2.6.32-34-generic root=UUID=634ea176-ba6b-49cb-aed7-f108e486a397 ro splash quiet vga=794  quiet splash nomodeset video=uvesafb:mode_option=1280x1024-24,mtrr=3,scroll=ywrap
    initrd    /boot/initrd.img-2.6.32-34-generic
}
menuentry 'Ubuntu, avec Linux 2.6.32-34-generic (mode de dépannage)' --class ubuntu --class gnu-linux --class gnu --class os {
    recordfail
    insmod ext2
    set root='(hd2,5)'
    search --no-floppy --fs-uuid --set 634ea176-ba6b-49cb-aed7-f108e486a397
    echo    'Chargement de Linux 2.6.32-34-generic ...'
    linux    /boot/vmlinuz-2.6.32-34-generic root=UUID=634ea176-ba6b-49cb-aed7-f108e486a397 ro single splash quiet vga=794
    echo    'Chargement du disque mémoire initial ...'
    initrd    /boot/initrd.img-2.6.32-34-generic
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
    insmod ext2
    set root='(hd2,5)'
    search --no-floppy --fs-uuid --set 634ea176-ba6b-49cb-aed7-f108e486a397
    linux16    /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
    insmod ext2
    set root='(hd2,5)'
    search --no-floppy --fs-uuid --set 634ea176-ba6b-49cb-aed7-f108e486a397
    linux16    /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Windows 7 (loader) (on /dev/sda1)" {
    insmod ntfs
    set root='(hd0,1)'
    search --no-floppy --fs-uuid --set B6D0F12FD0F0F709
    chainloader +1
}
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/40_custom ###
# 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.
### END /etc/grub.d/40_custom ###
--------------------------------------------------------------------------------

=============================== sdc5/etc/fstab: ================================

--------------------------------------------------------------------------------
# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    nodev,noexec,nosuid 0       0
# / was on /dev/sdc5 during installation
UUID=634ea176-ba6b-49cb-aed7-f108e486a397 /               ext4    errors=remount-ro 0       1
# /home was on /dev/sdc6 during installation
UUID=7fd2f406-2da5-4efe-a3d0-46c5d736d63b /home           ext4    defaults        0       2
/dev/sdc1       none            swap    sw              0       0
/dev/fd0        /media/floppy0  auto    rw,user,noauto,exec,utf8 0       0


--------------------------------------------------------------------------------

=================== sdc5: Location of files loaded by Grub: ====================

           GiB - GB             File                                 Fragment(s)

  41.716362000 = 44.792602624   boot/grub/core.img                             1
 122.227741241 = 131.241037824  boot/grub/grub.cfg                             1
   7.013668060 = 7.530868736    boot/initrd.img-2.6.32-34-generic              2
   6.984268188 = 7.499300864    boot/initrd.img-2.6.32-35-generic              2
   7.343643188 = 7.885176832    boot/initrd.img-2.6.32-36-generic              2
   7.424804688 = 7.972323328    boot/initrd.img-2.6.32-37-generic              2
  41.858268738 = 44.944973824   boot/vmlinuz-2.6.32-34-generic                 1
  41.865547180 = 44.952788992   boot/vmlinuz-2.6.32-35-generic                 1
  41.844654083 = 44.930355200   boot/vmlinuz-2.6.32-36-generic                 1
  41.850440979 = 44.936568832   boot/vmlinuz-2.6.32-37-generic                 1
   7.424804688 = 7.972323328    initrd.img                                     2
   7.343643188 = 7.885176832    initrd.img.old                                 2
  41.850440979 = 44.936568832   vmlinuz                                        1
  41.844654083 = 44.930355200   vmlinuz.old                                    1

======================== Unknown MBRs/Boot Sectors/etc: ========================

Unknown BootLoader on sdc2

00000000  ce 01 59 eb e5 0f 11 56  c6 fd 27 54 bd 75 03 8a  |..Y....V..'T.u..|
00000010  1d af c0 c8 28 c0 a5 db  c0 6e 05 6c a7 9c 00 ed  |....(....n.l....|
00000020  98 d8 3a 12 34 45 04 13  ca ec 76 91 c9 0a 20 70  |..:.4E....v... p|
00000030  d5 f5 43 4b de cb 50 5b  29 49 1c 17 f8 f0 35 5f  |..CK..P[)I....5_|
00000040  27 9a 00 73 42 80 c7 52  a2 f5 25 f8 bd 22 aa 20  |'..sB..R..%..". |
00000050  c1 41 18 be 34 41 93 3e  a2 86 ae af bd 78 82 84  |.A..4A.>.....x..|
00000060  08 d6 c4 0c 97 2c 15 c7  4e 15 72 5d f4 a7 e9 98  |.....,..N.r]....|
00000070  94 94 57 45 fa 24 ea 8e  51 e7 3c c6 c7 4b ad 01  |..WE.$..Q.<..K..|
00000080  8e 43 09 36 8c d0 60 ba  99 4c e0 41 7b 3b ac 5f  |.C.6..`..L.A{;._|
00000090  f6 68 f9 a8 6f 8d fe 73  d3 45 a9 c7 c4 57 9d 24  |.h..o..s.E...W.$|
000000a0  05 0f a6 87 19 15 45 2c  6e 42 b2 0d 23 f9 b6 a5  |......E,nB..#...|
000000b0  87 b0 41 c2 b6 75 f4 4b  d2 35 e8 38 51 9f 33 1f  |..A..u.K.5.8Q.3.|
000000c0  38 d4 bf ce 27 6f d1 20  2e f3 51 1d 04 40 95 11  |8...'o. ..Q..@..|
000000d0  20 0d 2d 23 93 88 b1 fd  6c 62 30 92 ad aa 59 bc  | .-#....lb0...Y.|
000000e0  29 48 03 97 74 e6 98 f6  25 2c 55 a9 81 66 49 04  |)H..t...%,U..fI.|
000000f0  98 11 9a 42 40 2f a1 96  3d 17 a6 3c 11 df a9 b6  |...B@/..=..<....|
00000100  26 8e 8b 3f 5a f0 a2 8e  21 4a 3e dd 00 83 07 c3  |&..?Z...!J>.....|
00000110  cb 7e e0 c2 c7 71 69 ed  1f 13 81 26 75 05 74 1a  |.~...qi....&u.t.|
00000120  ab d1 ac db 32 4c 6a 62  d7 dd 6c fb 4e 71 82 43  |....2Ljb..l.Nq.C|
00000130  25 cf b1 6d cc 8e c2 12  97 e3 60 b4 37 aa 2d 23  |%..m......`.7.-#|
00000140  99 d8 e7 bc 9a 78 ae 30  0f 52 ca 99 15 72 0d 82  |.....x.0.R...r..|
00000150  c3 42 f2 26 0b c7 9b 7a  38 2b 4a aa a8 80 f8 36  |.B.&...z8+J....6|
00000160  f3 74 a4 0b 49 4f 62 77  a9 c6 b1 0e 65 79 b0 1a  |.t..IObw....ey..|
00000170  93 f2 4a 05 16 84 aa 0c  37 98 fc a6 85 03 00 b6  |..J.....7.......|
00000180  91 a2 94 d5 83 a3 75 5a  6a 19 57 6e dd 3b 0d 6e  |......uZj.Wn.;.n|
00000190  6e 75 a6 bb 8e 18 bc f4  27 d2 f8 10 84 54 7f 63  |nu......'....T.c|
000001a0  66 10 16 c8 59 26 d5 6a  fe 77 df 05 f2 9f 0f b0  |f...Y&.j.w......|
000001b0  7c 9c 51 7a c4 03 b4 69  8f d6 8a d1 ca 4a 00 93  ||.Qz...i.....J..|
000001c0  bb d9 83 fe ff ff 02 00  00 00 00 40 98 16 00 fe  |...........@....|
000001d0  ff ff 05 fe ff ff 02 40  98 16 00 78 48 17 00 00  |.......@...xH...|
000001e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 55 aa  |..............U.|

Globalement, c'est très bien organisé.
Il y a un défaut sur le disque sda :

=> Grub2 (v1.97-1.98) is installed in the MBR of /dev/sda and looks at sector 
    1 of the same hard drive for core.img. core.img is at this location and 
    looks in partition 5 for /boot/grub.

Il va falloir que tu répares de démarrage de Windows 7 afin que cet amorceur de grub qui n'a rien à faire là (il ne peut pas fonctionner) soit remplacé par l'amorceur de Windows 7 dans le MBR de sda. Tu peux utiliser ce post pour cela : http://forum.ubuntu-fr.org/viewtopic.ph … 2#p3845512
Toi, tu as seulement besoin de passer la commande suivante (tu n'as pas besoin de réparer le secteur de boot) :

bootrec  /fixmbr

Par ailleurs, je te conseille de sauvegarder (sur DD externe de préférence ou à défaut sur un de tes DD internes) tes doc qui sont dans la disque "Ubuntu" de 400 Go, puis de tout repartitionner avc Gparted : supprimer la totalité des partitions de ce DD de 400 Go et tout reconstruire. Lors de la réinstallation de Ubuntu, je te recommande de veiller à bien installer l'amorceur de Grub dans le MBR du disque dur de 400 Go. Si tu te plantes, on saura t'aider à remettre ça d'aplomb mais bon...

Edit : puisque tu te replonges dans le multi-boot, je te conseille de comprendre ce post au sujet de Grub : http://forum.ubuntu-fr.org/viewtopic.php?id=498111

Dernière modification par malbo (Le 20/12/2011, à 09:32)

Hors ligne

#6 Le 20/12/2011, à 09:56

plexus

Re : [RESOLU] Renseignement deplacer GRUB/DUAL BOOT

Merci de ta réponse

Je crois que le problème sur sda est sans doute du à une première installation d'ubuntu (avant lucid) et de la réparation de windows qui avait du s'en suivre.

Ayant lu ici et là que Oneiric avait... quelques défauts de jeunesse et comme nous n'avons jamais été aussi proche de la venue du pengolin, je crois qe je vais me lancer dans le trifouillage, histoire d'essayer d'en apprendre un peu plus.

je regarde les divers post et tente quelque chose.
je reviens avec des nouvelles, mauvaises ou bonnes.
Merci de ta réponse rapide.

Dernière modification par plexus (Le 20/12/2011, à 09:56)

Hors ligne

#7 Le 20/12/2011, à 10:43

plexus

Re : [RESOLU] Renseignement deplacer GRUB/DUAL BOOT

Re,

voici le nouveau lien du rapport :
http://paste.ubuntu.com/776089/

le bootrec /fixmbr semble avoir fonctionné :

============================= Boot Info Summary: ===============================

=> Windows is installed in the MBR of /dev/sda.
=> Windows is installed in the MBR of /dev/sdb.
=> Grub2 (v1.97-1.98) is installed in the MBR of /dev/sdc and looks at sector
    1 of the same hard drive for core.img. core.img is at this location and
    looks in partition 5 for /boot/grub.


par contre lorsque je boot directement depuis le DD1 j'ai le message suivant :
BootMGR absent
Win7 démarre cependant correctement depuis grub

J'ai executé la commande bootrec /fixmbr depuis la ligne de commande.
dois-je lancer la réparation automatique de Win7 ?
ou un bootrec /fixboot ?

Merci de tes conseils ? (je préfère être prudent avant de tout casser)

Dernière modification par plexus (Le 20/12/2011, à 10:45)

Hors ligne

#8 Le 20/12/2011, à 11:10

malbo

Re : [RESOLU] Renseignement deplacer GRUB/DUAL BOOT

Je colle au mur ton nouveau Boot Info Script :

  
                  Boot Info Script 0.60    from 17 May 2011


============================= Boot Info Summary: ===============================

 => Windows is installed in the MBR of /dev/sda.
 => Windows is installed in the MBR of /dev/sdb.
 => Grub2 (v1.97-1.98) is installed in the MBR of /dev/sdc and looks at sector 
    1 of the same hard drive for core.img. core.img is at this location and 
    looks in partition 5 for /boot/grub.

sda1: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows Vista/7
    Boot sector info:   No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /bootmgr /Boot/BCD

sda2: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows Vista/7
    Boot sector info:   No errors found in the Boot Parameter Block.
    Operating System:  Windows 7
    Boot files:        /Boot/BCD /Windows/System32/winload.exe

sda3: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows Vista/7
    Boot sector info:   No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        

sda4: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows Vista/7
    Boot sector info:   No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        

sdb1: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows Vista/7
    Boot sector info:   No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        

sdb2: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows Vista/7
    Boot sector info:   No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        

sdb3: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows Vista/7
    Boot sector info:   No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        

sdc1: __________________________________________________________________________

    File system:       swap
    Boot sector type:  -
    Boot sector info:  

sdc2: __________________________________________________________________________

    File system:       Extended Partition
    Boot sector type:  Unknown
    Boot sector info:  

sdc5: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info:  
    Operating System:  Ubuntu 10.04.3 LTS
    Boot files:        /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img

sdc6: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info:  
    Operating System:  
    Boot files:        

============================ Drive/Partition Info: =============================

Drive: sda _____________________________________________________________________

Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sda1               2,048       206,847       204,800   7 NTFS / exFAT / HPFS
/dev/sda2    *        206,848   307,202,047   306,995,200   7 NTFS / exFAT / HPFS
/dev/sda3         307,202,048 1,331,202,047 1,024,000,000   7 NTFS / exFAT / HPFS
/dev/sda4       1,331,202,048 1,953,521,663   622,319,616   7 NTFS / exFAT / HPFS


Drive: sdb _____________________________________________________________________

Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sdb1               2,048   657,819,647   657,817,600   7 NTFS / exFAT / HPFS
/dev/sdb2         657,819,648 1,305,669,631   647,849,984   7 NTFS / exFAT / HPFS
/dev/sdb3       1,305,669,632 1,953,519,615   647,849,984   7 NTFS / exFAT / HPFS


Drive: sdc _____________________________________________________________________

Disk /dev/sdc: 400.1 GB, 400088457216 bytes
255 heads, 63 sectors/track, 48641 cylinders, total 781422768 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sdc1               2,048    11,718,655    11,716,608  82 Linux swap / Solaris
/dev/sdc2          11,720,702   781,422,591   769,701,890   5 Extended
/dev/sdc5          11,720,704   390,797,311   379,076,608  83 Linux
/dev/sdc6         390,799,360   781,422,591   390,623,232  83 Linux


"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/sda1        B6D0F12FD0F0F709                       ntfs       Réservé au système
/dev/sda2        7C00FD1500FCD6DC                       ntfs       SysWin7
/dev/sda3        1A821021821003C3                       ntfs       Brouillon 7
/dev/sda4        6C461657461621FE                       ntfs       Docs Plexus 7
/dev/sdb1        E6041673041646C9                       ntfs       Malle
/dev/sdb2        8E307BDD307BCB2B                       ntfs       Besace
/dev/sdb3        1EDE1E47DE1E181B                       ntfs       Saccoche
/dev/sdc1        97897bd3-2a78-47e9-99a0-a29a75755d4a   swap       
/dev/sdc5        634ea176-ba6b-49cb-aed7-f108e486a397   ext4       
/dev/sdc6        7fd2f406-2da5-4efe-a3d0-46c5d736d63b   ext4       

================================ Mount points: =================================

Device           Mount_Point              Type       Options

/dev/sdc5        /                        ext4       (rw,errors=remount-ro)
/dev/sdc6        /home                    ext4       (rw)


=========================== sdc5/boot/grub/grub.cfg: ===========================

--------------------------------------------------------------------------------
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  load_env
fi
set default="0"
if [ ${prev_saved_entry} ]; then
  set saved_entry=${prev_saved_entry}
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z ${boot_once} ]; then
    saved_entry=${chosen}
    save_env saved_entry
  fi
}

function recordfail {
  set recordfail=1
  if [ -n ${have_grubenv} ]; then if [ -z ${boot_once} ]; then save_env recordfail; fi; fi
}
insmod ext2
set root='(hd2,5)'
search --no-floppy --fs-uuid --set 634ea176-ba6b-49cb-aed7-f108e486a397
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=1280x1024
  insmod gfxterm
  insmod vbe
  if terminal_output gfxterm ; then true ; else
    # For backward compatibility with versions of terminal.mod that don't
    # understand terminal_output
    terminal gfxterm
  fi
fi
insmod ext2
set root='(hd2,5)'
search --no-floppy --fs-uuid --set 634ea176-ba6b-49cb-aed7-f108e486a397
set locale_dir=($root)/boot/grub/locale
set lang=fr
insmod gettext
if [ ${recordfail} = 1 ]; then
  set timeout=-1
else
  set timeout=5
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Ubuntu, avec Linux 2.6.32-37-generic' --class ubuntu --class gnu-linux --class gnu --class os {
    recordfail
    insmod ext2
    set root='(hd2,5)'
    search --no-floppy --fs-uuid --set 634ea176-ba6b-49cb-aed7-f108e486a397
    linux    /boot/vmlinuz-2.6.32-37-generic root=UUID=634ea176-ba6b-49cb-aed7-f108e486a397 ro splash quiet vga=794  quiet splash nomodeset video=uvesafb:mode_option=1280x1024-24,mtrr=3,scroll=ywrap
    initrd    /boot/initrd.img-2.6.32-37-generic
}
menuentry 'Ubuntu, avec Linux 2.6.32-37-generic (mode de dépannage)' --class ubuntu --class gnu-linux --class gnu --class os {
    recordfail
    insmod ext2
    set root='(hd2,5)'
    search --no-floppy --fs-uuid --set 634ea176-ba6b-49cb-aed7-f108e486a397
    echo    'Chargement de Linux 2.6.32-37-generic ...'
    linux    /boot/vmlinuz-2.6.32-37-generic root=UUID=634ea176-ba6b-49cb-aed7-f108e486a397 ro single splash quiet vga=794
    echo    'Chargement du disque mémoire initial ...'
    initrd    /boot/initrd.img-2.6.32-37-generic
}
menuentry 'Ubuntu, avec Linux 2.6.32-36-generic' --class ubuntu --class gnu-linux --class gnu --class os {
    recordfail
    insmod ext2
    set root='(hd2,5)'
    search --no-floppy --fs-uuid --set 634ea176-ba6b-49cb-aed7-f108e486a397
    linux    /boot/vmlinuz-2.6.32-36-generic root=UUID=634ea176-ba6b-49cb-aed7-f108e486a397 ro splash quiet vga=794  quiet splash nomodeset video=uvesafb:mode_option=1280x1024-24,mtrr=3,scroll=ywrap
    initrd    /boot/initrd.img-2.6.32-36-generic
}
menuentry 'Ubuntu, avec Linux 2.6.32-36-generic (mode de dépannage)' --class ubuntu --class gnu-linux --class gnu --class os {
    recordfail
    insmod ext2
    set root='(hd2,5)'
    search --no-floppy --fs-uuid --set 634ea176-ba6b-49cb-aed7-f108e486a397
    echo    'Chargement de Linux 2.6.32-36-generic ...'
    linux    /boot/vmlinuz-2.6.32-36-generic root=UUID=634ea176-ba6b-49cb-aed7-f108e486a397 ro single splash quiet vga=794
    echo    'Chargement du disque mémoire initial ...'
    initrd    /boot/initrd.img-2.6.32-36-generic
}
menuentry 'Ubuntu, avec Linux 2.6.32-35-generic' --class ubuntu --class gnu-linux --class gnu --class os {
    recordfail
    insmod ext2
    set root='(hd2,5)'
    search --no-floppy --fs-uuid --set 634ea176-ba6b-49cb-aed7-f108e486a397
    linux    /boot/vmlinuz-2.6.32-35-generic root=UUID=634ea176-ba6b-49cb-aed7-f108e486a397 ro splash quiet vga=794  quiet splash nomodeset video=uvesafb:mode_option=1280x1024-24,mtrr=3,scroll=ywrap
    initrd    /boot/initrd.img-2.6.32-35-generic
}
menuentry 'Ubuntu, avec Linux 2.6.32-35-generic (mode de dépannage)' --class ubuntu --class gnu-linux --class gnu --class os {
    recordfail
    insmod ext2
    set root='(hd2,5)'
    search --no-floppy --fs-uuid --set 634ea176-ba6b-49cb-aed7-f108e486a397
    echo    'Chargement de Linux 2.6.32-35-generic ...'
    linux    /boot/vmlinuz-2.6.32-35-generic root=UUID=634ea176-ba6b-49cb-aed7-f108e486a397 ro single splash quiet vga=794
    echo    'Chargement du disque mémoire initial ...'
    initrd    /boot/initrd.img-2.6.32-35-generic
}
menuentry 'Ubuntu, avec Linux 2.6.32-34-generic' --class ubuntu --class gnu-linux --class gnu --class os {
    recordfail
    insmod ext2
    set root='(hd2,5)'
    search --no-floppy --fs-uuid --set 634ea176-ba6b-49cb-aed7-f108e486a397
    linux    /boot/vmlinuz-2.6.32-34-generic root=UUID=634ea176-ba6b-49cb-aed7-f108e486a397 ro splash quiet vga=794  quiet splash nomodeset video=uvesafb:mode_option=1280x1024-24,mtrr=3,scroll=ywrap
    initrd    /boot/initrd.img-2.6.32-34-generic
}
menuentry 'Ubuntu, avec Linux 2.6.32-34-generic (mode de dépannage)' --class ubuntu --class gnu-linux --class gnu --class os {
    recordfail
    insmod ext2
    set root='(hd2,5)'
    search --no-floppy --fs-uuid --set 634ea176-ba6b-49cb-aed7-f108e486a397
    echo    'Chargement de Linux 2.6.32-34-generic ...'
    linux    /boot/vmlinuz-2.6.32-34-generic root=UUID=634ea176-ba6b-49cb-aed7-f108e486a397 ro single splash quiet vga=794
    echo    'Chargement du disque mémoire initial ...'
    initrd    /boot/initrd.img-2.6.32-34-generic
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
    insmod ext2
    set root='(hd2,5)'
    search --no-floppy --fs-uuid --set 634ea176-ba6b-49cb-aed7-f108e486a397
    linux16    /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
    insmod ext2
    set root='(hd2,5)'
    search --no-floppy --fs-uuid --set 634ea176-ba6b-49cb-aed7-f108e486a397
    linux16    /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Windows 7 (loader) (on /dev/sda1)" {
    insmod ntfs
    set root='(hd0,1)'
    search --no-floppy --fs-uuid --set B6D0F12FD0F0F709
    chainloader +1
}
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/40_custom ###
# 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.
### END /etc/grub.d/40_custom ###
--------------------------------------------------------------------------------

=============================== sdc5/etc/fstab: ================================

--------------------------------------------------------------------------------
# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    nodev,noexec,nosuid 0       0
# / was on /dev/sdc5 during installation
UUID=634ea176-ba6b-49cb-aed7-f108e486a397 /               ext4    errors=remount-ro 0       1
# /home was on /dev/sdc6 during installation
UUID=7fd2f406-2da5-4efe-a3d0-46c5d736d63b /home           ext4    defaults        0       2
/dev/sdc1       none            swap    sw              0       0
/dev/fd0        /media/floppy0  auto    rw,user,noauto,exec,utf8 0       0


--------------------------------------------------------------------------------

=================== sdc5: Location of files loaded by Grub: ====================

           GiB - GB             File                                 Fragment(s)

  41.716362000 = 44.792602624   boot/grub/core.img                             1
 122.227741241 = 131.241037824  boot/grub/grub.cfg                             1
   7.013668060 = 7.530868736    boot/initrd.img-2.6.32-34-generic              2
   6.984268188 = 7.499300864    boot/initrd.img-2.6.32-35-generic              2
   7.343643188 = 7.885176832    boot/initrd.img-2.6.32-36-generic              2
   7.424804688 = 7.972323328    boot/initrd.img-2.6.32-37-generic              2
  41.858268738 = 44.944973824   boot/vmlinuz-2.6.32-34-generic                 1
  41.865547180 = 44.952788992   boot/vmlinuz-2.6.32-35-generic                 1
  41.844654083 = 44.930355200   boot/vmlinuz-2.6.32-36-generic                 1
  41.850440979 = 44.936568832   boot/vmlinuz-2.6.32-37-generic                 1
   7.424804688 = 7.972323328    initrd.img                                     2
   7.343643188 = 7.885176832    initrd.img.old                                 2
  41.850440979 = 44.936568832   vmlinuz                                        1
  41.844654083 = 44.930355200   vmlinuz.old                                    1

======================== Unknown MBRs/Boot Sectors/etc: ========================

Unknown BootLoader on sdc2

00000000  ce 01 59 eb e5 0f 11 56  c6 fd 27 54 bd 75 03 8a  |..Y....V..'T.u..|
00000010  1d af c0 c8 28 c0 a5 db  c0 6e 05 6c a7 9c 00 ed  |....(....n.l....|
00000020  98 d8 3a 12 34 45 04 13  ca ec 76 91 c9 0a 20 70  |..:.4E....v... p|
00000030  d5 f5 43 4b de cb 50 5b  29 49 1c 17 f8 f0 35 5f  |..CK..P[)I....5_|
00000040  27 9a 00 73 42 80 c7 52  a2 f5 25 f8 bd 22 aa 20  |'..sB..R..%..". |
00000050  c1 41 18 be 34 41 93 3e  a2 86 ae af bd 78 82 84  |.A..4A.>.....x..|
00000060  08 d6 c4 0c 97 2c 15 c7  4e 15 72 5d f4 a7 e9 98  |.....,..N.r]....|
00000070  94 94 57 45 fa 24 ea 8e  51 e7 3c c6 c7 4b ad 01  |..WE.$..Q.<..K..|
00000080  8e 43 09 36 8c d0 60 ba  99 4c e0 41 7b 3b ac 5f  |.C.6..`..L.A{;._|
00000090  f6 68 f9 a8 6f 8d fe 73  d3 45 a9 c7 c4 57 9d 24  |.h..o..s.E...W.$|
000000a0  05 0f a6 87 19 15 45 2c  6e 42 b2 0d 23 f9 b6 a5  |......E,nB..#...|
000000b0  87 b0 41 c2 b6 75 f4 4b  d2 35 e8 38 51 9f 33 1f  |..A..u.K.5.8Q.3.|
000000c0  38 d4 bf ce 27 6f d1 20  2e f3 51 1d 04 40 95 11  |8...'o. ..Q..@..|
000000d0  20 0d 2d 23 93 88 b1 fd  6c 62 30 92 ad aa 59 bc  | .-#....lb0...Y.|
000000e0  29 48 03 97 74 e6 98 f6  25 2c 55 a9 81 66 49 04  |)H..t...%,U..fI.|
000000f0  98 11 9a 42 40 2f a1 96  3d 17 a6 3c 11 df a9 b6  |...B@/..=..<....|
00000100  26 8e 8b 3f 5a f0 a2 8e  21 4a 3e dd 00 83 07 c3  |&..?Z...!J>.....|
00000110  cb 7e e0 c2 c7 71 69 ed  1f 13 81 26 75 05 74 1a  |.~...qi....&u.t.|
00000120  ab d1 ac db 32 4c 6a 62  d7 dd 6c fb 4e 71 82 43  |....2Ljb..l.Nq.C|
00000130  25 cf b1 6d cc 8e c2 12  97 e3 60 b4 37 aa 2d 23  |%..m......`.7.-#|
00000140  99 d8 e7 bc 9a 78 ae 30  0f 52 ca 99 15 72 0d 82  |.....x.0.R...r..|
00000150  c3 42 f2 26 0b c7 9b 7a  38 2b 4a aa a8 80 f8 36  |.B.&...z8+J....6|
00000160  f3 74 a4 0b 49 4f 62 77  a9 c6 b1 0e 65 79 b0 1a  |.t..IObw....ey..|
00000170  93 f2 4a 05 16 84 aa 0c  37 98 fc a6 85 03 00 b6  |..J.....7.......|
00000180  91 a2 94 d5 83 a3 75 5a  6a 19 57 6e dd 3b 0d 6e  |......uZj.Wn.;.n|
00000190  6e 75 a6 bb 8e 18 bc f4  27 d2 f8 10 84 54 7f 63  |nu......'....T.c|
000001a0  66 10 16 c8 59 26 d5 6a  fe 77 df 05 f2 9f 0f b0  |f...Y&.j.w......|
000001b0  7c 9c 51 7a c4 03 b4 69  8f d6 8a d1 ca 4a 00 93  ||.Qz...i.....J..|
000001c0  bb d9 83 fe ff ff 02 00  00 00 00 40 98 16 00 fe  |...........@....|
000001d0  ff ff 05 fe ff ff 02 40  98 16 00 78 48 17 00 00  |.......@...xH...|
000001e0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000001f0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 55 aa  |..............U.|
00000200

Dans cet extrait de ton fichier grub.cfg (le fichier de configuration de Grub) , on peut voir :

menuentry "Windows 7 (loader) (on /dev/sda1)" {
    insmod ntfs
    set root='(hd0,1)'
    search --no-floppy --fs-uuid --set B6D0F12FD0F0F709
    chainloader +1
}

Ce qui veut dire que quand tu choisis de démarrer sous Windows dans le menu proposé par Grub, la partition cible est sda1 dont l'identifiant UUID est B6D0F12FD0F0F709.
Puisque ça fonctionne bien comme ça quand le démarrage est géré par la partition sda1, il faut que ça se passe de la même façon quand tu décides de démarrer sur ton disque sda. A mon avis, il doit falloir que tu mettes le drapeau (le flag) sur la partition sda1 (alors qu'il se trouve actuellement sur la partition sda2). Tu peux faire ça depuis Windows (de passer la partition sda1 bootable) comme ça au redémarrage, tu pourras vérifier que ça fonctionne.
Si ça se suffit pas, tu lances la réparation automatique de Win7 et ça devrait le faire.

Dernière modification par malbo (Le 20/12/2011, à 11:15)

Hors ligne

#9 Le 20/12/2011, à 14:00

plexus

Re : [RESOLU] Renseignement deplacer GRUB/DUAL BOOT

Je comprends mieux et cela est cohérent avec ce que me donne l'utilitaire de disque dur (linux) :
/dev/sda1: (réservé au système)
drapeaux de la partition : -
/dev/sda2: (SysWin7)
drapeaux de la partition : Amorçable

Mais pourquoi est ce comme ça ?
avant de faire le bootrec /fixmbr, (le cd d'install était allé trop vite pour moi) j'ai fait une réparation automatique qui n'avait rien changé au mbr. peut-être est-ce cette manip qui a déplacé les drapeaux ?

Donc normalement avec diskpart sous win7 je devrais pouvoir remettre les choses dans le bon ordre.
je test ce soir,  et reviens avec des nouvelles.
Merci de ce brillant éclairage.

Dernière modification par plexus (Le 20/12/2011, à 14:00)

Hors ligne

#10 Le 20/12/2011, à 15:07

malbo

Re : [RESOLU] Renseignement deplacer GRUB/DUAL BOOT

plexus a écrit :

avant de faire le bootrec /fixmbr, (le cd d'install était allé trop vite pour moi) j'ai fait une réparation automatique qui n'avait rien changé au mbr. peut-être est-ce cette manip qui a déplacé les drapeaux ?

Je ne confirme pas.
Dans le post #5, ton Boot Info script initial contenait cette ligne (le symbole * indique que la partition a le drapeau):

/dev/sda2    *        206,848   307,202,047   306,995,200   7 NTFS / exFAT / HPFS

Et ton dernier Boot Info script ( post #8) contient la même ligne :

/dev/sda2    *        206,848   307,202,047   306,995,200   7 NTFS / exFAT / HPFS

Le drapeau a toujours été mal mis (sur sda2 alors qu'il doit être sur sda1). ce n'est pas la réparation automatique qui l'a modifié.

Dernière modification par malbo (Le 20/12/2011, à 15:09)

Hors ligne

#11 Le 20/12/2011, à 19:07

plexus

Re : [RESOLU] Renseignement deplacer GRUB/DUAL BOOT

Bon tout semble ok !

J'ai remis sda1 actif dans win7 (via le gestionnaire de disque sans diskpart pour aller plus vite) et tout semble ok
je boot bien sur win7 en pointant son DD via le bios et je boot egalement bien dessus via grub.

Un grand merci pour avoir résolu cette erreur que je ne soupçonnais même pas.

Donc il ne me reste plus qu'à trifouiller mes partitions linux avec GPARTED en espérant ne rien perdre...

Merci de l'aide,
je vais modifier en Résolu l'intitulé du post

Hors ligne