Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
reiserfs in sola lettura dopo il boot
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
luisc
n00b
n00b


Joined: 21 Aug 2004
Posts: 35

PostPosted: Mon Aug 30, 2004 6:15 pm    Post subject: reiserfs in sola lettura dopo il boot Reply with quote

finalmente dopo alcuni problemi risolti grazie a "Quick Search", il boot dell'installazione gentoo va quasi alla fine
infatti arrivo alla password di root, prima però
ho questo messaggio:

reiserfs_open: the reiserfs superblock cannot be found on /dev/hda5
failed to open filesystem
filesystem couldn' be fixed

e mi accorgo che il filesystem è accesibile solo in lettura

presumo di avere qualche altro problema col kernel
qualcuno mi illumina? :idea:
Back to top
View user's profile Send private message
luisc
n00b
n00b


Joined: 21 Aug 2004
Posts: 35

PostPosted: Tue Aug 31, 2004 7:09 am    Post subject: Reply with quote

qualcuno ha qualche idea
:cry:
Back to top
View user's profile Send private message
mouser
Veteran
Veteran


Joined: 10 Aug 2004
Posts: 1419
Location: Milano

PostPosted: Tue Aug 31, 2004 7:11 am    Post subject: Reply with quote

luisc wrote:
qualcuno ha qualche idea
:cry:


sei sicuro di aver configurato bene /etc/fstab ???

Semmai prova a postarlo.

Ciriciao
mouser
Back to top
View user's profile Send private message
randomaze
Bodhisattva
Bodhisattva


Joined: 21 Oct 2003
Posts: 9985

PostPosted: Tue Aug 31, 2004 7:13 am    Post subject: Re: reiserfs in sola lettura dopo il boot Reply with quote

Capisco lo sconforto ma ricorda che gli "up" sono deprecati in questo forum e (molto) mal tollerati se fatti prima di 24 ore.

luisc wrote:
reiserfs_open: the reiserfs superblock cannot be found on /dev/hda5


Cos'é hda5? La / non credo perché altrimenti non arriveresti alla login.

Sei sicuro di aver formattato la partizione?
Com'é il tuo /etc/fstab?
_________________
Ciao da me!
Back to top
View user's profile Send private message
luisc
n00b
n00b


Joined: 21 Aug 2004
Posts: 35

PostPosted: Tue Aug 31, 2004 3:52 pm    Post subject: Reply with quote

mi scuso per l'up (d'accordo)

la partizione logica /dev/hda5 l'ho formattata prima dell'installazione di gentoo con reiserfs
questi sono i file /etc/fstab e /etc/lilo.conf

FILE /etc/fstab

/dev/hda3 swap swap default 0 0
/dev/hda5 / reiserfs default 1 1
/dev/cdroms/cdrom0 /mnt/cdrom auto noauto,ro,user 0 0
/dev/fd0 /mnt/floppy auto noauto,user 0 0
none /proc proc default 0 0


FILE /etc/lilo.conf

boot=/dev/hda5
prompt
timeout=10
default=gentoo
vga=771

# Per utenti che hanno usato genkernel

image=/boot/kernel-2.4.20-gentoo-r6
label=gentoo
root=/dev/hda5
read-only
append=”init=/linuxrc real_root=/dev/hda5”
initrd=/boot/initrd-2.4.20-gentoo-r6
Back to top
View user's profile Send private message
mouser
Veteran
Veteran


Joined: 10 Aug 2004
Posts: 1419
Location: Milano

PostPosted: Tue Aug 31, 2004 4:05 pm    Post subject: Reply with quote

luisc wrote:

/dev/hda5 / reiserfs default 1 1


modifica questa riga in questo modo:
Code:

/dev/hda5 / reiserfs auto,noatime 1 1


e vedi se funge.
Back to top
View user's profile Send private message
randomaze
Bodhisattva
Bodhisattva


Joined: 21 Oct 2003
Posts: 9985

PostPosted: Tue Aug 31, 2004 4:06 pm    Post subject: Reply with quote

luisc wrote:
la partizione logica /dev/hda5 l'ho formattata prima dell'installazione di gentoo con reiserfs


Se sei sicuro che in hd5 ci sia un reiserfs e non hai toccato la tabella delle partizioni con qualche editor/resizer o simili allora, dal prompt con la / montata in read-only (oppure da un LiveCD) dovresti dare il comando:

Code:
reiserfscheck --rebuild-sb /dev/hda5


Fai attenzione, ti riporto quanto dice la man page a proposito dell'opzione rebuild-sb:
Quote:

--rebuild-sb
This option recovers the superblock on a Reiserfs partition. Normally you
only need this option if mount reports "read_super_block: can't find a reiserfs
file system" and you are sure that a Reiserfs file system is there. But
remember that if you have used some partition editor program and now
you cannot find a filesystem, probably something has gone wrong while
repartitioning and the start of the partition has been changed. If so,
instead of rebuilding the super block on a wrong place you should find the
correct start of the partition first.


