View previous topic :: View next topic |
Author |
Message |
sharadMohan n00b
Joined: 31 Dec 2003 Posts: 12
|
Posted: Wed Dec 31, 2003 8:16 pm Post subject: installin the kernel |
|
|
im having trouble installing my kernel.
i type out :
emerge -K vanilla-sources
and then I get this long list of errors and finally it says that i could not get connected to the internet. I am not connected to the net. However I have the gentoo live cd in the cd drive but it isnt reading from the cd. What have I done wrong? Also since I have 2 cd's I'm trying to take the first one out of the drive so I can try the second one....but the drive wont open up!!! Someone please help |
|
Back to top |
|
|
GentooBox Veteran
Joined: 22 Jun 2003 Posts: 1168 Location: Denmark
|
Posted: Wed Dec 31, 2003 9:14 pm Post subject: |
|
|
I can see that you are new to linux. - welcome
You have to do like it says in the installation docs. - you have to copy all the GRP data from the cd to your harddisk.
https://forums.gentoo.org/viewtopic.php?t=72751
it tells you what to do.
to open your cdrom, you have to umount it.
and when you put a new one in the cdrom drive, then you have to mount it before you can see whats on it:
_________________ Encrypt, lock up everything and duct tape the rest |
|
Back to top |
|
|
sharadMohan n00b
Joined: 31 Dec 2003 Posts: 12
|
Posted: Wed Dec 31, 2003 9:35 pm Post subject: boths cds?? |
|
|
So does that mean that when I was supposed to copy the files from the cd to the harddisk I was supposed to copy from both cd's and not just the first one????
If thats the case where should I start over from in the installation docs. I'm currently in chp 7. "Configuring the Kernel".
Thanks for the help. Btw....I am new to linux
i've heard from a lot of people that its really good so I wanna give it a try! |
|
Back to top |
|
|
GentooBox Veteran
Joined: 22 Jun 2003 Posts: 1168 Location: Denmark
|
Posted: Wed Dec 31, 2003 10:19 pm Post subject: Re: boths cds?? |
|
|
sharadMohan wrote: | So does that mean that when I was supposed to copy the files from the cd to the harddisk I was supposed to copy from both cd's and not just the first one????
If thats the case where should I start over from in the installation docs. I'm currently in chp 7. "Configuring the Kernel".
Thanks for the help. Btw....I am new to linux
i've heard from a lot of people that its really good so I wanna give it a try! |
Quote: |
Code listing 11: Copy over source code
# cp -R /mnt/cdrom/distfiles /mnt/gentoo/usr/portage/distfiles
|
well.. i dont know, i have never used GRP.
You cant change the cd while you are installing from the cd, so i guess not.
are you sure that you typed --usepkg ? or -k ? _________________ Encrypt, lock up everything and duct tape the rest |
|
Back to top |
|
|
GentooBox Veteran
Joined: 22 Jun 2003 Posts: 1168 Location: Denmark
|
Posted: Wed Dec 31, 2003 10:20 pm Post subject: |
|
|
if you can, then please post the errors. _________________ Encrypt, lock up everything and duct tape the rest |
|
Back to top |
|
|
sharadMohan n00b
Joined: 31 Dec 2003 Posts: 12
|
Posted: Thu Jan 01, 2004 12:09 am Post subject: error |
|
|
i typed out :
cp -R /mnt/cdrom/distfles /mnt/gentoo/usr/portage/distfiles
and i got an error:
cd: cannot stat '/mnt/cdrom/distfiles': No such file or directory
and btw...the command prompt says:
cdimage / # |
|
Back to top |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Thu Jan 01, 2004 8:19 pm Post subject: |
|
|
sharadMohan wrote: | i typed out :
cp -R /mnt/cdrom/distfles /mnt/gentoo/usr/portage/distfiles |
You need to do this from outside the chroot environment.
Press <alt><F2> to open another terminal.
Copy the files you need from the CD.
Press <alt><F1> to get back to your installation (inside the chroot). |
|
Back to top |
|
|
sharadMohan n00b
Joined: 31 Dec 2003 Posts: 12
|
Posted: Fri Jan 02, 2004 8:28 am Post subject: same error |
|
|
k so i went to the root and copied the files again
Then I went back to 'cdimage /#' as the command prompt and i typed out
emerge -k vanilla-sources
and i get the same error. It keeps sayin...
Resolving www.de.kernel.org...failed:host not found
and then at the bottom it says:
!!! couldnt download linux-2.4.22.tar.bz2. Aborting
Keep in mind that I am not connected to the net. I have everything on the cd's and I copied them over too.
ARggghh!!! this stuff can get quite frustrating.
Thank you all so much for this help. |
|
Back to top |
|
|
nachiketa n00b
Joined: 19 Dec 2003 Posts: 74 Location: earth
|
Posted: Fri Jan 02, 2004 9:34 am Post subject: hi sharad |
|
|
you need to get your connection to the internet fixed if you want to do a bleeding edge install. Else if you are sure you copied all the portage/packages as mentioned in the docs from cd2 you could try -K instead of -k. Just a random thought coz I didnt actually try the vanilla-sources. Prolly the vanilla-sources is trying to get you 2.6.0 stable.
Once you are almost done, and your compile does not show you any errors, you are almost there. just make sure to do it without missing any steps from the docs. online docs preferred!
edit : I see you have tried -K already - first post.
to chage cd's midstream use gentoo cdcache at the initial screen. This might not work with the full live cd's. Works like a charm with the base cd. _________________ Stop Thinking
Start Forgetting! |
|
Back to top |
|
|
sharadMohan n00b
Joined: 31 Dec 2003 Posts: 12
|
Posted: Sat Jan 03, 2004 12:55 am Post subject: starting again!!! |
|
|
i decided to start over! I am in chp 5 now:"installing the gentoo installation files"
I'm trying to execute code listing 5 which is just to list all the available stages:
cdimage /# ls /mnt/cdrom/stages
when i hit enter i get :
ls: /mnt/cdrom/stages: No such file or directory
if i get that error the installation docs says to mount the cdrom first:
so i type:
cdimage /# mount /dev/cdroms/cdrom0 /mnt/cdrom
and i get the error:
mount: you must specify the filesystem type
whats goin on!!! I'm just following whats on the insatllation docs:
http://www.gentoo.org/doc/en/handbook/handbook.xml?part=1&chap=5#doc_chap3
p.s.
cdimage /# is my command prompt |
|
Back to top |
|
|
cyrillic Watchman
Joined: 19 Feb 2003 Posts: 7313 Location: Groton, Massachusetts USA
|
Posted: Sat Jan 03, 2004 1:31 am Post subject: |
|
|
sharadMohan wrote: | cdimage /# ls /mnt/cdrom/stages
when i hit enter i get :
ls: /mnt/cdrom/stages: No such file or directory
if i get that error the installation docs says to mount the cdrom first:
so i type:
cdimage /# mount /dev/cdroms/cdrom0 /mnt/cdrom
and i get the error:
mount: you must specify the filesystem type
whats goin on!!! I'm just following whats on the insatllation docs: |
That is strange.
If you booted from the LiveCD, it should already be mounted for you at /mnt/cdrom. You can check this by using the "mount" command to show all mounted filesystems.
If you do have something mounted at /mnt/cdrom, you should be able to list the entire contents of the CD like this.
Code: | cdimage / # ls -laR /mnt/cdrom |
Hopefully you can find what you are looking for. |
|
Back to top |
|
|
sharadMohan n00b
Joined: 31 Dec 2003 Posts: 12
|
Posted: Sat Jan 03, 2004 5:07 am Post subject: help me redo it again |
|
|
k so i typed 'mount'
cdimage /# mount
and i get this:
/dev/ROOT on / type xfs (rw,noatime)
then i type :
cdimage /# ls -laR /mnt/cdrom
and i get this:
/mnt/cdrom:
total 8
2 root root 4096...
4 root root 4096...
Either way...im just trying to display all the stages from the cd. It worked before when i did it about 4 days ago. It gave me the list of all 3 stages. And thats what im trying to do now. I want to start again from section
5.c "alternative: using a stage from the liveCD"
Maybe my command prompt is not right. I dont know. Can someone please look at chp 5 section 5.c and tell me how to get started from that point
Thank you very much |
|
Back to top |
|
|
nachiketa n00b
Joined: 19 Dec 2003 Posts: 74 Location: earth
|
Posted: Sat Jan 03, 2004 5:11 am Post subject: what were the options you used? |
|
|
gentoo cdcache? _________________ Stop Thinking
Start Forgetting! |
|
Back to top |
|
|
nachiketa n00b
Joined: 19 Dec 2003 Posts: 74 Location: earth
|
Posted: Sat Jan 03, 2004 5:26 am Post subject: do you have this line in fstab? |
|
|
/dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,ro 0 0
you might want to create a mount point after you chroot if it does not exist too.
mkdir /cdrom
if you really need to access another cd after booting from the basic live cd :
use option cdcache - might not work with all live cd's - works with the basic one
if you do this you can unmount the cd immediately after the base cd boot up.
use umout /cdrom or /dev/cdrom or /dev/cdroms/cdrom0
eject the live cd. pop in your burned cdrom with newer distfiles or dependencies maybe?
mount cdrom
cd /cdrom
ls
if you copy huge amounts of data from cd's while booted from the base cd - and if your system feels slow - reboot. All the files you copied will still be there. unless you start with fdisk again.
if you see i8853 count too high - dont worry for now.
chroot and enjoy! _________________ Stop Thinking
Start Forgetting! |
|
Back to top |
|
|
|