Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
reiserfs made my system un-bootable
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Uranus
Guru
Guru


Joined: 07 May 2002
Posts: 438
Location: Portugal, Braga

PostPosted: Sun May 11, 2003 10:14 am    Post subject: reiserfs made my system un-bootable Reply with quote

Hi there... I have my root partition reiserfs, and, up until now, I would get a message when booting saying it could not find my /dev/hda3 so it could not use fsck.reiserfs on it

but today, I was booting up, and it just says the same error and wants the root password for maintenance or ctrl+d to reboot... I guess I did the ~30 mounts and it was time for a forced fsck

anyway... I tried doing fsck.reiserfs manually but /dev/hda3 doesn't even exist! I have /dev/hda1 /dev/hda2 /dev/hda6 /dev/hda7 ... no /dev/hda3... but if I type "mount" it tells me my / partition is mounted with reiserfs from /dev/hda3

wtf?
Back to top
View user's profile Send private message
neuron
Advocate
Advocate


Joined: 28 May 2002
Posts: 2371

PostPosted: Sun May 11, 2003 12:05 pm    Post subject: Reply with quote

fdisk /dev/hda
p
q
should list the partitions, it could be it shows /dev/hda3 as mounted becouse you'v got a buggy fstab file or something I guess, and that your actual root is /dev/hda7 or something.

it could also be your partition table is screwed up.
Back to top
View user's profile Send private message
pilla
Bodhisattva
Bodhisattva


Joined: 07 Aug 2002
Posts: 7731
Location: Underworld

PostPosted: Sun May 11, 2003 2:21 pm    Post subject: Reply with quote

Maybe hda3 is the extended partition where you have the logical disks inside

Then, it is correct that you cannot mount it.
_________________
"I'm just very selective about the reality I choose to accept." -- Calvin
Back to top
View user's profile Send private message
mb4guns
Guru
Guru


Joined: 04 Dec 2002
Posts: 300
Location: Netherlands

PostPosted: Sun May 11, 2003 3:36 pm    Post subject: Reply with quote

big change this is the case, since a primary bootable gets hda1 ...
_________________
sys0: Athlon64, Corsair TWINX DDR400 (1024mb), GeForce FX5600 256mb, 2x SATA MAxtor 120gig, Plextor 708a, Zalman cooling, Zalman powered, gnomed
sys1: Dell inspiron 4100 PentiumIII-mobile@1000 512mb ATI Radeon mobility m6 30gig, gnomed
Back to top
View user's profile Send private message
Uranus
Guru
Guru


Joined: 07 May 2002
Posts: 438
Location: Portugal, Braga

PostPosted: Sun May 11, 2003 4:15 pm    Post subject: Reply with quote

I have 3 partitions, boot, root and swap, /dev/hda1, /dev/hda3, /dev/hda2 respectively... They are all primary partitions (as cfdisk reports)

I tried running fsck.reiserfs with all my /dev/hdaX and it doesn't accept them
Back to top
View user's profile Send private message
neuron
Advocate
Advocate


Joined: 28 May 2002
Posts: 2371

PostPosted: Sun May 11, 2003 4:43 pm    Post subject: Reply with quote

did you do what I asked? I'm gonna have to go with Bloody Bastard here and guess you have logical partitions.

reiserfs could cause errors, but it would be on the filesystem, a partition table problem... I dunno, doubt that a lot.
Back to top
View user's profile Send private message
pilla
Bodhisattva
Bodhisattva


Joined: 07 Aug 2002
Posts: 7731
Location: Underworld

PostPosted: Sun May 11, 2003 5:29 pm    Post subject: Reply with quote

could you post the outputs of fdisk and fstab in natura for us?
_________________
"I'm just very selective about the reality I choose to accept." -- Calvin
Back to top
View user's profile Send private message
Uranus
Guru
Guru


Joined: 07 May 2002
Posts: 438
Location: Portugal, Braga

PostPosted: Tue May 13, 2003 7:54 pm    Post subject: Reply with quote

hi, sorry I took so long to reply... had school, plus tutoring, plus my birthday was yesterday (got a wireless microsoft mouse+keyboard... very sweet :P)... anyway:

fdisk
fstab

in natura! :)

u guys could give me a late b-day present and make my gentoo work again :)
Back to top
View user's profile Send private message
neuron
Advocate
Advocate


Joined: 28 May 2002
Posts: 2371

PostPosted: Tue May 13, 2003 7:59 pm    Post subject: Reply with quote

try to boot from cd and run reiserfsck

and happy birthday :)
Back to top
View user's profile Send private message
Jimboberella
Guru
Guru


Joined: 19 Jun 2002
Posts: 358
Location: Brisbane/Australia

PostPosted: Tue May 13, 2003 9:36 pm    Post subject: Reply with quote

I am thinking that you have ext2/3 and not reiser partitions. Try running just fsck.
Back to top
View user's profile Send private message
Uranus
Guru
Guru


Joined: 07 May 2002
Posts: 438
Location: Portugal, Braga

PostPosted: Tue May 13, 2003 11:16 pm    Post subject: Reply with quote

