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 17/04/2012, à 16:50

yBastien

Comment réparer 1 partition endommagée? Gparted, boot repair [résolu]

Bonjour,

J'ai un problème avec Ubuntu que je n'arrive pas à résoudre seul. Désolé si je ne suis pas au bon endroit du forum ou si ce sujet a déjà été traîté, j'ai cherché mais je n'arrive pas à trouver de soluce... Pour info je suis relativement novice avec Ubuntu, je comprends un minimum ce qu'on me dit mais si ça devient trop techie... je suis paumé :-/

Le pbm :
J'ai Ubuntu + Win7 en dual-boot depuis +1an, ça marchait sans pbm. Depuis 3 jours Ubuntu n'arrive plus à démarrer, j'avais l'erreur "No init found. Try passing init= bootarg."

Après diverses tentatives, notamment une restauration du MBR avec boot-repair-disk, je n'ai même plus le dual-boot et Windows démarre tout seul sans rien demander.

J'ai lancé un live-USB avec Gparted dessus, et la partition où j'avais Ubuntu est "non allouée". J'ai lancé une "recherche" de données et Gparted trouve bien les 32GB de la partition "non allouée"... mais comment la réparer ??

Sur ma config :
Ubuntu 10.xx je crois
Comment je fais pour vous filer d'autres infos ?

Pour info, je me doute qu'il s'agit d'un pbm de disque dur. J'ai déjà fait un backup des données importantes et suis prêt à tout ré-installer si nécessaire (windows 7 + Ubuntu) pour faire un truc propre.

Je pense que ce qui a déconné est de vouloir accéder à la partition Ubuntu depuis Windows7 (une sombre histoire de dossier partagé avec Dropbox). Pour ça j'utilisais qui a peut-être tout salopé.

Enfin, j'avais déjà eu le pbm "No init found. Try passing init= bootarg." il y a 2-3 mois de cela, et le tutoriel http://forum.ubuntu-fr.org/viewtopic.php?id=436650 m'avait permis de résoudre le pbm. Cette fois-ci ça n'a pas marché (le fsck me donnait des messages d'erreur que je n'ai pas pu sauver...)


Merci d'avance pour votre aide :-)

Dernière modification par yBastien (Le 25/04/2012, à 22:11)

Hors ligne

#2 Le 17/04/2012, à 17:47

bowmore

Re : Comment réparer 1 partition endommagée? Gparted, boot repair [résolu]

Salut.

As-tu essayé de réinstaller Grub, tout simplement?
=> voir la doc


"Bon bah, je vais essayer de ne pas claquer la porte en sortant"
Buzz Aldrin, le 21 juillet 1969 sur la Mer de la Tranquillité

Hors ligne

#3 Le 17/04/2012, à 18:19

Babdu89

Re : Comment réparer 1 partition endommagée? Gparted, boot repair [résolu]

Bonsoir...

Après diverses tentatives, notamment une restauration du MBR avec boot-repair-disk, je n'ai même plus le dual-boot et Windows démarre tout seul sans rien demander.

Tout a fait normal que tu n'aies plus de dual boot ,et que ton Windows redémarre directement, puisque tu as restaurer dans le secteur d'amorçage de ton hdd.Un MBR qui te permet de faire démarrer ta machine sur ton Windows directement...
Ce qui te permettait de faire démarrer ton dual boot ( Grub) , n'existe plus dans le secteur d'amorçage de ton disque dur, puisqu'il a été écrasé par le restauration du MBR...

Alors, puisque tu sais utiliser Boo-Repair-Disk ...

Stp , recommence, à l'utiliser, mais sans faire de réparation ,jute faire la création du rapport Bootinfo script ...
Et postes l'URL donnée dans la dernière fenêtre ici.. Çà devrait permettre d'y voir plus clair dans ta config... On verra ou en sont tes partitions, et tes OS...  Merci...

@+.   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

#4 Le 17/04/2012, à 18:47

Nasman

Re : Comment réparer 1 partition endommagée? Gparted, boot repair [résolu]

Et même si gparted considère le disque comme non alloué, il est sans doute possible d'accéder aux partitions avec un navigateur de fichiers.
gparted est très sensible à la cohérence des tables des partitions et si quelque chose n'est pas correct (genre partition plus grande que le disque ou partitions se chevauchant) gparted indiquera le disque comme non alloué.


PC fixe sous Bionic 64 bits et portable avec Focal 64 bits

Hors ligne

#5 Le 17/04/2012, à 23:30

yBastien

Re : Comment réparer 1 partition endommagée? Gparted, boot repair [résolu]

Super merci pour votre aide, je suis impressionné par la rapidité déjà !

Alors voici le rapport Bootinfo :
http://paste.ubuntu.com/934598/
Ubuntu Pastebin

Paste from boot-repair at Tue, 17 Apr 2012 23:28:21 -0700
Download as text
  1
  2
  3
  4
  5
  6
  7
  8
  9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
                 Boot Info Script 0.60-git      [23 Feb 2012]


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

=> Syslinux MBR (3.61-4.03) is installed in the MBR of /dev/sda.
=> Syslinux MBR (3.61-4.03) is installed in the MBR of /dev/sdb.

