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 04/07/2013, à 10:36

popipe

Windows non détecté dans les partitions (installation 13.04)

Bonjour,
J'ai Windows 7 de base sur mon PC. J'ai voulu installé depuis peu ubuntu 12.04 LTS. Tout a très bien fonctionné puis lors de la mise à jour de 12.04 à 13.04 tout a planté du coup j'ai formaté la partition étendu d'ubuntu avec G-Parted. Le problème c'est que du coup j'ai perdu mon grub2 donc impossible de revenir à windows 7 après. Heureusement que boot-repair était là pour me refaire ma MBR...
Si vous avez bien suivi (car oui j'essaye d'être assez clair et ce n'est pas évident), je me retrouve maintenant avec un windows dont la mbr a été "refabriquée" par boot-repair et une partition non-allouée sur mon HDD.
C'est là que ça se gatte. En fait j'avais l’intention de réinstaller ubuntu (sur la partition non-allouée) mais directement dans sa version 13.04, sauf que maintenant l'installateur détecte bien mes partitions mais ne me propose plus d'installer ubuntu à coté de windows. La seule option "intéressante" qu'il me propose c'est d'installer ubuntu à coté des autres partitions seulement (et pas de windows). Du coup si je finis l'installation, windows ne se retrouve pas dans grub2, et le dual-boot c'est précisément ce que je recherche.
Je pense que ça vient de la réparation de la MBR par boot-repair parce que depuis j'ai une nouvelle partition appelée "réservé au système" (de 100 Mo) dans laquelle se trouve les fichiers de boot (à savoir que ces fichier sont aussi sur ma partition windows), alors qu'avant je n'avait pas cette partition et mon PC bootait très bien sur windows directement à partir des fichiers de boot de la partition windows. Peut-être que l'installateur d'ubuntu ne fait pas le lien entre la partition "réservé au système" et ma partiton windows, il ne voit donc pas que windows est installé et pense donc que ce ne sont que des partitions de données ? Je ne sais pas...

Je voudrais donc savoir comment récupérer l'option "installer à coté de windows" dans l'intallateur d'ubuntu 13.04 (à savoir que maintenant j'ai aussi le meme probleme avec l'installateur de 12.04 et linux mint 15).

J'espère avoir été le plus clair possible.
D'avance merci pour vos réponses

Popipe

Hors ligne

#2 Le 04/07/2013, à 11:44

Ayral

Re : Windows non détecté dans les partitions (installation 13.04)

Dans l'installtion, au moment du partitionnement, tu choisis le mode :
Autre chose (Définir les partitions manuellement - avancé) : Cette option offre la plus grande flexibilité. Elle permet de redimensionner à loisir les partitions de son disque dur et d'en créer des nouvelles, aux tailles désirées, pour Ubuntu. C'est un mode qui est particulièrement utile pour les experts. Cette option est détaillée dans le tutoriel "Partitionner manuellement avec l'installateur Ubuntu".


Pour mettre les retours de commande entre deux balises code, les explications sont là : https://forum.ubuntu-fr.org/viewtopic.php?id=1614731
Blog d'un retraité
Site de graphisme du fiston Loïc
Ubuntu 22.04 LTS sur un Thinkpad W540

Hors ligne

#3 Le 04/07/2013, à 14:17

popipe

Re : Windows non détecté dans les partitions (installation 13.04)

Merci pour ta réponse.

Est ce que si je partitionne avec l'utilitaire d'installation, grub possédera une entrée windows ? Parce que ce que je veux c'est pas tellement réorganiser les partitions de mon HDD mais être sûr que windows sera bien reconnu par l'installeur afin qu'il soit présent dans grub après redémarrage une fois l'installation terminée.

Dernière modification par popipe (Le 04/07/2013, à 14:18)

Hors ligne

#4 Le 04/07/2013, à 20:28

Ayral

Re : Windows non détecté dans les partitions (installation 13.04)

L'installeur te demande où tu veux mettre le Grub, mais je ne suis pas assez compétent pour te conseiller.


Pour mettre les retours de commande entre deux balises code, les explications sont là : https://forum.ubuntu-fr.org/viewtopic.php?id=1614731
Blog d'un retraité
Site de graphisme du fiston Loïc
Ubuntu 22.04 LTS sur un Thinkpad W540

Hors ligne

#5 Le 04/07/2013, à 21:08

popipe

Re : Windows non détecté dans les partitions (installation 13.04)

dommage mais merci quand même, j'espère que quelqu'un d'autre aura la solution.

Hors ligne

#6 Le 04/07/2013, à 23:47

Ayral

Re : Windows non détecté dans les partitions (installation 13.04)

popipe a écrit :

dommage mais merci quand même, j'espère que quelqu'un d'autre aura la solution.

]Regardes là, tu y trouveras au moins des explications.


Pour mettre les retours de commande entre deux balises code, les explications sont là : https://forum.ubuntu-fr.org/viewtopic.php?id=1614731
Blog d'un retraité
Site de graphisme du fiston Loïc
Ubuntu 22.04 LTS sur un Thinkpad W540

Hors ligne

#7 Le 05/07/2013, à 05:49

malbo

Re : Windows non détecté dans les partitions (installation 13.04)

popipe,
Réponds à cette demande depuis un support live de Ubuntu 13.04 : http://doc.ubuntu-fr.org/tutoriel/boot-info
Le résultat montrera si Windows 7 est bien détecté correctement par Ubuntu et si les fichiers de démarrage de Windows 7 sont bien présents.

