Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved]A few n00b questions; any help appreciated!
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
Brok3n_Sword
n00b
n00b


Joined: 14 Oct 2005
Posts: 15
Location: USA

PostPosted: Fri Oct 14, 2005 2:13 am    Post subject: [Solved]A few n00b questions; any help appreciated! Reply with quote

Hello all! I must say, I've really enjoyed working with gentoo so far(trying to install it!). I've learned more about linux these past few hours then working with previous distributions like red hat, fedora, mandrake, etc. Anyway, I'm having a little problem with my installation.
My setup:

Hard Drives

120 GB WD HDD, this is where Windows XP is installed. (Second channel, master)
2 SATA Drives:
CH_0: 160 GB Seagate drive (storage)
CH_1: 250 GB WD Drive (Here's where I'm trying to install gentoo)

I have an AMD64 3500+ CPU, 1 GB RAM, ASUS K8V Deluxe mobo, Nvidia Geforce 6800 GT, and a Sound Blaster Audigy Value sound card.
I'm using an onboard ethernet controller, connected straight to my cable modem. There is no local network, just me.

First of all, I didn't know if I should use a stage 1 or stage 3 installation. I went with stage 3. I used, of course, the amd64_universal install cd. I skipped the setting up my network part in the handbook, because I figured I didn't need it. When I tried things like genkernel, it attempted to connect to the internet to download the latest one (I guess) and failed. Do I need to set up my ethernet card somehow? Also, in /mnt/grub/grub.conf, how should I set it up with my hard drives? I tried:
Code:

default 0
timeout 30
splashimage=(sd1,0)/grub/splash.xpm.gz

title=Gentoo Linux 2.6.12 Gentoo r6
root (sd1,0)
ro kernel /kernel-2.6.11-gentoo-r1 root=/dev/hda3

title=Windows XP
rootnoverify (hd0,2)
makeactive
chainloader +1

vga = 0x31B video=vesafb:ywrap


And then installed grub with grub-install --no-floppy /dev/sdb

But grub didn't come up, even if I booted from the SATA drive. The last issue I had was configuring the modules. I tried "find /lib/modules/kernerl-2.6.12-gentoo-r6/ -type f -iname '*.o' -or -iname '*.ko'" But it could not find it, so I added no modules to automatically load. How important is that? I'm sorry if this is a long post, or spread out and incoherent. I'm very tired, but must figure this out! Thanks for any help.

One last thing: When I reboot, do I have to:
mount -t ext3 /dev/hda3 /mnt/gentoo
mount /dev/hda1 /mnt/gentoo/boot
and..
chroot /mnt/gentoo /bin/bash
# env-update
# source /etc/profile
in order to get back to editing/installing my grub files?


Last edited by Brok3n_Sword on Sun Oct 16, 2005 3:14 pm; edited 1 time in total
Back to top
View user's profile Send private message
vladgrigorescu
Guru
Guru


Joined: 11 Jan 2005
Posts: 360

PostPosted: Fri Oct 14, 2005 3:25 am    Post subject: Reply with quote

Unfortunately, I don't know too much about SATA drives, so I can't really help you out with that part. If you have a network, then it should be pretty easy to connect to it, and if it doesn't cause any problems, I think it's probably a better idea to be online while doing it. You'll also have more up to date things, and won't need to bother updating things once you have installed everything (especially since it's been a while since the 2005.1 gentoo cd has been released). Hopefully, you should be able to get networking up and running by doing
Code:
dhcpcd

If that seems to work (read: doesn't take more than 1-2 seconds), try pinging some things
Code:
ping -c 3 google.com

If that works, you're all set! If you run into problems, read the network section in the manual, as that's probably the best resource. And yes, to reboot, that should do it for you!
Back to top
View user's profile Send private message
localjoe
n00b
n00b


Joined: 18 Apr 2004
Posts: 8

PostPosted: Fri Oct 14, 2005 5:05 am    Post subject: Reply with quote

sounds like your network interface isn't up.
try ifconfig to see if you have an interface other than loopback

if not, you may need to load the appropriate module and restart the live CD's net script

lspci | grep net // should output if you have a network device (I'm guessing a Marvell gigabit)
modprobe forcedeth // then load the corresponding module

/etc/init.d/net.eth0 restart
Back to top
View user's profile Send private message
markkuk
Guru
Guru


Joined: 29 Nov 2002
Posts: 446

PostPosted: Fri Oct 14, 2005 10:31 am    Post subject: Re: A few n00b questions; any help appreciated! Reply with quote

[quote="Brok3n_Sword"]
Code:

default 0
timeout 30
splashimage=(sd1,0)/grub/splash.xpm.gz

title=Gentoo Linux 2.6.12 Gentoo r6
root (sd1,0)
ro kernel /kernel-2.6.11-gentoo-r1 root=/dev/hda3

title=Windows XP
rootnoverify (hd0,2)
makeactive
chainloader +1

vga = 0x31B video=vesafb:ywrap


In GRUB, hard drives are named hd0, hd1, ... even if they are SATA drives. Replace "sd1" with the correct GRUB disk name. "ro" and "vga=..." are options for the Linux kernel, move them to the kernel command line:
Code:
kernel /kernel-2.6.11-gentoo-r1 ro root=/dev/hda3 vga = 0x31B video=vesafb:ywrap
Back to top
View user's profile Send private message
vladgrigorescu
Guru
Guru


Joined: 11 Jan 2005
Posts: 360

PostPosted: Sun Oct 16, 2005 12:43 am    Post subject: Reply with quote

If this solved your problems, please add [solved] to the thread topic. Thanks!
Back to top
View user's profile Send private message
Brok3n_Sword
n00b
n00b


Joined: 14 Oct 2005
Posts: 15
Location: USA

PostPosted: Sun Oct 16, 2005 3:15 pm    Post subject: Reply with quote

vladgrigorescu wrote:
If this solved your problems, please add [solved] to the thread topic. Thanks!


Thanks for all of the great advice guys. Once I got my connection setup, the rest was easy. Grub took a little work, but all in all this work has been worth it so far.
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