sda1: __________________________________________________________________________

    File system:       ntfs
    Boot sector type:  Windows Vista/7: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System:  Windows 7
    Boot files:        /bootmgr /boot/BCD /Windows/System32/winload.exe

sda2: __________________________________________________________________________

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

sda3: __________________________________________________________________________

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

sda4: __________________________________________________________________________

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

sda5: __________________________________________________________________________

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

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 5508464 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:        /syslinux.cfg /ldlinux.sys

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

Drive: sda _____________________________________________________________________

Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders, total 312581808 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               2,048   218,435,899   218,433,852   7 NTFS / exFAT / HPFS
/dev/sda2         287,412,224   312,164,351    24,752,128   7 NTFS / exFAT / HPFS
/dev/sda3    *    312,164,352   312,575,999       411,648   7 NTFS / exFAT / HPFS
/dev/sda4         218,437,630   287,412,223    68,974,594   5 Extended
Empty Partition.
/dev/sda5         284,485,632   287,412,223     2,926,592  82 Linux swap / Solaris


Drive: sdb _____________________________________________________________________

Disk /dev/sdb: 8019 MB, 8019509248 bytes
45 heads, 45 sectors/track, 7734 cylinders, total 15663104 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    *          8,064    15,663,103    15,655,040   b W95 FAT32


"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/loop0                                              squashfs   
/dev/sda1        F0E4485BE4482666                       ntfs       
/dev/sda2        DE1200B8120097A3                       ntfs       RECOVERY
/dev/sda3        982895C028959DB6                       ntfs       SYSTEM
/dev/sda5        01d3db3a-1f50-40e5-94b2-4d55da25b5c5   swap       
/dev/sdb1        CE7B-666D                              vfat       MYLINUXLIVE

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

Device           Mount_Point              Type       Options

/dev/sdb1        /live/image              vfat       (ro,noatime,fmask=0022,dmask=0022,codepage=cp437,iocharset=utf8,shortname=mixed,errors=remount-ro)


============================== sdb1/syslinux.cfg: ==============================

--------------------------------------------------------------------------------
default menu.c32
prompt 0
menu title UNetbootin
timeout 100

label unetbootindefault
menu label Default
kernel /ubnkern
append initrd=/ubninit boot=live config   quiet

label ubnentry0
menu label ^Help
kernel /ubnkern
append initrd=/ubninit

label ubnentry1
menu label 32bits session
kernel /live/vmlinuz
append initrd=/live/initrd.img boot=live config   quiet

label ubnentry2
menu label 64bits session
kernel /live/vmlinuz2
append initrd=/live/initrd2.img boot=live config   quiet

label ubnentry3
menu label 32bits session (failsafe)
kernel /live/vmlinuz
append initrd=/live/initrd.img boot=live config   noapic noapm nodma nomce nolapic nomodeset nosmp vga=normal

label ubnentry4
menu label 64bits session (failsafe)
kernel /live/vmlinuz2
append initrd=/live/initrd2.img boot=live config   noapic noapm nodma nomce nolapic nomodeset nosmp vga=normal

label ubnentry5
menu label Memory test
kernel /live/memtest
append initrd=/ubninit

--------------------------------------------------------------------------------

=================== sdb1: Location of files loaded by Grub: ====================

           GiB - GB             File                                 Fragment(s)

            ?? = ??             initrd.gz                                      1

================= sdb1: Location of files loaded by Syslinux: ==================

           GiB - GB             File                                 Fragment(s)

            ?? = ??             boot/syslinux/chain.c32                        1
            ?? = ??             boot/syslinux/linux.c32                        1
            ?? = ??             boot/syslinux/menu.c32                         1
            ?? = ??             boot/syslinux/reboot.c32                       1
            ?? = ??             ldlinux.sys                                    1
            ?? = ??             menu.c32                                       1
            ?? = ??             syslinux.cfg                                   1
            ?? = ??             syslinux/chain.c32                             1
            ?? = ??             syslinux/menu.c32                              1
            ?? = ??             syslinux/vesamenu.c32                          1

============== sdb1: Version of COM32(R) files used by Syslinux: ===============

menu.c32                           :  COM32R module (v4.xx)
syslinux/chain.c32                 :  COM32R module (v4.xx)
syslinux/menu.c32                  :  COM32R module (v4.xx)
syslinux/vesamenu.c32              :  COM32R module (v4.xx)
boot/syslinux/chain.c32            :  COM32R module (v4.xx)
boot/syslinux/linux.c32            :  COM32R module (v4.xx)
boot/syslinux/menu.c32             :  COM32R module (v4.xx)
boot/syslinux/reboot.c32           :  COM32R module (v4.xx)

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

File descriptor 7 (pipe:[6344]) leaked on lvscan invocation. Parent PID 6250: bash
File descriptor 8 (pipe:[6344]) leaked on lvscan invocation. Parent PID 6250: bash
  No volume groups found
mdadm: No arrays found in config file or automatically

