Le Vendredi 19 Juillet 2002 13:15, vous avez �crit :
> Essai avec fdisk ou cfdisk et pour les experts avec sfdisk.
> Pour voir si le partionnement est visible.
> Dans ce cas un 'write' peut �tre envisag�.
> A+

        Merci, j'ai corrig� ma table de partition avec fdisk, mais mon home sur hda7 
est toujours inaccessible :-(
        Voici ce que me donne fdisk -l :
Disk /dev/hda: 240 heads, 63 sectors, 776 cylinders
Units = cylinders of 15120 * 512 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/hda1   *         1       167   1262488+   c  Win95 FAT32 (LBA)
/dev/hda2           168       775   4596480   85  Linux extended
/dev/hda5           168       444   2094088+  83  Linux
/dev/hda6           445       461    128488+  82  Linux swap
/dev/hda7           462       613   1149088+  83  Linux
/dev/hda8           614       728    869368+  83  Linux

Curieusement la partition hda8 qui posait pb car elle �tait en hda4 et 
chevauchait la partition �tendue (je l'ai supprim�e et j'ai recr�� une 
partition logique � la place), est vue comme une partition non format�e par 
d'autres programmes comme parted :

Disk geometry for /dev/hda: 0.000-5729.062 megabytes
Disk label type: msdos
Minor    Start       End     Type      Filesystem  Flags
1          0.031   1232.929  primary   fat32       boot, lba
2       1232.930   5721.679  extended
5       1232.960   3277.968  logical   ext3
6       3278.000   3403.476  logical   linux-swap
7       3403.507   4525.664  logical   ext2
8       4525.695   5374.687  logical


Information: Don't forget to update /etc/fstab, if necessary.

Ce n'est pas grave car c'est ma partition /opt et j'ai sauvegard� ce qu'il y 
a dessus, contrairement � ma partition /home.
Voici ce que me dit parted, lorsque je v�rifie hda7 :
Warning: Partition 7 is 1122.157Mb, but the file system is 
996.648Mb.

Warning: Filesystem has errors!  You should run e2fsck.

Warning: Filesystem was not cleanly unmounted!  You should 
e2fsck.


Error: Attempt to read sectors -374668040--374661801 outside of partition 
on/dev/hda

No Implementation: This ext2 filesystem has a rather strange layout!  Parted 
can't resize this (yet).


Information: Don't forget to update /etc/fstab, if necessary.

Et gpart ne voit pas hda7 et hda8
demolinux:demo$ gpart /dev/hda
 
Begin scan...
Possible partition(DOS FAT), size(1232mb), offset(0mb)
Possible extended partition at offset(1232mb)
   Possible partition(Linux ext2), size(2045mb), offset(1232mb)
   Possible partition(Linux swap), size(125mb), offset(3277mb)
   Possible partition(Linux swap), size(125mb), offset(4400mb)
 
* Warning: short read near sector(11732931), 64512 bytes instead of 66048. 
Skipping...
End scan.

Et je n'arrive � rien avec e2fsck.

demolinux:demo# e2fsck /dev/hda7
e2fsck 1.18.9, 22-Dec-1999 for EXT2 FS 0.5b, 95/08/09
e2fsck: Attempt to read block from filesystem resulted in short read while 
trying to open /dev/hda7
Could this be a zero-length partition?
demolinux:demo# e2fsck -b 8193 /dev/hda7
e2fsck 1.18.9, 22-Dec-1999 for EXT2 FS 0.5b, 95/08/09
e2fsck: Bad magic number in super-block while trying to open /dev/hda7
 
The superblock could not be read or does not describe a correct ext2
filesystem.  If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
    e2fsck -b 8193 <device>

Quelqu'un a-t-il une id�e avant que je formate ces fichues partitions ?
        Merci

Vous souhaitez acquerir votre Pack ou des Services MandrakeSoft?
Rendez-vous sur "http://www.mandrakestore.com";

Répondre à