Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Disque dur] Nouveau disque dur introuvable
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3  
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
Naoli
Apprentice
Apprentice


Joined: 13 Mar 2005
Posts: 263
Location: ENSMA@Futuroscope

PostPosted: Wed Sep 07, 2005 6:45 am    Post subject: Reply with quote

Non je n'utilise aucun de ces programmes.

fstab :
Code:


# /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/sda5               /boot           ext2            noatime         1 2

#/dev/sda5              /               xfs             noatime                 0 0
/dev/sda6               none            swap            sw                      0 0
/dev/sda7               /               ext3            noatime                 0 1
/dev/cdroms/cdrom0      /mnt/graveur    iso9660         defaults,user,ro        0 0
/dev/cdroms/cdrom1      /mnt/cdrom      auto            defaults,user           0 0
/dev/sda2               /mnt/win        auto            defaults,noatime,user   0 0
/dev/sdb1               /mnt/datarecover        auto    defaults,noatime,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           nodev,nosuid,noexec             0 0





Code:
 GENTOO linux # df -h
Sys. de fich.         Tail. Occ. Disp. %Occ. Monté sur
/dev/sda7              49G  8,6G   38G  19% /
udev                  506M  184K  506M   1% /dev
/dev/sda5              36M   14M   21M  40% /boot
/dev/cdroms/cdrom1    644M  644M     0 100% /mnt/cdrom
none                  506M     0  506M   0% /dev/shm


Je suppose que c'est pas bon ça...
_________________
Cultivez-vous, participez au projet ajaboo ! www.ajaboo.com
Back to top
View user's profile Send private message
yoyo
Bodhisattva
Bodhisattva


Joined: 04 Mar 2003
Posts: 4273
Location: Lyon - France

PostPosted: Wed Sep 07, 2005 6:57 am    Post subject: Reply with quote

Naoli wrote:
Je suppose que c'est pas bon ça...
Il y a en effet un problème puisque sdb1 apparaît dans le fstab mais n'est pas montée.
Essaie de commenter la ligne concernant cette partition dans le fstab; ensuite reboot et essaie de la monter à la main en root et en précisant le système de fichier ("-t ntfs").
_________________
La connaissance s'accroît quand on la partage.
JCB
Back to top
View user's profile Send private message
Naoli
Apprentice
Apprentice


Joined: 13 Mar 2005
Posts: 263
Location: ENSMA@Futuroscope

PostPosted: Wed Sep 07, 2005 7:07 am    Post subject: Reply with quote

Commenter la ligne ? C'est à dire ?

Elle n'était pas là à l'origine, je l'ai mise suite à la suggestion de palatin (je crois), mais ça n'a rien changé.
Code:

GENTOO cdrom # mount -t ntfs /dev/sdb1 /mnt/datarecover/
mount: unknown filesystem type 'ntfs'

_________________
Cultivez-vous, participez au projet ajaboo ! www.ajaboo.com
Back to top
View user's profile Send private message
yoyo
Bodhisattva
Bodhisattva


Joined: 04 Mar 2003
Posts: 4273
Location: Lyon - France

PostPosted: Wed Sep 07, 2005 7:22 am    Post subject: Reply with quote

Naoli wrote:
Commenter la ligne ? C'est à dire ?
tu mais un "#" (dièse) au début de la ligne et tu redémarres.

Avant ça, tu peux faire un "ls /proc/config.gz" ??

