Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
File system issues after installation
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Anomally
n00b
n00b


Joined: 16 Oct 2004
Posts: 32

PostPosted: Thu Apr 28, 2005 12:11 am    Post subject: File system issues after installation Reply with quote

I've installed the basics of Gentoo now and can boot into it. However during the boot process two errors occur (listed below):
Code:

fsck: fsck.reiserfs: not found
fsck: error 2 while executing fsck reiserfs for /dev/hda3

A third error also occurs, but not everytime I boot, maybe 50% of the time. That error [below] shows up a bit later in the boot process and has two red !! on the far right of the screen:
Code:

some local filesystems failed to mount    ...     !!

So I don't know what to do, I'm not sure if I even need to worry about it. I only have the one HD in this machine and as far as I can tell I don't have any config file problems. Can somebody help? Thanks.
FYI ReiserFS is the fs for the Root partition (hda3), and the boot partition is ext2 (hda1).
Back to top
View user's profile Send private message
SilverOne
Apprentice
Apprentice


Joined: 10 Nov 2003
Posts: 161

PostPosted: Thu Apr 28, 2005 12:18 am    Post subject: Reply with quote

Do you have reiserfs support compiled into the kernel?

Did you emerge sys-fs/reiserfsprogs?

I don't use reiser myself, but I believe you need these 2.
Back to top
View user's profile Send private message
Anomally
n00b
n00b


Joined: 16 Oct 2004
Posts: 32

PostPosted: Thu Apr 28, 2005 1:05 am    Post subject: Reply with quote

I emerged reiserfsprogs, I'm not sure about the other one. What is the ebuild called? I just tried emerging "sys-fs" and there are no ebuilds under that. Thanks
Back to top
View user's profile Send private message
spexx
n00b
n00b


Joined: 02 Mar 2005
Posts: 23

PostPosted: Thu Apr 28, 2005 1:58 am    Post subject: Reply with quote

There is no ebuild to compile reiserfs into the kernel. To make sure you do have it compiled in the kernel, chroot back into your system using the liveCD, (use the handbooks for this)(Make sure / and /boot are mounted) cd to /usr/src/linux or /mnt/getnoo/usr/src/linux and type make menuconfig.
go down to
File Systems --->

and make sure the ReiserFS part looks like this:
Code:


    <*> Reiserfs support                                 
     [ ]   Enable reiserfs debug mode                       
     [*]   Stats in /proc/fs/reiserfs                               
     [*]   ReiserFS extended attributes                           
     [*]     ReiserFS POSIX Access Control Lists                   
     [*]     ReiserFS Security Labels   



If there was an M in the place of the asterisk before "Reiserfs support", or the asterisk was not there, that most certainly was your problem, and you need to do the following:

Make your Reiserfs part look like the example
exit menuconfig, save your configuration, type make, and then make install
then type "cp arch/i386/boot/bzImage /mnt/gentoo/boot/bzImage"

Next alter your grub.conf so the "Kernel" statment points to /boot/bzImage. you may want to simply comment out the original kernel statement in the event you need to switch it back, so make the grub statement for gentoo look similar to this:

Code:


title=Gentoo Linux 2.6.10
root (hd0,1)
kernel /boot/bzImage
#kernel-2.6.10-gentoo-r6



The last line is whatever it said before you altered grub.conf, with th "#" symbol in front of it. Remember to leave in any options you passed to it.



Then follow the reboot instructions in the handbooks. It should reboot properly if that was indeed your problem. If it does not boot properly, switch out your alteration for the line you commented out (make it look the way it did before you altered it), and we go back to the drawing board.
_________________
CPU:Intel p4 @ 3.00GHz (HT)
RAM:1024MB @ 400MHz
HDD:160GB SATA @ 7200RPM
GFX: ATI Radeon 9600 128mb
SOUND: Creative Labs SoundBlaster Audigy
Back to top
View user's profile Send private message
Anomally
n00b
n00b


Joined: 16 Oct 2004
Posts: 32

PostPosted: Thu Apr 28, 2005 3:07 am    Post subject: Reply with quote

I've gone back through 'menuconfig' and added a few more things into ReiserFS support; there were one or two items I didn't not have selected. Afterwhich I ran 'make && make modules_install.' I also edited the grub.conf file but that didn't help, I had to go back in change it back to how it was. I still have the two fsck errors and the fs mount failure. Dang. I think I did all the necessary steps to incorporate the additions to 'menuconfig' but perhaps not, how can I know?
Back to top
View user's profile Send private message
spexx
n00b
n00b


Joined: 02 Mar 2005
Posts: 23

PostPosted: Thu Apr 28, 2005 3:24 am    Post subject: Reply with quote

In my experience make modules && make modules_install does not always work, as while you are instructing the modules to compile, you should not have compiled any modules into the kernel for ReiserFS, all reiser options should be marked with a "*" in menuconfig, meaning built-in. Also, could you tell me what parts you said where missing in the reiser part of menuconfig?
_________________
CPU:Intel p4 @ 3.00GHz (HT)
RAM:1024MB @ 400MHz
HDD:160GB SATA @ 7200RPM
GFX: ATI Radeon 9600 128mb
SOUND: Creative Labs SoundBlaster Audigy
Back to top
View user's profile Send private message
Anomally
n00b
n00b


Joined: 16 Oct 2004
Posts: 32

PostPosted: Thu Apr 28, 2005 3:45 am    Post subject: Reply with quote

Sure, initially the 'ReiserFS extended attributes' were excluded, so my 'menuconfig' would've looked like this:
Code:

    <*> Reiserfs support                                 
     [  ]   Enable reiserfs debug mode                       
     [*]   Stats in /proc/fs/reiserfs                               
     [ ]   ReiserFS extended attributes                           
     [ ]     ReiserFS POSIX Access Control Lists                   
     [ ]     ReiserFS Security Labels   

I've since gone through and included it with it's submenus so it looks like:
Code:

    <*> Reiserfs support                                 
     [  ]   Enable reiserfs debug mode                       
     [*]   Stats in /proc/fs/reiserfs                               
     [*]   ReiserFS extended attributes                           
     [*]     ReiserFS POSIX Access Control Lists                   
     [*]     ReiserFS Security Labels   

I'll go and 'make' and 'make install' again for good measure. Thanks again.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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