Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Can't boot after 2005.1 install
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
jabster42
n00b
n00b


Joined: 04 Feb 2005
Posts: 31
Location: Chicago, IL USA

PostPosted: Sat Sep 24, 2005 6:03 am    Post subject: [SOLVED] Can't boot after 2005.1 install Reply with quote

Hi.

Well, this is my 5th time installing gentoo (2nd on this particular computer), and every other install but this one has gone perfectly.

This is my first 2005.1 install tho.

I have installed 2005.1 here, stage 3, everything in the install seemed to go fine. I backed up all the relevant info from my previous install (/etc, /boot) so that I could copy from them as I installed this time.

So I went thru the handbook step by step, compiled the kernel, going thru my old .config (2.6.11-r9) while configuring 2.6.12-r10. Grub installed with no problems.

Rebooted, and grub comes up, get a quick flash of text (booting gentoo...), screen blanks, some more text (memory something), then a blank screen, with my monitor light blinking. I am unable to really read any of the text.

I made one change to the kernel (/dev/support and mount at boot) and now the last text I see before it locks up is this:
Code:

Applying VIA southbridge workaround
lp: driver loaded but no devices found
Linux agpgart interface v0.202 (c) Dave Jones
agpgart: Detected VIA Twister-K/KT133x/KM133 chipset
agpgart: AGP aperture is 64M @ 0xd80000000
[drm] Initialized drm 1.0.0 200409925
ACPI: PCI Interupt Link [LNKA] enabled at IRQ 10
PCI: setting IRQ 10 as level-triggered
ACPI: PCI inhterrupt 0000:01:00.0[A] -> Link [LNKA] -> GSI 10 (level,low) -> IRQ 10
nvidiafb: nVidia device/chipset 10DE0110
nvidiafb: nVidia Corporation NV11 [GeForce2 MX/MX 400]
nvidiafb: Unable to detect display type...
...Using default of CRT
nvidiafb: Unable to detect which CRTCNumber...
...Defaulting to CRTCNumber 0

And that's it. Some kind of video card problem? Don't see how. haven't emerged X yet.

I ran memtest86 earlier with no errors.

Considering that my old config worked with no problems, any idea what's wrong here?

I thought about copying my old kernel to the new install, but I can't eject the installation cd. Even after chrooting. Possible? Since that's where my old kernel is.

Thanks,
John


p.s. Athlon XP 2200, 768M ram, geforce2, 1 hard drive, 1 dvd-rom/rw, 1-floppy


Last edited by jabster42 on Sat Sep 24, 2005 10:39 pm; edited 1 time in total
Back to top
View user's profile Send private message
tornamodo
Apprentice
Apprentice


Joined: 12 Aug 2005
Posts: 185

PostPosted: Sat Sep 24, 2005 10:09 am    Post subject: Reply with quote

you have problems with your framebuffer.

i'd strongly recommend, disabling all framebuffer options in the kernel config and after it boots only then you should be adding the eyecandy.

you've got 2 ways now:
1.1 Boot from the livecd, make a mount gentoo + boot + proc and then a chroot /mnt/gentoo /bin/bash
1.2 Then go to /usr/src/linux, make a "make menuconfig" - disable ALL framebuffer eyecandies - after that "mount /boot" and "make && make modules && make modules_install && make install"

2.1 (PREFERRED) Edit your grub lines (you get the grub boot screen - press 'e' to edit the line)
2.2 Delete all the framebuffer and/or vga options, press enter and then 'b' to boot that line.
if this doesn't work, go the way #1 and it will work!

i hope

:P :D
Back to top
View user's profile Send private message
jabster42
n00b
n00b


Joined: 04 Feb 2005
Posts: 31
Location: Chicago, IL USA

PostPosted: Sat Sep 24, 2005 12:55 pm    Post subject: Reply with quote

WEll, tornamodo, option 1 (I had already tried removing the "vga" and splashimage lines before posting) there seemed to work. Sorta.

I now start booting correctly, but get two errors during boot
1. could not start /sbin/devfsd (but it keeps going)
2.
Code:
Checking root filesystem...
fsck.ext3 No such file or directory while trying to open /dev/hda3
/dev/hda3: The superblock could not be read or does not describe a correct ext2 fileystem. IF the device is vallid and it really contains an ext2 filesystem (and not swap or ufs or something else), then the superblock is corrupt,and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>
Filesystem couldn't be fixed.

So I enter root pw, run e2fsck above and of course get the same error.

/dev/hda3 is ext3 btw.

Why the heck is this particular install so troublesome?

Any ideas on what to do next?

thx,
john
Back to top
View user's profile Send private message
tornamodo
Apprentice
Apprentice


Joined: 12 Aug 2005
Posts: 185

PostPosted: Sat Sep 24, 2005 1:00 pm    Post subject: Reply with quote

hehe, the install is troublesome because its not easy to get all that stuff under control ;)
but it makes fun every time you understand a bit more ... !

just take it easy

Quote:
Checking root filesystem...
fsck.ext3 No such file or directory while trying to open /dev/hda3


Seems, there is no hda3 in your pc...

please post the content of the file /etc/fstab and the output of:
Code:
fdisk -l /dev/hda


