Pages : 1
#1 Le 03/03/2015, à 09:44
- Spirale21
[Résolu] Désinstallation d'ubuntu --> mauvaise MBR
Bonjour,
Alors voilà, je vous explique mon problème. J'ai désinstaller ubuntu en suivant le tutoriel ici (je tiens à préciser que je n'est pas d'UEFI). Ensuite ct le drame.. alors j'ai réinstaller ubuntu 14.04 LTS puis l'ai désinstallé en suivant le tuto d'ubuntu fr, et c'est le drame (encore). J'ai donc respirer fait boot repair puis continuer par un test disk qui n'a rien trouvé de spécial alors que boot repair m'a dit que il y avait un souci au niveau du MBR . Gparted (issu d'un live USB) ne peut pas réparer la MBR. Bref, c'est le gros caca!!! et je compte sur vous pour me le réparer. Les symptômes c'est quand je démarre j'ai juste un curseur clignotant alors que ma partition qui contient Windows 7 est saine...
Je vous donne le rapport de boot repair . Si une personne pouvait m'aider ça serait sympa
Merci
Dernière modification par Spirale21 (Le 04/03/2015, à 21:51)
il y a trois manière de faire: la bonne, la mauvaise et la mienne
Hors ligne
#2 Le 03/03/2015, à 12:04
- maxire
Re : [Résolu] Désinstallation d'ubuntu --> mauvaise MBR
Salut,
Ton boot-info:
Ubuntu Pastebin
Paste from boot-repair at Tue, 3 Mar 2015 07:09:05 +0000
Download as text
Boot Info Script e7fc706 + Boot-Repair extra info [Boot-Info 9Feb2015]
============================= Boot Info Summary: ===============================
=> Testdisk is installed in the MBR of /dev/sda.
=> Syslinux MBR (4.04 and higher) is installed in the MBR of /dev/sdb.
sda1: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows 7/2008: NTFS
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: Grub2 (v1.99-2.00)
Boot sector info: Grub2 (v1.99-2.00) is installed in the boot sector of
sda2 and looks at sector 298266376 of the same hard
drive for core.img, but core.img can not be found at
this location. No errors found in the Boot Parameter
Block.
Operating System: Windows 7
Boot files: /bootmgr /boot/BCD /Windows/System32/winload.exe
sda3: __________________________________________________________________________
File system: Extended Partition
Boot sector type: -
Boot sector info:
sda5: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows 7/2008: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:
sda4: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows 7/2008: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /bootmgr /boot/bcd
sdb1: __________________________________________________________________________
File system: vfat
Boot sector type: SYSLINUX 6.03 2014-10-06................................................2....0............A20 gate n
Boot sector info: Syslinux looks at sector 10490152 of /dev/sdb1 for
its second stage. SYSLINUX is installed in the
directory. No errors found in the Boot Parameter Block.
Operating System:
Boot files: /syslinux/syslinux.cfg /ldlinux.sys
============================ Drive/Partition Info: =============================
Drive: sda _____________________________________________________________________
Disk /dev/sda: 465.8 GiB, 500107862016 bytes, 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
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sda1 2,048 409,599 407,552 7 NTFS / exFAT / HPFS
/dev/sda2 * 409,600 247,661,243 247,251,644 7 NTFS / exFAT / HPFS
/dev/sda3 247,664,638 950,441,983 702,777,346 f W95 Extended (LBA)
/dev/sda5 247,666,688 950,441,983 702,775,296 7 NTFS / exFAT / HPFS
/dev/sda4 950,441,984 976,771,071 26,329,088 7 NTFS / exFAT / HPFS
Drive: sdb _____________________________________________________________________
Disk /dev/sdb: 7.5 GiB, 8036285952 bytes, 15695871 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
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sdb1 * 2,048 15,693,823 15,691,776 b W95 FAT32
"blkid" output: ________________________________________________________________
Device UUID TYPE LABEL
/dev/loop0 squashfs
/dev/loop1 ea448a07-df16-2d4e-a232-396890df3aa3 ext2
/dev/sda1 D26C659D6C657D5B ntfs SYSTEM
/dev/sda2 D0AA1447AA142C8A ntfs Sys_Win7
/dev/sda4 4E2C1AAC2C1A8F59 ntfs RECOVERY
/dev/sda5 B86EBE376EBDEE6E ntfs Tempo
/dev/sdb1 E66B-1F71 vfat MYLINUXLIVE
========================= "ls -l /dev/disk/by-id" output: ======================
total 0
lrwxrwxrwx 1 root root 9 Mar 3 08:07 ata-WDC_WD5000BEVT-60ZAT1_WD-WXB0A89M7545 -> ../../sda
lrwxrwxrwx 1 root root 10 Mar 3 08:08 ata-WDC_WD5000BEVT-60ZAT1_WD-WXB0A89M7545-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Mar 3 08:08 ata-WDC_WD5000BEVT-60ZAT1_WD-WXB0A89M7545-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Mar 3 08:07 ata-WDC_WD5000BEVT-60ZAT1_WD-WXB0A89M7545-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Mar 3 08:08 ata-WDC_WD5000BEVT-60ZAT1_WD-WXB0A89M7545-part4 -> ../../sda4
lrwxrwxrwx 1 root root 10 Mar 3 08:08 ata-WDC_WD5000BEVT-60ZAT1_WD-WXB0A89M7545-part5 -> ../../sda5
lrwxrwxrwx 1 root root 9 Mar 3 08:04 ata-hp_CDDVDW_TS-L633M_R5016GGS841342 -> ../../sr0
lrwxrwxrwx 1 root root 9 Mar 3 08:07 usb-SanDisk_Cruzer_Micro_1232620C809197A3-0:0 -> ../../sdb
lrwxrwxrwx 1 root root 10 Mar 3 08:05 usb-SanDisk_Cruzer_Micro_1232620C809197A3-0:0-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 9 Mar 3 08:07 wwn-0x50014ee2adfa5f9a -> ../../sda
lrwxrwxrwx 1 root root 10 Mar 3 08:08 wwn-0x50014ee2adfa5f9a-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Mar 3 08:08 wwn-0x50014ee2adfa5f9a-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Mar 3 08:07 wwn-0x50014ee2adfa5f9a-part3 -> ../../sda3
lrwxrwxrwx 1 root root 10 Mar 3 08:08 wwn-0x50014ee2adfa5f9a-part4 -> ../../sda4
lrwxrwxrwx 1 root root 10 Mar 3 08:08 wwn-0x50014ee2adfa5f9a-part5 -> ../../sda5
================================ Mount points: =================================
Device Mount_Point Type Options
/dev/loop0 /rofs squashfs (ro,noatime)
/dev/sdb1 /cdrom vfat (rw,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
========================= sdb1/syslinux/syslinux.cfg: ==========================
--------------------------------------------------------------------------------
# D-I config version 2.0
# search path for the c32 support libraries (libcom32, libutil etc.)
path
include menu.cfg
default vesamenu.c32
prompt 0
timeout 50
ui gfxboot bootlogo
--------------------------------------------------------------------------------
============== sdb1: Version of COM32(R) files used by Syslinux: ===============
ldlinux.c32 : not a COM32/COM32R module
syslinux/chain.c32 : not a COM32/COM32R module
syslinux/gfxboot.c32 : not a COM32/COM32R module
syslinux/ldlinux.c32 : not a COM32/COM32R module
syslinux/libcom32.c32 : not a COM32/COM32R module
syslinux/libutil.c32 : not a COM32/COM32R module
syslinux/vesamenu.c32 : not a COM32/COM32R module
=============================== StdErr Messages: ===============================
File descriptor 9 (/proc/4887/mounts) leaked on lvs invocation. Parent PID 11933: bash
File descriptor 63 (pipe:[71738]) leaked on lvs invocation. Parent PID 11933: bash
No volume groups found
ADDITIONAL INFORMATION :
=================== log of boot-repair 2015-03-03__08h07 ===================
boot-repair version : 4ppa33
boot-sav version : 4ppa33
glade2script version : 3.2.2~ppa47~saucy
boot-sav-extra version : 4ppa33
boot-repair is executed in live-session (Ubuntu 14.10, utopic, Ubuntu, i686)
CPU op-mode(s): 32-bit, 64-bit
bootkbd=fr-latin1 console-setup/layoutcode=fr console-setup/variantcode=nodeadkeys locale=fr_FR persistent noprompt cdrom-detect/try-usb=true file=/cdrom/preseed/cli.seed boot=casper initrd=/casper/initrd.lz splash -- maybe-ubiquity
ls: cannot access /home/usr/.config: No such file or directory
=================== os-prober:
/dev/sda1:Windows 7 (loader):Windows:chain
/dev/sda2:Windows 7 (loader):Windows1:chain
/dev/sda4:Windows Recovery Environment (loader):Windows2:chain
=================== blkid:
/dev/sda1: LABEL="SYSTEM" UUID="D26C659D6C657D5B" TYPE="ntfs" PARTUUID="7a4d8351-01"
/dev/sda2: LABEL="Sys_Win7" UUID="D0AA1447AA142C8A" TYPE="ntfs" PARTUUID="7a4d8351-02"
/dev/sda4: LABEL="RECOVERY" UUID="4E2C1AAC2C1A8F59" TYPE="ntfs" PARTUUID="7a4d8351-04"
/dev/sda5: LABEL="Tempo" UUID="B86EBE376EBDEE6E" TYPE="ntfs" PARTUUID="7a4d8351-05"
/dev/sdb1: LABEL="MYLINUXLIVE" UUID="E66B-1F71" TYPE="vfat" PARTUUID="000b5349-01"
/dev/loop0: TYPE="squashfs"
/dev/loop1: UUID="ea448a07-df16-2d4e-a232-396890df3aa3" TYPE="ext2"
1 disks with OS, 3 OS : 0 Linux, 0 MacOS, 3 Windows, 0 unknown type OS.
sfdisk: Warning: extended partition does not start at a cylinder boundary.
DOS and Linux will interpret the contents differently.
=================== UEFI/Legacy mode:
This live-session is not EFI-compatible.
SecureBoot maybe enabled.
=================== PARTITIONS & DISKS:
sda1 : 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, no-winload, no-recov-nor-hid, bootmgr, is-winboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, not-far, /mnt/boot-sav/sda1.
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, farbios, /media/ubuntu-gnome/Sys_Win7.
sda4 : 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, no-winload, recovery-or-hidden, bootmgr, is-winboot, nopakmgr, nogrubinstall, no---usr, part-has-no-fstab, not-sep-usr, standard, farbios, /mnt/boot-sav/sda4.
sda5 : 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/sda5.
sda : not-GPT, BIOSboot-not-needed, has-no-EFIpart, not-usb, has-os, 2048 sectors * 512 bytes
=================== parted -l:
Model: ATA WDC WD5000BEVT-6 (scsi)
Disk /dev/sda: 500GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 1049kB 210MB 209MB primary ntfs
2 210MB 127GB 127GB primary ntfs boot
3 127GB 487GB 360GB extended lba
5 127GB 487GB 360GB logical ntfs
4 487GB 500GB 13.5GB primary ntfs
Model: SanDisk Cruzer Micro (scsi)
Disk /dev/sdb: 8036MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 1049kB 8035MB 8034MB primary fat32 boot
=================== parted -lm:
BYT;
/dev/sda:500GB:scsi:512:512:msdos:ATA WDC WD5000BEVT-6:;
1:1049kB:210MB:209MB:ntfs::;
2:210MB:127GB:127GB:ntfs::boot;
3:127GB:487GB:360GB:::lba;
5:127GB:487GB:360GB:ntfs::;
4:487GB:500GB:13.5GB:ntfs::;
BYT;
/dev/sdb:8036MB:scsi:512:512:msdos:SanDisk Cruzer Micro:;
1:1049kB:8035MB:8034MB:fat32::boot;
=================== lsblk:
KNAME TYPE FSTYPE SIZE LABEL MODEL UUID
sda disk 465,8G WDC WD5000BEVT-6
sda1 part ntfs 199M SYSTEM D26C659D6C657D5B
sda2 part ntfs 117,9G Sys_Win7 D0AA1447AA142C8A
sda3 part 1K
sda4 part ntfs 12,6G RECOVERY 4E2C1AAC2C1A8F59
sda5 part ntfs 335,1G Tempo B86EBE376EBDEE6E
sdb disk 7,5G Cruzer Micro
sdb1 part vfat 7,5G MYLINUXLIVE E66B-1F71
sr0 rom 1024M CDDVDW TS-L633M
loop0 loop squashfs 978,8M
loop1 loop ext2 4G ea448a07-df16-2d4e-a232-396890df3aa3
KNAME ROTA RO RM STATE MOUNTPOINT
sda 1 0 0 running
sda1 1 0 0 /mnt/boot-sav/sda1
sda2 1 0 0 /media/ubuntu-gnome/Sys_Win7
sda3 1 0 0
sda4 1 0 0 /mnt/boot-sav/sda4
sda5 1 0 0 /mnt/boot-sav/sda5
sdb 1 0 1 running
sdb1 1 0 1 /cdrom
sr0 1 0 1 running
loop0 1 1 0 /rofs
loop1 1 0 0
=================== mount:
/cow on / type overlayfs (rw)
proc on /proc type proc (rw,nodev,noexec,nosuid)
sysfs on /sys type sysfs (rw,nodev,noexec,nosuid)
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)
/dev/sdb1 on /cdrom type vfat (rw,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/loop0 on /rofs type squashfs (ro,noatime)
none on /sys/fs/cgroup type tmpfs (rw,uid=0,gid=0,mode=0755,size=1024)
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)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev)
none on /run/lock type tmpfs (rw,nodev,noexec,nosuid,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
none on /run/user type tmpfs (rw,nodev,noexec,nosuid,size=104857600,mode=0755)
none on /sys/fs/pstore type pstore (rw)
systemd on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,noexec,nodev,none,name=systemd)
gvfsd-fuse on /run/user/999/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,user=ubuntu-gnome)
/dev/sda2 on /media/ubuntu-gnome/Sys_Win7 type fuseblk (rw,nosuid,nodev,allow_other,default_permissions,blksize=4096)
/dev/sda1 on /mnt/boot-sav/sda1 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
/dev/sda4 on /mnt/boot-sav/sda4 type fuseblk (rw,nosuid,nodev,allow_other,blksize=4096)
/dev/sda5 on /mnt/boot-sav/sda5 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 sda4 sda5 size slaves stat subsystem trace uevent
/sys/block/sdb (filtered): alignment_offset bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight power queue range removable ro sdb1 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): block bsg btrfs-control bus cdrom cdrw char console core cpu cpu_dma_latency disk dri dvd dvdrw ecryptfs fb0 fd full fuse hpet input kmsg log mapper mcelog media0 mem net network_latency network_throughput null port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda2 sda3 sda4 sda5 sdb sdb1 sg0 sg1 sg2 shm snapshot snd sr0 stderr stdin stdout uinput urandom v4l vga_arbiter video0 zero
ls /dev/mapper: control
=================== hexdump -n512 -C /dev/sda1
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 ff 37 06 00 00 00 00 00 |.........7......|
00000030 55 42 00 00 00 00 00 00 02 00 00 00 00 00 00 00 |UB..............|
00000040 f6 00 00 00 01 00 00 00 5b 7d 65 6c 9d 65 6c d2 |........[}el.el.|
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 41 20 |t.............A |
00000190 64 69 73 6b 20 72 65 61 64 20 65 72 72 6f 72 20 |disk read error |
000001a0 6f 63 63 75 72 72 65 64 00 0d 0a 42 4f 4f 54 4d |occurred...BOOTM|
000001b0 47 52 20 69 73 20 6d 69 73 73 69 6e 67 00 0d 0a |GR is missing...|
000001c0 42 4f 4f 54 4d 47 52 20 69 73 20 63 6f 6d 70 72 |BOOTMGR is compr|
000001d0 65 73 73 65 64 00 0d 0a 50 72 65 73 73 20 43 74 |essed...Press Ct|
000001e0 72 6c 2b 41 6c 74 2b 44 65 6c 20 74 6f 20 72 65 |rl+Alt+Del to re|
000001f0 73 74 61 72 74 0d 0a 00 8c a9 be d6 00 00 55 aa |start.........U.|
00000200
=================== hexdump -n512 -C /dev/sda2
00000000 eb 63 90 4e 54 46 53 20 20 20 20 00 02 08 00 00 |.c.NTFS .....|
00000010 00 00 00 00 00 f8 00 00 3f 00 ff 00 00 40 06 00 |........?....@..|
00000020 00 00 00 00 80 00 80 00 b0 c2 bc 0e 00 00 00 00 |................|
00000030 00 00 0c 00 00 00 00 00 ff ff 73 00 00 00 00 00 |..........s.....|
00000040 f6 00 00 00 01 00 00 00 8a 2c 14 aa 47 14 aa d0 |.........,..G...|
00000050 00 00 00 00 fa 33 c0 8e d0 bc 00 80 08 2f c7 11 |.....3......./..|
00000060 00 00 00 00 ff fa 90 90 f6 c2 80 74 05 f6 c2 70 |...........t...p|
00000070 74 02 b2 80 ea 79 7c 00 00 31 c0 8e d8 8e d0 bc |t....y|..1......|
00000080 00 20 fb a0 64 7c 3c ff 74 02 88 c2 52 bb 17 04 |. ..d|<.t...R...|
00000090 f6 07 03 74 06 be 88 7d e8 17 01 be 05 7c b4 41 |...t...}.....|.A|
000000a0 bb aa 55 cd 13 5a 52 72 3d 81 fb 55 aa 75 37 83 |..U..ZRr=..U.u7.|
000000b0 e1 01 74 32 31 c0 89 44 04 40 88 44 ff 89 44 02 |..t21..D.@.D..D.|
000000c0 c7 04 10 00 66 8b 1e 5c 7c 66 89 5c 08 66 8b 1e |....f..|f..f..|
000000d0 60 7c 66 89 5c 0c c7 44 06 00 70 b4 42 cd 13 72 |`|f...D..p.B..r|
000000e0 05 bb 00 70 eb 76 b4 08 cd 13 73 0d 5a 84 d2 0f |...p.v....s.Z...|
000000f0 83 d0 00 be 93 7d e9 82 00 66 0f b6 c6 88 64 ff |.....}...f....d.|
00000100 40 66 89 44 04 0f b6 d1 c1 e2 02 88 e8 88 f4 40 |@f.D...........@|
00000110 89 44 08 0f b6 c2 c0 e8 02 66 89 04 66 a1 60 7c |.D.......f..f.`||
00000120 66 09 c0 75 4e 66 a1 5c 7c 66 31 d2 66 f7 34 88 |f..uNf.|f1.f.4.|
00000130 d1 31 d2 66 f7 74 04 3b 44 08 7d 37 fe c1 88 c5 |.1.f.t.;D.}7....|
00000140 30 c0 c1 e8 02 08 c1 88 d0 5a 88 c6 bb 00 70 8e |0........Z....p.|
00000150 c3 31 db b8 01 02 cd 13 72 1e 8c c3 60 1e b9 00 |.1......r...`...|
00000160 01 8e db 31 f6 bf 00 80 8e c6 fc f3 a5 1f 61 ff |...1..........a.|
00000170 26 5a 7c be 8e 7d eb 03 be 9d 7d e8 34 00 be a2 |&Z|..}....}.4...|
00000180 7d e8 2e 00 cd 18 eb fe 47 52 55 42 20 00 47 65 |}.......GRUB .Ge|
00000190 6f 6d 00 48 61 72 64 20 44 69 73 6b 00 52 65 61 |om.Hard Disk.Rea|
000001a0 64 00 20 45 72 72 6f 72 0d 0a 00 bb 01 00 b4 0e |d. Error........|
000001b0 cd 10 ac 3c 00 75 f4 c3 73 73 69 6e 67 00 0d 0a |...<.u..ssing...|
000001c0 42 4f 4f 54 4d 47 52 20 69 73 20 63 6f 6d 70 72 |BOOTMGR is compr|
000001d0 65 73 73 65 64 00 0d 0a 50 72 65 73 73 20 43 74 |essed...Press Ct|
000001e0 72 6c 2b 41 6c 74 2b 44 65 6c 20 74 6f 20 72 65 |rl+Alt+Del to re|
000001f0 73 74 61 72 74 0d 0a 00 8c a9 be d6 00 00 55 aa |start.........U.|
00000200
=================== hexdump -n512 -C /dev/sda4
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 98 a6 38 |........?......8|
00000020 00 00 00 00 80 00 80 00 ff bf 91 01 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 59 8f 1a 2c ac 1a 2c 4e |........Y..,..,N|
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/sda5
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 18 c3 0e |........?.......|
00000020 00 00 00 00 80 00 80 00 f8 7f e3 29 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 6e ee bd 6e 37 be 6e b8 |........n..n7.n.|
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
=================== df -Th:
Filesystem Type Size Used Avail Use% Mounted on
/cow overlayfs 3.9G 1.2G 2.6G 32% /
udev devtmpfs 2.0G 4.0K 2.0G 1% /dev
tmpfs tmpfs 402M 1.1M 401M 1% /run
/dev/sdb1 vfat 7.5G 5.6G 2.0G 74% /cdrom
/dev/loop0 squashfs 979M 979M 0 100% /rofs
none tmpfs 4.0K 0 4.0K 0% /sys/fs/cgroup
tmpfs tmpfs 2.0G 4.0K 2.0G 1% /tmp
none tmpfs 5.0M 4.0K 5.0M 1% /run/lock
none tmpfs 2.0G 80K 2.0G 1% /run/shm
none tmpfs 100M 28K 100M 1% /run/user
/dev/sda2 fuseblk 118G 89G 30G 76% /media/ubuntu-gnome/Sys_Win7
/dev/sda1 fuseblk 199M 30M 170M 15% /mnt/boot-sav/sda1
/dev/sda4 fuseblk 13G 11G 2.2G 84% /mnt/boot-sav/sda4
/dev/sda5 fuseblk 336G 38G 298G 12% /mnt/boot-sav/sda5
=================== fdisk -l:
Disk /dev/loop0: 978.8 MiB, 1026355200 bytes, 2004600 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 /dev/loop1: 4 GiB, 4288675840 bytes, 8376320 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 /dev/sda: 465.8 GiB, 500107862016 bytes, 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
Disklabel type: dos
Disk identifier: 0x7a4d8351
Device Boot Start End Sectors Size Id Type
/dev/sda1 2048 409599 407552 199M 7 HPFS/NTFS/exFAT
/dev/sda2 * 409600 247661243 247251644 117.9G 7 HPFS/NTFS/exFAT
/dev/sda3 247664638 950441983 702777346 335.1G f W95 Ext'd (LBA)
/dev/sda4 950441984 976771071 26329088 12.6G 7 HPFS/NTFS/exFAT
/dev/sda5 247666688 950441983 702775296 335.1G 7 HPFS/NTFS/exFAT
Partition table entries are not in disk order.
Disk /dev/sdb: 7.5 GiB, 8036285952 bytes, 15695871 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
Disklabel type: dos
Disk identifier: 0x000b5349
Device Boot Start End Sectors Size Id Type
/dev/sdb1 * 2048 15693823 15691776 7.5G b W95 FAT32
No OS or WinEFI system
No OS or WinEFI system
=================== Recommended repair
The default repair of the Boot-Repair utility will not act on the MBR.
Additional repair will be performed: repair-filesystems
Force Unmount all blkid partitions (for fsck) except / /boot /cdrom /dev /etc /home /opt /pas /proc /rofs /sys /tmp /usr /var
ntfsfix /dev/sda1
Refusing to operate on read-write mounted device /dev/sda1.
ntfsfix /dev/sda2
Mounting volume... SET@_progressbar1.pulse()
OK
Processing of $MFT and $MFTMirr completed successfully.
Checking the alternate boot sector... FIXED
NTFS volume version is 3.1.
NTFS partition /dev/sda2 was processed successfully.
ntfsfix /dev/sda4
Refusing to operate on read-write mounted device /dev/sda4.
ntfsfix /dev/sda5
Refusing to operate on read-write mounted device /dev/sda5.
Le démarrage de l'ordinateur a été correctement réparé.
Vous pouvez maintenant redémarrer votre ordinateur.
Download as text
Le problème est visible ici:
sda2: __________________________________________________________________________
File system: ntfs
Boot sector type: Grub2 (v1.99-2.00)
Boot sector info: Grub2 (v1.99-2.00) is installed in the boot sector of
sda2 and looks at sector 298266376 of the same hard
drive for core.img, but core.img can not be found at
this location. No errors found in the Boot Parameter
Block.
Le secteur de boot de la partition doit être réparé.
Lors de la première tentative de réparation du démarrage windows par fixmbr, seule la moitié du travail fut réalisé.
Il aurait fallu en plus appliquer une commande équivalente au fixboot de Windows XP, sous Windows 7 j'ignore quelle commande appliquer.
En fait tout est expliqué ici.
Il te reste à trouver un cd de démarrage Windows 7.
Maxire
Archlinux/Mate + Ubuntu 22.04 + Archlinux/Gnome sur poste de travail
Hors ligne
#3 Le 03/03/2015, à 12:47
- Spirale21
Re : [Résolu] Désinstallation d'ubuntu --> mauvaise MBR
Merci de ta réponse rapide et de ton lien
Il te reste à trouver un cd de démarrage Windows 7.
Je savais bien que c'était trop beau, je n'ai aucun CD alors vous pouvez me le dire: j'ai l'air fin en me croyant plus malin que tout le monde, de croire que je n'ai pas besoin de DVD de restauration...
-Où puis je trouver des CD de boot windows 7 ?
- Peux -t-on faire qqch avec le live USB de linux?
il y a trois manière de faire: la bonne, la mauvaise et la mienne
Hors ligne
#4 Le 03/03/2015, à 12:55
- Ayral
Re : [Résolu] Désinstallation d'ubuntu --> mauvaise MBR
Peut être avec le Ultimate boot CD de windows ?
Je ne sais pas ce qu'en pensent les autres.
C'est vrai que c'est mis partout dans la doc et le forum : avoir le cd de restauration.
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 03/03/2015, à 13:09
- maxire
Re : [Résolu] Désinstallation d'ubuntu --> mauvaise MBR
La première partition /dev/sda1 doit être la partition Recovery de Windows, il devrait être possible de démarrer dessus, je n'en suis pas certain, mes connaissances Windows sont limitées.
Les commandes de réparation bootrec et compagnie devraient alors être disponibles.
Il devrait être possible de démarrer sur sda1 en utilisant grub comme ceci en ligne de commandes:
grub> set root=(hd0,msdos1)
grub> chainloader +1
grub> boot
Changer hd0 par hd1 si nécessaire.
Ceci est sans garantie, je n'ai jamais essayé de démarrer une partition Windows Recovery de cette manière.
La solution proposée par Ayral semble intéressante.
Maxire
Archlinux/Mate + Ubuntu 22.04 + Archlinux/Gnome sur poste de travail
Hors ligne
#6 Le 03/03/2015, à 13:13
- Spirale21
Re : [Résolu] Désinstallation d'ubuntu --> mauvaise MBR
Merci je télécharge UBCD pour windows j'attends...
maxire j'aurai bien essayer alors avant j'avais
grub rescue>
maintenant je n'ai plus qu'un curseur clignotant et un écran noir...
il y a trois manière de faire: la bonne, la mauvaise et la mienne
Hors ligne
#7 Le 04/03/2015, à 21:50
- Spirale21
Re : [Résolu] Désinstallation d'ubuntu --> mauvaise MBR
alors je me réponds à moi même car mon problème est résolu. J'explique (ça peut en aider d'autre), déjà j'ai réinstaller Ubuntu pour pouvoir booter sur mon windows (ça marche). Suite au post de maxire j'e ai profité pour faire un disque de récupération système et une image disque (ça m'a rassuré). Ensuite j'ai suivi ce tuto pour désinstaller proprement Ubuntu. Ensuite avec mon disque système windows 7, j'ai pu suivre le tuto de Microsoft (recommendé par Maxire)..rien j'ai essayer
Bootrec.exe /FixMbr
Bootrec.exe /FIXBOOT
dans la console windows.....rien!!
Ensuite comme j'avais des sauvegardes de mes données, j'étais plus libre pour mes expériences. donc voilà en résumé:
- Graver l'ISO de UBCD (Ultimate Boot CD) moi je l'ai prise là
- Booter l'ordi sur le CD
- Choisir HDD>Boot Management>Super Grub2 Disk
- Choisir l'option Everything
- Essayer de booter dans tout les options de Opérating system et voir celui qui est le bon: noter ce qu'il y a () moi c'était (HD0, Msdos1)
- toujours dans Super Grub2 Disk choisir l'option List devices/partition et noter le label correspondant à ce que l'on a noter à l'étape précédente: moi c'était 'SYSTEM'
- Redémarrer l'ordi et choisir de booter sur le CD
- Choisir Parted Magic [...] F1 for more Information
- Choisir éditer ses partitions (c'est l'utilitaire Gparted)
- Enlever le drapeaux (flag en Anglais) boot (Partition>Flag )de toute les partitions
- Remettre un drapeaux boot sur la partition qui nous intéresse
- Redémarrer l'ordinateur
Moi j'ai démarrer deux fois l'ordi (histoire d'être sur) et ça marche pour moi..
Leçon: Faire des sauvegardes (ce qui permet d'être plus à l'aise pour la suite en cas de )
Mais un grand merci à maxire et Ayral pour UBCD..
il y a trois manière de faire: la bonne, la mauvaise et la mienne
Hors ligne
#8 Le 04/03/2015, à 21:56
- Ayral
Re : [Résolu] Désinstallation d'ubuntu --> mauvaise MBR
Merci beaucoup d'avoir pris le temps de détailler ta procédure, ça servira à d'autres.
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
#9 Le 04/03/2015, à 22:08
- maxire
Re : [Résolu] Désinstallation d'ubuntu --> mauvaise MBR
En fait je pense que les 2 bootrec.exe ont été utiles, le premier pour restaurer le secteur de démarrage disque, le deuxième pour celui du démarrage partition (pas certain, je me demande si il n'aurait pas fallu préciser le lecteur c: ), mais il manquait encore le drapeau boot sur la partition sytème de Windows ce qui a été fait à l'aide de UBCD.
Content que tu t'en sois tiré si bien.
Maxire
Archlinux/Mate + Ubuntu 22.04 + Archlinux/Gnome sur poste de travail
Hors ligne
#10 Le 05/03/2015, à 11:00
- maxire
Re : [Résolu] Désinstallation d'ubuntu --> mauvaise MBR
À la réflexion, après avoir lu cet article Wikipedia System partition and boot partition, j'ai à tort suspecté le secteur de boot de la partition /dev/sda2 qui en réalité n'est pas utilisé dans la séquence de démarrage normale de Windows 7.
Il aurait suffi de démarrer une live-usb Ubuntu et de mettre le flag boot à la partition système Windows /dev/sda1, la partition /dev/sda2 n'étant que la partition boot hébergeant le système d'exploitation.
Ceci avec un outil quelconque de partitionnement fdisk ou gparted.
Le Master Boot Record Windows se contente de rechercher la partition primaire active puis donne la main au Volume Boot Record localisé dans le premier secteur de la dite partition active.
Dans le cas de Win 7 c'est alors le chargeur de démarrage BCD qui va lancer Win 7 localisé ici en /dev/sda2.
Décidément, Windows est particulièrement tordu.
Maxire
Archlinux/Mate + Ubuntu 22.04 + Archlinux/Gnome sur poste de travail
Hors ligne
Pages : 1