View previous topic :: View next topic |
Author |
Message |
planetsheinker Guru
Joined: 26 Feb 2004 Posts: 403 Location: Israel
|
Posted: Tue Nov 02, 2004 6:42 pm Post subject: Weird problem after restarting Gentoo for the first time... |
|
|
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 |
|
|
Deathwing00 Bodhisattva
Joined: 13 Jun 2003 Posts: 4087 Location: Dresden, Germany
|
Posted: Tue Nov 02, 2004 6:57 pm Post subject: |
|
|
Code: | # emerge reiserfsprogs
|
|
|
Back to top |
|
|
Maedhros Bodhisattva
Joined: 14 Apr 2004 Posts: 5511 Location: Durham, UK
|
Posted: Tue Nov 02, 2004 7:34 pm Post subject: |
|
|
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 |
|
|
planetsheinker Guru
Joined: 26 Feb 2004 Posts: 403 Location: Israel
|
Posted: Tue Nov 02, 2004 8:10 pm Post subject: |
|
|
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 |
|
|
Maedhros Bodhisattva
Joined: 14 Apr 2004 Posts: 5511 Location: Durham, UK
|
Posted: Tue Nov 02, 2004 8:24 pm Post subject: |
|
|
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 |
|
|
planetsheinker Guru
Joined: 26 Feb 2004 Posts: 403 Location: Israel
|
Posted: Tue Nov 02, 2004 8:51 pm Post subject: |
|
|
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 |
|
|
Drooling Iguana Tux's lil' helper
Joined: 07 Apr 2004 Posts: 94 Location: Sector ZZ9 Plural Z Alpha
|
Posted: Tue Nov 02, 2004 8:55 pm Post subject: |
|
|
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 |
|
|
Maedhros Bodhisattva
Joined: 14 Apr 2004 Posts: 5511 Location: Durham, UK
|
Posted: Tue Nov 02, 2004 9:00 pm Post subject: |
|
|
There are several things wrong with your fstab file...
- 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 |
|
|
planetsheinker Guru
Joined: 26 Feb 2004 Posts: 403 Location: Israel
|
Posted: Tue Nov 02, 2004 9:49 pm Post subject: |
|
|
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 |
|
|
planetsheinker Guru
Joined: 26 Feb 2004 Posts: 403 Location: Israel
|
Posted: Tue Nov 02, 2004 9:50 pm Post subject: |
|
|
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 |
|
|
Maedhros Bodhisattva
Joined: 14 Apr 2004 Posts: 5511 Location: Durham, UK
|
Posted: Tue Nov 02, 2004 10:11 pm Post subject: |
|
|
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 |
|
|
planetsheinker Guru
Joined: 26 Feb 2004 Posts: 403 Location: Israel
|
Posted: Tue Nov 02, 2004 11:00 pm Post subject: |
|
|
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 |
|
|
planetsheinker Guru
Joined: 26 Feb 2004 Posts: 403 Location: Israel
|
Posted: Tue Nov 02, 2004 11:03 pm Post subject: |
|
|
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 |
|
|
Maedhros Bodhisattva
Joined: 14 Apr 2004 Posts: 5511 Location: Durham, UK
|
Posted: Tue Nov 02, 2004 11:12 pm Post subject: |
|
|
You have a bonus space, and a typo in your splashimage line, which is why you can't see anything.
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 |
|
|
planetsheinker Guru
Joined: 26 Feb 2004 Posts: 403 Location: Israel
|
Posted: Tue Nov 02, 2004 11:38 pm Post subject: |
|
|
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 |
|
|
j-m Retired Dev
Joined: 31 Oct 2004 Posts: 975
|
Posted: Tue Nov 02, 2004 11:44 pm Post subject: |
|
|
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 |
|
|
planetsheinker Guru
Joined: 26 Feb 2004 Posts: 403 Location: Israel
|
Posted: Tue Nov 02, 2004 11:49 pm Post subject: |
|
|
XPM I am an idiot i see it now |
|
Back to top |
|
|
planetsheinker Guru
Joined: 26 Feb 2004 Posts: 403 Location: Israel
|
Posted: Tue Nov 02, 2004 11:57 pm Post subject: |
|
|
Great that helped I have a nice splash image now
And again, thanks for everything |
|
Back to top |
|
|
Drooling Iguana Tux's lil' helper
Joined: 07 Apr 2004 Posts: 94 Location: Sector ZZ9 Plural Z Alpha
|
Posted: Thu Nov 04, 2004 4:37 pm Post subject: |
|
|
Did you emerge the nvidia-kernel and nvidia-glx ebuilds?
Which version of the kernel are you using? |
|
Back to top |
|
|
planetsheinker Guru
Joined: 26 Feb 2004 Posts: 403 Location: Israel
|
Posted: Thu Nov 04, 2004 4:42 pm Post subject: |
|
|
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 |
|
|
xbmodder Guru
Joined: 25 Feb 2004 Posts: 404
|
|
Back to top |
|
|
|