#1 Le 07/08/2017, à 18:37
- nerb33
Problèmes de réparation de grub suite réinstallation de windows
je ne peux plus démarrer ubuntu suite à la réinstallation de windows 7 sur l'ancienne partition windows que j'avais sur le PC.
Malgré les tentatives de réparation avec une live-usb et boot-repair, cela ne marche toujours pas.
Le fichier de boot-log est à l'adresse: http://paste.ubuntu.com/25263948/
Si vous avez des idées, je suis preneur, Merci.
Hors ligne
#2 Le 07/08/2017, à 18:57
- lucmars
Re : Problèmes de réparation de grub suite réinstallation de windows
Voici ton rappory
ADDITIONAL INFORMATION :
=================== log of boot-repair 2017-08-07__16h22 ===================
boot-repair version : 4ppa40
boot-sav version : 4ppa14
glade2script version : 3.2.2~ppa47~saucy
boot-sav-extra version : 4ppa14
File descriptor 9 (/proc/8631/mounts) leaked on lvs invocation. Parent PID 10348: /bin/sh
No volume groups found
boot-repair is executed in live-session (Boot-Repair-Disk 64bit 29nov2014, trusty, Ubuntu, x86_64)
ls: cannot access /home/usr/.config: No such file or directory
CPU op-mode(s): 32-bit, 64-bit
initrd=/casper/initrd.lz file=/cdrom/preseed/lubuntu.seed boot=casper quiet splash -- BOOT_IMAGE=/casper/vmlinuz.efi
=================== os-prober:
/dev/sda2:Windows 7 (loader):Windows:chain
=================== blkid:
/dev/loop0: TYPE="squashfs"
/dev/sda1: SEC_TYPE="msdos" LABEL="DellUtility" UUID="5450-4444" TYPE="vfat"
/dev/sda2: UUID="00FD211F63FDC3D7" TYPE="ntfs"
/dev/sda5: UUID="1270af9d-e8fe-4e90-981e-e69bace35bed" TYPE="swap"
/dev/sdb1: LABEL="USB DISK" UUID="E460-DF5F" TYPE="vfat"
/dev/zram0: UUID="13e5ba2a-6dd3-4810-8347-41f652e42aa0" TYPE="swap"
/dev/zram1: UUID="141e3472-6c7b-4985-8c36-1495517386fb" TYPE="swap"
/dev/zram2: UUID="44b54e7e-b1ec-440f-8946-ace1252453c1" TYPE="swap"
/dev/zram3: UUID="f0c549f8-1408-48c5-a6a0-072eab1b210c" TYPE="swap"
/dev/zram4: UUID="bba3f55f-86c8-4460-8dbe-ae01ccb8a6a1" TYPE="swap"
/dev/zram5: UUID="b68e8f00-c2c5-4a92-b730-6cde36138763" TYPE="swap"
/dev/zram6: UUID="f3bd37f0-3d8d-4be9-a780-246621d599e3" TYPE="swap"
/dev/zram7: UUID="b1bd8d0b-0564-4b32-803e-2fcb7be0e469" TYPE="swap"
1 disks with OS, 1 OS : 0 Linux, 0 MacOS, 1 Windows, 0 unknown type OS.
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 in EFI-mode.
SecureBoot maybe enabled.
=================== PARTITIONS & DISKS:
sda1 : 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, 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, /mnt/boot-sav/sda2.
sda : not-GPT, BIOSboot-not-needed, has-no-EFIpart, not-usb, has-os, 63 sectors * 512 bytes
=================== parted -l:
Model: ATA ST1000LM014-1EJ1 (scsi)
Disk /dev/sda: 1000GB
Sector size (logical/physical): 512B/4096B
Partition Table: msdos
Number Start End Size Type File system Flags
1 32.3kB 41.1MB 41.1MB primary fat16 diag
2 41.9MB 529GB 529GB primary ntfs boot
3 529GB 1000GB 471GB extended
5 992GB 1000GB 8489MB logical linux-swap(v1)
Model: USB DISK 2.0 (scsi)
Disk /dev/sdb: 7747MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 4129kB 7747MB 7743MB primary fat32 boot
Error: /dev/zram0: unrecognised disk label
Error: /dev/zram1: unrecognised disk label
Error: /dev/zram2: unrecognised disk label
Error: /dev/zram3: unrecognised disk label
Error: /dev/zram4: unrecognised disk label
Error: /dev/zram5: unrecognised disk label
Error: /dev/zram6: unrecognised disk label
Error: /dev/zram7: unrecognised disk label
=================== parted -lm:
BYT;
/dev/sda:1000GB:scsi:512:4096:msdos:ATA ST1000LM014-1EJ1;
1:32.3kB:41.1MB:41.1MB:fat16::diag;
2:41.9MB:529GB:529GB:ntfs::boot;
3:529GB:1000GB:471GB:::;
5:992GB:1000GB:8489MB:linux-swap(v1)::;
BYT;
/dev/sdb:7747MB:scsi:512:512:msdos: USB DISK 2.0;
1:4129kB:7747MB:7743MB:fat32::boot;
Error: /dev/zram0: unrecognised disk label
Error: /dev/zram1: unrecognised disk label
Error: /dev/zram2: unrecognised disk label
Error: /dev/zram3: unrecognised disk label
Error: /dev/zram4: unrecognised disk label
Error: /dev/zram5: unrecognised disk label
Error: /dev/zram6: unrecognised disk label
Error: /dev/zram7: unrecognised disk label
=================== mount:
/cow on / type overlayfs (rw)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
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 (ro,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)
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,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)
none on /sys/fs/pstore type pstore (rw)
systemd on /sys/fs/cgroup/systemd type cgroup (rw,noexec,nosuid,nodev,none,name=systemd)
gvfsd-fuse on /run/user/999/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,user=lubuntu)
/dev/sda1 on /mnt/boot-sav/sda1 type vfat (rw)
/dev/sda2 on /mnt/boot-sav/sda2 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 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): autofs block bsg btrfs-control bus cdrom char console core cpu cpu_dma_latency cuse disk dri ecryptfs fb0 fb1 fd full fuse hidraw0 hidraw1 hidraw2 hpet input kmsg kvm log mapper mcelog mei mem net network_latency network_throughput null port ppp psaux ptmx ptp0 pts random rfkill rtc rtc0 sda sda1 sda2 sda3 sda5 sdb sdb1 sg0 sg1 sg2 shm snapshot snd sr0 stderr stdin stdout uhid uinput urandom usb v4l vga_arbiter vhci vhost-net video0 watchdog watchdog0 zero
ls /dev/mapper: control
=================== hexdump -n512 -C /dev/sda1
00000000 eb 4a 90 44 45 4c 4c 20 34 2e 31 00 02 04 01 00 |.J.DELL 4.1.....|
00000010 02 00 02 00 00 f8 4f 00 3f 00 ff 00 3f 00 00 00 |......O.?...?...|
00000020 86 39 01 00 80 01 29 44 44 50 54 44 65 6c 6c 55 |.9....)DDPTDellU|
00000030 74 69 6c 69 74 79 46 41 54 31 36 20 20 20 10 00 |tilityFAT16 ..|
00000040 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000050 00 00 00 00 00 00 33 c0 8e d0 bc 00 07 fc b9 80 |......3.........|
00000060 00 8e d8 be 00 7c b8 00 20 8e c0 33 ff f3 66 a5 |.....|.. ..3..f.|
00000070 ea 75 00 00 20 8e d8 be cc 01 b8 01 02 b9 01 00 |.u.. ...........|
00000080 b6 00 8a 16 24 00 bb 00 02 cd 13 0f 82 0c 01 80 |....$...........|
00000090 3e c2 03 06 74 0e c6 06 c2 03 06 b8 01 03 cd 13 |>...t...........|
000000a0 0f 82 f7 00 66 0f b7 06 0e 00 66 03 06 1c 00 66 |....f.....f....f|
000000b0 0f b7 0e 16 00 66 d1 e1 66 03 c1 66 a3 46 00 66 |.....f..f..f.F.f|
000000c0 0f b7 0e 11 00 89 0e 52 00 83 c1 0f c1 e9 04 88 |.......R........|
000000d0 0e 40 00 66 03 c1 66 a3 4e 00 b8 00 30 a3 44 00 |.@.f..f.N...0.D.|
000000e0 8e c0 e8 d4 00 33 db b9 0b 00 be e1 01 8b fb f3 |.....3..........|
000000f0 a6 74 0f 83 c3 20 ff 0e 52 00 75 eb be d7 01 e9 |.t... ..R.u.....|
00000100 99 00 26 8b 47 1a a3 54 00 a1 16 00 a3 52 00 66 |..&.G..T.....R.f|
00000110 0f b7 06 0e 00 66 03 06 1c 00 66 a3 46 00 a1 52 |.....f....f.F..R|
00000120 00 3d 40 00 76 02 b0 40 a2 40 00 e8 8b 00 66 0f |.=@.v..@.@....f.|
00000130 b6 06 40 00 66 01 06 46 00 29 06 52 00 74 09 c1 |..@.f..F.).R.t..|
00000140 e0 05 01 06 44 00 eb d6 c7 06 44 00 70 00 a0 0d |....D.....D.p...|
00000150 00 a2 40 00 66 0f b7 06 54 00 66 83 e8 02 66 0f |..@.f...T.f...f.|
00000160 b6 0e 0d 00 66 f7 e1 66 03 06 4e 00 66 a3 46 00 |....f..f..N.f.F.|
00000170 e8 46 00 8b 36 54 00 b8 00 30 d1 e6 73 03 05 00 |.F..6T...0..s...|
00000180 10 8e c0 26 ad 3d f8 ff 73 16 a3 54 00 0f b6 06 |...&.=..s..T....|
00000190 0d 00 c1 e0 09 01 06 42 00 eb b9 e8 0d 00 eb fe |.......B........|
000001a0 8a 16 24 00 33 ed ea 00 00 70 00 b4 0e ac bb 07 |..$.3....p......|
000001b0 00 cd 10 80 3c 00 75 f3 c3 b4 42 8a 16 24 00 be |....<.u...B..$..|
000001c0 3e 00 cd 13 72 01 c3 be cc 01 eb cf 44 69 73 6b |>...r.......Disk|
000001d0 20 65 72 72 6f 72 00 4e 6f 20 6c 6f 61 64 65 72 | error.No loader|
000001e0 00 44 45 4c 4c 42 49 4f 20 42 49 4e 00 00 00 00 |.DELLBIO BIN....|
000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
00000200
=================== 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 40 01 00 |........?....@..|
00000020 00 00 00 00 80 00 80 00 ff 87 8c 3d 00 00 00 00 |...........=....|
00000030 04 00 00 00 00 00 00 00 7f c8 d8 03 00 00 00 00 |................|
00000040 f6 00 00 00 01 00 00 00 d7 c3 fd 63 1f 21 fd 00 |...........c.!..|
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
=================== df -Th:
Filesystem Type Size Used Avail Use% Mounted on
/cow overlayfs 3.9G 58M 3.8G 2% /
udev devtmpfs 3.9G 12K 3.9G 1% /dev
tmpfs tmpfs 790M 1.3M 788M 1% /run
/dev/sdb1 vfat 7.3G 676M 6.6G 10% /cdrom
/dev/loop0 squashfs 549M 549M 0 100% /rofs
none tmpfs 4.0K 0 4.0K 0% /sys/fs/cgroup
tmpfs tmpfs 3.9G 8.0K 3.9G 1% /tmp
none tmpfs 5.0M 0 5.0M 0% /run/lock
none tmpfs 3.9G 0 3.9G 0% /run/shm
none tmpfs 100M 16K 100M 1% /run/user
/dev/sda1 vfat 40M 116K 39M 1% /mnt/boot-sav/sda1
/dev/sda2 fuseblk 493G 14G 480G 3% /mnt/boot-sav/sda2
=================== fdisk -l:
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 / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x555c7d29
Device Boot Start End Blocks Id System
/dev/sda1 63 80324 40131 de Dell Utility
Partition 1 does not start on physical sector boundary.
/dev/sda2 * 81920 1032701951 516310016 7 HPFS/NTFS/exFAT
/dev/sda3 1032703998 1953523711 460409857 5 Extended
Partition 3 does not start on physical sector boundary.
/dev/sda5 1936943104 1953523711 8290304 82 Linux swap / Solaris
Disk /dev/sdb: 7746 MB, 7746879488 bytes
41 heads, 41 sectors/track, 9000 cylinders, total 15130624 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: 0x689c936b
Device Boot Start End Blocks Id System
/dev/sdb1 * 8064 15130623 7561280 b W95 FAT32
=================== Suggested repair
The default repair of the Boot-Repair utility would restore the [(generic mbr)] MBR in sda, and make it boot on sda2.
Additional repair would be performed: unhide-bootmenu-10s
=================== User settings
The settings chosen by the user will not act on the boot.
De ce que j'en vois là:
=================== parted -l:
Model: ATA ST1000LM014-1EJ1 (scsi)
Disk /dev/sda: 1000GB
Sector size (logical/physical): 512B/4096B
Partition Table: msdos
Number Start End Size Type File system Flags
1 32.3kB 41.1MB 41.1MB primary fat16 diag
2 41.9MB 529GB 529GB primary ntfs boot
3 529GB 1000GB 471GB extended
5 992GB 1000GB 8489MB logical linux-swap(v1
Ta partition etendue n'a plus que la swap linux, ubu a disparu (merci Bill ou bien t'as merdé Nerb).
Avec ta clef/dvd en mode "essayer", supprimer avec gparted deverouilles ta swap et supprimes-là ; puis supprimes ta partition étendue.
Après en mode "installer", tu optes pour "installer à cotés de windows" (si il ne le te propose pas, t'abandonne et tu post ici).
Gaulois Matter !
Hors ligne
#3 Le 08/08/2017, à 11:03
- nerb33
Re : Problèmes de réparation de grub suite réinstallation de windows
Merci lucmars pour ta réponse rapide, cela fait plaisir de trouver des gens prêt à aider.
Désolé pour ma réponse en retard, j'ai laissé tomber le sujet hier pour gérer d'autre trucs et je m'y suis remis ce matin, j'ai essayé ce que tu m'as proposé à savoir démarrer en mode essai puis supprimer la partition swap et la partition étendue puis démarrer en mode install, et il me propose bien d'installer à cotés de Windows7 ;-) , néanmoins j'ai un petit doute et une petite question:
Si je continue, est ce que cela me réinstallera ubuntu from scratch en perdant l'ancien avec tous les packages installés et documents car une fenêtre s'affiche en m'indiquant que les partitions swap et ext4 seront formatés ceux la correspondent aux partitions sur lesquelles étaient installés ubuntu auparavant? car dans ce cas la j'opterai plutôt pour l'installation de la dernière version 17.04 au lieu de celle que j'avais déjà.
Hors ligne
#4 Le 08/08/2017, à 18:49
- lucmars
Re : Problèmes de réparation de grub suite réinstallation de windows
Ce n'est pas une question de version : en réinstallant windows ce con t'as supprimé ubu avec tout son contenu.
À croire qu'il le fait exprès.
Gaulois Matter !
Hors ligne
#5 Le 08/08/2017, à 19:01
- nerb33
Re : Problèmes de réparation de grub suite réinstallation de windows
Ok merci en tout cas, je réinstalle tout alors, faut croire que chez bill, ils veulent nous démotiver à installer linux, de toute façon je devais bien mettre à jour la version, ca sera l'occasion.
Bonne soirée et encore merci pour ton aide.
Hors ligne
#6 Le 08/08/2017, à 19:28
- lucmars
Re : Problèmes de réparation de grub suite réinstallation de windows
Ok merci en tout cas, je réinstalle tout alors, faut croire que chez bill, ils veulent nous démotiver à installer linux, de toute façon je devais bien mettre à jour la version, ca sera l'occasion.
Bonne soirée et encore merci pour ton aide.
Minutes ! Restes sous 160401 car c'est une lts tandis que la 1704 n'a que neuf mois de support et elle est trop avancée pour ton pc pas récent.
Gaulois Matter !
Hors ligne