PS : J'avais pas vu, mais le support de l'écriture NTFS est expérimental et déconseillé (mais ça ne devrait pas t'empêcher de lire/monter ta partition)...

EDIT : à ce propos, j'ai vu un ebuild ntfsprogs avec le support de fuse. Vous avez testé ?
_________________
La connaissance s'accroît quand on la partage.
JCB
Back to top
View user's profile Send private message
Naoli
Apprentice
Apprentice


Joined: 13 Mar 2005
Posts: 263
Location: ENSMA@Futuroscope

PostPosted: Wed Sep 07, 2005 8:30 am    Post subject: Reply with quote

Code:
GENTOO naoli # ls /proc/config.gz
/proc/config.gz


Après reboot :

Code:
GENTOO naoli # mount -t ntfs /dev/sdb7 /mnt/datarecover/
mount: unknown filesystem type 'ntfs'


pour le EDIT, je ne comprends pas :oops:
_________________
Cultivez-vous, participez au projet ajaboo ! www.ajaboo.com
Back to top
View user's profile Send private message
yoyo
Bodhisattva
Bodhisattva


Joined: 04 Mar 2003
Posts: 4273
Location: Lyon - France

PostPosted: Wed Sep 07, 2005 8:36 am    Post subject: Reply with quote

Naoli wrote:
Code:
GENTOO naoli # mount -t ntfs /dev/sdb7 /mnt/datarecover/
mount: unknown filesystem type 'ntfs'
Pourquoi sdb7 ??

Sinon, que donne un "zgrep NTFS /proc/config.gz" ??

PS : le EDIT ne te concernait pas forcément ... n'y prête pas attention. :wink:
_________________
La connaissance s'accroît quand on la partage.
JCB
Back to top
View user's profile Send private message
Naoli
Apprentice
Apprentice


Joined: 13 Mar 2005
Posts: 263
Location: ENSMA@Futuroscope

PostPosted: Wed Sep 07, 2005 8:59 am    Post subject: Reply with quote

Code:
naoli@GENTOO ~ $ zgrep NTFS /proc/config.gz
CONFIG_NTFS_FS=m
# CONFIG_NTFS_DEBUG is not set
# CONFIG_NTFS_RW is not set


J'hallucine 8O
_________________
Cultivez-vous, participez au projet ajaboo ! www.ajaboo.com
Back to top
View user's profile Send private message
yoyo
Bodhisattva
Bodhisattva


Joined: 04 Mar 2003
Posts: 4273
Location: Lyon - France

PostPosted: Wed Sep 07, 2005 9:16 am    Post subject: Reply with quote

yoyo wrote:
Naoli wrote:
Code:
GENTOO naoli # mount -t ntfs /dev/sdb7 /mnt/datarecover/
mount: unknown filesystem type 'ntfs'
Pourquoi sdb7 ??
+1

Tu ne bootes pas sur le noyau que tu as compilé récemment avec le support ntfs en dur. Tu as fait d'autres modif entre temps ??
_________________
La connaissance s'accroît quand on la partage.
JCB
Back to top
View user's profile Send private message
Naoli
Apprentice
Apprentice


Joined: 13 Mar 2005
Posts: 263
Location: ENSMA@Futuroscope

PostPosted: Wed Sep 07, 2005 9:22 am    Post subject: Reply with quote

Pour sdb7, c'est une erreur, mais j'ai le même message avec sdb1.

Je n'i pas fait de modif de kernell entre temps, je ne comprends pas. Dois je refaire un make && make modules_install ?
_________________
Cultivez-vous, participez au projet ajaboo ! www.ajaboo.com
Back to top
View user's profile Send private message
Enlight
Advocate
Advocate


Joined: 28 Oct 2004
Posts: 3519
Location: Alsace (France)

PostPosted: Wed Sep 07, 2005 9:31 am    Post subject: Reply with quote

Naoli wrote:
Pour sdb7, c'est une erreur, mais j'ai le même message avec sdb1.

Je n'i pas fait de modif de kernell entre temps, je ne comprends pas. Dois je refaire un make && make modules_install ?


Et tout ce qui va avec à commencer par monter /boot. grep quoique ce soit dans /usr/src/linux/.config est une info non fiable (pour peu que tu soit un tantinet bordélique) c'est pour ça que yoyo tentait le zgrep dans /proc/config.gz car là on est sur de parler de la config du kernel qui tourne en ce moment même.
L'ennui c'est que ce config.gz c'est une option du kernel donc ona pas la garantie que tu l'ais!
Back to top
View user's profile Send private message
yoyo
Bodhisattva
Bodhisattva


Joined: 04 Mar 2003
Posts: 4273
Location: Lyon - France

PostPosted: Wed Sep 07, 2005 9:33 am    Post subject: Reply with quote

Naoli wrote:
Je n'i pas fait de modif de kernell entre temps, je ne comprends pas. Dois je refaire un make && make modules_install ?
Tu dois surtout copier le noyau généré sur /boot !!! Normalement il est dans "/usr/src/linux/arch/i386/boot/" (si ton lien "/usr/src/linux" pointe bien vers ton noyau en cour).

EDIT : grillé !! Mais pour le config.gz, il l'a (puisqu'il a posté le résultat).
_________________
La connaissance s'accroît quand on la partage.
JCB
Back to top
View user's profile Send private message
cylgalad
Veteran
Veteran


Joined: 18 Apr 2003
Posts: 1327
Location: France

PostPosted: Wed Sep 07, 2005 9:39 am    Post subject: Reply with quote

Une question conne : as-tu formaté la partition ? :twisted:
Back to top
View user's profile Send private message
Naoli
Apprentice
Apprentice