k, I booted up from the cd and I was able to do a fsck.reiserfs and it found errors on what it seemed to be every file, then I rebooted and the same thing happens... I have no /dev/hda3 symlink so it's pointless to do a fsck of any type.... what I don't understand is why it mounts the partition read-only, but then the /dev/hda3 symlink is not there at all
Back to top
View user's profile Send private message
Uranus
Guru
Guru


Joined: 07 May 2002
Posts: 438
Location: Portugal, Braga

PostPosted: Thu May 15, 2003 12:04 pm    Post subject: Reply with quote

*bump*

k, so I booted with the 1.2 gentoo cd and the /dev/hda3 symlink WAS there and I was able to do an fsck.reiserfs on it... but... when I rebooted, gentoo still wanted to do an fsck because it reached the point where there have been too many mounts without checking the file-system. Which leads me to believe that the problem could be my kernel... I have the latest gaming-sources (r3). Tonight I'll try emerging gentoo-sources and I'll try with that

does that make any sense?
Back to top
View user's profile Send private message
pilla
Bodhisattva
Bodhisattva


Joined: 07 Aug 2002
Posts: 7731
Location: Underworld

PostPosted: Thu May 15, 2003 12:21 pm    Post subject: Reply with quote

Try vanilla sources instead

Uranus wrote:
*bump*

k, so I booted with the 1.2 gentoo cd and the /dev/hda3 symlink WAS there and I was able to do an fsck.reiserfs on it... but... when I rebooted, gentoo still wanted to do an fsck because it reached the point where there have been too many mounts without checking the file-system. Which leads me to believe that the problem could be my kernel... I have the latest gaming-sources (r3). Tonight I'll try emerging gentoo-sources and I'll try with that

does that make any sense?

_________________
"I'm just very selective about the reality I choose to accept." -- Calvin
Back to top
View user's profile Send private message
Yoshi Assim
Apprentice
Apprentice


Joined: 16 Apr 2003
Posts: 234
Location: Girona (Spain)

PostPosted: Thu May 15, 2003 10:22 pm    Post subject: Reply with quote

Uranus wrote:
k, I booted up from the cd and I was able to do a fsck.reiserfs and it found errors on what it seemed to be every file, then I rebooted and the same thing happens... I have no /dev/hda3 symlink so it's pointless to do a fsck of any type.... what I don't understand is why it mounts the partition read-only, but then the /dev/hda3 symlink is not there at all


Hello!
I read all the messages above, but is possible that you make some changes in /etc/devfsd.conf that modifies hd's symlinks???

I had a little difference in my fsstab in the swap line:
Code:

/dev/hda6      swap      swap      defaults   0 0

probably isn't important but...
Back to top
View user's profile Send private message
Uranus
Guru
Guru


Joined: 07 May 2002
Posts: 438
Location: Portugal, Braga

PostPosted: Thu May 15, 2003 10:56 pm    Post subject: Reply with quote

btw... it's the same with the vanilla-sources... see this

hmmm... devfsd.conf? could be... can you give me the relevant lines so I can check for differences?
Back to top
View user's profile Send private message
Uranus
Guru
Guru


Joined: 07 May 2002
Posts: 438
Location: Portugal, Braga

PostPosted: Fri May 16, 2003 11:26 am    Post subject: Reply with quote

I saw this on the forums -> https://forums.gentoo.org/viewtopic.php?t=51838&highlight=devfsd

so I tried to play around with devfsd -> click

still no luck... any ideas?
Back to top
View user's profile Send private message
Uranus
Guru
Guru


Joined: 07 May 2002
Posts: 438
Location: Portugal, Braga

PostPosted: Fri May 16, 2003 10:54 pm    Post subject: Reply with quote

guys, is it possible (and viable) to change my reiserfs partition into an ext3 one without losing any data?

or, is there a way for me to disable the thing that makes gentoo wanna fsck.reiserfs my hard-drive every X mounts?

I just wanna hold on long enough till 1.4 gets here... I could download rc3 but I have a monthly download limit, and I've been wanting to do a fresh install mainly to use more aggressive CFLAGS but I wanna wait till 1.4
Back to top
View user's profile Send private message
Yoshi Assim
Apprentice
Apprentice


Joined: 16 Apr 2003
Posts: 234
Location: Girona (Spain)

PostPosted: Fri May 30, 2003 6:29 am    Post subject: Reply with quote

Uranus wrote:
guys, is it possible (and viable) to change my reiserfs partition into an ext3 one without losing any data?


I think that's impossible!. But you can take another HD (from a friend :)) and make a backup

Uranus wrote:
or, is there a way for me to disable the thing that makes gentoo wanna fsck.reiserfs my hard-drive every X mounts?


I don't know this...I supose Yes. But check reiser filesystem is very fast! (This is one of reasons I use Reiser)

Uranus wrote:
I just wanna hold on long enough till 1.4 gets here... I could download rc3 but I have a monthly download limit, and I've been wanting to do a fresh install mainly to use more aggressive CFLAGS but I wanna wait till 1.4


I you think that all is OK and you have a good configuration you don't need to wait until 1.4. After 1.4 released you can type in your console make system and later make world
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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