Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 19/10/2017, à 01:11

krimou17

Systèmes inaccessibles suite à une manipulation inappropriée

Bonjour tout le monde ! J’ai installé Linux Ubuntu en dual boot avec Windows 7 sur la même partition .Au début  ça marchait à merveille mais après tout est bloqué et les systèmes  sont devenu complètement inaccessibles  (le Grub  et le MBR de windows7) suite à une manipulation incorrecte par un utilisateur peu initié .quand j’allume l’ordinateur, je vois un écran noir avec un message d’erreur   ‘’   error unknown file system  Grub rescue>  ‘’ j’ai alors compris qu’il faut taper des commandes or moi je ne maitrise pas le système linux et j’ai tenté des réparations en vain . Tout d’abord j’ai essayé de réparer le MBR de Windows 7 en utilisant un disque de réparation système  que j’ai  créé  précédemment  mais ça n’a pas marché, j’ai ensuite tenté de restaurer Windows avec son image (recovery)  sans résultat, il s’est avéré que cette  cette partition était endommagé .et j’ai encore essayé le boot-repair de linux Ubuntu à partir du live cd mais ça n’a rien donné et je n’arrive plus à accéder à la partition de Linux. C’est Windows qui tente de se charger et se solde par un échec. Je voudrais savoir s’il existe une solution à ce problème, si quel qu’un a une idée pour récupérer ces partitions  ou je dois impérativement formater le disque et réinstaller le système (solution que je souhaiterai évité). Moi  j’attends vos réponses avec impatience  et votre aide me sera précieuse et je vous remercie beaucoup !.

Hors ligne

#2 Le 19/10/2017, à 06:53

malbo

Re : Systèmes inaccessibles suite à une manipulation inappropriée

Bonjour,
Je te prie de faire un Boot-Info et de donner l'URL de ce Boot-Info dans ta réponse.

Hors ligne

#3 Le 19/10/2017, à 15:51

krimou17

Re : Systèmes inaccessibles suite à une manipulation inappropriée