Joined: 13 Mar 2005
Posts: 263
Location: ENSMA@Futuroscope

PostPosted: Wed Sep 07, 2005 9:59 am    Post subject: Reply with quote

@Yoyo : copier le noyau vers /boot.... Comment ? :oops:

@cylgalad: Bien sûr que non, puisque le but est de conserver les données :wink:
_________________
Cultivez-vous, participez au projet ajaboo ! www.ajaboo.com
Back to top
View user's profile Send private message
Enlight
Advocate
Advocate


Joined: 28 Oct 2004
Posts: 3519
Location: Alsace (France)

PostPosted: Wed Sep 07, 2005 10:08 am    Post subject: Reply with quote

Naoli wrote:
@Yoyo : copier le noyau vers /boot.... Comment ? :oops:

@cylgalad: Bien sûr que non, puisque le but est de conserver les données :wink:


Comme lors de l'install!!!
Back to top
View user's profile Send private message
Naoli
Apprentice
Apprentice


Joined: 13 Mar 2005
Posts: 263
Location: ENSMA@Futuroscope

PostPosted: Wed Sep 07, 2005 10:49 am    Post subject: Reply with quote

Quote:
cp arch/i386/boot/bzImage /boot/kernel-2.4.26-gentoo-r9
# cp System.map /boot/System.map-2.4.26-gentoo-r9
cp .config /boot/config-2.4.26-gentoo-r9


Ca je l'ai fait, c'est bien de ça dont il s'agit ?

Je crois que je vais abandonner.
_________________
Cultivez-vous, participez au projet ajaboo ! www.ajaboo.com
Back to top
View user's profile Send private message
robinhood
Apprentice
Apprentice


Joined: 21 Jun 2004
Posts: 290

PostPosted: Wed Sep 07, 2005 11:11 am    Post subject: Reply with quote

Meu non.
mount /boot
cd /usr/src/linux
make menuconfig
tu verifie que ntfs est en dur, et tu sauvegarde
rm -r /lib/modules/*
make && make modules_install
cp arch/i386/boot/bzImage /boot/kernel-gna-gna
cp System.map /boot/
tu verifie le contenu de /boot et ton grub.conf, et tu reboot.
Back to top
View user's profile Send private message
yoyo
Bodhisattva
Bodhisattva


Joined: 04 Mar 2003
Posts: 4273
Location: Lyon - France

PostPosted: Wed Sep 07, 2005 11:22 am    Post subject: Reply with quote

robinhood wrote:
rm -r /lib/modules/*
Surtout pas ça !!!
Tu vas perdre tous les modules de tous tes autres noyaux ainsi que les modules externes aux sources (nvidia, alsa etc.) !!!

@Naoli : après avoir copié ton noyau sur /boot (ce que tu fais avec le cp arch/etc. /boot/etc.) il faut indiquer dans ton grub.conf le nouveau nom de ton noyau. Par exemple tu as fait :
- "cp arch/i386/boot/bzImage /boot/kernel-2.4.26-gentoo-r9" (je doute d'ailleurs que tu aies un noyau 2.4 mais bon le nom n'a pas d'importance)
Dans ton grub.conf, tu dois avoir une entrée :
-
Quote:
title=Gentoo Linux Testing
root (X)
kernel (X)/kernel-2.4.26-gentoo-r9 root=/dev/sdaY blabla

_________________
La connaissance s'accroît quand on la partage.
JCB
Back to top
View user's profile Send private message
robinhood
Apprentice
Apprentice


Joined: 21 Jun 2004
Posts: 290

PostPosted: Wed Sep 07, 2005 11:55 am    Post subject: Reply with quote

Quote:
Surtout pas ça !!!
Tu vas perdre tous les modules de tous tes autres noyaux ainsi que les modules externes aux sources (nvidia, alsa etc.) !!!

Exact, j'aurai du preciser qu'il faut faire un emerge ati-drivers ou nvidia-kernel et emerge alsa-driver apres reboot. :oops:
Back to top
View user's profile Send private message
Naoli
Apprentice
Apprentice


Joined: 13 Mar 2005
Posts: 263
Location: ENSMA@Futuroscope

PostPosted: Wed Sep 07, 2005 1:58 pm    Post subject: Reply with quote

Etant en plein déménagement, j'abandonne ici.... par faute de temps et de forces....

Je le reprendrai plus tard... Merci à tous :) merci beaucoup
_________________
Cultivez-vous, participez au projet ajaboo ! www.ajaboo.com
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French All times are GMT
Goto page Previous  1, 2, 3
Page 3 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum