Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Weird problem after restarting Gentoo for the first time...
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
planetsheinker
Guru
Guru


Joined: 26 Feb 2004
Posts: 403
Location: Israel

PostPosted: Tue Nov 02, 2004 6:42 pm    Post subject: Weird problem after restarting Gentoo for the first time... Reply with quote

Spent two days on a stage1!!!!! install...
Here what the screen said:
*Cheking root filesystem...
fsck: fsck.ReiserFS not found
fsck: Error 2 while executing fsck.ReiserFS for /dev/hda4
*Remounting root file system read/write
*Root filesystem could not be mounted read/write :-(
Give root password for maintenance
(or type Control-D for normal setup):

So, what is wrong?
Back to top
View user's profile Send private message
Deathwing00
Bodhisattva
Bodhisattva


Joined: 13 Jun 2003
Posts: 4087
Location: Dresden, Germany

PostPosted: Tue Nov 02, 2004 6:57 pm    Post subject: Reply with quote

Code:
# emerge reiserfsprogs
Back to top
View user's profile Send private message
Maedhros
Bodhisattva
Bodhisattva


Joined: 14 Apr 2004
Posts: 5511
Location: Durham, UK

PostPosted: Tue Nov 02, 2004 7:34 pm    Post subject: Reply with quote

You have to have reiserfs all in lower case in your /etc/fstab, otherwise the boot scripts look for fsck.ReiserFS, which doesn't exist. This will also mean that the partition couln't be mounted, as the mount command wouldn't know what to do with it.
_________________
No-one's more important than the earthworm.
Back to top
View user's profile Send private message
planetsheinker
Guru
Guru


Joined: 26 Feb 2004
Posts: 403
Location: Israel

PostPosted: Tue Nov 02, 2004 8:10 pm    Post subject: Reply with quote

Thanks for the fast replay :-)
Ye you were right, I booted the Gentoo live cd to check the /etc/fstab
and insteaf of "reiserfs" it was "ReiserFS" :-)
I changed it... but it did not help, here what the screen says:
*Cheking root filesystem...
Reiserfs super block in block 16 on 0x304 of format 3.6 with standard journal
Blocks (total/free): 7448128/7164490 by 4096 bytes
Filesystem marked as cleanly umounted. Skipping journal replay.
Filesystem seems mounted readonly
Cheking internal tree...finished
*Remounting root file system read/write
*Root filesystem could not be mounted read/write Sad
Give root password for maintenance
(or type Control-D for normal setup):

What now ?
Back to top
View user's profile Send private message
Maedhros
Bodhisattva
Bodhisattva


Joined: 14 Apr 2004
Posts: 5511
Location: Durham, UK

PostPosted: Tue Nov 02, 2004 8:24 pm    Post subject: Reply with quote

There might be another error in your /etc/fstab, to be causing that. Can you post it?
_________________
No-one's more important than the earthworm.
Back to top
View user's profile Send private message
planetsheinker
Guru
Guru


Joined: 26 Feb 2004
Posts: 403
Location: Israel

PostPosted: Tue Nov 02, 2004 8:51 pm    Post subject: Reply with quote

Ye shure, here it is:
/dev/hda2 boot ext2 noauto,noatime 12
/dev/hda4 / reiserfs noatime,notails 00
/dev/hda3 none swap sw 00
/dev/cdroms/cdrom0 /mnt/cdrom iso9660 auto,user 00
/dev/cdroms/cdrom1 /mnt/cdrom1 iso9660 auto,user 00
/dev/fd0 /mnt/floppy auto noauto 00


none /proc proc defaults 00
none /dev/shm tmpfs defaults 00
Back to top
View user's profile Send private message
Drooling Iguana
Tux's lil' helper
Tux's lil' helper


Joined: 07 Apr 2004
Posts: 94
Location: Sector ZZ9 Plural Z Alpha

PostPosted: Tue Nov 02, 2004 8:55 pm    Post subject: Reply with quote

Do you have reiserfs support compiled into your kernel? It won't work if it's just a module, since it needs to access your root partition in order to load the module.
Back to top
View user's profile Send private message
Maedhros
Bodhisattva
Bodhisattva


Joined: 14 Apr 2004
Posts: 5511
Location: Durham, UK

PostPosted: Tue Nov 02, 2004 9:00 pm    Post subject: Reply with quote

There are several things wrong with your fstab file... :wink:

  • All the numbers at the end of each line should be separated by a space.
  • You need /boot, not boot
  • You need notail, not notails (this is probably causing the error you posted)
  • I'm sure you want noauto for your cdrom drives...


This should work:
Code:
/dev/hda2               /boot           ext2     noauto,noatime 1 2
/dev/hda4               /               reiserfs noatime,notail 0 0
/dev/hda3               none            swap     sw             0 0
/dev/cdroms/cdrom0      /mnt/cdrom      iso9660  noauto,user    0 0
/dev/cdroms/cdrom1      /mnt/cdrom1     iso9660  noauto,user    0 0
/dev/fd0                /mnt/floppy     auto     noauto         0 0

_________________
No-one's more important than the earthworm.
Back to top
View user's profile Send private message
planetsheinker
Guru
Guru


Joined: 26 Feb 2004
Posts: 403
Location: Israel

PostPosted: Tue Nov 02, 2004 9:49 pm    Post subject: Reply with quote

Yep thanks a lot it helped
changed the "notails" to "notail" :-)
but steel ther are some few problems left
first:
*You need to set /etc/hostname to a valid hostname
second:
*Loading module nvidia-kernel
*Failed to load nvidia-kernel

and can you post your grub.conf? I would like to compare it with mine
cuz' the splash image wont show during boot and i get a black screen
Back to top
View user's profile Send private message
planetsheinker
Guru
Guru


Joined: 26 Feb 2004
Posts: 403
Location: Israel

PostPosted: Tue Nov 02, 2004 9:50 pm    Post subject: Reply with quote

Drooling Iguana wrote:
Do you have reiserfs support compiled into your kernel? It won't work if it's just a module, since it needs to access your root partition in order to load the module.


Ye I know it, the handbook says it :-)
But thanks anyway :-) As we say in russian: "Any help is a help" :-)
Back to top
View user's profile Send private message
Maedhros
Bodhisattva
Bodhisattva


Joined: 14 Apr 2004
Posts: 5511
Location: Durham, UK

PostPosted: Tue Nov 02, 2004 10:11 pm    Post subject: Reply with quote

planetsheinker wrote:
ther are some few problems left
first:
*You need to set /etc/hostname to a valid hostname

Create /etc/hostname, and just put what you'd like your computer to be called in it. :)

planetsheinker wrote:
second:
*Loading module nvidia-kernel
*Failed to load nvidia-kernel

The module's name is just nvidia, not nvidia-kernel...

planetsheinker wrote:
and can you post your grub.conf? I would like to compare it with mine
cuz' the splash image wont show during boot and i get a black screen

Certainly! This is it:
Code:
timeout 10
default 0
splashimage=(hd0,0)/grub/splash.xpm.gz

title Gentoo Linux (ck-sources)
root (hd0,0)
kernel /vmlinuz-ck root=/dev/sda6 vga=791


Hope it helps!
_________________
No-one's more important than the earthworm.
Back to top
View user's profile Send private message
planetsheinker
Guru
Guru


Joined: 26 Feb 2004
Posts: 403
Location: Israel

PostPosted: Tue Nov 02, 2004 11:00 pm    Post subject: Reply with quote

The hostname problem is solved, thanks :-)
but this...
*Loading module nvidia
*Failed to load nvidia

And here is another thing when I tryed this
modprobe nvidia
it said this:
]FATAL:Error inserting nvidia (/lib/modules/2.6.9-gentoo-r1/video/nvidia.ko): Unknown symbol in module, or unknown parameter (see dmesg)
and here is on more, when I try to do this:
modules-update
the bash says that command does not exist!!!
but the man pages says it does exist!!!!

And another thing, when my computer boots, after POST I get a black
screen with a blinking cursor, and if I press enter, Linux is booted
and if I press the down arrow and then enter, windows boos.

And a question, how can I make a certain command to be executed right after boot, automaticlly every time?
for example: adsl-start
Back to top
View user's profile Send private message
planetsheinker
Guru
Guru


Joined: 26 Feb 2004
Posts: 403
Location: Israel

PostPosted: Tue Nov 02, 2004 11:03 pm    Post subject: Reply with quote

forgaot to post me grub.conf :-)
default 0
timeout 30
splash image=(hd0,1)/grub/splash.xmp.gz
title=Gentoo Linux
root (hd0,1)
kernel /kernel-2.6 root=/dev/hda4 VGA=795
title=Death to bill gates
rootnoverify (hd0,0)
chainloader +1
Back to top
View user's profile Send private message
Maedhros
Bodhisattva
Bodhisattva


Joined: 14 Apr 2004
Posts: 5511
Location: Durham, UK

PostPosted: Tue Nov 02, 2004 11:12 pm    Post subject: Reply with quote

You have a bonus space, and a typo in your splashimage line, which is why you can't see anything. :wink:

This should work:
Code:
default 0
timeout 30
splashimage=(hd0,1)/grub/splash.xpm.gz

title=Gentoo Linux
root (hd0,1)
kernel /kernel-2.6 root=/dev/hda4 vga=795

title=Death to bill gates
rootnoverify (hd0,0)
chainloader +1


For modules-update, env-update && source /etc/profile should add it to your path, so that you can use it. (It won't be found if you're not logged in as root though...).

For adding things on boot, put the command in /etc/conf.d/local.start.

I don't know about the nvidia module though... are you sure you only have one symlink in /usr/src, and it's pointing to the right kernel? (file /usr/src/linux to see what it points to.) Maybe try re-emerging nvidia-kernel...
_________________
No-one's more important than the earthworm.
Back to top
View user's profile Send private message
planetsheinker
Guru
Guru


Joined: 26 Feb 2004
Posts: 403
Location: Israel

PostPosted: Tue Nov 02, 2004 11:38 pm    Post subject: Reply with quote

Well removing the "space" in the splashimage line did not help, and I dont see any typo?
the nvidia module is still no go...
and inn /usr/src I have two folder with identical contents.
one of them named "linux" and the other one is "linux-2.6.9-gentoo-r1
Back to top
View user's profile Send private message
j-m
Retired Dev
Retired Dev


Joined: 31 Oct 2004
Posts: 975

PostPosted: Tue Nov 02, 2004 11:44 pm    Post subject: Reply with quote

planetsheinker wrote:
Well removing the "space" in the splashimage line did not help, and I dont see any typo?


splashimage=(hd0,1)/grub/splash.xpm.gz

And search bugzilla for nVidia issues with 2.6.9-r1.
Back to top
View user's profile Send private message
planetsheinker
Guru
Guru


Joined: 26 Feb 2004
Posts: 403
Location: Israel

PostPosted: Tue Nov 02, 2004 11:49 pm    Post subject: Reply with quote

XPM :-) I am an idiot i see it now :-)
Back to top
View user's profile Send private message
planetsheinker
Guru
Guru


Joined: 26 Feb 2004
Posts: 403
Location: Israel

PostPosted: Tue Nov 02, 2004 11:57 pm    Post subject: Reply with quote

Great that helped I have a nice splash image now :-)
And again, thanks for everything :-)
Back to top
View user's profile Send private message
Drooling Iguana
Tux's lil' helper
Tux's lil' helper


Joined: 07 Apr 2004
Posts: 94
Location: Sector ZZ9 Plural Z Alpha

PostPosted: Thu Nov 04, 2004 4:37 pm    Post subject: Reply with quote

Did you emerge the nvidia-kernel and nvidia-glx ebuilds?

Which version of the kernel are you using?
Back to top
View user's profile Send private message
planetsheinker
Guru
Guru


Joined: 26 Feb 2004
Posts: 403
Location: Israel

PostPosted: Thu Nov 04, 2004 4:42 pm    Post subject: Reply with quote

Drooling Iguana wrote:
Did you emerge the nvidia-kernel and nvidia-glx ebuilds?

Which version of the kernel are you using?


Ye, I emerge both of them, by the way the handbook says to emerge only nvidia-kernel.
And I use the kernel-2.6.9-gentoo-r1, the hand book calls it gentoo-dev-sources.
Back to top
View user's profile Send private message
xbmodder
Guru
Guru


Joined: 25 Feb 2004
Posts: 404

PostPosted: Fri Nov 05, 2004 6:29 am    Post subject: Reply with quote

hey i can help ya here
post ur
modprobe nvidia;dmesg|tail
and try this http://ngc891.blogdns.net/index.php?2004/09/21/3-patched-nvidia-drivers#main
nvidia installer btw if ya wanna i would reccomend u hang out in the chat rooms
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