Edit : actuellement quand tu démarres ton ordi, est-ce que Windows 7 fonctionne bien ?

Dernière modification par malbo (Le 05/07/2013, à 06:02)

Hors ligne

#8 Le 05/07/2013, à 16:00

popipe

Re : Windows non détecté dans les partitions (installation 13.04)

Voilà le rapport de boot-repair : http://paste2.org/f9FKZcpU.
Alors il y a eu une petite évolution, j'ai ajouté une entrée dans grub avec grub customizer qui pointe sur la partition sda2 qui est ma partition windows (sda3 cest juste des données) mais j'ai aussi supprimé avec g-parted la partition qui s'appelait "réservé au système". Avant windows démarrait nickel mais maintenant lorque je choisi l'entrée sda2 dans grub je tombe sur la mbr de windows avec une erreur 0xc0000225 m'indiquant : "la selection de démarrage a échoué car un périphérique nécessaire est innacessible". Il faut que je réinstalle la mbr de windows mais je n'ai pas de CD de windows 7 avec moi en ce moment donc si vous avez une idée je suis preneur. Je vous tiens au courant de mes différentes avancées.

Hors ligne

#9 Le 05/07/2013, à 17:19

malbo

Re : Windows non détecté dans les partitions (installation 13.04)

Ton Boot-Info est là :

    Boot Info Script e7fc706 + Boot-Repair extra info [Boot-Info 3June2013]
    ============================= Boot Info Summary: ===============================
    => Grub2 (v1.99) 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 94 for .
    sda1: __________________________________________________________________________
    File system: Extended Partition
    Boot sector type: -
    Boot sector info:
    sda5: __________________________________________________________________________
    File system: ext4
    Boot sector type: -
    Boot sector info:
    Operating System: Linux Mint 15 Olivia
    Boot files: /boot/grub/grub.cfg /etc/fstab
    /boot/grub/i386-pc/core.img
    sda6: __________________________________________________________________________
    File system: swap
    Boot sector type: -
    Boot sector info:
    sda2: __________________________________________________________________________
    File system: ntfs
    Boot sector type: Windows 7/2008: NTFS
    Boot sector info: No errors found in the Boot Parameter Block.
    Operating System: Windows 7
    Boot files: /bootmgr /Boot/BCD /Windows/System32/winload.exe
    sda3: __________________________________________________________________________
    File system: ntfs
    Boot sector type: Windows Vista: NTFS
    Boot sector info: No errors found in the Boot Parameter Block.
    Operating System:
    Boot files:
    ============================ Drive/Partition Info: =============================
    Drive: sda _____________________________________________________________________
    Disk /dev/sda: 500.1 GB, 500107862016 bytes
    255 heads, 63 sectors/track, 60801 cylinders, total 976773168 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 935,815,166 976,771,071 40,955,906 5 Extended
    /dev/sda5 935,815,168 960,524,287 24,709,120 83 Linux
    /dev/sda6 960,526,336 976,771,071 16,244,736 82 Linux swap / Solaris
    /dev/sda2 * 2,048 102,606,847 102,604,800 7 NTFS / exFAT / HPFS
    /dev/sda3 102,606,848 935,813,119 833,206,272 7 NTFS / exFAT / HPFS
    "blkid" output: ________________________________________________________________
    Device UUID TYPE LABEL
    /dev/sda2 5A68904668902335 ntfs Windows
    /dev/sda3 60FB13F00339B313 ntfs Donnees
    /dev/sda5 70137e1f-3062-42cb-935c-ce9a6fcdf629 ext4
    /dev/sda6 001c7da5-b6dd-4471-96b7-2bf32239aa5c swap
    ================================ Mount points: =================================
    Device Mount_Point Type Options
    /dev/sda5 / ext4 (rw,errors=remount-ro)
    =========================== sda5/boot/grub/grub.cfg: ===========================
    --------------------------------------------------------------------------------
    #
    # DO NOT EDIT THIS FILE
    #
    # It is automatically generated by 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
    set have_grubenv=true
    load_env
    fi
    set default="0"
    if [ x"${feature_menuentry_id}" = xy ]; then
    menuentry_id_option="--id"
    else
    menuentry_id_option=""
    fi
    export menuentry_id_option
    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
    }
    function load_video {
    if [ x$feature_all_video_module = xy ]; then
    insmod all_video
    else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
    fi
    }
    if [ x$feature_default_font_path = xy ] ; then
    font=unicode
    else
    insmod part_msdos
    insmod ext2
    set root='hd0,msdos5'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 70137e1f-3062-42cb-935c-ce9a6fcdf629
    else
    search --no-floppy --fs-uuid --set=root 70137e1f-3062-42cb-935c-ce9a6fcdf629
    fi
    font="/usr/share/grub/unicode.pf2"
    fi
    if loadfont $font ; then
    set gfxmode=auto
    load_video
    insmod gfxterm
    set locale_dir=$prefix/locale
    set lang=fr_FR
    insmod gettext
    fi
    terminal_output gfxterm
    if [ "${recordfail}" = 1 ]; then
    set timeout=10
    else
    set timeout=10
    fi
    ### END /etc/grub.d/00_header ###
    ### BEGIN /etc/grub.d/05_debian_theme ###
    set menu_color_normal=cyan/blue
    set menu_color_highlight=white/blue
    ### END /etc/grub.d/05_debian_theme ###
    ### BEGIN /etc/grub.d/06_mint_theme ###
    set menu_color_normal=white/black
    set menu_color_highlight=white/light-gray
    ### END /etc/grub.d/06_mint_theme ###
    ### BEGIN /etc/grub.d/10_linux ###
    function gfxmode {
    set gfxpayload="$1"
    if [ "$1" = "keep" ]; then
    set vt_handoff=vt.handoff=7
    else
    set vt_handoff=
    fi
    }
    if [ ${recordfail} != 1 ]; then
    if [ -e ${prefix}/gfxblacklist.txt ]; then
    if hwmatch ${prefix}/gfxblacklist.txt 3; then
    if [ ${match} = 0 ]; then
    set linux_gfx_mode=keep
    else
    set linux_gfx_mode=text
    fi
    else
    set linux_gfx_mode=text
    fi
    else
    set linux_gfx_mode=keep
    fi
    else
    set linux_gfx_mode=text
    fi
    export linux_gfx_mode
    if [ "$linux_gfx_mode" != "text" ]; then load_video; fi
    menuentry 'Linux Mint 15 Cinnamon 64-bit, 3.8.0-19-generic (/dev/sda5)' --class linuxmint --class gnu-linux --class gnu --class os {
    recordfail
    gfxmode $linux_gfx_mode
    insmod gzio
    insmod part_msdos
    insmod ext2
    set root='hd0,msdos5'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 70137e1f-3062-42cb-935c-ce9a6fcdf629
    else
    search --no-floppy --fs-uuid --set=root 70137e1f-3062-42cb-935c-ce9a6fcdf629
    fi
    linux /boot/vmlinuz-3.8.0-19-generic root=UUID=70137e1f-3062-42cb-935c-ce9a6fcdf629 ro quiet splash $vt_handoff
    initrd /boot/initrd.img-3.8.0-19-generic
    }
    menuentry 'Linux Mint 15 Cinnamon 64-bit, 3.8.0-19-generic (/dev/sda5) -- recovery mode' --class linuxmint --class gnu-linux --class gnu --class os {
    recordfail
    insmod gzio
    insmod part_msdos
    insmod ext2
    set root='hd0,msdos5'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 70137e1f-3062-42cb-935c-ce9a6fcdf629
    else
    search --no-floppy --fs-uuid --set=root 70137e1f-3062-42cb-935c-ce9a6fcdf629
    fi
    echo	'Loading Linux 3.8.0-19-generic ...'
    linux /boot/vmlinuz-3.8.0-19-generic root=UUID=70137e1f-3062-42cb-935c-ce9a6fcdf629 ro recovery nomodeset
    echo	'Loading initial ramdisk ...'
    initrd /boot/initrd.img-3.8.0-19-generic
    }
    ### END /etc/grub.d/10_linux ###
    ### BEGIN /etc/grub.d/10_lupin ###
    ### END /etc/grub.d/10_lupin ###
    ### BEGIN /etc/grub.d/20_linux_xen ###
    ### END /etc/grub.d/20_linux_xen ###
    ### BEGIN /etc/grub.d/20_memtest86+ ###
    menuentry "Memory test (memtest86+)" {
    insmod part_msdos
    insmod ext2
    set root='hd0,msdos5'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 70137e1f-3062-42cb-935c-ce9a6fcdf629
    else
    search --no-floppy --fs-uuid --set=root 70137e1f-3062-42cb-935c-ce9a6fcdf629
    fi
    linux16 /boot/memtest86+.bin
    }
    menuentry "Memory test (memtest86+, serial console 115200)" {
    insmod part_msdos
    insmod ext2
    set root='hd0,msdos5'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5 --hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5 70137e1f-3062-42cb-935c-ce9a6fcdf629
    else
    search --no-floppy --fs-uuid --set=root 70137e1f-3062-42cb-935c-ce9a6fcdf629
    fi
    linux16 /boot/memtest86+.bin console=ttyS0,115200n8
    }
    ### END /etc/grub.d/20_memtest86+ ###
    ### BEGIN /etc/grub.d/30_os-prober ###
    ### END /etc/grub.d/30_os-prober ###
    ### BEGIN /etc/grub.d/30_uefi-firmware ###
    ### END /etc/grub.d/30_uefi-firmware ###
    ### 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.
    menuentry "Windows"{
    set root='(hd0,2)'
    search --no-floppy --fs-uuid --set 5A68904668902335
    drivemap -s (hd0) ${root}
    chainloader +1
    }
    ### END /etc/grub.d/40_custom ###
    ### BEGIN /etc/grub.d/41_custom ###
    if [ -f ${config_directory}/custom.cfg ]; then
    source ${config_directory}/custom.cfg
    elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
    source $prefix/custom.cfg;
    fi
    ### END /etc/grub.d/41_custom ###
    --------------------------------------------------------------------------------
    =============================== sda5/etc/fstab: ================================
    --------------------------------------------------------------------------------
    # /etc/fstab: static file system information.
    #
    # Use 'blkid' 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>
    # / was on /dev/sda5 during installation
    UUID=70137e1f-3062-42cb-935c-ce9a6fcdf629 / ext4 errors=remount-ro 0 1
    # swap was on /dev/sda6 during installation
    UUID=001c7da5-b6dd-4471-96b7-2bf32239aa5c none swap sw 0 0
    --------------------------------------------------------------------------------
    =================== sda5: Location of files loaded by Grub: ====================
    GiB - GB File Fragment(s)
    452.367103577 = 485.725478912 boot/grub/grub.cfg 1
    452.682643890 = 486.064287744 boot/grub/i386-pc/core.img 1
    452.673934937 = 486.054936576 boot/vmlinuz-3.8.0-19-generic 1
    452.673934937 = 486.054936576 vmlinuz 1
    449.088928223 = 482.205564928 boot/initrd.img-3.8.0-19-generic 1
    449.088928223 = 482.205564928 initrd.img 1
    449.088928223 = 482.205564928 initrd.img.old 1
    =============================== StdErr Messages: ===============================
    File descriptor 8 (/proc/14080/mounts) leaked on lvscan invocation. Parent PID 22628: bash
    No volume groups found
    ADDITIONAL INFORMATION :
    =================== log of boot-repair 2013-07-05__15h51 ===================
    boot-repair version : 3.199~ppa6~raring
    boot-sav version : 3.199~ppa6~raring
    glade2script version : 3.2.2~ppa45~raring
    boot-sav-extra version : 3.199~ppa6~raring
    File descriptor 8 (/proc/14080/mounts) leaked on lvs invocation. Parent PID 15470: /bin/sh
    No volume groups found
    boot-repair is executed in installed-session (Linux Mint 15 Olivia, olivia, LinuxMint, x86_64)
    CPU op-mode(s): 32-bit, 64-bit
    BOOT_IMAGE=/boot/vmlinuz-3.8.0-19-generic root=UUID=70137e1f-3062-42cb-935c-ce9a6fcdf629 ro quiet splash
    ls: cannot access /sys/block/sdb/: No such file or directory
    stat: cannot stat ‘/dev/sdb’: No such file or directory
    =================== os-prober:
    /dev/sda5:L'OS actuellement utilisé - Linux Mint 15 Olivia CurrentSession:linux
    =================== blkid:
    /dev/sda2: LABEL="Windows" UUID="5A68904668902335" TYPE="ntfs"
    /dev/sda3: LABEL="Donnees" UUID="60FB13F00339B313" TYPE="ntfs"
    /dev/sda5: UUID="70137e1f-3062-42cb-935c-ce9a6fcdf629" TYPE="ext4"
    /dev/sda6: UUID="001c7da5-b6dd-4471-96b7-2bf32239aa5c" TYPE="swap"
    /dev/sdb1: LABEL="Passport_Neile" UUID="CEC0A572C0A56187" TYPE="ntfs"
    1 disks with OS, 1 OS : 1 Linux, 0 MacOS, 0 Windows, 0 unknown type OS.
    df: ‘/dev/sdb1’: No such file or directory
    Windows not detected by os-prober on sda2.
    ls: reading directory /mnt/boot-sav/sdb1/: Input/output error
    ls: reading directory /mnt/boot-sav/sdb1/: Input/output error
    ls: reading directory /mnt/boot-sav/sdb1/: Input/output error
    ls: reading directory /mnt/boot-sav/sdb1/: Input/output error
    ls: reading directory /mnt/boot-sav/sdb1/: Input/output error
    ls: reading directory /mnt/boot-sav/sdb1/: Input/output error
    ls: reading directory /mnt/boot-sav/sdb1/: Input/output error
    Warning: extended partition does not start at a cylinder boundary.
    DOS and Linux will interpret the contents differently.
    dd: opening ‘/dev/sdb’: No such file or directory
    Warning: /var/log/boot-sav/log/2013-07-05__15h51boot-repair24/sdb/current_mbr.img could not be created. Veuillez indiquer ce message à boot.repair@gmail.com
    /dev/sdb: No such file or directory
    sfdisk: cannot open /dev/sdb for reading
    =================== /etc/default/grub :
    # If you change this file, run 'update-grub' afterwards to update
    # /boot/grub/grub.cfg.
    # For full documentation of the options in this file, see:
    # info -f grub -n 'Simple configuration'
    GRUB_DEFAULT="0"
    #GRUB_HIDDEN_TIMEOUT="0"
    GRUB_HIDDEN_TIMEOUT_QUIET="true"
    GRUB_TIMEOUT=10
    GRUB_DISTRIBUTOR="`lsb_release -i -s 2> /dev/null || echo Debian`"
    GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
    GRUB_CMDLINE_LINUX=""
    # Uncomment to enable BadRAM filtering, modify to suit your needs
    # This works with Linux (no patch required) and with any kernel that obtains
    # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
    #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
    # Uncomment to disable graphical terminal (grub-pc only)
    #GRUB_TERMINAL="console"
    # The resolution used on graphical terminal
    # note that you can use only modes which your graphic card supports via VBE
    # you can see them in real GRUB with the command `vbeinfo'
    #GRUB_GFXMODE="640x480"
    # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
    #GRUB_DISABLE_LINUX_UUID="true"
    # Uncomment to disable generation of recovery mode menu entries
    #GRUB_DISABLE_RECOVERY="true"
    # Uncomment to get a beep at grub start
    #GRUB_INIT_TUNE="480 440 1"
    =================== /etc/grub.d/ :
    drwxr-xr-x 2 root root 4096 juil. 4 23:13 grub.d
    drwxr-xr-x 2 root root 4096 avril 25 20:21 grub.d.ori
    total 84
    -rwxr-xr-x 1 root root 7541 avril 9 11:29 00_header
    -rwxr-xr-x 1 root root 5974 avril 9 10:53 05_debian_theme
    -rwxr-xr-x 1 root root 1183 oct. 23 2011 06_mint_theme
    -rwxr-xr-x 1 root root 7500 juil. 5 15:29 10_linux
    -rwxr-xr-x 1 root root 10634 oct. 1 2012 10_lupin
    -rwxr-xr-x 1 root root 10258 avril 9 11:29 20_linux_xen
    -rwxr-xr-x 1 root root 1688 déc. 5 2012 20_memtest86+
    -rwxr-xr-x 1 root root 10976 avril 9 11:29 30_os-prober
    -rwxr-xr-x 1 root root 1426 avril 9 11:29 30_uefi-firmware
    -rwxr-xr-x 1 root root 353 juil. 4 23:13 40_custom
    -rwxr-xr-x 1 root root 216 avril 9 11:29 41_custom
    -rw-r--r-- 1 root root 483 avril 9 11:29 README
    =================== /etc/grub.d/40_custom :
    menuentry "Windows"{
    set root='(hd0,2)'
    search --no-floppy --fs-uuid --set 5A68904668902335
    drivemap -s (hd0) ${root}
    chainloader +1
    }
    ls: reading directory /mnt/boot-sav/sdb1/: Input/output error
    ls: reading directory /mnt/boot-sav/sdb1/: Input/output error
    =================== UEFI/Legacy mode:
    This installed-session is not in EFI-mode.
    SecureBoot disabled.
    =================== PARTITIONS & DISKS:
    sda5 : sda, not-sepboot, grubenv-ok grub2, grub-pc , update-grub, 64, with-boot, is-os, not--efi--part, fstab-without-boot, fstab-without-efi, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, apt-get, grub-install, with--usr, fstab-without-usr, not-sep-usr, standard, farbios, .
    sda2 : sda, not-sepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, is-os, not--efi--part, part-has-no-fstab, part-has-no-fstab, no-nt, haswinload, no-recov-nor-hid, bootmgr, is-winboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, not-far, /mnt/boot-sav/sda2.
    sda3 : sda, not-sepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, no-os, not--efi--part, part-has-no-fstab, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, farbios, /mnt/boot-sav/sda3.
    sdb1 : sdb, not-sepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, no-os, not--efi--part, part-has-no-fstab, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, farbios, /mnt/boot-sav/sdb1.
    sda : not-GPT, BIOSboot-not-needed, has-no-EFIpart, not-usb, has-os, 2048 sectors * 512 bytes
    sdb : not-GPT, BIOSboot-not-needed, has-no-EFIpart, not-usb, no-os, 2048 sectors * 512 bytes
    =================== parted -l:
    Model: ATA ST9500420AS (scsi)
    Disk /dev/sda: 500GB
    Sector size (logical/physical): 512B/512B
    Partition Table: msdos
    Number Start End Size Type File system Flags
    2 1049kB 52.5GB 52.5GB primary ntfs boot
    3 52.5GB 479GB 427GB primary ntfs
    1 479GB 500GB 21.0GB extended
    5 479GB 492GB 12.7GB logical ext4
    6 492GB 500GB 8317MB logical linux-swap(v1)
    Model: WD My Passport 0730 (scsi)
    Disk /dev/sdb: 1000GB
    Sector size (logical/physical): 512B/512B
    Partition Table: msdos
    Number Start End Size Type File system Flags
    1 1049kB 1000GB 1000GB primary ntfs boot
    =================== parted -lm:
    BYT;
    /dev/sda:500GB:scsi:512:512:msdos:ATA ST9500420AS;
    2:1049kB:52.5GB:52.5GB:ntfs::boot;
    3:52.5GB:479GB:427GB:ntfs::;
    1:479GB:500GB:21.0GB:::;
    5:479GB:492GB:12.7GB:ext4::;
    6:492GB:500GB:8317MB:linux-swap(v1)::;
    BYT;
    /dev/sdb:1000GB:scsi:512:512:msdos:WD My Passport 0730;
    1:1049kB:1000GB:1000GB:ntfs::boot;
    =================== mount:
    /dev/sda5 on / type ext4 (rw,errors=remount-ro)
    proc on /proc type proc (rw,noexec,nosuid,nodev)
    sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
    none on /sys/fs/cgroup type tmpfs (rw)
    none on /sys/fs/fuse/connections type fusectl (rw)
    none on /sys/kernel/debug type debugfs (rw)
    none on /sys/kernel/security type securityfs (rw)
    udev on /dev type devtmpfs (rw,mode=0755)
    devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
    tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
    none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
    none on /run/shm type tmpfs (rw,nosuid,nodev)
    none on /run/user type tmpfs (rw,noexec,nosuid,nodev,size=104857600,mode=0755)
    binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
    gvfsd-fuse on /run/user/neile/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,user=neile)
    /dev/sda2 on /mnt/boot-sav/sda2 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
    /dev/sda3 on /mnt/boot-sav/sda3 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
    /dev/sdb1 on /mnt/boot-sav/sdb1 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
    =================== ls:
    /sys/block/sda (filtered): alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro sda1 sda2 sda3 sda5 sda6 size slaves stat subsystem trace uevent
    /sys/block/sr0 (filtered): alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro size slaves stat subsystem trace uevent
    /dev (filtered): alarm ashmem autofs binder block bsg btrfs-control bus cdrom cdrw char console core cpu cpu_dma_latency disk dvd dvdrw ecryptfs fd full fuse fw0 hidraw0 hidraw1 hidraw2 hidraw3 hpet input kmsg kvm lirc0 log mapper mcelog mem net network_latency network_throughput null nvidia0 nvidiactl oldmem port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda2 sda3 sda5 sda6 sg0 sg1 shm snapshot snd sr0 stderr stdin stdout uinput urandom usb v4l vga_arbiter vhost-net video0 zero
    ls /dev/mapper: control
    =================== hexdump -n512 -C /dev/sda2
    00000000 eb 52 90 4e 54 46 53 20 20 20 20 00 02 08 00 00 |.R.NTFS .....|
    00000010 00 00 00 00 00 f8 00 00 3f 00 ff 00 00 08 00 00 |........?.......|
    00000020 00 00 00 00 80 00 80 00 f8 9f 1d 06 00 00 00 00 |................|
    00000030 00 00 0c 00 00 00 00 00 02 00 00 00 00 00 00 00 |................|
    00000040 f6 00 00 00 01 00 00 00 35 23 90 68 46 90 68 5a |........5#.hF.hZ|
    00000050 00 00 00 00 fa 33 c0 8e d0 bc 00 7c fb 68 c0 07 |.....3.....|.h..|
    00000060 1f 1e 68 66 00 cb 88 16 0e 00 66 81 3e 03 00 4e |..hf......f.>..N|
    00000070 54 46 53 75 15 b4 41 bb aa 55 cd 13 72 0c 81 fb |TFSu..A..U..r...|
    00000080 55 aa 75 06 f7 c1 01 00 75 03 e9 dd 00 1e 83 ec |U.u.....u.......|
    00000090 18 68 1a 00 b4 48 8a 16 0e 00 8b f4 16 1f cd 13 |.h...H..........|
    000000a0 9f 83 c4 18 9e 58 1f 72 e1 3b 06 0b 00 75 db a3 |.....X.r.;...u..|
    000000b0 0f 00 c1 2e 0f 00 04 1e 5a 33 db b9 00 20 2b c8 |........Z3... +.|
    000000c0 66 ff 06 11 00 03 16 0f 00 8e c2 ff 06 16 00 e8 |f...............|
    000000d0 4b 00 2b c8 77 ef b8 00 bb cd 1a 66 23 c0 75 2d |K.+.w......f#.u-|
    000000e0 66 81 fb 54 43 50 41 75 24 81 f9 02 01 72 1e 16 |f..TCPAu$....r..|
    000000f0 68 07 bb 16 68 70 0e 16 68 09 00 66 53 66 53 66 |h...hp..h..fSfSf|
    00000100 55 16 16 16 68 b8 01 66 61 0e 07 cd 1a 33 c0 bf |U...h..fa....3..|
    00000110 28 10 b9 d8 0f fc f3 aa e9 5f 01 90 90 66 60 1e |(........_...f`.|
    00000120 06 66 a1 11 00 66 03 06 1c 00 1e 66 68 00 00 00 |.f...f.....fh...|
    00000130 00 66 50 06 53 68 01 00 68 10 00 b4 42 8a 16 0e |.fP.Sh..h...B...|
    00000140 00 16 1f 8b f4 cd 13 66 59 5b 5a 66 59 66 59 1f |.......fY[ZfYfY.|
    00000150 0f 82 16 00 66 ff 06 11 00 03 16 0f 00 8e c2 ff |....f...........|
    00000160 0e 16 00 75 bc 07 1f 66 61 c3 a0 f8 01 e8 09 00 |...u...fa.......|
    00000170 a0 fb 01 e8 03 00 f4 eb fd b4 01 8b f0 ac 3c 00 |..............<.|
    00000180 74 09 b4 0e bb 07 00 cd 10 eb f2 c3 0d 0a 45 72 |t.............Er|
    00000190 72 65 75 72 20 6c 65 63 74 75 72 65 20 64 69 73 |reur lecture dis|
    000001a0 71 75 65 00 0d 0a 42 4f 4f 54 4d 47 52 20 61 62 |que...BOOTMGR ab|
    000001b0 73 65 6e 74 00 0d 0a 42 4f 4f 54 4d 47 52 20 63 |sent...BOOTMGR c|
    000001c0 6f 6d 70 72 65 73 73 82 00 0d 0a 43 74 72 6c 2b |ompress....Ctrl+|
    000001d0 41 6c 74 2b 53 75 70 70 72 20 70 6f 75 72 20 72 |Alt+Suppr pour r|
    000001e0 65 64 82 6d 61 72 72 65 72 0d 0a 00 6f 20 72 65 |ed.marrer...o re|
    000001f0 73 74 61 72 74 0d 0a 00 8c a4 b5 c9 00 00 55 aa |start.........U.|
    00000200
    =================== hexdump -n512 -C /dev/sda3
    00000000 eb 52 90 4e 54 46 53 20 20 20 20 00 02 08 00 00 |.R.NTFS .....|
    00000010 00 00 00 00 00 f8 00 00 3f 00 ff 00 00 a8 1d 06 |........?.......|
    00000020 00 00 00 00 80 00 80 00 ff b7 a9 31 00 00 00 00 |...........1....|
    00000030 04 00 00 00 00 00 00 00 7f 9b 1a 03 00 00 00 00 |................|
    00000040 f6 00 00 00 01 00 00 00 13 b3 39 03 f0 13 fb 60 |..........9....`|
    00000050 00 00 00 00 fa 33 c0 8e d0 bc 00 7c fb 68 c0 07 |.....3.....|.h..|
    00000060 1f 1e 68 66 00 cb 88 16 0e 00 66 81 3e 03 00 4e |..hf......f.>..N|
    00000070 54 46 53 75 15 b4 41 bb aa 55 cd 13 72 0c 81 fb |TFSu..A..U..r...|
    00000080 55 aa 75 06 f7 c1 01 00 75 03 e9 d2 00 1e 83 ec |U.u.....u.......|
    00000090 18 68 1a 00 b4 48 8a 16 0e 00 8b f4 16 1f cd 13 |.h...H..........|
    000000a0 9f 83 c4 18 9e 58 1f 72 e1 3b 06 0b 00 75 db a3 |.....X.r.;...u..|
    000000b0 0f 00 c1 2e 0f 00 04 1e 5a 33 db b9 00 20 2b c8 |........Z3... +.|
    000000c0 66 ff 06 11 00 03 16 0f 00 8e c2 ff 06 16 00 e8 |f...............|
    000000d0 40 00 2b c8 77 ef b8 00 bb cd 1a 66 23 c0 75 2d |@.+.w......f#.u-|
    000000e0 66 81 fb 54 43 50 41 75 24 81 f9 02 01 72 1e 16 |f..TCPAu$....r..|
    000000f0 68 07 bb 16 68 70 0e 16 68 09 00 66 53 66 53 66 |h...hp..h..fSfSf|
    00000100 55 16 16 16 68 b8 01 66 61 0e 07 cd 1a e9 6a 01 |U...h..fa.....j.|
    00000110 90 90 66 60 1e 06 66 a1 11 00 66 03 06 1c 00 1e |..f`..f...f.....|
    00000120 66 68 00 00 00 00 66 50 06 53 68 01 00 68 10 00 |fh....fP.Sh..h..|
    00000130 b4 42 8a 16 0e 00 16 1f 8b f4 cd 13 66 59 5b 5a |.B..........fY[Z|
    00000140 66 59 66 59 1f 0f 82 16 00 66 ff 06 11 00 03 16 |fYfY.....f......|
    00000150 0f 00 8e c2 ff 0e 16 00 75 bc 07 1f 66 61 c3 a0 |........u...fa..|
    00000160 f8 01 e8 08 00 a0 fb 01 e8 02 00 eb fe b4 01 8b |................|
    00000170 f0 ac 3c 00 74 09 b4 0e bb 07 00 cd 10 eb f2 c3 |..<.t...........|
    00000180 0d 0a 41 20 64 69 73 6b 20 72 65 61 64 20 65 72 |..A disk read er|
    00000190 72 6f 72 20 6f 63 63 75 72 72 65 64 00 0d 0a 42 |ror occurred...B|
    000001a0 4f 4f 54 4d 47 52 20 69 73 20 6d 69 73 73 69 6e |OOTMGR is missin|
    000001b0 67 00 0d 0a 42 4f 4f 54 4d 47 52 20 69 73 20 63 |g...BOOTMGR is c|
    000001c0 6f 6d 70 72 65 73 73 65 64 00 0d 0a 50 72 65 73 |ompressed...Pres|
    000001d0 73 20 43 74 72 6c 2b 41 6c 74 2b 44 65 6c 20 74 |s Ctrl+Alt+Del t|
    000001e0 6f 20 72 65 73 74 61 72 74 0d 0a 00 00 00 00 00 |o restart.......|
    000001f0 00 00 00 00 00 00 00 00 80 9d b2 ca 00 00 55 aa |..............U.|
    00000200
    =================== hexdump -n512 -C /dev/sdb1
    hexdump: /dev/sdb1: No such file or directory
    =================== df -Th:
    Filesystem Type Size Used Avail Use% Mounted on
    /dev/sda5 ext4 12G 4.0G 6.9G 37% /
    none tmpfs 4.0K 0 4.0K 0% /sys/fs/cgroup
    udev devtmpfs 3.8G 12K 3.8G 1% /dev
    tmpfs tmpfs 774M 1.1M 773M 1% /run
    none tmpfs 5.0M 0 5.0M 0% /run/lock
    none tmpfs 3.8G 648K 3.8G 1% /run/shm
    none tmpfs 100M 24K 100M 1% /run/user
    /dev/sda2 fuseblk 49G 47G 2.1G 96% /mnt/boot-sav/sda2
    /dev/sda3 fuseblk 398G 180G 219G 46% /mnt/boot-sav/sda3
    /dev/sdb1 fuseblk 932G 313G 620G 34% /mnt/boot-sav/sdb1
    =================== fdisk -l:
    Disk /dev/sda: 500.1 GB, 500107862016 bytes
    255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    I/O size (minimum/optimal): 512 bytes / 512 bytes
    Disk identifier: 0xd0876440
    Device Boot Start End Blocks Id System
    /dev/sda1 935815166 976771071 20477953 5 Extended
    /dev/sda2 * 2048 102606847 51302400 7 HPFS/NTFS/exFAT
    /dev/sda3 102606848 935813119 416603136 7 HPFS/NTFS/exFAT
    /dev/sda5 935815168 960524287 12354560 83 Linux
    /dev/sda6 960526336 976771071 8122368 82 Linux swap / Solaris
    Partition table entries are not in disk order
    =================== Final advice in case of recommended repair
    N'oubliez pas de régler votre BIOS pour qu'il amorce sur le disque sda (500GB) !
    Les fichiers de démarrage de [L'OS actuellement utilisé - Linux Mint 15 Olivia] sont loin du début du disque. Votre BIOS pourrait ne pas les détecter. Vous voudrez peut-être re-essayer après avoir créé une partition /boot (EXT4, >200MB, en début de disque). Cela peut être réalisé via des outils tels que gParted. Puis sélectionnez cette partition via l'option [Partition /boot séparée :] de [Réparateur de démarrage]. (http://doc.ubuntu-fr.org/tutoriel/partition_boot)
    =================== Default settings
    Recommended-Repair
    This setting would reinstall the grub2 of sda5 into the MBRs of all disks (except USB without OS).
    The boot flag would be placed on sdb1.
    Additional repair would be performed: unhide-bootmenu-10s
    =================== Settings chosen by the user
    Boot-Info
    This setting will not act on the MBR.
    Aucun changement n'a été effectué sur cet ordinateur.

Tu es un vrai champion : ta BCD de Windows (celle qui était utilisée par Windows et qui fonctionnait) se trouvait sur ta partition "réservé au système". Des infos sont données là pour te procurer des outils de réparation qui devraient pouvoir réparer ton démarrage : http://doc.ubuntu-fr.org/comment_recupe … ion_ubuntu
Parmi les commandes présentées qui peuvent réparer ton démarrage, à mon avis, c'est la commande BCDBOOT qui doit pouvoir te dépanner. Des détails sur l'utilisation de cette commande :  http://forum.ubuntu-fr.org/viewtopic.ph … 1#p4431351
mais il est possible qu'une réparation automatique du CD Windows 7 puisse réparer ton démarrage et que tu ne sois pas obligé de recourir à une invite de commande.

A noter : la réparation du démarrage de Windows 7 va entraîner que Grub sera remplacé par le chargeur d'amorçage de Windows 7 dans le MBR : il faudra donc que tu réinstalles Grub dans le MBR après cela pour retrouver la gestion du dual-boot faite par Grub : http://doc.ubuntu-fr.org/tutoriel/comme … aurer_grub

Dernière modification par malbo (Le 05/07/2013, à 17:27)

Hors ligne

#10 Le 06/07/2013, à 11:29

popipe

Re : Windows non détecté dans les partitions (installation 13.04)

Oui je savais qu'en supprimant cette partition ça allait enlever la partie "gestionnaire" de ma mbr mais comme avant elle n'existait pas je me suis dit que mon pc pourrait reprendre celle qui existait dans la partition windows. Enfin bref j'ai utilisé un cd windows 7 pour réparer la MBR, maintenant ça boot correctement !! Seul hic, j'arrive bien au niveau du login windows mais lorsque je rentre mon mot de passe, déja, windows m'indique qu'il prépare le bureau... Insensé... et deuxièmement après cette opération de préparation terminée, je teombe sur un bureau qui ne contient aucune icone et il y a marqué dans le bas à droite votre copie de windows n'est pas authentique.
N'étant pas chez moi je n'avais pas mon CD original, j'ai donc téléchargé une copie de windows 7 parce que je voulais simplement utiliser le réparateur de démarrage, mais je ne comprends pas pourquoi en faisant une simple réparation automatique du démarrage ça aurait modifié ma clé et même mon bureau :-/.

PS : la réparation automatique n'a pas touché au grub mais seulement à la partition windows, en redémarrant j'avait toujours grub qui me proposait windows et en entrant dans le windows du grub ça a bien booté.

Dernière modification par popipe (Le 06/07/2013, à 11:30)

Hors ligne

#11 Le 06/07/2013, à 11:52

malbo

Re : Windows non détecté dans les partitions (installation 13.04)

popipe a écrit :

PS : la réparation automatique n'a pas touché au grub mais seulement à la partition windows

Je n'aurais pas parié un centime là-dessus : j'étais sûr que Windows allait tout saccager. Pour ce qui est de tes petits soucis Windowsiens  (modif de la clé, bureau sans icône, etc..), je te prie de demander de l'aide sur un forum Windows parce qu'ici on est chez nunux, hein ?

Dernière modification par malbo (Le 06/07/2013, à 11:54)

Hors ligne

#12 Le 06/07/2013, à 20:26

popipe

Re : Windows non détecté dans les partitions (installation 13.04)

Merci je suis au courant mais comme on dit, qui ne tente rien n'a rien. Tu aurais pu avoir une solution à tout hasard. wink

[Edit] : je pense qu'une réinstallation complète sera de rigueur.

[Edit du 11/07] : Finalement j'ai réinstallé Windows en entier, ça a viré grub que j'ai récupéré avec le soft EasyBCD sur windows. Les problèmes sont partis. C'était la méthode la plus radicale mais la plus efficace. Bonne continuation.

Dernière modification par popipe (Le 11/07/2013, à 15:19)

Hors ligne