View previous topic :: View next topic |
Author |
Message |
agility n00b
Joined: 03 Sep 2003 Posts: 21 Location: SoFla
|
Posted: Wed Sep 10, 2003 3:21 pm Post subject: Gentoo had better be worth the effort |
|
|
Day 3 of trying to get a bootup with gentoo stage3 grp.
Installed Redhat 9 - no problems.
Installed Debian - no problems
Can't install gentoo - going bald.
Looking through the user groups, there is probably more forum support than either red hat or debian - so I hope that gentoo will finally boot up.
After finally figuring out with help from the forum how to navigate through the install docs, gentoo almost boots, but the screen is full of garbage that makes reading the errors impossible.
At this point I don't know where to turn.
Any hints (is there anyway to step through the bootup process so that I can at least see where it's screwing up?) |
|
Back to top |
|
|
Angry Geek Apprentice
Joined: 23 Apr 2003 Posts: 162 Location: .uk
|
Posted: Wed Sep 10, 2003 3:28 pm Post subject: |
|
|
Hi Agility,
What sort of garbage? How far have you got through the install, at what point do you get this garbage?
Any chance you can copy this text over?
Cheers! |
|
Back to top |
|
|
agility n00b
Joined: 03 Sep 2003 Posts: 21 Location: SoFla
|
Posted: Wed Sep 10, 2003 3:45 pm Post subject: |
|
|
Angry Geek wrote: | Hi Agility,
What sort of garbage? How far have you got through the install, at what point do you get this garbage?
Any chance you can copy this text over?
Cheers! |
thanks for responding angry geek.
Upon rebooting (from hdd after completing install)
Grub Stage2 runs
Then the screen clears with flashing cursor in top left corner
The next thing to happen is the process starts to send stuff to the
screen but every char has a background that I don't recognize from the ASCII set. It makes it impossible to read.
I do see the change in color to the right of a few lines (probably the [ok] response.
I just figured out that it was actually showing a password prompt for root.
I can log in!!!!!!
Can't read the screen, but I'm logged in
Typed 'clear' and the screen cleared to be full of those weird chars and what is a prompt
Did an ls -la and the text is there but unreadable.
Do I have to get special glasses to be able to decode it
Paul. |
|
Back to top |
|
|
Cossins Veteran
Joined: 21 Mar 2003 Posts: 1136 Location: Copenhagen, Denmark
|
Posted: Wed Sep 10, 2003 4:13 pm Post subject: |
|
|
Do you use the framebuffer? If you do, try not to, and if you don't, try doing so...
It's in the kernel config, search the forum for further information.
- Simon |
|
Back to top |
|
|
SqueekRatty n00b
Joined: 06 Sep 2003 Posts: 27 Location: Texas
|
Posted: Wed Sep 10, 2003 4:24 pm Post subject: lucky sod... only 3 days to get booted! |
|
|
Im working on earning "N00B of the Year" lol
Ive been trying for a week to install gentoo......
zee small fast penguin is too fast for me!
So Ive decided to ask for advice before I try install attempt 14...
I hear the gurus laughing, yes lol, i am a n00b....
BUT i am determined!
So a simple question..
I have a Pentium4 1.8 GHz processor
I want to do gentoo like a man... from stage 1
Which CD ISO should I use?
Thats all for now
XP stands for eXtra Ponderous.... _________________ while(dead-horse)
beat(); |
|
Back to top |
|
|
Ekj530 Tux's lil' helper
Joined: 08 Sep 2003 Posts: 130 Location: Atlantic Beach, NC
|
Posted: Wed Sep 10, 2003 4:42 pm Post subject: |
|
|
ok, I am trying myself--with little sucess I might add-- to do this, but, I can answer this one. Use the Gentoo Linux - Pentium 4 GRP Install Disk 1 at www.linuxiso.org make sure to check your md5sums. I got a bad one and that has contributed to half of my problems. Good luck! _________________ If you're being chased by a bear remember: you don't have to outrun
the bear; you only have to outrun your hiking buddy. |
|
Back to top |
|
|
agility n00b
Joined: 03 Sep 2003 Posts: 21 Location: SoFla
|
Posted: Wed Sep 10, 2003 5:15 pm Post subject: |
|
|
Cossins wrote: | Do you use the framebuffer? If you do, try not to, and if you don't, try doing so...
It's in the kernel config, search the forum for further information.
- Simon |
Thanks Simon,
Ok, but forgive the stupid question.
I can boot from the cd, but what are the correct mounts / chroot commands so that I can go look around the hdd to check out the framebuffer etc.
I need to boot from CD1 so that I can read the screen.
are they...
cdimage root #
cdimage root # mount /mnt/gentoo
cdimage root # chroot /
cdimage / # (now I'm chrooted into the hdd?)
nOOOOOb |
|
Back to top |
|
|
Cossins Veteran
Joined: 21 Mar 2003 Posts: 1136 Location: Copenhagen, Denmark
|
Posted: Wed Sep 10, 2003 5:43 pm Post subject: |
|
|
Yes, basically, but you need to do the following before chroot'ing:
Code: | # mount -o bind /proc /mnt/gentoo/proc |
Actually, you can take a look at the installation instructions (the chroot part).
- Simon |
|
Back to top |
|
|
rwallace Tux's lil' helper
Joined: 22 May 2003 Posts: 107 Location: Phoenix, AZ US
|
Posted: Wed Sep 10, 2003 6:44 pm Post subject: |
|
|
Chrooting to fix something that is broken (like an install) is just like in the install doc. Just skip the fdisk and untarring the stage file. Mount the partitions and mount proc. Then chroot. You got everything right but it should be /mnt/gentoo not /. Something like the following
Code: | swapon /dev/hda1
mount /dev/hda6 /mnt/gentoo
mount /dev/hda5 /mnt/gentoo/boot
mount -o bind /proc /mnt/gentoo/proc
chroot /mnt/gentoo /bin/bash |
Then to check your framebuffer issues check the /boot/grub/grub.conf (or /etc/lilo.conf if you used lilo) and make sure you have the right resolution specified on the kernel line with the vga= option. Also, did you use genkernel to compile the kernel or did you do it manually? If you used genkernel check to make sure that the initrd line is correctly pointing to the /boot/initrd-{kernel-version} file. |
|
Back to top |
|
|
SqueekRatty n00b
Joined: 06 Sep 2003 Posts: 27 Location: Texas
|
Posted: Wed Sep 10, 2003 7:11 pm Post subject: oh, so now its BIND proc !!! |
|
|
Code listing 8.6: Prepping and entering the chroot environment
# mount -t proc proc /mnt/gentoo/proc
# cp /etc/resolv.conf /mnt/gentoo/etc/resolv.conf
# chroot /mnt/gentoo /bin/bash
# env-update
Regenerating /etc/ld.so.cache...
# source /etc/profile
(The above points your shell to the new paths and updated binaries)
is this a documentation error?
There is no BIND proc in the install guide.
which is correct?
inquisitive rodent wants to know! _________________ while(dead-horse)
beat(); |
|
Back to top |
|
|
Cossins Veteran
Joined: 21 Mar 2003 Posts: 1136 Location: Copenhagen, Denmark
|
Posted: Wed Sep 10, 2003 7:27 pm Post subject: |
|
|
The effect is the same...
The bin-option "binds" the /proc-directory to the /mnt/gentoo/proc directory, while the other method mounts the proc-filesystem anew at the new location.
- Simon |
|
Back to top |
|
|
agility n00b
Joined: 03 Sep 2003 Posts: 21 Location: SoFla
|
Posted: Wed Sep 10, 2003 8:03 pm Post subject: |
|
|
Ah Ha! getting somewhere.
Thanks guys,
booted from CD1
chrooted as per advice above
edited grub/grub.conf
I commented out the line Quote: | splashimage=(hd0,0)/boot/grub/splash.xpm.gz |
cd /
exit
umount /mnt/gentoo/proc
umount /mnt/gentoo/boot
umount /mnt/gentoo
reboot.
Weird chars are gone
But I'm getting an error on my reiserfs partition.
system tells me it could be corrupt and that I should run
What and were is that??
Tia.
nOOOOOb Paul ASI[/quote] |
|
Back to top |
|
|
SqueekRatty n00b
Joined: 06 Sep 2003 Posts: 27 Location: Texas
|
Posted: Wed Sep 10, 2003 8:04 pm Post subject: Thanks COSSINS !!! |
|
|
On my next install attempt, i will try the bind proc command.
Heaven knows I've trid the other often enough!
Life Liberty, and the pursuit of Linux! _________________ while(dead-horse)
beat(); |
|
Back to top |
|
|
agility n00b
Joined: 03 Sep 2003 Posts: 21 Location: SoFla
|
Posted: Wed Sep 10, 2003 8:05 pm Post subject: |
|
|
Oh....
Is there a way to check that everything is unmounted prior to doing the reboot. I don't recall any warnings when I rebooted after fixing the grub.conf file.
Would df do it?
Paul ASI. |
|
Back to top |
|
|
Cossins Veteran
Joined: 21 Mar 2003 Posts: 1136 Location: Copenhagen, Denmark
|
Posted: Wed Sep 10, 2003 8:47 pm Post subject: |
|
|
Just type 'mount', it will give you a list of mounted block devices (e.g. partitions and disk drives)...
- Simon |
|
Back to top |
|
|
agility n00b
Joined: 03 Sep 2003 Posts: 21 Location: SoFla
|
Posted: Wed Sep 10, 2003 9:02 pm Post subject: |
|
|
Going for a complete reinstall (again) to try and get past the corrupt /dev/hda3 (that was reiserfs formated.)
At least I should be able wiz through the entire build this time |
|
Back to top |
|
|
|