Pages : 1
#1 Le 12/12/2017, à 18:07
- GimliA
Reinstaller GRUB 2
Bonsoir,
hier soir j'ai eu un problème, mon ubuntu à complètement freeze, et j'ai du couper l'alimentation de mon ordi pour faire quelque chose. En redémarrant, j'ai boot sur GRUB Rescue, j'ai pas cherché à comprendre j'ai de suite lancé une session live ubuntu pour utiliser boot-repair. J'ai fais l'option recommandé, mais maintenant je boot automatiquement sur windows 10.
Si quelqu'un peut m'aider ça serait sympa.
Voila le fichier généré par boot-repair, merci d'avance !
Boot Info Script 8f991e4 + Boot-Repair extra info [Boot-Info 25oct2017]
============================= Boot Info Summary: ===============================
=> Syslinux MBR (5.00 and higher) is installed in the MBR of /dev/sda.
=> Windows 2000/XP/2003 is installed in the MBR of /dev/sdb.
sda1: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows 8/2012: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /bootmgr /Boot/BCD /Windows/System32/winload.exe
sda2: __________________________________________________________________________
File system: Extended Partition
Boot sector type: Unknown
Boot sector info:
sda5: __________________________________________________________________________
File system:
Boot sector type: -
Boot sector info:
Mounting failed: mount: unknown filesystem type ''
sda6: __________________________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:
sdb1: __________________________________________________________________________
File system: vfat
Boot sector type: Windows XP: FAT32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:
============================ Drive/Partition Info: =============================
Drive: sda _____________________________________________________________________
Disk /dev/sda: 298.1 GiB, 320072933376 bytes, 625142448 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
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sda1 * 2,048 312,571,903 312,569,856 7 NTFS / exFAT / HPFS
/dev/sda2 312,573,950 625,141,759 312,567,810 5 Extended
/dev/sda5 312,573,952 616,763,391 304,189,440 83 Linux
/dev/sda6 616,765,440 625,141,759 8,376,320 82 Linux swap / Solaris
Drive: sdb _____________________________________________________________________
Disk /dev/sdb: 29.9 GiB, 32030851072 bytes, 62560256 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
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sdb1 * 96 62,560,255 62,560,160 c W95 FAT32 (LBA)
"blkid" output: ________________________________________________________________
Device UUID TYPE LABEL
/dev/loop0 squashfs
/dev/sda1 441056B41056AD24 ntfs
/dev/sda6 2ab69c2e-6572-443b-a77c-28139ebc79a3 swap
/dev/sdb1 B4E6-B36A vfat
/dev/sr0 2017-08-01-11-51-33-00 iso9660 Ubuntu 16.04.3 LTS amd64
========================= "ls -l /dev/disk/by-id" output: ======================
total 0
lrwxrwxrwx 1 root root 9 Dec 12 15:50 ata-TSSTcorpCD_DVDW_TS-H653L -> ../../sr0
lrwxrwxrwx 1 root root 9 Dec 12 15:57 ata-WDC_WD3200AAJS-55M0A0_WD-WCAV2AU27879 -> ../../sda
lrwxrwxrwx 1 root root 10 Dec 12 15:57 ata-WDC_WD3200AAJS-55M0A0_WD-WCAV2AU27879-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Dec 12 15:57 ata-WDC_WD3200AAJS-55M0A0_WD-WCAV2AU27879-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Dec 12 15:57 ata-WDC_WD3200AAJS-55M0A0_WD-WCAV2AU27879-part5 -> ../../sda5
lrwxrwxrwx 1 root root 10 Dec 12 15:57 ata-WDC_WD3200AAJS-55M0A0_WD-WCAV2AU27879-part6 -> ../../sda6
lrwxrwxrwx 1 root root 9 Dec 12 15:50 usb-Generic_Mass-Storage-0:0 -> ../../sdg
lrwxrwxrwx 1 root root 9 Dec 12 15:50 usb-Generic_STORAGE_DEVICE_51025-0:0 -> ../../sdc
lrwxrwxrwx 1 root root 9 Dec 12 15:50 usb-Generic_STORAGE_DEVICE_51025-0:1 -> ../../sdd
lrwxrwxrwx 1 root root 9 Dec 12 15:50 usb-Generic_STORAGE_DEVICE_51025-0:2 -> ../../sde
lrwxrwxrwx 1 root root 9 Dec 12 15:50 usb-Generic_STORAGE_DEVICE_51025-0:3 -> ../../sdf
lrwxrwxrwx 1 root root 9 Dec 12 15:57 usb-USB_Flash_Disk_CCYYMMDDHHmmSS000024-0:0 -> ../../sdb
lrwxrwxrwx 1 root root 10 Dec 12 15:57 usb-USB_Flash_Disk_CCYYMMDDHHmmSS000024-0:0-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 9 Dec 12 15:57 wwn-0x50014ee159c19310 -> ../../sda
lrwxrwxrwx 1 root root 10 Dec 12 15:57 wwn-0x50014ee159c19310-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Dec 12 15:57 wwn-0x50014ee159c19310-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Dec 12 15:57 wwn-0x50014ee159c19310-part5 -> ../../sda5
lrwxrwxrwx 1 root root 10 Dec 12 15:57 wwn-0x50014ee159c19310-part6 -> ../../sda6
================================ Mount points: =================================
Device Mount_Point Type Options
/dev/loop0 /rofs squashfs (ro,noatime)
/dev/sdb1 /media/ubuntu/B4E6-B36A vfat (rw,nosuid,nodev,relatime,uid=999,gid=999,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,showexec,utf8,flush,errors=remount-ro,uhelper=udisks2)
/dev/sr0 /cdrom iso9660 (ro,noatime)
======================== Unknown MBRs/Boot Sectors/etc: ========================
Unknown BootLoader on sda2
========= Devices which don't seem to have a corresponding hard drive: =========
sdc sdd sde sdf sdg
=============================== StdErr Messages: ===============================
hexdump: /dev/sda2: No such device or address
hexdump: /dev/sda2: No such device or address
File descriptor 9 (/proc/14379/mounts) leaked on lvs invocation. Parent PID 20718: bash
File descriptor 63 (pipe:[259382]) leaked on lvs invocation. Parent PID 20718: bash
ADDITIONAL INFORMATION :
=================== log of boot-repair 20171212_1556 ===================
boot-repair version : 4ppa65
boot-sav version : 4ppa65
boot-sav-extra version : 4ppa65
glade2script version : 3.2.3~ppa4
Warning: Unable to open /dev/sr0 read-write (Read-only file system). /dev/sr0 has been opened read-only.
boot-repair is executed in live-session (Ubuntu 16.04.3 LTS, xenial, Ubuntu, x86_64)
CPU op-mode(s): 32-bit, 64-bit
file=/cdrom/preseed/ubuntu.seed boot=casper initrd=/casper/initrd.lz quiet splash --- maybe-ubiquity
ls: impossible d'accéder à '/home/usr/.config': Aucun fichier ou dossier de ce type
=================== os-prober:
/dev/sda1:Windows 10 (loader):Windows:chain
=================== blkid:
/dev/sda1: UUID="441056B41056AD24" TYPE="ntfs" PARTUUID="47dbd6b6-01"
/dev/sdb1: UUID="B4E6-B36A" TYPE="vfat" PARTUUID="eeb2e0e2-01"
/dev/sr0: UUID="2017-08-01-11-51-33-00" LABEL="Ubuntu 16.04.3 LTS amd64" TYPE="iso9660" PTUUID="0d66cd15" PTTYPE="dos"
/dev/loop0: TYPE="squashfs"
/dev/sda6: UUID="2ab69c2e-6572-443b-a77c-28139ebc79a3" TYPE="swap" PARTUUID="47dbd6b6-06"
1 disks with OS, 1 OS : 0 Linux, 0 MacOS, 1 Windows, 0 unknown type OS.
mkdir: impossible de créer le répertoire «/mnt/boot-sav/sda1/boot-repair/log/20171212_155649»: Système de fichiers accessible en lecture seulement
sda1 is Read-only or full
=================== 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, 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, notbiosboot, /mnt/boot-sav/sda1.
sdb1 : sdb, not-sepboot, no-grubenv nogrub, no-docgrub, no-update-grub, 32, no-boot, no-os, is-correct-EFI, 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, notbiosboot, /media/ubuntu/B4E6-B36A.
sda : not-GPT, BIOSboot-not-needed, has-no-EFIpart, not-usb, not-mmc, has-os, 2048 sectors * 512 bytes
sdb : not-GPT, BIOSboot-not-needed, has-correctEFI, usb-disk, not-mmc, no-os, 96 sectors * 512 bytes
=================== parted -lm:
BYT;
/dev/sda:320GB:scsi:512:512:msdos:ATA WDC WD3200AAJS-5:;
1:1049kB:160GB:160GB:ntfs::boot;
2:160GB:320GB:160GB:::;
5:160GB:316GB:156GB:ext4::;
6:316GB:320GB:4289MB:linux-swap(v1)::;
BYT;
/dev/sdb:32.0GB:scsi:512:512:msdos:USB Flash Disk:;
1:49.2kB:32.0GB:32.0GB:fat32::boot, lba;
BYT;
/dev/sr0:1588MB:scsi:2048:2048:mac:TSSTcorp CD/DVDW TS-H653L:;
1:2048B:6143B:4096B::Apple:;
2:1539MB:1542MB:2392kB::EFI:;
=================== lsblk:
KNAME TYPE FSTYPE SIZE LABEL
sdb disk 29,9G
sdb1 part vfat 29,9G
sr0 rom iso9660 1,5G Ubuntu 16.04.3 LTS amd64
loop0 loop squashfs 1,4G
sda disk 298,1G
sda5 part 145,1G
sda1 part ntfs 149G
sda6 part swap 4G
KNAME ROTA RO RM STATE MOUNTPOINT
sdb 1 0 1 running
sdb1 1 0 1 /media/ubuntu/B4E6-B36A
sr0 1 0 1 running /cdrom
loop0 1 1 0 /rofs
sda 1 0 0 running
sda5 1 0 0
sda1 1 0 0 /mnt/boot-sav/sda1
sda6 1 0 0 [SWAP]
=================== mount:
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,nosuid,relatime,size=2004156k,nr_inodes=501039,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=404040k,mode=755)
/dev/sr0 on /cdrom type iso9660 (ro,noatime)
/dev/loop0 on /rofs type squashfs (ro,noatime)
aufs on / type aufs (rw,noatime,si=8aef6de54f669dc3)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=37,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=14429)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
mqueue on /dev/mqueue type mqueue (rw,relatime)
tracefs on /sys/kernel/debug/tracing type tracefs (rw,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime)
tmpfs on /run/user/999 type tmpfs (rw,nosuid,nodev,relatime,size=404040k,mode=700,uid=999,gid=999)
gvfsd-fuse on /run/user/999/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=999,group_id=999)
/dev/sdb1 on /media/ubuntu/B4E6-B36A type vfat (rw,nosuid,nodev,relatime,uid=999,gid=999,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,showexec,utf8,flush,errors=remount-ro,uhelper=udisks2)
grub-mount on /var/lib/os-prober/mount type fuse.grub-mount (rw,nosuid,nodev,relatime,user_id=0,group_id=0)
/dev/sda1 on /mnt/boot-sav/sda1 type fuseblk (ro,relatime,user_id=0,group_id=0,allow_other,blksize=4096)
=================== ls:
/sys/block/sda (filtered): alignment_offset badblocks bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight integrity power queue range removable ro sda1 sda2 sda5 sda6 size slaves stat subsystem trace uevent
/sys/block/sdb (filtered): alignment_offset badblocks bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight integrity power queue range removable ro sdb1 size slaves stat subsystem trace uevent
/sys/block/sdc (filtered): alignment_offset badblocks bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight integrity power queue range removable ro size slaves stat subsystem trace uevent
/sys/block/sdd (filtered): alignment_offset badblocks bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight integrity power queue range removable ro size slaves stat subsystem trace uevent
/sys/block/sde (filtered): alignment_offset badblocks bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight integrity power queue range removable ro size slaves stat subsystem trace uevent
/sys/block/sdf (filtered): alignment_offset badblocks bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight integrity power queue range removable ro size slaves stat subsystem trace uevent
/sys/block/sdg (filtered): alignment_offset badblocks bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight integrity power queue range removable ro size slaves stat subsystem trace uevent
/sys/block/sr0 (filtered): alignment_offset badblocks bdi capability dev device discard_alignment events events_async events_poll_msecs ext_range holders inflight integrity power queue range removable ro size slaves stat subsystem trace uevent
/dev (filtered): autofs block bsg btrfs-control bus cdrom cdrw char console core cpu cpu_dma_latency cuse disk dri dvd dvdrw ecryptfs fb0 fd full fuse gpiochip0 hidraw0 hidraw1 hidraw2 hpet hugepages hwrng i2c-0 i2c-1 i2c-2 initctl input kmsg kvm lightnvm log lp0 mapper mcelog mem memory_bandwidth mqueue net network_latency network_throughput null parport0 port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda2 sda5 sda6 sdb sdb1 sdc sdd sde sdf sdg sg0 sg1 sg2 sg3 sg4 sg5 sg6 sg7 shm snapshot snd sr0 stderr stdin stdout uhid uinput urandom userio vfio vga_arbiter vhci vhost-net 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 f8 6f a1 12 00 00 00 00 |.........o......|
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 24 ad 56 10 b4 56 10 44 |........$.V..V.D|
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 52 11 16 68 09 00 66 53 66 53 66 |h...hR..h..fSfSf|
00000100 55 16 16 16 68 b8 01 66 61 0e 07 cd 1a 33 c0 bf |U...h..fa....3..|
00000110 0a 13 b9 f6 0c fc f3 aa e9 fe 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 a1 f6 01 e8 09 00 |...u...fa.......|
00000170 a1 fa 01 e8 03 00 f4 eb fd 8b f0 ac 3c 00 74 09 |............<.t.|
00000180 b4 0e bb 07 00 cd 10 eb f2 c3 0d 0a 41 20 64 69 |............A di|
00000190 73 6b 20 72 65 61 64 20 65 72 72 6f 72 20 6f 63 |sk read error oc|
000001a0 63 75 72 72 65 64 00 0d 0a 42 4f 4f 54 4d 47 52 |curred...BOOTMGR|
000001b0 20 69 73 20 63 6f 6d 70 72 65 73 73 65 64 00 0d | is compressed..|
000001c0 0a 50 72 65 73 73 20 43 74 72 6c 2b 41 6c 74 2b |.Press Ctrl+Alt+|
000001d0 44 65 6c 20 74 6f 20 72 65 73 74 61 72 74 0d 0a |Del to restart..|
000001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000001f0 00 00 00 00 00 00 8a 01 a7 01 bf 01 00 00 55 aa |..............U.|
00000200
=================== hexdump -n512 -C /dev/sdb1
00000000 eb 58 90 4d 53 44 4f 53 35 2e 30 00 02 20 22 00 |.X.MSDOS5.0.. ".|
00000010 02 00 00 00 00 f8 00 00 3f 00 ff 00 60 00 00 00 |........?...`...|
00000020 a0 97 ba 03 a3 3b 00 00 00 00 00 00 02 00 00 00 |.....;..........|
00000030 01 00 06 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000040 00 01 29 6a b3 e6 b4 4e 4f 20 4e 41 4d 45 20 20 |..)j...NO NAME |
00000050 20 20 46 41 54 33 32 20 20 20 33 c9 8e d1 bc f4 | FAT32 3.....|
00000060 7b 8e c1 8e d9 bd 00 7c 88 4e 02 8a 56 40 b4 08 |{......|.N..V@..|
00000070 cd 13 73 05 b9 ff ff 8a f1 66 0f b6 c6 40 66 0f |..s......f...@f.|
00000080 b6 d1 80 e2 3f f7 e2 86 cd c0 ed 06 41 66 0f b7 |....?.......Af..|
00000090 c9 66 f7 e1 66 89 46 f8 83 7e 16 00 75 38 83 7e |.f..f.F..~..u8.~|
000000a0 2a 00 77 32 66 8b 46 1c 66 83 c0 0c bb 00 80 b9 |*.w2f.F.f.......|
000000b0 01 00 e8 2b 00 e9 48 03 a0 fa 7d b4 7d 8b f0 ac |...+..H...}.}...|
000000c0 84 c0 74 17 3c ff 74 09 b4 0e bb 07 00 cd 10 eb |..t.<.t.........|
000000d0 ee a0 fb 7d eb e5 a0 f9 7d eb e0 98 cd 16 cd 19 |...}....}.......|
000000e0 66 60 66 3b 46 f8 0f 82 4a 00 66 6a 00 66 50 06 |f`f;F...J.fj.fP.|
000000f0 53 66 68 10 00 01 00 80 7e 02 00 0f 85 20 00 b4 |Sfh.....~.... ..|
00000100 41 bb aa 55 8a 56 40 cd 13 0f 82 1c 00 81 fb 55 |A..U.V@........U|
00000110 aa 0f 85 14 00 f6 c1 01 0f 84 0d 00 fe 46 02 b4 |.............F..|
00000120 42 8a 56 40 8b f4 cd 13 b0 f9 66 58 66 58 66 58 |B.V@......fXfXfX|
00000130 66 58 eb 2a 66 33 d2 66 0f b7 4e 18 66 f7 f1 fe |fX.*f3.f..N.f...|
00000140 c2 8a ca 66 8b d0 66 c1 ea 10 f7 76 1a 86 d6 8a |...f..f....v....|
00000150 56 40 8a e8 c0 e4 06 0a cc b8 01 02 cd 13 66 61 |V@............fa|
00000160 0f 82 54 ff 81 c3 00 02 66 40 49 0f 85 71 ff c3 |..T.....f@I..q..|
00000170 4e 54 4c 44 52 20 20 20 20 20 20 00 00 00 00 00 |NTLDR .....|
00000180 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
000001a0 00 00 00 00 00 00 00 00 00 00 00 00 0d 0a 52 65 |..............Re|
000001b0 6d 6f 76 65 20 64 69 73 6b 73 20 6f 72 20 6f 74 |move disks or ot|
000001c0 68 65 72 20 6d 65 64 69 61 2e ff 0d 0a 44 69 73 |her media....Dis|
000001d0 6b 20 65 72 72 6f 72 ff 0d 0a 50 72 65 73 73 20 |k error...Press |
000001e0 61 6e 79 20 6b 65 79 20 74 6f 20 72 65 73 74 61 |any key to resta|
000001f0 72 74 0d 0a 00 00 00 00 00 ac cb d8 00 00 55 aa |rt............U.|
00000200
=================== df -Th:
Filesystem Type Size Used Avail Use% Mounted on
udev devtmpfs 2.0G 0 2.0G 0% /dev
tmpfs tmpfs 395M 12M 384M 3% /run
/dev/sr0 iso9660 1.5G 1.5G 0 100% /cdrom
/dev/loop0 squashfs 1.5G 1.5G 0 100% /rofs
aufs aufs 2.0G 122M 1.9G 7% /
tmpfs tmpfs 2.0G 380K 2.0G 1% /dev/shm
tmpfs tmpfs 5.0M 8.0K 5.0M 1% /run/lock
tmpfs tmpfs 2.0G 0 2.0G 0% /sys/fs/cgroup
tmpfs tmpfs 2.0G 288K 2.0G 1% /tmp
tmpfs tmpfs 395M 80K 395M 1% /run/user/999
/dev/sdb1 vfat 30G 61M 30G 1% /media/ubuntu/B4E6-B36A
/dev/sda1 fuseblk 150G 48G 102G 32% /mnt/boot-sav/sda1
=================== fdisk -l:
Disk /dev/loop0: 1.4 GiB, 1532116992 bytes, 2992416 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: 298.1 GiB, 320072933376 bytes, 625142448 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: 0x47dbd6b6
Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 312571903 312569856 149G 7 HPFS/NTFS/exFAT
/dev/sda2 312573950 625141759 312567810 149G 5 Extended
/dev/sda5 312573952 616763391 304189440 145.1G 83 Linux
/dev/sda6 616765440 625141759 8376320 4G 82 Linux swap / Solaris
Disk /dev/sdb: 29.9 GiB, 32030851072 bytes, 62560256 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: 0xeeb2e0e2
Device Boot Start End Sectors Size Id Type
/dev/sdb1 * 96 62560255 62560160 29.9G c W95 FAT32 (LBA)
ping: unknown host google.com
=================== Recommended repair
The default repair of the Boot-Repair utility will restore the [(generic mbr)] MBR in sda, and make it boot on sda1.
Additional repair will be performed: unhide-bootmenu-10s
Will restore the MBR_TO_RESTORE : sda (generic mbr) into sda
dd if=/usr/lib/syslinux/mbr/mbr.bin of=/dev/sda
0+1 enregistrements lus
0+1 enregistrements écrits
Le démarrage de l'ordinateur a été correctement réparé.
Vous pouvez maintenant redémarrer votre ordinateur.
Hors ligne
#2 Le 13/12/2017, à 10:54
- ikewdu
Re : Reinstaller GRUB 2
Salut,
Ta partition étendue a visiblement subi des dégâts :
sda2: __________________________________________________________________________
File system: Extended Partition
Boot sector type: Unknown
sda5: __________________________________________________________________________
Mounting failed: mount: unknown filesystem type ''
Essaie de voir si Testdisk est capable de la récupérer. Sinon, il faudra probablement réinstaller, après avoir vérifié l'état du disque avec un rapport smart.
Hors ligne
#3 Le 13/12/2017, à 23:43
- GimliA
Re : Reinstaller GRUB 2
On peux utiliser Testdisk depuis une session live ubuntu ?
Hors ligne
#4 Le 14/12/2017, à 00:04
- ??
Re : Reinstaller GRUB 2
Utiliser REFIND au lieu du GRUB https://doc.ubuntu-fr.org/refind . Aidez à vous faire dépanner en suivant le guide et en utilisant les outils de diagnostic J'ai perdu ma gomme. Désolé pour les fautes d'orthographes non corrigées.
Hors ligne
#6 Le 14/12/2017, à 22:02
- ??
Re : Reinstaller GRUB 2
Bonsoir
Dans ton boot-info, j'ai vu cela
/dev/sda1 * 2,048 312,571,903 312,569,856 7 NTFS / exFAT / HPFS
/dev/sda5 312,573,952 616,763,391 304,189,440 83 Linux
Dans l'image que tu as fournie
il me semble que la première partitionb est vue comma ayant une taille de 312569856
et la seconde de 304189440
Tu as donc le choix classique de
A) Sauver tes données et de réinstaller
Pour cela tu descends d'une ligne pour te positionner sur la partition LINUX puis faire P
Tu devrais voir apparaitre le répertoire /home
B) Ce qui me semble préférable, Réécrire la table de partition rebooter et refaire boot-repair
Malheureusement, Tu n'as pas listé ce qui avait été découvert Juste avant, au moment de la proposition write.
Je pense que c'était uniquement tes trois partitions.
https://doc.ubuntu-fr.org/_media/tuto_2 … tok=5b3291
Dernière modification par ?? (Le 14/12/2017, à 22:04)
Utiliser REFIND au lieu du GRUB https://doc.ubuntu-fr.org/refind . Aidez à vous faire dépanner en suivant le guide et en utilisant les outils de diagnostic J'ai perdu ma gomme. Désolé pour les fautes d'orthographes non corrigées.
Hors ligne
Pages : 1