Forum Home
Press F1
 
Thread ID: 52927 2005-01-03 01:39:00 Grub not working after Gentoo Install jcr1 (893) Press F1
Post ID Timestamp Content User
310100 2005-01-05 19:18:00 You didnt read the whole Install Handbook and modify your fstab did you? ;)

Boot the LiveCD, mount your rootfs on /mnt/gentoo and nano /mnt/gentoo/etc/fstab and make it look like:
/dev/hda1 /boot ext2 noauto,noatime 1 1
/dev/hda2 / reiser4 noatime 0 0
/dev/hda3 none swap sw 0 0


Obviously you'll set your filesystem tye and /dev entries differently thou.

THEN it should be good :) Sounds like Grub is all installed fine :-)

Cheers


Chill.

BTW - You can add the following to your grub.conf file:
splashimage=(hd1,1)/grub/splash.xpm.gz
Chilling_Silence (9)
310101 2005-01-05 22:20:00 [QUOTE=Chilling_Silence]You didnt read the whole Install Handbook and modify your fstab did you? ;)

Actually I was sure I did? But I'll have a look at it in case I didn't save it properly or something

:confused:
jcr1 (893)
310102 2005-01-06 00:48:00 Sure enough, while i'd made some settings in fstab, I hadn't done the job properly. It's a lot better boot up now; except I still get a message that says;

fsck: Error 2 while executing fsck,reiser4 for /dev/hdb4

I guess it's progress as reiser4 is associated with hdb4, but it's kinda dodgy to my way of thinking.
I set the fstab to exactly the way you set it out Chill.

The other thing is my wireless internet connection.
It configured fine off the live cd, but I'm having a bit of trouble to get it going from the installation. I installed rp-pppoe as per the instructions but the messages I get is; adsl-start.....timed out
adsl-status: link is down (can't read pppoe PID file
/var/run/pppoe.conf-adsl.pid.pppoe)

I have looked for the file (quoted above in brackets) but there's nothing in /var/run like it.
:o
jcr1 (893)
310103 2005-01-06 02:27:00 Just a thought; when I cd into /var or /usr or /etc & ls. It's all there, so am I worrying too much, 'cause they'd all be in the root partition.
Actually the boot is fairly good, as far as I can tell and I get [ok] for all the different stages. The only thing is that error message I quoted in the previous post, but even that gets an [ok] out on the right hand margin.

So, if thats the case, I've got Gentoo & all I need to do now is get my internet working so I can start installing the goodies. :D
jcr1 (893)
310104 2005-01-06 06:27:00 Your root isnt reiser4.... What is it?!

Replace reiser4 with "ext3" or "reiserfs" depending on what you used.


Chill.
Chilling_Silence (9)
310105 2005-01-06 09:13:00 >Your root isnt reiser4.... What is it?!

>Replace reiser4 with "ext3" or "reiserfs" depending on what you used.

Got it at last, of course its reiserfs. I had that in fstab originally then for some reason altered it to reiser4 :annoyed: But now its fixed and the boot went well.
Got the cleanly mounted message and no error messages, beautiful :thumbs:
Sorry to waste your time over that stupid mistake of mine, Chill.
The good thing coming out of this is I'm getting used to using Nano.

Could you give me a hand getting my ADSL set up; it set up fine off the live cd but I can't get it to work off the new installation.
I have 2 network devices; eth0 is the one for ADSL, well actually it's wireless internet, but up to the device I guess its the same. My previous post, about 2 back covers it; in /etc/conf.d/net I had iface_eth0="dhcp" , dhcpcd_eth0="-HD" , iface_eth0="up". But it didn't work, so I just used iface_eth0="up" and it still won't work. So I'm kinda at loss as to what to do next.
jcr1 (893)
310106 2005-01-06 10:03:00 Okay, Basically you didnt emerge dhcpcd which is the DHCP client daemon.
Re-read the end parts of the Handbook. It tells you that while still in the chroot'ed environment you need to emerge dhcpcd.
At the moment you wont have internet so you _have_ to do it off the LiveCD.

I'll bet by now you're getting used to running the above mentioned commands to chroot into your install ;)


Chill.
Chilling_Silence (9)
310107 2005-01-06 21:46:00 Still can't get internet.
I booted the live cd and then did;
mount /dev/hdb4 /mnt/gentoo
then;
chroot /mnt/gentoo /bin/bash
then;
emerge dhcpcd
This appeared to work well & finished with the message;
* Important: 1 config files in /etc need updating

I presume that the file in /etc is /etc/conf.d/net, which I've already configured using nano with;
iface_eth0="dhcp"
dhcpcd_eth0="-HD"
iface_eth0="up"

I wonder why when I use adsl-status I get the following message;
adsl-status: link is down (can't read pppoe PID file
/var/run/pppoe.conf-adsl.pid.pppoe)

Do I have to create this file? I wonder, and what would I put in it?

The internet works fine off the live cd, so nothing wrong with my card (also ran ifconfig eth0).
jcr1 (893)
310108 2005-01-06 23:36:00 Okay, so how exactly does this work? Is it just a DHCP address you need? If so, then:
dhcpcd
You may even be able to:
rc-update add dhcpcd default

For information about what config file needs updating, run:
etc-update

Just BE CAREFUL WITH etc-update coz it can cause a LOT of grief if you dont know what you're doing. I usually just ignore it (naughty I know).

Try just running dhcpcd as root.


Chill.
Chilling_Silence (9)
310109 2005-01-07 01:37:00 Oh dear, this is not good.
had a look at etc-update, definitely said that /etc/ppp/pppoe.conf needed updating, but I couldn't see what, so I exited, as far as I know I didn't alter anything, but now its got worse as when I run ifconfig eth0 it can't find my network card, whereas previously at least this worked.
jcr1 (893)
1 2 3