Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Probleme de superblock
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
sebweb
Apprentice
Apprentice


Joined: 29 Jan 2003
Posts: 220
Location: Bordeaux - France

PostPosted: Fri May 16, 2003 6:46 pm    Post subject: Probleme de superblock Reply with quote

Voila quand j'essaye d'emerge grub j'ai ca :
Code:

>>> /sbin/grub-md5-crypt
--- /boot/
Traceback (most recent call last):
  File "/usr/bin/emerge", line 1862, in ?
    mydepgraph.merge(mydepgraph.altlist())
  File "/usr/bin/emerge", line 1138, in merge
    retval=portage.doebuild(y,"merge",myroot,edebug)
  File "/usr/lib/python2.2/site-packages/portage.py", line 1492, in doebuild
    return merge(settings["CATEGORY"],settings["PF"],settings["D"],settings["BUILDDIR"]+"/build-info",myroot,myebuild=settings["EBUILD"])
  File "/usr/lib/python2.2/site-packages/portage.py", line 1600, in merge
    return mylink.merge(pkgloc,infloc,myroot,myebuild)
  File "/usr/lib/python2.2/site-packages/portage.py", line 4172, in merge
    return self.treewalk(mergeroot,myroot,inforoot,myebuild)
  File "/usr/lib/python2.2/site-packages/portage.py", line 3874, in treewalk
    if self.mergeme(srcroot,destroot,outfile,secondhand,"",cfgfiledict,mymtime):
  File "/usr/lib/python2.2/site-packages/portage.py", line 4046, in mergeme
    if self.mergeme(srcroot,destroot,outfile,secondhand,offset+x+"/",cfgfiledict,thismtime):
  File "/usr/lib/python2.2/site-packages/portage.py", line 4040, in mergeme
    os.mkdir(mydest)
OSError: [Errno 5] Input/output error: '/boot/grub'


Renseignement pris, il s'avere que le superblock de ma partition hda1 et corompue ( pourquoi ?)
Toujours est-il que j'ai bien suivie la doc et le man pour réparer ce probleme.
Et quand je veux réparer j'ai ça :
Code:
fsck.ext3 -vb 32768 /dev/hda1
e2fsck 1.32 (09-Nov-2002)
The filesystem size (according to the superblock) is 2500107 blocks
The physical size of the device is 64252 blocks
Either the superblock or the partition table is likely to be corrupt!
Abort<y>? no

/dev/hda1 was not cleanly unmounted, check forced.
Pass 1: Checking inodes, blocks, and sizes
Error reading block 65538 (Invalid argument) while doing inode scan.  Ignore error<y>? no

Error while scanning inodes (32512): Can't read next inode
e2fsck: aborted

/dev/hda1: ***** FILE SYSTEM WAS MODIFIED *****

      11 inodes used (0%)
       5 non-contiguous inodes (45.5%)
         # of inodes with ind/dind/tind blocks: 6/0/0
   47495 blocks used (1%)
       0 bad blocks
       0 large files

      13 regular files
       1 directories
       0 character device files
       0 block device files
       0 fifos
      -1 links
       1 symbolic links (1 fast symbolic links)
       0 sockets
--------
      -1 files
Segmentation fault


Quelqu'un a une idée pour réparer le FS ?
Back to top
View user's profile Send private message
ghoti
Advocate
Advocate


Joined: 30 Dec 2002
Posts: 3634
Location: Belgium

PostPosted: Fri May 16, 2003 8:19 pm    Post subject: Re: Probleme de superblock Reply with quote

sebweb wrote:
Code:

Segmentation fault


Quelqu'un a une idée pour réparer le FS ?

Comme ça , non mais le "segmentation fault" me semble plutôt louche : ça voudrait dire à priori que c'est le fsck qui plante !
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
Page 1 of 1

 
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