Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Install errors; emerge <kernelversion>,&other prob
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
Kevin89
n00b
n00b


Joined: 08 Jun 2005
Posts: 14

PostPosted: Thu Jun 09, 2005 12:33 pm    Post subject: Install errors; emerge <kernelversion>,&other prob Reply with quote

Hello again,

Since lately opening a topic i tried alot of other things. But i still can't get it to work.
I open this new thread because it's an other problem.

This is what i did :
1. boot Gentoo Live CD (universial-x86)
2. check date -> was correct, net-setup eth0 -> no problems either
3. fdisk -> made partitions:
/dev/hda1 NTSF (windows xp)
/dev/hda2 W95 ext'd (LBA)
/dev/hda5 FAT32 (shared,i guess /dev/hda2 is the ext'd of this one)
/dev/hda6 ext2 (the boot partition, set to ext2)
/dev/hda7 swap (the swap partition)
/dev/hda8 ext3 (the / partition for gentoo)
4. All gone well with fdisk.
5. #swapon /dev/hda7 -> no problems
6. #mount /dev/hda8 /mnt/gentoo -> good
7. #mkdir /mnt/gentoo/boot -> good
8. #mount /dev/hda6 /mnt/gentoo/boot -> good
9. #cd /mnt/gentoo -> good
10. #tar -xvjpf /mnt/cdrom/stages/stage3-x86-2005.0.tar.bz2 -> good
11. #tar -xvjf /mnt/cdrom/snapshots/portage-20050303.tar.bz2 -C /mnt/gentoo/usr -> all good again
12. #cd /mnt/gentoo/usr/portage; mkdir distfiles; -> good
13. #cp /mnt/cdrom/distfiles/* distfiles/ -> all good
14. #mirrorselect -a -s4 -o | grep 'GENTOO_MIRRORS=' >> /mnt/gentoo/etc/make.conf -> no problems
15. #cp -L /etc/resolvf.conf /mnt/gentoo/etc/resolv.conf -> thinking of it, i think i forget this, is this bad?
16. #mount -t proc none /mnt/gentoo/proc -> good
17. #chroot /mnt/gentoo /bin/bash -> good
18. #env-update -> good
19. #source /etc/profile -> all good
20. #nano -w /etc/fstab -> inserted my boot,swap&root partition here, following the guide, all good
21. #emerge gentoo -> some errors at end, in handbook it says <your-kernel-version>, but i didn't know which i had, so i just did gentoo
22. #emerge genkernel; genkernel --udev --menuconfig all -> good
23. The handbook gives 2 options now: #make && make modules_install -> doesn't work
#make dep && make clean bzImage modules modules_install -> doesn't work
I didn't know what to do next, i'm kinda confused now. Tried to install it alot ways, but didn't work, i really need some help.
I followed all these steps i listed here exactly but as you can see i forgot number 15, i don't know which kernel version at number 21, and number 23 didn't work at all.
I need some advice with these steps and with my install.

Thanks in advance,
Kevin
Back to top
View user's profile Send private message
adaptr
Watchman
Watchman


Joined: 06 Oct 2002
Posts: 6730
Location: Rotterdam, Netherlands

PostPosted: Thu Jun 09, 2005 12:40 pm    Post subject: Reply with quote

21. emerge gentoo-sources; gentoo is a graphical file browser a la wincommander.
23. cd /usr/src/linux; make will only work if you run it from the source directory.

Quote:
doesn't work

Isn't useful.
_________________
>>> emerge (3 of 7) mcse/70-293 to /
Essential tools: gentoolkit eix profuse screen
Back to top
View user's profile Send private message
Kevin89
n00b
n00b


Joined: 08 Jun 2005
Posts: 14

PostPosted: Thu Jun 09, 2005 1:18 pm    Post subject: Reply with quote

Thanks for your reply,

21. is gentoo-sources the kernel then? cause at that point i need to #emerge <yourkernelversionhere>?
23. and how do i get to the source dir again?

I will do get some more info on that other thingy later on.
Back to top
View user's profile Send private message
Kevin89
n00b
n00b


Joined: 08 Jun 2005
Posts: 14

PostPosted: Thu Jun 09, 2005 2:51 pm    Post subject: Reply with quote

Bumpitybump :(
Back to top
View user's profile Send private message
Maedhros
Bodhisattva
Bodhisattva


Joined: 14 Apr 2004
Posts: 5511
Location: Durham, UK

PostPosted: Thu Jun 09, 2005 3:00 pm    Post subject: Reply with quote

Kevin89 wrote:
21. is gentoo-sources the kernel then? cause at that point i need to #emerge <yourkernelversionhere>?
There are several to choose from, but gentoo-sources is a good choice. # emerge gentoo-sources to get them.
Kevin89 wrote:
23. and how do i get to the source dir again?
cd /usr/src/linux, as adaptr said. :wink:

Kevin89 wrote:
Bumpitybump
Please don't, until about 24 hours has gone by.
_________________
No-one's more important than the earthworm.
Back to top
View user's profile Send private message
Kevin89
n00b
n00b


Joined: 08 Jun 2005
Posts: 14

PostPosted: Thu Jun 09, 2005 3:31 pm    Post subject: Reply with quote

Okay, sorry for the bump Maedhros, was kinda impatient :oops:

Well, if i enter cd /usr/src/linux, it says that there isn't such a directory, but that was when i only did #emerge gentoo
instead of #emerge gentoo-sources.
Will it work when i do #emerge gentoo-sources you think?

Tia,
Kevin
Back to top
View user's profile Send private message
Maedhros
Bodhisattva
Bodhisattva


Joined: 14 Apr 2004
Posts: 5511
Location: Durham, UK

PostPosted: Thu Jun 09, 2005 3:34 pm    Post subject: Reply with quote

Kevin89 wrote:
Will it work when i do #emerge gentoo-sources you think?
Yes. Before doing it /usr/src/linux won't exist, and you won't have any source files to build the kernel from anyway. :wink:
_________________
No-one's more important than the earthworm.
Back to top
View user's profile Send private message
Kevin89
n00b
n00b


Joined: 08 Jun 2005
Posts: 14

PostPosted: Thu Jun 09, 2005 4:45 pm    Post subject: Reply with quote

Ah, thanks for you helping me :)
I will try to install gentoo again later on, when i finish my damn math :P

I will report back whether install has worked or not.

Regards,
Kevin
Back to top
View user's profile Send private message
Kevin89
n00b
n00b


Joined: 08 Jun 2005
Posts: 14

PostPosted: Thu Jun 09, 2005 6:27 pm    Post subject: Reply with quote

Well, i'm back now.
And i'm disappointed to tell it has failed again.

This time i have done all well. The guide told me to reboot, so i did. I booted into Live CD again, and i had to put in these commands:
#mount /dev/cdrom /mnt/cdrom -> already was mounted
#mkdir /usr/portage/packages -> can't, this is the error: "mkdir:cannot create directory '/usr/portage/packages': Read-only file system"

Now is my question: what to do? i'm almost done and then i get this, very frustrating. I'm now on my fathers laptop, so i can tell exact errors.

Tia,
Kevin
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Thu Jun 09, 2005 6:38 pm    Post subject: Reply with quote

Kevin89 wrote:
Well, i'm back now.
And i'm disappointed to tell it has failed again.

This time i have done all well. The guide told me to reboot, so i did. I booted into Live CD again, and i had to put in these commands:
#mount /dev/cdrom /mnt/cdrom -> already was mounted
#mkdir /usr/portage/packages -> can't, this is the error: "mkdir:cannot create directory '/usr/portage/packages': Read-only file system"

Now is my question: what to do? i'm almost done and then i get this, very frustrating. I'm now on my fathers laptop, so i can tell exact errors.

Did you chroot before the mkdir command? It looks like you are trying to create a directory on the cd, which naturally won't work.
Take another good look at the Handbook. :wink:
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
Kevin89
n00b
n00b


Joined: 08 Jun 2005
Posts: 14

PostPosted: Thu Jun 09, 2005 6:44 pm    Post subject: Reply with quote

Okay, i now chrooted back again after mounting everything again, thanks for the tip.
But now the handbook tells me to #mount /dev/cdrom /mnt/cdrom
The error i get is: "mount:special device /dev/cdrom does not exist"

What to do now? (sorry if i'm being really dumb!)

Still thankful for all help,
Kevin
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Thu Jun 09, 2005 7:02 pm    Post subject: Reply with quote

Eh, what kind of install are you doing? Stage 1, 2 or 3?
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
Kevin89
n00b
n00b


Joined: 08 Jun 2005
Posts: 14

PostPosted: Thu Jun 09, 2005 7:16 pm    Post subject: Reply with quote

Stage 3, and my dad had to use the laptop, so i had the cancel installtion, im going to partition it all over again,
and then i'm somehow going to do everything right.
This is really hard for me :(

Regards
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