Se hai dei dubbi posta un:
Code:
fdisk -l /dev/hda5

_________________
Ciao da me!
Back to top
View user's profile Send private message
luisc
n00b
n00b


Joined: 21 Aug 2004
Posts: 35

PostPosted: Wed Sep 01, 2004 7:48 am    Post subject: Reply with quote

dopo aver seguito tutti i vostri consigli, alla fine ho dato un:
reiserfsck --rebuild-sb /dev/hda5

ed ho avuto:

Do you want to run this program?[N/Yes] (note need to type Yes if you do):Yes

rebuild-sb: You either have a corrupted journal or have just changed
the start of the partition with some partition table editor. If you are
sure that the start of the partition is ok, rebuild the journal header.
Do you want to rebuild the journal header? (y/n)[n]: y
Reiserfs super block in block 16 on 0x305 of format 3.6 with standard journal
Count of blocks on the device: 2192864
Number of bitmaps: 67
Blocksize: 4096
Free blocks (count of blocks - used [journal, bitmaps, data, reserved] blocks):
0
Root block: 0
Filesystem is NOT cleanly umounted
Tree height: 0
Hash function used to sort names: not set
Objectid map size 0, max 972
Journal parameters:
Device [0x0]
Magic [0x0]
Size 8193 blocks (including 1 for journal header) (first block 18)
Max transaction length 1024 blocks
Max batch size 900 blocks
Max commit age 30
Blocks reserved by journal: 0
Fs state field: 0x1:
some corruptions exist.
sb_version: 2
inode generation number: 0
UUID: b5aea522-96da-45cd-b5bb-377719a37a03
LABEL:
Set flags in SB:

Super block seems to be correct

quel: some corruptions exist
che significa? che il filesystem è corrotto?

ora dal soft di partzionamento di mdk nella hda5 come file system mi mette linux native (0x83) e non reiserfs

che dite?

:(
Back to top
View user's profile Send private message
randomaze
Bodhisattva
Bodhisattva


Joined: 21 Oct 2003
Posts: 9985

PostPosted: Wed Sep 01, 2004 8:16 am    Post subject: Reply with quote

luisc wrote:
quel: some corruptions exist
che significa? che il filesystem è corrotto?


Probabilmente c'era qualche problema che é stato corretto.

Quote:
ora dal soft di partzionamento di mdk nella hda5 come file system mi mette linux native (0x83) e non reiserfs


E' corretto, la partizione é Linux Native, il filesystem che usi non viene indicati li!


Hai provato a fare il boot adesso?
_________________
Ciao da me!
Back to top
View user's profile Send private message
luisc
n00b
n00b


Joined: 21 Aug 2004
Posts: 35

PostPosted: Wed Sep 01, 2004 10:48 am    Post subject: Reply with quote

si ho provato a rifare il boot:
stesso problema
ma prima o poi ne verremmo a capo, forse reinstallando?

Ciao!
Back to top
View user's profile Send private message
luisc
n00b
n00b


Joined: 21 Aug 2004
Posts: 35

PostPosted: Wed Sep 01, 2004 11:21 am    Post subject: Reply with quote

ho messo in fstab xfs come filesystem e ora funziona tutto!!!!!!!

sono in gentoo!!!!!!!!!!!
però resta il mistero che funzia con xfs (perchè, se ho formattato con reiserfs?)
grazie a tutti

:P
Back to top
View user's profile Send private message
randomaze
Bodhisattva
Bodhisattva


Joined: 21 Oct 2003
Posts: 9985

PostPosted: Wed Sep 01, 2004 12:29 pm    Post subject: Reply with quote

luisc wrote:
però resta il mistero che funzia con xfs (perchè, se ho formattato con reiserfs?)


8O 8O 8O 8O 8O

O hai sbagliato comando (anche se confondersi tra mkfs.xfs e mkfs.reiserfs é dura) o hai sbagliato partizione.
Permettimi di dubitare che mkfs.reiserfs ti abbia creato un xfs.
_________________
Ciao da me!
Back to top
View user's profile Send private message
mouser
Veteran
Veteran


Joined: 10 Aug 2004
Posts: 1419
Location: Milano

PostPosted: Wed Sep 01, 2004 12:33 pm    Post subject: Reply with quote

randomaze wrote:
Permettimi di dubitare che mkfs.reiserfs ti abbia creato un xfs.



8O 8O 8O 8O
in effetti.....
Back to top
View user's profile Send private message
luisc
n00b
n00b


Joined: 21 Aug 2004
Posts: 35

PostPosted: Wed Sep 01, 2004 5:16 pm    Post subject: Reply with quote

che ci fosse reiserfs non c'è ombra di dubbio, ero cosciente e sano di mente quando ho formattato!!!! 8)

anche ieri facendo un fsck /dev/hda5 mi veniva indicato che c'era reiserfs

comunque xfs l'ho messo su suggerimento di altri consigli trovati sulla rete

quindi lo stesso problema l'hanno avuto altri

:D
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) 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