don't worry - you will have a nice running linux very soon!
Back to top
View user's profile Send private message
jabster42
n00b
n00b


Joined: 04 Feb 2005
Posts: 31
Location: Chicago, IL USA

PostPosted: Sat Sep 24, 2005 1:17 pm    Post subject: Reply with quote

FWIW, I skipped the whole fdisk section on the install, since I'm already partitioned from my previous gentoo install (2004.something).

Also, doing some more reading, I just emerged hotplug and coldplug (livecd->chroot). Still getting same error btw.

fstab:
Code:
/dev/hda1 /boot ext2 defaults,noatime 1 2
/dev/hda2 none swap sw 0 0
/dev/hda3 / ext3 defaults,noatime 1 2
/dev/hda4 /home ext3 defaults,noatime 1 2
none /proc proc defaults 0 0
none /dev/shm tmpfs nodev,nosuid,noexec 0 0
/dev/cdroms/cdrom0 /mnt/cdrom auto noauto,user 0 0


fdisk -l /dev/hda:
Code:
/dev/hda1 * 1 196 1574338 83 Linux
/dev/hda2   197 440 1959930 82 Linux swap/Solaris
/dev/hda3  441 1657 9775552 83 Linux
/dev/hda4 1658 5005 26892810 83 Linux


So hda3 is there. I mean, I can reboot with the install CD and "mount -t ext3 /dev/hda3 /mnt/gentoo", chroot and do things. (Or else I'd be REALLY ticked off. As it is now I'm just kinda annoyed. :-) )

thx,
john
Back to top
View user's profile Send private message
kimchi_sg
Advocate
Advocate


Joined: 26 Nov 2004
Posts: 2969

PostPosted: Sat Sep 24, 2005 2:14 pm    Post subject: Reply with quote

jabster42 wrote:
So hda3 is there.

No it really isn't. fsck.ext3 never lies.
jabster42 wrote:
I mean, I can reboot with the install CD and "mount -t ext3 /dev/hda3 /mnt/gentoo"

That's because the liveCD creates /dev/hda3 for you.

The "devfsd" error is the real cause of this problem. Are you using devfsd, or udev?

If you're using udev you should
  1. disable "automatically mount /dev on startup" in the kernel config.
  2. Also, you'll need to edit /etc/conf.d/rc to indicate what /dev management system you're using (udev or devfsd).
Back to top
View user's profile Send private message
jabster42
n00b
n00b


Joined: 04 Feb 2005
Posts: 31
Location: Chicago, IL USA

PostPosted: Sat Sep 24, 2005 2:47 pm    Post subject: Reply with quote

Ah. I see about why I had hda3 in chroot.

I am using default udev (I left /etc/conf.d/rc at "auto").

But the /dev stuff in my kernel config was the problem. Got rid of it, recompiled it, exited chroot, reboot->login prompt!

yea.

I think with first framebuffer problems, while trying different options, I added /dev stuff back in, then forgot to pull it out once I removed the framebuffer settings from the kernel.

Thanks for getting me thru this guys. This is the first time I've ANY problems installing gentoo.

Time to go compile kde3.5-beta1! (Or 3.4.2 since 3.5 apparently isn't available for x86 yet.)

thanks,
john


p.s. Your sig is wrong. There are 10 kinds of people in this world: Those who understand binary and those who do not.


Last edited by jabster42 on Sat Sep 24, 2005 2:54 pm; edited 1 time in total
Back to top
View user's profile Send private message
kimchi_sg
Advocate
Advocate


Joined: 26 Nov 2004
Posts: 2969

PostPosted: Sat Sep 24, 2005 2:53 pm    Post subject: Reply with quote

jabster42 wrote:
p.s. Your sig is wrong. There are 10 kinds of people in this world: Those who understand binary and those who do not.

Creativity is not wrong. The Roman for arabic number "2" is "II".

And so you belong to the type of person who cannot "count like the Romans". :P
Back to top
View user's profile Send private message
jabster42
n00b
n00b


Joined: 04 Feb 2005
Posts: 31
Location: Chicago, IL USA

PostPosted: Sat Sep 24, 2005 2:55 pm    Post subject: Reply with quote

Aahh..

II sseeee..

HHeehh..


----JJoohhnn
Back to top
View user's profile Send private message
tornamodo
Apprentice
Apprentice


Joined: 12 Aug 2005
Posts: 185

PostPosted: Sat Sep 24, 2005 4:16 pm    Post subject: Reply with quote

In the Gentoo Linux Installation Handbook they say, a ext3 in the fstab needs to look like this:

Code:
/dev/hda3   /         ext3    noatime           0 1


could work...

ps: if you forgot to emerge coldplug and hotplug, maybe you forgot something else too.
check the Gentoo Linux Installation Handbook step by step again...
Back to top
View user's profile Send private message
jabster42
n00b
n00b


Joined: 04 Feb 2005
Posts: 31
Location: Chicago, IL USA

PostPosted: Sat Sep 24, 2005 4:39 pm    Post subject: Reply with quote

Actually, I never forgot to install hotplug/coldplug during the install. The install never tells you to install those. I just knew that I would eventually need them, and some other posts had mentioned them. I forget how exactly at the moment tho.

But I am up an running now. Compiling xorg-x11 at the moment.

thx for the help.

-john
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