Salut Malbo ! voila je vous donne le rapport et L`URL et Merci bequcoup

Écrivez sur un papier l'URL suivante :
[url]http://paste.ubuntu.com/25772560/[/url]


 Boot Info Script 8f991e4 + Boot-Repair extra info      [Boot-Info 15oct2017]


============================= Boot Info Summary: ===============================

 => Syslinux MBR (4.04-4.07) is installed in the MBR of /dev/sda.

sda1: __________________________________________________________________________

    File system:       Extended Partition
    Boot sector type:  -
    Boot sector info: 

sda5: __________________________________________________________________________

    File system:       swap
    Boot sector type:  -
    Boot sector info: 

sda2: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows 7/2008: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  
    Boot files:        /bootmgr /boot/bcd

============================ Drive/Partition Info: =============================

Drive: sda _____________________________________________________________________

Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sda1         347,060,222   613,924,863   266,864,642   5 Extended
/dev/sda5         605,607,936   613,924,863     8,316,928  82 Linux swap / Solaris
/dev/sda2    *    613,924,864   625,121,279    11,196,416   7 NTFS / exFAT / HPFS


"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/loop0                                              squashfs   
/dev/sda2        8CE82C63E82C4E30                       ntfs       HP_RECOVERY
/dev/sda5        d75104e0-1055-4ed3-bb48-87ee625e8c86   swap       
/dev/sr0                                                iso9660    Ubuntu 14.04 LTS i386

========================= "ls -l /dev/disk/by-id" output: ======================

total 0
lrwxrwxrwx 1 root root  9 Oct 19 13:24 ata-WDC_WD3200AAJS-60M0A1_WD-WMAV2T000037 -> ../../sda
lrwxrwxrwx 1 root root 10 Oct 19  2017 ata-WDC_WD3200AAJS-60M0A1_WD-WMAV2T000037-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Oct 19 13:24 ata-WDC_WD3200AAJS-60M0A1_WD-WMAV2T000037-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Oct 19  2017 ata-WDC_WD3200AAJS-60M0A1_WD-WMAV2T000037-part5 -> ../../sda5
lrwxrwxrwx 1 root root  9 Oct 19  2017 ata-hp_DVD-RAM_GH40L_B0BCBP5945573 -> ../../sr0
lrwxrwxrwx 1 root root  9 Oct 19  2017 wwn-0x5001480000000000 -> ../../sr0
lrwxrwxrwx 1 root root  9 Oct 19 13:24 wwn-0x50014ee00225f73b -> ../../sda
lrwxrwxrwx 1 root root 10 Oct 19  2017 wwn-0x50014ee00225f73b-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Oct 19 13:24 wwn-0x50014ee00225f73b-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Oct 19  2017 wwn-0x50014ee00225f73b-part5 -> ../../sda5

================================ Mount points: =================================

Device           Mount_Point              Type       Options

/dev/loop0       /rofs                    squashfs   (ro,noatime)
/dev/sr0         /cdrom                   iso9660    (ro,noatime)


=============================== StdErr Messages: ===============================

File descriptor 9 (/proc/7413/mounts) leaked on lvs invocation. Parent PID 12702: bash
File descriptor 63 (pipe:[56015]) leaked on lvs invocation. Parent PID 12702: bash
  No volume groups found

ADDITIONAL INFORMATION :
=================== log of boot-info 20171019_1323 ===================
boot-info version : 4ppa61
boot-sav version : 4ppa61
boot-sav-extra version : 4ppa61
glade2script version : 3.2.3~ppa4
boot-info is executed in live-session (Ubuntu 14.04 LTS, trusty, Ubuntu, i686)
CPU op-mode(s):        32-bit, 64-bit
file=/cdrom/preseed/ubuntu.seed boot=casper initrd=/casper/initrd.lz quiet splash -- maybe-ubiquity
ls: cannot access /home/usr/.config: No such file or directory

=================== os-prober:
/dev/sda2:Windows Recovery Environment (loader):Windows:chain

=================== blkid:
/dev/loop0: TYPE="squashfs"
/dev/sda2: LABEL="HP_RECOVERY" UUID="8CE82C63E82C4E30" TYPE="ntfs"
/dev/sda5: UUID="d75104e0-1055-4ed3-bb48-87ee625e8c86" TYPE="swap"
/dev/sr0: LABEL="Ubuntu 14.04 LTS i386" TYPE="iso9660"


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 EFI-compatible.
SecureBoot maybe enabled.


=================== PARTITIONS & DISKS:
sda2	: sda,	not-sepboot,	no-grubenv	nogrub,	no-docgrub,	no-update-grub,	32,	no-boot,	is-os,	is-maybe-EFI,	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,	notbiosboot, /mnt/boot-sav/sda2.

sda	: not-GPT,	BIOSboot-not-needed,	has-maybe-EFI, 	not-usb,	not-mmc, has-os,	2048 sectors * 512 bytes


=================== parted -lm:

BYT;
/dev/sda:320GB:scsi:512:512:msdos:ATA WDC WD3200AAJS-6;
1:178GB:314GB:137GB:::;
5:310GB:314GB:4258MB:linux-swap(v1)::;
2:314GB:320GB:5733MB:ntfs::boot;

Warning: Unable to open /dev/sr0 read-write (Read-only file system).  /dev/sr0 has been opened read-only.
Error: Can't have a partition outside the disk!

=================== lsblk:
KNAME TYPE FSTYPE     SIZE LABEL
sda   disk          298,1G
sda1  part              1K
sda2  part ntfs       5,3G HP_RECOVERY
sda5  part swap         4G
sr0   rom  iso9660    970M Ubuntu 14.04 LTS i386
loop0 loop squashfs 935,2M

KNAME ROTA RO RM STATE   MOUNTPOINT
sda      1  0  0 running
sda1     1  0  0
sda2     1  0  0         /mnt/boot-sav/sda2
sda5     1  0  0         [SWAP]
sr0      1  0  1 running /cdrom
loop0    1  1  0         /rofs


=================== 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/sr0 on /cdrom type iso9660 (ro,noatime)
/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=ubuntu)
/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 sda5 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):  agpgart 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 log mapper mcelog mem net network_latency network_throughput null port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda2 sda5 sg0 sg1 shm snapshot snd sr0 stderr stdin stdout uhid uinput urandom vga_arbiter vhost-net zero
ls /dev/mapper:  control

=================== hexdump -n512 -C /dev/sda2
00000000  eb 52 90 4e 54 46 53 20  20 20 20 00 02 08 00 00  |.R.NTFS    .....|
00000010  00 00 00 00 00 f8 00 00  3f 00 ff 00 00 c0 97 24  |........?......$|
00000020  00 00 00 00 80 00 80 00  ff d7 aa 00 00 00 00 00  |................|
00000030  00 00 04 00 00 00 00 00  02 00 00 00 00 00 00 00  |................|
00000040  f6 00 00 00 01 00 00 00  30 4e 2c e8 63 2c e8 8c  |........0N,.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  2.0G  148M  1.9G   8% /
udev           devtmpfs   2.0G   12K  2.0G   1% /dev
tmpfs          tmpfs      400M  1.1M  399M   1% /run
/dev/sr0       iso9660    970M  970M     0 100% /cdrom
/dev/loop0     squashfs   936M  936M     0 100% /rofs
none           tmpfs      4.0K     0  4.0K   0% /sys/fs/cgroup
tmpfs          tmpfs      2.0G  1.2M  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   52K  100M   1% /run/user
/dev/sda2      fuseblk    5.4G  4.8G  555M  90% /mnt/boot-sav/sda2

=================== fdisk -l:

Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 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
Disk identifier: 0x6927463a

Device Boot      Start         End      Blocks   Id  System
/dev/sda1       347060222   613924863   133432321    5  Extended
/dev/sda2   *   613924864   625121279     5598208    7  HPFS/NTFS/exFAT
/dev/sda5       605607936   613924863     4158464   82  Linux swap / Solaris


Partition outside the disk détecté.


=================== 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.

Modération : merci d'utiliser les balises code (explications ici).

Dernière modification par cqfd93 (Le 19/10/2017, à 16:42)

Hors ligne

#4 Le 19/10/2017, à 16:11

LukePerp

Re : Systèmes inaccessibles suite à une manipulation inappropriée

Bonjour,
Tu dois réinstaller Grub, en utilisant une clé usb ubuntu live, en mode legacy (non EFI).
Arrivé dans ubuntu live, monte la partition de ton linux. Puis, tape cette commande, en remplaçant le nom d'utilisateur par celui de la session live de ubuntu et le point de montage.

sudo grub-install --root-directory=/media/NomUtilisateur/pointMontagePartitionContenantBoot /dev/sda # Sans le chiffre à la fin
# exemple : sudo grub-install --root-directory=/media/ubuntu-live/564980254 /dev/sda # sda SANS le chiffre
sudo update-grub

C'est facile, la seule difficulté est de récupérer le bon chemin de ta partition monté de ton linux. J'ai pourtant vue plusieurs membre débutants échoué... Prends ton temps

Dernière modification par LukePerp (Le 19/10/2017, à 16:12)


Desktop & Laptop - Ubuntu Mate dernière LTS - Intel i5 - 16 Go - Dual boot Windows offline

Hors ligne

#5 Le 19/10/2017, à 17:56

malbo

Re : Systèmes inaccessibles suite à une manipulation inappropriée

Le Boot-Info que tu as collé dans le post #3 montre que tu n'as plus de Ubuntu et que tu n'as plus de Windows non plus. Tu as réussi à faire le grand vide. Si tu as des données précieuses à récupérer dans ces installations disparues, il est peut-être possible de les récupérer en t'adressant à un spécialiste de la récupération de données. Si tu as la chance d'avoir fait une sauvegarde de tes données et de n'avoir pas de données à récupérer, il faut tout réinstaller : Windows tout neuf d'abord et Ubuntu tout neuf ensuite.

Dernière modification par malbo (Le 19/10/2017, à 17:56)

Hors ligne

#6 Le 20/10/2017, à 00:13

krimou17

Re : Systèmes inaccessibles suite à une manipulation inappropriée

Merci Malbo pour cette précision  , j'aurai du patienter ,avant d’insérer le cd de réparation de Windows

Hors ligne

#7 Le 20/10/2017, à 00:19

krimou17

Re : Systèmes inaccessibles suite à une manipulation inappropriée

@LukePerp salut , tout mon problème se pose ici comment accéder ou trouver le chemin à la partition linux

Hors ligne