#26 Le 20/06/2013, à 18:33
- Compte anonymisé
Re : secteur boot endommagé
Tout est possible, il faut tenter, mais surtout ne rien écrire sur ce disque.
#27 Le 22/06/2013, à 16:01
- lolec
Re : secteur boot endommagé
un peu d'eau supplémentaire pour continuer à faire tourner le moulin
je viens de passe la commande fdsik voici ce qu'il me dit :
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 têtes, 63 secteurs/piste, 60801 cylindres, total 976773168 secteurs
Unités = secteurs de 1 * 512 = 512 octets
Taille de secteur (logique / physique) : 512 octets / 512 octets
taille d'E/S (minimale / optimale) : 512 octets / 512 octets
Identifiant de disque : 0x00012edf
Périphérique Amorce Début Fin Blocs Id Système
/dev/sda1 * 2048 62179327 31088640 83 Linux
/dev/sda2 971534334 976771071 2618369 5 Étendue
/dev/sda3 62179328 776933375 357377024 b W95 FAT32
/dev/sda5 971534336 976771071 2618368 82 partition d'échange Linux / Solaris
Les entrées de la table de partitions ne sont pas dans l'ordre du disque
Disk /dev/sdb: 250.1 GB, 250059350016 bytes
255 têtes, 63 secteurs/piste, 30401 cylindres, total 488397168 secteurs
Unités = secteurs de 1 * 512 = 512 octets
Taille de secteur (logique / physique) : 512 octets / 512 octets
taille d'E/S (minimale / optimale) : 512 octets / 512 octets
Identifiant de disque : 0x67c867c8
Périphérique Amorce Début Fin Blocs Id Système
/dev/sdb1 63 473194574 236597256 83 Linux
/dev/sdb2 486142965 488392064 1124550 83 Linux
lolec@lolec-Aspire-E380:~$
et puis j'ai potassé un peu le forum et divers site pour la récup de données avec ddrescue
puis je vous soumettre la commande que je voudrai mettre en place pour faire une copie du mon disque en rade?
bon je me lance
sdb étant mon disque de 250GB inaccessible
sda3 étant une partition de 360GB en fat 32 sur mon second disque de 500GB où tourne ubuntu en sda1
sudo ddrescue -B -n -T /dev/sdb /dev/sda3/recupsdb /dev/sda1/home/dossierpersonnel/log
ptite question est que je dois donner une extension .img au fichier recupsdb?
est il nécessaire de séparer le fichier log de l' image? ou est il possible de tout mettre sur la meme partition?
est ce la bonne écriture pour le chemin du fichier log?
est ce que sur ma ligne de commande je dois mettre sdb 1 ou sdb 2?
je pencherai plutot pour sdb2 au vue de la taille non?
ou est ce que je copie le disque entier? sdb
Dernière modification par lolec (Le 22/06/2013, à 16:05)
Hors ligne
#28 Le 23/06/2013, à 17:43
- lolec
Re : secteur boot endommagé
si ca peut aider...
Boot Info Script e7fc706 + Boot-Repair extra info [Boot-Info 3June2013]
============================= Boot Info Summary: ===============================
=> Grub2 (v1.99) 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
in partition 1 for /boot/grub.
sda1: __________________________________________________________________________
File system: vfat
Boot sector type: Windows 7/2008: FAT16
Boot sector info: According to the info in the boot sector, sda1 starts
at sector 1. But according to the info from fdisk,
sda1 starts at sector 63. According to the info in the
boot sector, sda1 has 0 sectors.
Operating System:
Boot files:
sda2: __________________________________________________________________________
File system: Extended Partition
Boot sector type: -
Boot sector info:
sda5: __________________________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:
============================ Drive/Partition Info: =============================
Drive: sda _____________________________________________________________________
Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders, total 488397168 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 * 63 473,194,574 473,194,512 b W95 FAT32
/dev/sda2 473,194,575 488,392,064 15,197,490 5 Extended
/dev/sda5 473,194,638 488,392,064 15,197,427 82 Linux swap / Solaris
"blkid" output: ________________________________________________________________
Device UUID TYPE LABEL
/dev/loop0 squashfs
/dev/sda1 vfat
/dev/sda5 c23e7dfe-10cc-471b-89b9-f5f2d8c0a681 swap
/dev/sr0 iso9660 Ubuntu 12.04.2 LTS i386
================================ Mount points: =================================
Device Mount_Point Type Options
/dev/loop0 /rofs squashfs (ro,noatime)
/dev/sr0 /cdrom iso9660 (ro,noatime)
========= Devices which don't seem to have a corresponding hard drive: =========
sdb sdc sdd sde
ADDITIONAL INFORMATION :
=================== log of boot-repair 2013-06-16__16h10 ===================
boot-repair version : 3.199~ppa5~precise
boot-sav version : 3.199~ppa5~precise
glade2script version : 3.2.2~ppa45~precise
boot-sav-extra version : 3.199~ppa5~precise
boot-repair is executed in live-session (Ubuntu 12.04.2 LTS, precise, Ubuntu, i686)
ls: cannot access /home/usr/.config: No such file or directory
CPU op-mode(s): 32-bit, 64-bit
file=/cdrom/preseed/ubuntu.seed boot=casper initrd=/casper/initrd.lz quiet splash -- maybe-ubiquity
=================== os-prober:
=================== blkid:
/dev/loop0: TYPE="squashfs"
/dev/sr0: LABEL="Ubuntu 12.04.2 LTS i386" TYPE="iso9660"
/dev/sda1: SEC_TYPE="msdos" TYPE="vfat"
/dev/sda5: UUID="c23e7dfe-10cc-471b-89b9-f5f2d8c0a681" TYPE="swap"
=================== 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, 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, farbios, /mnt/boot-sav/sda1.
sda : not-GPT, BIOSboot-not-needed, has-no-EFIpart, not-usb, no-os, 63 sectors * 512 bytes
=================== parted -l:
Model: ATA WDC WD2500JS-22N (scsi)
Disk /dev/sda: 250GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 32.3kB 242GB 242GB primary fat16 boot
2 242GB 250GB 7781MB extended
5 242GB 250GB 7781MB logical linux-swap(v1)
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!
=================== parted -lm:
BYT;
/dev/sda:250GB:scsi:512:512:msdos:ATA WDC WD2500JS-22N;
1:32.3kB:242GB:242GB:fat16::boot;
2:242GB:250GB:7781MB:::;
5:242GB:250GB:7781MB:linux-swap(v1)::;
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!
=================== 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/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)
gvfs-fuse-daemon on /home/ubuntu/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=ubuntu)
/dev/sda1 on /mnt/boot-sav/sda1 type vfat (rw)
=================== 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/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 size slaves stat subsystem trace uevent
/sys/block/sdc (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
/sys/block/sdd (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
/sys/block/sde (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
/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): alarm ashmem autofs binder block bsg btrfs-control bus cdrom cdrw char console core cpu cpu_dma_latency disk dri dvd dvdrw ecryptfs fb0 fd full fuse fw0 hidraw0 hidraw1 hidraw2 hpet input kmsg kvm log lp0 mapper mcelog mem net network_latency network_throughput null oldmem parport0 port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda2 sda5 sdb sdc sdd sde sg0 sg1 sg2 sg3 sg4 sg5 shm snapshot snd sr0 stderr stdin stdout uinput urandom vga_arbiter vhost-net zero
ls /dev/mapper: control
=================== hexdump -n512 -C /dev/sda1
00000000 eb 3c 90 4d 53 44 4f 53 35 2e 30 00 02 08 01 00 |.<.MSDOS5.0.....|
00000010 02 00 02 03 51 f8 08 00 11 00 04 00 01 00 00 00 |....Q...........|
00000020 00 00 00 00 80 00 29 00 00 00 00 4e 4f 20 4e 41 |......)....NO NA|
00000030 4d 45 20 20 20 20 46 41 54 31 32 20 20 20 33 c9 |ME FAT12 3.|
00000040 8e d1 bc f0 7b 8e d9 b8 00 20 8e c0 fc bd 00 7c |....{.... .....||
00000050 38 4e 24 7d 24 8b c1 99 e8 3c 01 72 1c 83 eb 3a |8N$}$....<.r...:|
00000060 66 a1 1c 7c 26 66 3b 07 26 8a 57 fc 75 06 80 ca |f..|&f;.&.W.u...|
00000070 02 88 56 02 80 c3 10 73 eb 33 c9 8a 46 10 98 f7 |..V....s.3..F...|
00000080 66 16 03 46 1c 13 56 1e 03 46 0e 13 d1 8b 76 11 |f..F..V..F....v.|
00000090 60 89 46 fc 89 56 fe b8 20 00 f7 e6 8b 5e 0b 03 |`.F..V.. ....^..|
000000a0 c3 48 f7 f3 01 46 fc 11 4e fe 61 bf 00 00 e8 e6 |.H...F..N.a.....|
000000b0 00 72 39 26 38 2d 74 17 60 b1 0b be a1 7d f3 a6 |.r9&8-t.`....}..|
000000c0 61 74 32 4e 74 09 83 c7 20 3b fb 72 e6 eb dc a0 |at2Nt... ;.r....|
000000d0 fb 7d b4 7d 8b f0 ac 98 40 74 0c 48 74 13 b4 0e |.}.}....@t.Ht...|
000000e0 bb 07 00 cd 10 eb ef a0 fd 7d eb e6 a0 fc 7d eb |.........}....}.|
000000f0 e1 cd 16 cd 19 26 8b 55 1a 52 b0 01 bb 00 00 e8 |.....&.U.R......|
00000100 3b 00 72 e8 5b 8a 56 24 be 0b 7c 8b fc c7 46 f0 |;.r.[.V$..|...F.|
00000110 3d 7d c7 46 f4 29 7d 8c d9 89 4e f2 89 4e f6 c6 |=}.F.)}...N..N..|
00000120 06 96 7d cb ea 03 00 00 20 0f b6 c8 66 8b 46 f8 |..}..... ...f.F.|
00000130 66 03 46 1c 66 8b d0 66 c1 ea 10 eb 5e 0f b6 c8 |f.F.f..f....^...|
00000140 4a 4a 8a 46 0d 32 e4 f7 e2 03 46 fc 13 56 fe eb |JJ.F.2....F..V..|
00000150 4a 52 50 06 53 6a 01 6a 10 91 8b 46 18 96 92 33 |JRP.Sj.j...F...3|
00000160 d2 f7 f6 91 f7 f6 42 87 ca f7 76 1a 8a f2 8a e8 |......B...v.....|
00000170 c0 cc 02 0a cc b8 01 02 80 7e 02 0e 75 04 b4 42 |.........~..u..B|
00000180 8b f4 8a 56 24 cd 13 61 61 72 0b 40 75 01 42 03 |...V$..aar.@u.B.|
00000190 5e 0b 49 75 06 f8 c3 41 bb 00 00 60 66 6a 00 eb |^.Iu...A...`fj..|
000001a0 b0 4e 54 4c 44 52 20 20 20 20 20 20 0d 0a 4e 54 |.NTLDR ..NT|
000001b0 4c 44 52 20 69 73 20 6d 69 73 73 69 6e 67 ff 0d |LDR is missing..|
000001c0 0a 44 69 73 6b 20 65 72 72 6f 72 ff 0d 0a 50 72 |.Disk error...Pr|
000001d0 65 73 73 20 61 6e 79 20 6b 65 79 20 74 6f 20 72 |ess any key to r|
000001e0 65 73 74 61 72 74 0d 0a 00 00 00 00 00 00 00 00 |estart..........|
000001f0 00 00 00 00 00 00 00 00 00 00 00 ac bf cc 55 aa |..............U.|
00000200
=================== df -Th:
Filesystem Type Size Used Avail Use% Mounted on
/cow overlayfs 1.3G 112M 1.2G 9% /
udev devtmpfs 1.3G 12K 1.3G 1% /dev
tmpfs tmpfs 505M 836K 504M 1% /run
/dev/sr0 iso9660 694M 694M 0 100% /cdrom
/dev/loop0 squashfs 663M 663M 0 100% /rofs
tmpfs tmpfs 1.3G 28K 1.3G 1% /tmp
none tmpfs 5.0M 4.0K 5.0M 1% /run/lock
none tmpfs 1.3G 148K 1.3G 1% /run/shm
/dev/sda1 vfat 11M 1.3M 8.9M 13% /mnt/boot-sav/sda1
=================== fdisk -l:
Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders, total 488397168 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: 0x67c867c8
Device Boot Start End Blocks Id System
/dev/sda1 * 63 473194574 236597256 b W95 FAT32
/dev/sda2 473194575 488392064 7598745 5 Extended
/dev/sda5 473194638 488392064 7598713+ 82 Linux swap / Solaris
No OS or WinEFI system
=================== Recommended repair
Recommended-Repair
This setting will not act on the MBR.
Hors ligne
#29 Le 26/06/2013, à 18:13
- lolec
Re : secteur boot endommagé
y'a personne sur le forum qui puisses m'aider???
Dernière modification par lolec (Le 26/06/2013, à 18:14)
Hors ligne
#30 Le 28/06/2013, à 11:14
- moko138
Re : secteur boot endommagé
Je ne vois pas le remède, mais je trouve bizarres séparément, et de plus incohérents, ces deux points :
df -Th:
Filesystem Type Size Used Avail Use% Mounted on
/cow overlayfs 1.3G 112M 1.2G 9% /
et
fdisk -l:
Disk /dev/sda: 250.1 GB, (...)
Device Boot Start End Blocks Id System
/dev/sda1 * 63 473194574 236597256 b W95 FAT32
%NOINDEX%
Un utilitaire précieux : ncdu
Photo, mini-tutoriel : À la découverte de dcraw
Hors ligne
#31 Le 28/06/2013, à 11:27
- malbo
Re : secteur boot endommagé
Et ceci extrait du post #27 :
Disk /dev/sdb: 250.1 GB, 250059350016 bytes
255 têtes, 63 secteurs/piste, 30401 cylindres, total 488397168 secteurs
Unités = secteurs de 1 * 512 = 512 octets
Taille de secteur (logique / physique) : 512 octets / 512 octets
taille d'E/S (minimale / optimale) : 512 octets / 512 octets
Identifiant de disque : 0x67c867c8
Périphérique Amorce Début Fin Blocs Id Système
/dev/sdb1 63 473194574 236597256 83 Linux
/dev/sdb2 486142965 488392064 1124550 83 Linux
où on voit que la première partition du disque 250 Go est vue comme une partition Linux alors que cette même partition est vue comme FAT32 dans le post #28 et même FAT16.
lolec, si on savait t'aider on le ferait mais là t'es bien enfoncé et je crois que tu peux dire adieu à tes données.
Hors ligne
#32 Le 01/07/2013, à 19:43
- lolec
Re : secteur boot endommagé
merci d'avoir pris le temps
Hors ligne