ADDITIONAL INFORMATION :
**************** log of boot-repair 2012-04-17__23h26 ****************
boot-repair version : 3.16-0ppa10~lucid
boot-sav version : 3.17-0ppa18~lucid
/usr/share/boot-sav/gui-update.sh: line 31: hash: glade2script: not found
glade2script-gtk2 version : 0.0.1-0ppa4~lucid
internet: no-internet
File descriptor 7 (pipe:[6344]) leaked on lvs invocation. Parent PID 3414: /bin/sh
File descriptor 8 (pipe:[6344]) leaked on lvs invocation. Parent PID 3414: /bin/sh
No volume groups found
LIVESESSION is : yes (Debian GNU/Linux 6.0.3 (squeeze) , squeeze , Debian , i686  )
BYTES_BEFORE_PART[1] (sda) = 2048 sectors * 512 bytes = 1048576 bytes.
BYTES_BEFORE_PART[2] (sdb) = 2048 sectors * 512 bytes = 1048576 bytes.

OSPROBER:
/dev/sda1:Windows 7 (loader):Windows:chain
/dev/sda2:Windows Recovery Environment (loader):Windows1:chain
/dev/sda3:Windows 7 (loader):Windows2:chain

BLKID:
/dev/sda1: UUID="F0E4485BE4482666" TYPE="ntfs"
/dev/sda2: LABEL="RECOVERY" UUID="DE1200B8120097A3" TYPE="ntfs"
/dev/sda3: LABEL="SYSTEM" UUID="982895C028959DB6" TYPE="ntfs"
/dev/sda5: UUID="01d3db3a-1f50-40e5-94b2-4d55da25b5c5" TYPE="swap"
/dev/sdb1: LABEL="MYLINUXLIVE" UUID="CE7B-666D" TYPE="vfat"
/dev/loop0: TYPE="squashfs"

1 disks with OS, 3 OS : 0 Linux, 0 MacOS, 3 Windows, 0 unknown type OS.
Total of 3 OS detected on sda disk.
TABLE_TYPE of sda is MSDos
TABLE_TYPE of sdb is MSDos
sda1 : sda, not-sepboot, no-grub-install, grub , no-update-grub, no-apt-nor-yum, 32, no boot, /mnt/boot-sav/sda1, with-os, no-gpt, notEFItable, no-fstab.
sda2 : sda, not-sepboot, no-grub-install, grub , no-update-grub, no-apt-nor-yum, 32, no boot, /mnt/boot-sav/sda2, with-os, no-gpt, notEFItable, no-fstab.
sda3 : sda, not-sepboot, no-grub-install, grub , no-update-grub, no-apt-nor-yum, 32, no boot, /mnt/boot-sav/sda3, with-os, no-gpt, notEFItable, no-fstab.
sdb1 : sdb, is-maybe-sepboot, no-grub-install, grub , no-update-grub, no-apt-nor-yum, 32, with boot, /live/image, no-os, no-gpt, notEFItable, no-fstab.

PARTED:

Model: ATA SAMSUNG HM160HI (scsi)
Disk /dev/sda: 160GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start   End    Size    Type      File system     Flags
1      1049kB  112GB  112GB   primary   ntfs
4      112GB   147GB  35.3GB  extended
5      146GB   147GB  1498MB  logical   linux-swap(v1)
2      147GB   160GB  12.7GB  primary   ntfs
3      160GB   160GB  211MB   primary   ntfs            boot


Model:  USB DISK 2.0 (scsi)
Disk /dev/sdb: 8020MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start   End     Size    Type     File system  Flags
1      4129kB  8020MB  8015MB  primary  fat32        boot


