View previous topic :: View next topic |
Author |
Message |
103598 n00b
Joined: 29 Mar 2005 Posts: 57
|
Posted: Fri Apr 22, 2005 11:19 pm Post subject: [FS ext3] Récupération d'une ancienne partition (En attent |
|
|
Bonsoir, j'installe actuelement une gentoo 2005.0 parce que j'avais cassé ma Vlos (qui m'a aider à piger les quelques mécanismes élémentaires d'une Gentoo).
J'ai formatté ma partition de boot et mon root ( / ), mais j'ai gardé mon /home pour le côté pratique de ne pas avoir à me retapper les favoris firefox, ncftp, etc...
Après quelques déboirs avec l'installation de grub, voici que le reboot tant attendu arrive et là: un seul warning: Quote: | fsck.ext3: Filesystem has unsupported feature(s) (/home)
e2fsck: Get a newer version of e2fsck !
* Fsck could not correct all errors, manuel repair needeed [ !! ] |
Après j'ai le choix entre entrer le mot de passe root pour maintenance ou faire Ctrl + D pour continuer le démarrage. (en plus le mot de passe root ke j'utilise pour me connecter ensuite (une fois le démarrage terminé) ne fonctionne pas à ce moment là.
Quelle est la méthode à adopter pour réparer le FS de ma partition /home, que j'arrive pourtant à accéder en lecture/écriture, et ainsi avoir un démarrage "normal"
En vous remerciant d'avance.
EDIT: Bon le mot de passe qui ne passait pas c'est parce que le clavier est encore qwerty à ce moment du démarrage...
Last edited by 103598 on Sun Apr 24, 2005 9:52 pm; edited 1 time in total |
|
Back to top |
|
|
sireyessire Advocate
Joined: 20 Mar 2003 Posts: 2991 Location: back in Paris, France
|
Posted: Sat Apr 23, 2005 8:09 am Post subject: |
|
|
tu peux nous filer ton /etc/fstab
et le résultat de :
Code: | emerge -pv sys-fs/e2fsprogs
grep EXT /usr/src/linux/.config |
merci _________________ I never think of the future. It comes soon enough.
Albert Einstein
Try simpler first
Shockley |
|
Back to top |
|
|
103598 n00b
Joined: 29 Mar 2005 Posts: 57
|
Posted: Sun Apr 24, 2005 12:24 am Post subject: |
|
|
/etc/fstab wrote: | # /etc/fstab: static file system information.
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/fstab,v 1.14 2003/10/13 20:03:38 azarah Exp $
#
# noatime turns off atimes for increased performance (atimes normally aren't
# needed; notail increases performance of ReiserFS (at the expense of storage
# efficiency). It's safe to drop the noatime options if you want and to
# switch between notail and tail freely.
# <fs> <mountpoint> <type> <opts> <dump/pass>
# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/hda5 /boot ext2 defaults 1 2
/dev/hda7 /home ext3 defaults 0 3
/dev/hda8 / ext3 defaults 0 1
/dev/hda6 none swap sw 0 0
/dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,user 0 0
/dev/fd0 /mnt/floppy auto noauto 0 0
# NOTE: The next line is critical for boot!
none /proc proc defaults 0 0
# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
# use almost no memory if not populated with files)
# Adding the following line to /etc/fstab should take care of this:
none /dev/shm tmpfs defaults 0 0 |
Le résultat des commandes arrive dès que j'ai rebooté
EDIT: Et voilà la suite:
emerge -pv sys-fs/e2fsprogs wrote: | These are the packages that I would merge, in order:
Calculating dependencies ...done!
[ebuild R ] sys-fs/e2fsprogs-1.35-r1 -debug -diet +nls -static 3,078 kB
Total size of downloads: 3,078 kB
|
grep EXT /usr/src/linux/.config wrote: | # CONFIG_KALLSYMS_EXTRA_PASS is not set
CONFIG_EXT2_FS=y
# CONFIG_EXT2_FS_XATTR is not set
CONFIG_EXT3_FS=y
CONFIG_EXT3_FS_XATTR=y
# CONFIG_EXT3_FS_POSIX_ACL is not set
# CONFIG_EXT3_FS_SECURITY is not set
|
|
|
Back to top |
|
|
103598 n00b
Joined: 29 Mar 2005 Posts: 57
|
Posted: Mon Apr 25, 2005 6:15 pm Post subject: |
|
|
Up |
|
Back to top |
|
|
sireyessire Advocate
Joined: 20 Mar 2003 Posts: 2991 Location: back in Paris, France
|
Posted: Mon Apr 25, 2005 7:12 pm Post subject: |
|
|
Erru wrote: | /etc/fstab wrote: | # /etc/fstab: static file system information.
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/fstab,v 1.14 2003/10/13 20:03:38 azarah Exp $
#
# noatime turns off atimes for increased performance (atimes normally aren't
# needed; notail increases performance of ReiserFS (at the expense of storage
# efficiency). It's safe to drop the noatime options if you want and to
# switch between notail and tail freely.
# <fs> <mountpoint> <type> <opts> <dump/pass>
# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/hda5 /boot ext2 defaults 1 2
/dev/hda7 /home ext3 defaults 0 3
/dev/hda8 / ext3 defaults 0 1
/dev/hda6 none swap sw 0 0
/dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,user 0 0
/dev/fd0 /mnt/floppy auto noauto 0 0
# NOTE: The next line is critical for boot!
none /proc proc defaults 0 0
# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
# use almost no memory if not populated with files)
# Adding the following line to /etc/fstab should take care of this:
none /dev/shm tmpfs defaults 0 0 |
Le résultat des commandes arrive dès que j'ai rebooté
|
tu es sûr du 3???
que se passe t'il si tu mets 0 1 à la place? _________________ I never think of the future. It comes soon enough.
Albert Einstein
Try simpler first
Shockley |
|
Back to top |
|
|
103598 n00b
Joined: 29 Mar 2005 Posts: 57
|
Posted: Tue Apr 26, 2005 7:46 pm Post subject: |
|
|
Ca ne change rien
EDIT: J'ai même re-emergé e2fsprogs, sans résultat....
EDIT2: J'ai résolu le problème en formattant la partition. J'aurais autant aimé évité mais bon |
|
Back to top |
|
|
|