Pages : 1
#1 Le 03/08/2016, à 22:23
- ewekiel
Probleme de demarrage, grub rescue [Résolu]
Bonjour a tous, desole pour le style et les accents ecris en qwerty depuis boot repairm
J ai voulu installer linux en live cd sur mon pc et l installation s est bien deroulee mais au demarrage je tombe sur error no such device d46F86e 51d1 ... entrering rescue mode grub rescue. J ai esaye de reinstaller une autre version pas en live cdm durant laquelle j ai peut etre mal partitionne mon disque et formate une partition que j aurais du laisser intacte et le probleme est reste. En cherchant sur le net j ai vu qu il fallait essayer boot repair ce que j ai fais. Boot repair me dit qu il a reparer le demarrage mais que neni, toujours grub rescue qui revient. J ai donc un rapport qui me conseille si je comprend bien de changer le boot flag mais je ne sais pas comment faire. Quelqu un peut il m aider svp je suis dans la mouise. Voici le rapport boot repair.
Boot Info Script e7fc706 + Boot-Repair extra info [Boot-Info 23Nov2014]
============================= Boot Info Summary: ===============================
=> Grub2 (v2.00) 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
for /boot/grub and uses an embedded config file:
---------------------------------------------------------------------------
search.fs_uuid d4bf86e6-51d3-48c4-b6d6-7dd09dbe39e7 root hd1,msdos5
set prefix=($root)'/boot/grub'
---------------------------------------------------------------------------
=> Syslinux MBR (3.61-4.03) is installed in the MBR of /dev/sdb.
sda1: __________________________________________________________________________
File system: Extended Partition
Boot sector type: -
Boot sector info:
sda5: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows 8/2012: NTFS
Boot sector info: According to the info in the boot sector, sda5 has
204799 sectors, but according to the info from fdisk,
it has 3907026943 sectors.
Operating System:
Boot files:
sdb1: __________________________________________________________________________
File system: vfat
Boot sector type: SYSLINUX 4.03 2010-10-22 ........>..sr>..........9...0...~.....~...f...M.f.f....f..0~....>E}.u......
Boot sector info: Syslinux looks at sector 1366464 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: /boot/grub/grub.cfg /syslinux.cfg /casper/vmlinuz.efi
/EFI/BOOT/grubx64.efi /ldlinux.sys
sdb2: __________________________________________________________________________
File system: Extended Partition
Boot sector type: -
Boot sector info:
sdb5: __________________________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:
============================ Drive/Partition Info: =============================
Drive: sda _____________________________________________________________________
Disk /dev/sda: 2000.4 GB, 2000398934016 bytes
240 heads, 63 sectors/track, 258401 cylinders, total 3907029168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sda1 2,046 3,907,028,991 3,907,026,946 5 Extended
/dev/sda5 * 2,048 3,907,028,991 3,907,026,944 83 Linux
Drive: sdb _____________________________________________________________________
Disk /dev/sdb: 31.0 GB, 31001149440 bytes
255 heads, 63 sectors/track, 3769 cylinders, total 60549120 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sdb1 * 2,048 57,993,215 57,991,168 c W95 FAT32 (LBA)
/dev/sdb2 57,995,262 60,547,071 2,551,810 5 Extended
/dev/sdb5 57,995,264 60,547,071 2,551,808 82 Linux swap / Solaris
"blkid" output: ________________________________________________________________
Device UUID TYPE LABEL
/dev/loop0 squashfs
/dev/sda5 44AC8F17AC8F0322 ntfs
/dev/sdb1 1CF7-A4E2 vfat
/dev/sdb5 f1504da3-2bc5-4ebc-b40e-e39c5ee5fe99 swap
/dev/zram0 3ede1744-f0de-44fe-aee2-44ca96265218 swap
/dev/zram1 690782b0-4c25-40aa-a929-4dca2b268845 swap
========================= "ls -l /dev/disk/by-id" output: ======================
total 0
lrwxrwxrwx 1 root root 9 Aug 3 20:18 ata-ST2000DL003-9VT166_5YD7JFTX -> ../../sda
lrwxrwxrwx 1 root root 10 Aug 3 18:14 ata-ST2000DL003-9VT166_5YD7JFTX-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Aug 3 20:18 ata-ST2000DL003-9VT166_5YD7JFTX-part5 -> ../../sda5
lrwxrwxrwx 1 root root 9 Aug 3 18:14 ata-TSSTcorpCD_DVDW_SH-S182M -> ../../sr0
lrwxrwxrwx 1 root root 9 Aug 3 20:18 usb-TOSHIBA_TransMemory_C412F52D6CA2CFA150056AC9-0:0 -> ../../sdb
lrwxrwxrwx 1 root root 10 Aug 3 18:14 usb-TOSHIBA_TransMemory_C412F52D6CA2CFA150056AC9-0:0-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 Aug 3 18:14 usb-TOSHIBA_TransMemory_C412F52D6CA2CFA150056AC9-0:0-part2 -> ../../sdb2
lrwxrwxrwx 1 root root 10 Aug 3 18:14 usb-TOSHIBA_TransMemory_C412F52D6CA2CFA150056AC9-0:0-part5 -> ../../sdb5
lrwxrwxrwx 1 root root 9 Aug 3 20:18 wwn-0x5000c50045730615 -> ../../sda
lrwxrwxrwx 1 root root 10 Aug 3 18:14 wwn-0x5000c50045730615-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Aug 3 20:18 wwn-0x5000c50045730615-part5 -> ../../sda5
================================ Mount points: =================================
Device Mount_Point Type Options
/dev/loop0 /rofs squashfs (ro,noatime)
/dev/sdb1 /cdrom vfat (ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
=========================== sdb1/boot/grub/grub.cfg: ===========================
--------------------------------------------------------------------------------
if loadfont /boot/grub/font.pf2 ; then
set gfxmode=auto
insmod efi_gop
insmod efi_uga
insmod gfxterm
terminal_output gfxterm
fi
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
menuentry "Boot-Repair-Disk session" {
set gfxpayload=keep
linux /casper/vmlinuz.efi file=/cdrom/preseed/lubuntu.seed boot=casper quiet splash --
initrd /casper/initrd.lz
}
--------------------------------------------------------------------------------
============================== sdb1/syslinux.cfg: ==============================
--------------------------------------------------------------------------------
default menu.c32
prompt 0
menu title UNetbootin
timeout 100
label unetbootindefault
menu label Default
kernel /ubnkern
append initrd=/ubninit file=/cdrom/preseed/lubuntu.seed boot=casper quiet splash --
label ubnentry0
menu label ^Help
kernel /ubnkern
append initrd=/ubninit
label ubnentry1
menu label ^64bit session
kernel /casper/vmlinuz.efi
append initrd=/casper/initrd.lz file=/cdrom/preseed/lubuntu.seed boot=casper quiet splash --
label ubnentry2
menu label ^64bit session (failsafe)
kernel /casper/vmlinuz.efi
append initrd=/casper/initrd.lz file=/cdrom/preseed/lubuntu.seed boot=casper noapic noapm nodma nomce nolapic nomodeset nosmp vga=normal --
label ubnentry3
menu label Boot-Repair-Disk session
kernel /casper/vmlinuz.efi
append initrd=/casper/initrd.lz file=/cdrom/preseed/lubuntu.seed boot=casper quiet splash --
--------------------------------------------------------------------------------
============== sdb1: Version of COM32(R) files used by Syslinux: ===============
menu.c32 : COM32R module (v4.xx)
=============================== StdErr Messages: ===============================
cat: write error: Broken pipe
File descriptor 9 (/proc/9977/mounts) leaked on lvs invocation. Parent PID 15259: bash
File descriptor 63 (pipe:[171406]) leaked on lvs invocation. Parent PID 15259: bash
No volume groups found
ADDITIONAL INFORMATION :
=================== log of boot-repair 2016-08-03__20h18 ===================
boot-repair version : 4ppa14
boot-sav version : 4ppa14
glade2script version : 3.2.2~ppa47~saucy
boot-sav-extra version : 4ppa14
File descriptor 9 (/proc/9977/mounts) leaked on lvs invocation. Parent PID 11491: /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:
=================== blkid:
/dev/loop0: TYPE="squashfs"
/dev/sda5: UUID="44AC8F17AC8F0322" TYPE="ntfs"
/dev/sdb1: UUID="1CF7-A4E2" TYPE="vfat"
/dev/sdb5: UUID="f1504da3-2bc5-4ebc-b40e-e39c5ee5fe99" TYPE="swap"
/dev/zram0: UUID="3ede1744-f0de-44fe-aee2-44ca96265218" TYPE="swap"
/dev/zram1: UUID="690782b0-4c25-40aa-a929-4dca2b268845" TYPE="swap"
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:
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, no-os, 2046 sectors * 512 bytes
=================== parted -l:
Model: ATA ST2000DL003-9VT1 (scsi)
Disk /dev/sda: 2000GB
Sector size (logical/physical): 512B/4096B
Partition Table: msdos
Number Start End Size Type File system Flags
1 1048kB 2000GB 2000GB extended
5 1049kB 2000GB 2000GB logical ntfs boot
Model: TOSHIBA TransMemory (scsi)
Disk /dev/sdb: 31.0GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 1049kB 29.7GB 29.7GB primary fat32 boot, lba
2 29.7GB 31.0GB 1307MB extended
5 29.7GB 31.0GB 1307MB logical linux-swap(v1)
Error: /dev/zram0: unrecognised disk label
Error: /dev/zram1: unrecognised disk label
=================== parted -lm:
BYT;
/dev/sda:2000GB:scsi:512:4096:msdos:ATA ST2000DL003-9VT1;
1:1048kB:2000GB:2000GB:::;
5:1049kB:2000GB:2000GB:ntfs::boot;
BYT;
/dev/sdb:31.0GB:scsi:512:512:msdos:TOSHIBA TransMemory;
1:1049kB:29.7GB:29.7GB:fat32::boot, lba;
2:29.7GB:31.0GB:1307MB:::;
5:29.7GB:31.0GB:1307MB:linux-swap(v1)::;
Error: /dev/zram0: unrecognised disk label
Error: /dev/zram1: 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/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 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 sdb2 sdb5 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 fd full fuse hidraw0 hidraw1 hidraw2 hpet input kmsg kvm log mapper mcelog mem net network_latency network_throughput null parport0 port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda5 sdb sdb1 sdb2 sdb5 sg0 sg1 sg2 shm snapshot snd sr0 stderr stdin stdout uhid uinput urandom usb vga_arbiter vhci vhost-net zero
ls /dev/mapper: control
=================== 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 f0 00 00 08 00 00 |........?.......|
00000020 00 00 00 00 80 00 80 00 ff 1f 03 00 00 00 00 00 |................|
00000030 55 21 00 00 00 00 00 00 02 00 00 00 00 00 00 00 |U!..............|
00000040 f6 00 00 00 01 00 00 00 22 03 8f ac 17 8f ac 44 |........"......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 45 72 72 65 |............Erre|
00000190 75 72 20 6c 65 63 74 75 72 65 20 64 69 73 71 75 |ur lecture disqu|
000001a0 65 00 0d 0a 42 4f 4f 54 4d 47 52 20 63 6f 6d 70 |e...BOOTMGR comp|
000001b0 72 65 73 73 82 00 0d 0a 43 74 72 6c 2b 41 6c 74 |ress....Ctrl+Alt|
000001c0 2b 53 75 70 70 72 20 70 6f 75 72 20 72 65 64 82 |+Suppr pour red.|
000001d0 6d 61 72 72 65 72 0d 0a 00 73 74 61 72 74 0d 0a |marrer...start..|
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 a2 01 b6 01 00 00 55 aa |..............U.|
00000200
=================== df -Th:
Filesystem Type Size Used Avail Use% Mounted on
/cow overlayfs 2.0G 52M 1.9G 3% /
udev devtmpfs 2.0G 12K 2.0G 1% /dev
tmpfs tmpfs 396M 1.1M 395M 1% /run
/dev/sdb1 vfat 28G 652M 28G 3% /cdrom
/dev/loop0 squashfs 549M 549M 0 100% /rofs
none tmpfs 4.0K 0 4.0K 0% /sys/fs/cgroup
tmpfs tmpfs 2.0G 644K 2.0G 1% /tmp
none tmpfs 5.0M 0 5.0M 0% /run/lock
none tmpfs 2.0G 0 2.0G 0% /run/shm
none tmpfs 100M 16K 100M 1% /run/user
/dev/sda5 fuseblk 100M 39M 62M 39% /mnt/boot-sav/sda5
=================== fdisk -l:
Disk /dev/sda: 2000.4 GB, 2000398934016 bytes
240 heads, 63 sectors/track, 258401 cylinders, total 3907029168 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: 0xc94108dc
Device Boot Start End Blocks Id System
/dev/sda1 2046 3907028991 1953513473 5 Extended
Partition 1 does not start on physical sector boundary.
/dev/sda5 * 2048 3907028991 1953513472 83 Linux
Disk /dev/sdb: 31.0 GB, 31001149440 bytes
255 heads, 63 sectors/track, 3769 cylinders, total 60549120 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: 0x9920d77d
Device Boot Start End Blocks Id System
/dev/sdb1 * 2048 57993215 28995584 c W95 FAT32 (LBA)
/dev/sdb2 57995262 60547071 1275905 5 Extended
/dev/sdb5 57995264 60547071 1275904 82 Linux swap / Solaris
No OS or WinEFI system
=================== Suggested repair
The default repair of the Boot-Repair utility would not act on the MBR.
The boot flag would be placed on sda5.
=================== User settings
The settings chosen by the user will not act on the boot.
Modération : merci à l'avenir d'utiliser les balises code (explications ici).
Dernière modification par ewekiel (Le 05/08/2016, à 02:31)
Hors ligne
#2 Le 04/08/2016, à 00:36
- Babdu89
Re : Probleme de demarrage, grub rescue [Résolu]
Bonsoir.
Il n'y a malheureusement plus d'Os (Windows ou Ubuntu) dans ta config.
============================= Boot Info Summary: ===============================
=> Grub2 (v2.00) 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
for /boot/grub and uses an embedded config file:
---------------------------------------------------------------------------
search.fs_uuid d4bf86e6-51d3-48c4-b6d6-7dd09dbe39e7 root hd1,msdos5
set prefix=($root)'/boot/grub'
Çà veut dire que le système cherche au démarrage un Ubuntu qui devrait être installé dans le deuxième disque dur de 31 Go. partition n°5. ( hd1,msdos5 )
mais il y a ceci; dans /dev/sdb5
sdb5: __________________________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:
Une partition swap à la place...
J ai esaye de reinstaller une autre version pas en live cdm durant laquelle j ai peut etre mal partitionne mon disque et formate une partition que j aurais du laisser intacte et le probleme est reste.
Le changement du partitionnement et le formatage ont fait du dégât .
Il n'y a plus qu'à réinstaller.
Qu'est-ce qu'il y avait dans cette machine avant tes mésaventures?.
@+. Babdu89 .
J'ai découvert Ubuntu avec la 07.10.... Et alors?!... Depuis je regarde de temps en temps si Windows marche toujours....
Hors ligne
#3 Le 04/08/2016, à 09:03
- ewekiel
Re : Probleme de demarrage, grub rescue [Résolu]
Merci de ton aide, je vais réinstaller alors en regardant un tuto Il y avait windows 10 dessus, mais j'avais sauvegardé mes fichiers
Hors ligne
#4 Le 05/08/2016, à 02:29
- ewekiel
Re : Probleme de demarrage, grub rescue [Résolu]
Merci beaucoup, j'ai réinstallé et ça tourne
Hors ligne