MOUNT:
aufs on / type aufs (rw)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
/dev/sdb1 on /live/image type vfat (ro,noatime,fmask=0022,dmask=0022,codepage=cp437,iocharset=utf8,shortname=mixed,errors=remount-ro)
tmpfs on /live/cow type tmpfs (rw,noatime,mode=755)
tmpfs on /live type tmpfs (rw,relatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
/dev/sda1 on /mnt/boot-sav/sda1 type fuseblk (rw,allow_other,blksize=4096)
/dev/sda2 on /mnt/boot-sav/sda2 type fuseblk (rw,allow_other,blksize=4096)
/dev/sda3 on /mnt/boot-sav/sda3 type fuseblk (rw,allow_other,blksize=4096)


/sys/block/sda:  alignment_offset bdi capability dev device ext_range holders inflight power queue range removable ro sda1 sda2 sda3 sda4 sda5 size slaves stat subsystem trace uevent
/sys/block/sdb:  alignment_offset bdi capability dev device ext_range holders inflight power queue range removable ro sdb1 size slaves stat subsystem trace uevent
/dev:  agpgart block bsg btrfs-control bus char console core cpu_dma_latency disk dri fb0 fd full fuse hpet hwrng initctl input kmsg log MAKEDEV md mem net network_latency network_throughput null port ppp psaux ptmx pts random rfkill rtc rtc0 sda sda1 sda2 sda3 sda4 sda5 sdb sdb1 shm snapshot snd sndstat stderr stdin stdout urandom v4l vga_arbiter video0 xconsole zero

DF:

Filesystem    Type    Size  Used Avail Use% Mounted on
aufs          aufs   1010M  9.2M 1001M   1% /
tmpfs        tmpfs   1010M     0 1010M   0% /lib/init/rw
udev         tmpfs   1005M  204K 1005M   1% /dev
tmpfs        tmpfs   1010M     0 1010M   0% /dev/shm
/dev/sdb1     vfat    7.5G  2.4G  5.1G  33% /live/image
tmpfs        tmpfs   1010M  9.2M 1001M   1% /live/cow
tmpfs        tmpfs   1010M     0 1010M   0% /live
tmpfs        tmpfs   1010M  8.0K 1010M   1% /tmp
/dev/sda1  fuseblk    105G   43G   63G  41% /mnt/boot-sav/sda1
/dev/sda2  fuseblk     12G  9.9G  2.0G  84% /mnt/boot-sav/sda2
/dev/sda3  fuseblk    201M   37M  165M  19% /mnt/boot-sav/sda3

FDISK:
omitting empty partition (5)

Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders, total 312581808 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: 0x39ee4c50

Device Boot      Start         End      Blocks   Id  System
/dev/sda1            2048   218435899   109216926    7  HPFS/NTFS
/dev/sda2       287412224   312164351    12376064    7  HPFS/NTFS
/dev/sda3   *   312164352   312575999      205824    7  HPFS/NTFS
/dev/sda4       218437630   287412223    34487297    5  Extended
/dev/sda5       284485632   287412223     1463296   82  Linux swap / Solaris

Partition table entries are not in disk order

Disk /dev/sdb: 8019 MB, 8019509248 bytes
45 heads, 45 sectors/track, 7734 cylinders, total 15663104 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: 0xc4810e5d

Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *        8064    15663103     7827520    b  W95 FAT32



************************Before mainwindow
FSCK_ACTION no PASTEBIN_ACTION yes
recommendedrepair, restore, REINSTALL_POSSIBLE no PURGE_POSSIBLE
UNHIDEBOOT_ACTION yes (10s), noflag (sda3)
PART_TO_REINSTALL_GRUB , PART_TO_REINSTALL_GRUB_PURGE , FORCE_GRUB  () REMOVABLEDISK
USE_SEPARATEBOOTPART  ()  ()
UNCOMMENT_GFXMODE no ATA  ADD_KERNEL_OPTION no (acpi=off)
MBR_TO_RESTORE sda (mbr) ( )
internet: no-internet

************************Actions
FSCK_ACTION no PASTEBIN_ACTION yes
bootinfo, nombraction, REINSTALL_POSSIBLE no PURGE_POSSIBLE
UNHIDEBOOT_ACTION no (10s), noflag (sda3)
PART_TO_REINSTALL_GRUB , PART_TO_REINSTALL_GRUB_PURGE , FORCE_GRUB  () REMOVABLEDISK
USE_SEPARATEBOOTPART  ()  ()
UNCOMMENT_GFXMODE no ATA  ADD_KERNEL_OPTION no (acpi=off)
MBR_TO_RESTORE sda (mbr) (sda 3)
internet: no-internet
internet: connected
Download as text


C'est grave docteur ?

Hors ligne

#6 Le 18/04/2012, à 00:52

Babdu89

Re : Comment réparer 1 partition endommagée? Gparted, boot repair [résolu]

Bonsoir...

Effectivement, tu n'as plus de partition linux ext4 avec ton Ubuntu dedans ...
Tu as une partition étendue /dev/sda4, avec dedans un espace non alloué( Empty partition ) qui devait être la partition système Ubuntu, + une partition swap /dev/sda5 ...

Confirmation de ce que je disais ,Boot-repair, t'a bien restauré un MBR généric, dans le secteur d'amorçage de ton disque dur...Ce qui permet le démarrage directe de ton Windows... C'est déjà çà d'utilisable...

Pour info, je me doute qu'il s'agit d'un pbm de disque dur. J'ai déjà fait un backup des données importantes et suis prêt à tout ré-installer si nécessaire (windows 7 + Ubuntu) pour faire un truc propre.

Tout réinstaller, peut-être pas, Ubuntu seulement...

Je pense que ce qui a déconné est de vouloir accéder à la partition Ubuntu depuis Windows7 (une sombre histoire de dossier partagé avec Dropbox). Pour ça j'utilisais qui a peut-être tout salopé.

Ah là là !!! aller trifouiller dans les partitions linux depuis Windows avec un truc qui marche plus ou moins bien... Ce n'est pas bon ...
Linux est très bien capable d'accèder totalement aux partitions NTFS,FAT &&&... Mais pas l'invers pour Windows...

Voila ,à toi de voir ce qu'il faut faire...

Bon courage ...
@+.   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

#7 Le 18/04/2012, à 02:07

yBastien

Re : Comment réparer 1 partition endommagée? Gparted, boot repair [résolu]

Ok tant pis pour moi, oui je vais suivre le conseil et ré-installer Ubuntu + mettre les fichiers partagés sous windows/NTFS et y accéder depuis Ubuntu (et non l'inverse).

Dernière petite question : ais-je un moyen de sauver les données sur la partition disparue ?

J'arrive encore à y accéder depuis Windows avec le software "Ext2 Volume Manager" (qui je pense est la cause du foutoir, enfin...). Mais lorsque j'essaye de faire un backup des données la plupart plantent... Bon a priori ya rien de bien important donc je suis pas trop stressé, mais s'il ya un moyen de récupérer plus; je suis preneur...

Merci en tout cas à la communauté Ubuntu, c'est impec !

B

Hors ligne

#8 Le 18/04/2012, à 11:06

Nasman

Re : Comment réparer 1 partition endommagée? Gparted, boot repair [résolu]

On peut peut être encore rechercher tes données.

Je pense qu'il est possible que ta partition commence au secteur 218437632. Peux tu tester dans un terminal en mode LiveCD

sudo dd if=/dev/sda bs=512 count=10 skip=218437632 | hexdump -C

et poster le résultat ?

Autrement il y a testdisk qui te permettra peut être de retrouver ta partition (mais pas d'écriture sur le disque pour l'instant - donc pas de démarrage de Windows...).


PC fixe sous Bionic 64 bits et portable avec Focal 64 bits

Hors ligne

#9 Le 18/04/2012, à 12:37

yBastien

Re : Comment réparer 1 partition endommagée? Gparted, boot repair [résolu]

Alors voilà ce que ça donne :

0000000  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0
*
0000400  \0 200 037  \0  \0      }  \0   s   L 006  \0      n  \r  \0
0000410 230 213 030  \0  \0  \0  \0  \0 002  \0  \0  \0 002  \0  \0  \0
0000420  \0 200  \0  \0  \0 200  \0  \0  \0      \0  \0      {   |   O
0000430   ' 214 213   O 004  \0   !  \0   S    001  \0 001  \0  \0  \0
0000440    210 213   O  \0   N     \0  \0  \0  \0  \0 001  \0  \0  \0
0000450  \0  \0  \0  \0  \v  \0  \0  \0  \0 001  \0  \0   <  \0  \0  \0
0000460   B 002  \0  \0   {  \0  \0  \0   8 030      ^         I   u
0000470      a   W  \0 006 214 205 035  \0  \0  \0  \0  \0  \0  \0  \0
0000480  \0  \0  \0  \0  \0  \0  \0  \0   /  \0   )      T 002 200   d
0000490 221      @   r        \0   : 214    224   ^ 215      5 206
00004a0         \r 223   /    210   ^ 215      .   6   !       223
00004b0        \0  \0  \0  \0    223       200   d 221         ^
00004c0 215         ^ 215       210  \0  \0  \0  \0  \0  \0    003
00004d0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0
00004e0  \b  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0    232     
00004f0 035      M   . 204      t   `   2   4      w 001 001  \0  \0
0000500  \0  \0  \0  \0  \0  \0  \0  \0   g    237   L  \n    002  \0
0000510 004  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0    177  \0  \0
0000520  \0 200   8  \0    177  \0  \0 001  \0  \0  \0         8  \0
0000530  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0
0000540  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \b
0000550  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0 034  \0 034  \0
0000560 001  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0
0000570  \0  \0  \0  \0 004  \0  \0  \0 001      q  \b  \0  \0  \0  \0
0000580  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0
*
0001000 001 004  \0  \0 021 004  \0  \0   ! 004  \0  \0    021    005
0001010   k 005 004  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0    235
0001020 002 004  \0  \0 022 004  \0  \0   ! 006  \0  \0      6   | 033
0001030 001  \0 004  \0  \0  \0  \0  \0  \0  \0  \0  \0   | 033     
0001040 003 004  \0  \0 023 004  \0  \0   !  \b  \0  \0   + 016  \0   
0001050  \0  \0 005  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0       N 227
0001060 004 004  \0  \0 024 004  \0  \0   !  \n  \0  \0      D  \0   
0001070  \0  \0 005  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0       X  \0
0001080 005 004  \0  \0 025 004  \0  \0   !  \f  \0  \0   G   f  \0   
0001090  \0  \0 005  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0       j   L
00010a0 006 004  \0  \0 026 004  \0  \0   ! 016  \0  \0      1    037
00010b0  \0  \0 004  \0  \0  \0  \0  \0  \0  \0  \0  \0    037   r 023
00010c0  \a 004  \0  \0 027 004  \0  \0   ! 020  \0  \0 204   0  \0   
00010d0  \0  \0 005  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0       W   \
00010e0  \b 004  \0  \0 030 004  \0  \0   ! 022  \0  \0   $ 024  \0   
00010f0  \0  \0 005  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0       " 212
0001100  \t 004  \0  \0 031 004  \0  \0   ! 024  \0  \0  \b 036  \0   
0001110  \0  \0 005  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0       P 223
0001120  \n 004  \0  \0 032 004  \0  \0   ! 026  \0  \0    020  \0   
0001130  \0  \0 005  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0         
0001140  \v 004  \0  \0 033 004  \0  \0   ! 030  \0  \0      +  \0   
0001150  \0  \0 005  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0       j   |
0001160  \f 004  \0  \0 034 004  \0  \0   ! 032  \0  \0      /  \0   
0001170  \0  \0 005  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0       &   w
0001180  \r 004  \0  \0 035 004  \0  \0   ! 034  \0  \0   A   E  \0   
0001190  \0  \0 005  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0         
00011a0 016 004  \0  \0 036 004  \0  \0   ! 036  \0  \0   + 016  \0   
00011b0  \0  \0 005  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0          d
00011c0 017 004  \0  \0 037 004  \0  \0   !      \0  \0 217  \b  \0   
00011d0  \0  \0 005  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0       E   
00011e0 020 004  \0  \0     004  \0  \0   !   "  \0  \0   T  \r  \0   
00011f0  \0  \0 005  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0         
10+0 records in
10+0 records out
5120 bytes (5.1 kB) copied, 0.0100774 s, 508 kB/s
0001200  \0  \0  \b  \0 020  \0  \b  \0      \0  \b  \0 211 016   +  \0
0001210    006 004  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0      c
0001220 001  \0  \b  \0 021  \0  \b  \0     002  \b  \0   6  \0 235  \0
0001230 222 002 004  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0 224   +
0001240 002  \0  \b  \0 022  \0  \b  \0     004  \b  \0    004 201 004
0001250 200  \0 004  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0   J   
0001260 003  \0  \b  \0 023  \0  \b  \0     006  \b  \0    004   ! 001
0001270 006 003 004  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0 033   X
0001280 004  \0  \b  \0 024  \0  \b  \0      \b  \b  \0   l  \b    027
0001290   k 006 004  \0  \0  \0  \0  \0  \0  \0  \0  \0   c 024     
00012a0 005  \0  \b  \0 025  \0  \b  \0      \n  \b  \0   t 026   } 034
00012b0 201 003 004  \0  \0  \0  \0  \0  \0  \0  \0  \0   | 034     
00012c0 006  \0  \b  \0 026  \0  \b  \0      \f  \b  \0    022    037
00012d0 002  \0 004  \0  \0  \0  \0  \0  \0  \0  \0  \0    037      I
00012e0  \a  \0  \b  \0 027  \0  \b  \0     016  \b  \0   1  \n  \0   
00012f0  \0  \0 005  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0       < 024
0001300  \b  \0  \b  \0 030  \0  \b  \0     020  \b  \0 031 017  \0   
0001310  \0  \0 005  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0       v   I
0001320  \t  \0  \b  \0 031  \0  \b  \0     022  \b  \0   4  \t  \0   
0001330  \0  \0 005  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0          -
0001340  \n  \0  \b  \0 032  \0  \b  \0     024  \b  \0    017  \0   
0001350  \0  \0 005  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0          l
0001360  \v  \0  \b  \0 033  \0  \b  \0     026  \b  \0   , 021  \0   
0001370  \0  \0 005  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0       n 214
0001380  \f  \0  \b  \0 034  \0  \b  \0     030  \b  \0      ;  \0   
0001390  \0  \0 005  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0        030
00013a0  \r  \0  \b  \0 035  \0  \b  \0     032  \b  \0   1   *  \0   
00013b0  \0  \0 005  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0       D   
00013c0 016  \0  \b  \0 036  \0  \b  \0     034  \b  \0      F  \0   
00013d0  \0  \0 005  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0       9   
00013e0 017  \0  \b  \0 037  \0  \b  \0     036  \b  \0 204   ,  \0   
00013f0  \0  \0 005  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0       $   S
0001400

Hors ligne

#10 Le 18/04/2012, à 13:24

Nasman

Re : Comment réparer 1 partition endommagée? Gparted, boot repair [résolu]

C'était un -C (en majuscule) après le hexdump hmm


PC fixe sous Bionic 64 bits et portable avec Focal 64 bits

Hors ligne

#11 Le 18/04/2012, à 15:08

yBastien

Re : Comment réparer 1 partition endommagée? Gparted, boot repair [résolu]

Ok ô temps pour moi :-)


user@debian:~$ sudo dd if=/dev/sda bs=512 count=10 skip=218437632 | hexdump -C
00000000  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
00000400  00 80 1f 00 00 f9 7d 00  73 4c 06 00 f1 6e 0d 00  |......}.sL...n..|
00000410  98 8b 18 00 00 00 00 00  02 00 00 00 02 00 00 00  |................|
00000420  00 80 00 00 00 80 00 00  00 20 00 00 e6 7b 7c 4f  |......... ...{|O|
00000430  27 8c 8b 4f 04 00 21 00  53 ef 01 00 01 00 00 00  |'..O..!.S.......|
00000440  d4 88 8b 4f 00 4e ed 00  00 00 00 00 01 00 00 00  |...O.N..........|
00000450  00 00 00 00 0b 00 00 00  00 01 00 00 3c 00 00 00  |............<...|
00000460  42 02 00 00 7b 00 00 00  38 18 fd 5e b1 b1 49 75  |B...{...8..^..Iu|
00000470  be 61 57 00 06 8c 85 1d  00 00 00 00 00 00 00 00  |.aW.............|
00000480  00 00 00 00 00 00 00 00  2f 00 29 e2 54 02 80 64  |......../.).T..d|
00000490  91 f3 40 72 ec f6 00 3a  8c f6 94 5e 8d f3 35 86  |..@r...:...^..5.|
000004a0  20 c0 0d 93 2f c0 88 5e  8d f3 2e 36 21 c0 b8 93  | .../..^...6!...|
000004b0  c2 f3 00 00 00 00 b8 93  c2 f3 80 64 91 f3 f0 5e  |...........d...^|
000004c0  8d f3 b0 5e 8d f3 dd 88  00 00 00 00 00 00 fe 03  |...^............|
000004d0  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
000004e0  08 00 00 00 00 00 00 00  00 00 00 00 f1 9a ab de  |................|
000004f0  1d bc 4d 2e 84 bb 74 60  32 34 e6 77 01 01 00 00  |..M...t`24.w....|
00000500  00 00 00 00 00 00 00 00  67 b3 9f 4c 0a f3 02 00  |........g..L....|
00000510  04 00 00 00 00 00 00 00  00 00 00 00 ff 7f 00 00  |................|
00000520  00 80 38 00 ff 7f 00 00  01 00 00 00 ff ff 38 00  |..8...........8.|
00000530  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000540  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 08  |................|
00000550  00 00 00 00 00 00 00 00  00 00 00 00 1c 00 1c 00  |................|
00000560  01 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000570  00 00 00 00 04 00 00 00  01 b3 71 08 00 00 00 00  |..........q.....|
00000580  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
10+0 records in
10+0 records out
5120 bytes (5.1 kB) copied, 0.00160565 s, 3.2 MB/s
00001000  01 04 00 00 11 04 00 00  21 04 00 00 a6 11 d0 05  |........!.......|
00001010  6b 05 04 00 00 00 00 00  00 00 00 00 00 00 d3 9d  |k...............|
00001020  02 04 00 00 12 04 00 00  21 06 00 00 d6 36 7c 1b  |........!....6|.|
00001030  01 00 04 00 00 00 00 00  00 00 00 00 7c 1b ad d3  |............|...|
00001040  03 04 00 00 13 04 00 00  21 08 00 00 2b 0e 00 20  |........!...+.. |
00001050  00 00 05 00 00 00 00 00  00 00 00 00 00 20 4e 97  |............. N.|
00001060  04 04 00 00 14 04 00 00  21 0a 00 00 ad 44 00 20  |........!....D. |
00001070  00 00 05 00 00 00 00 00  00 00 00 00 00 20 58 00  |............. X.|
00001080  05 04 00 00 15 04 00 00  21 0c 00 00 47 66 00 20  |........!...Gf. |
00001090  00 00 05 00 00 00 00 00  00 00 00 00 00 20 6a 4c  |............. jL|
000010a0  06 04 00 00 16 04 00 00  21 0e 00 00 de 31 fe 1f  |........!....1..|
000010b0  00 00 04 00 00 00 00 00  00 00 00 00 fd 1f 72 13  |..............r.|
000010c0  07 04 00 00 17 04 00 00  21 10 00 00 84 30 00 20  |........!....0. |
000010d0  00 00 05 00 00 00 00 00  00 00 00 00 00 20 57 5c  |............. W\|
000010e0  08 04 00 00 18 04 00 00  21 12 00 00 24 14 00 20  |........!...$.. |
000010f0  00 00 05 00 00 00 00 00  00 00 00 00 00 20 22 8a  |............. ".|
00001100  09 04 00 00 19 04 00 00  21 14 00 00 08 1e 00 20  |........!...... |
00001110  00 00 05 00 00 00 00 00  00 00 00 00 00 20 50 93  |............. P.|
00001120  0a 04 00 00 1a 04 00 00  21 16 00 00 eb 10 00 20  |........!...... |
00001130  00 00 05 00 00 00 00 00  00 00 00 00 00 20 d9 fd  |............. ..|
00001140  0b 04 00 00 1b 04 00 00  21 18 00 00 a2 2b 00 20  |........!....+. |
00001150  00 00 05 00 00 00 00 00  00 00 00 00 00 20 6a 7c  |............. j||
00001160  0c 04 00 00 1c 04 00 00  21 1a 00 00 eb 2f 00 20  |........!..../. |
00001170  00 00 05 00 00 00 00 00  00 00 00 00 00 20 26 77  |............. &w|
00001180  0d 04 00 00 1d 04 00 00  21 1c 00 00 41 45 00 20  |........!...AE. |
00001190  00 00 05 00 00 00 00 00  00 00 00 00 00 20 b7 f9  |............. ..|
000011a0  0e 04 00 00 1e 04 00 00  21 1e 00 00 2b 0e 00 20  |........!...+.. |
000011b0  00 00 05 00 00 00 00 00  00 00 00 00 00 20 e6 64  |............. .d|
000011c0  0f 04 00 00 1f 04 00 00  21 20 00 00 8f 08 00 20  |........! ..... |
000011d0  00 00 05 00 00 00 00 00  00 00 00 00 00 20 45 d3  |............. E.|
000011e0  10 04 00 00 20 04 00 00  21 22 00 00 54 0d 00 20  |.... ...!"..T.. |
000011f0  00 00 05 00 00 00 00 00  00 00 00 00 00 20 b3 e2  |............. ..|
00001200  00 00 08 00 10 00 08 00  20 00 08 00 89 0e 2b 00  |........ .....+.|
00001210  bb 06 04 00 00 00 00 00  00 00 00 00 00 00 ee 63  |...............c|
00001220  01 00 08 00 11 00 08 00  20 02 08 00 36 00 9d 00  |........ ...6...|
00001230  92 02 04 00 00 00 00 00  00 00 00 00 00 00 94 2b  |...............+|
00001240  02 00 08 00 12 00 08 00  20 04 08 00 ef 04 81 04  |........ .......|
00001250  80 00 04 00 00 00 00 00  00 00 00 00 00 00 4a b6  |..............J.|
00001260  03 00 08 00 13 00 08 00  20 06 08 00 f8 04 21 01  |........ .....!.|
00001270  06 03 04 00 00 00 00 00  00 00 00 00 00 00 1b 58  |...............X|
00001280  04 00 08 00 14 00 08 00  20 08 08 00 6c 08 f0 17  |........ ...l...|
00001290  6b 06 04 00 00 00 00 00  00 00 00 00 63 14 f4 b0  |k...........c...|
000012a0  05 00 08 00 15 00 08 00  20 0a 08 00 74 16 7d 1c  |........ ...t.}.|
000012b0  81 03 04 00 00 00 00 00  00 00 00 00 7c 1c c0 fa  |............|...|
000012c0  06 00 08 00 16 00 08 00  20 0c 08 00 bd 12 fe 1f  |........ .......|
000012d0  02 00 04 00 00 00 00 00  00 00 00 00 fe 1f c6 49  |...............I|
000012e0  07 00 08 00 17 00 08 00  20 0e 08 00 31 0a 00 20  |........ ...1.. |
000012f0  00 00 05 00 00 00 00 00  00 00 00 00 00 20 3c 14  |............. <.|
00001300  08 00 08 00 18 00 08 00  20 10 08 00 19 0f 00 20  |........ ...... |
00001310  00 00 05 00 00 00 00 00  00 00 00 00 00 20 76 49  |............. vI|
00001320  09 00 08 00 19 00 08 00  20 12 08 00 34 09 00 20  |........ ...4.. |
00001330  00 00 05 00 00 00 00 00  00 00 00 00 00 20 d7 2d  |............. .-|
00001340  0a 00 08 00 1a 00 08 00  20 14 08 00 e6 0f 00 20  |........ ...... |
00001350  00 00 05 00 00 00 00 00  00 00 00 00 00 20 c3 6c  |............. .l|
00001360  0b 00 08 00 1b 00 08 00  20 16 08 00 2c 11 00 20  |........ ...,.. |
00001370  00 00 05 00 00 00 00 00  00 00 00 00 00 20 6e 8c  |............. n.|
00001380  0c 00 08 00 1c 00 08 00  20 18 08 00 e4 3b 00 20  |........ ....;. |
00001390  00 00 05 00 00 00 00 00  00 00 00 00 00 20 eb 18  |............. ..|
000013a0  0d 00 08 00 1d 00 08 00  20 1a 08 00 31 2a 00 20  |........ ...1*. |
000013b0  00 00 05 00 00 00 00 00  00 00 00 00 00 20 44 d9  |............. D.|
000013c0  0e 00 08 00 1e 00 08 00  20 1c 08 00 a8 46 00 20  |........ ....F. |
000013d0  00 00 05 00 00 00 00 00  00 00 00 00 00 20 39 d6  |............. 9.|
000013e0  0f 00 08 00 1f 00 08 00  20 1e 08 00 84 2c 00 20  |........ ....,. |
000013f0  00 00 05 00 00 00 00 00  00 00 00 00 00 20 24 53  |............. $S|
00001400

Hors ligne

#12 Le 18/04/2012, à 15:20

Nasman

Re : Comment réparer 1 partition endommagée? Gparted, boot repair [résolu]

Cela semble correspondre à la partition de ton système. Je pense que tu peux tenter sa récupération avec testdisk (voir doc)
Par contre je ne suis pas trop expert de ce programme (qui peut être "installé" en mode LiveCD). rmy le maitrise sans doute bien mieux que moi. Je te conseille de poster sur le topic dédié à la récupération des données.


PC fixe sous Bionic 64 bits et portable avec Focal 64 bits

Hors ligne

#13 Le 18/04/2012, à 15:42

yBastien

Re : Comment réparer 1 partition endommagée? Gparted, boot repair [résolu]

Ok je vais poster sur le forum adéquat et tenter un testdisk. C'est ok si je mets déjà ce sujet en "[RESOLU]" ?

Hors ligne

#14 Le 18/04/2012, à 16:23

Nasman

Re : Comment réparer 1 partition endommagée? Gparted, boot repair [résolu]

Tu le mettra en Résolu lorsque tu auras retrouvé ton système.


PC fixe sous Bionic 64 bits et portable avec Focal 64 bits

Hors ligne

#15 Le 19/04/2012, à 18:34

yBastien

Re : Comment réparer 1 partition endommagée? Gparted, boot repair [résolu]

Ok voici la suite des infos données par TestDisk :

http://forum.ubuntu-fr.org/viewtopic.php?pid=8871331

Hors ligne