Summary: | chroot /bin/bash - file or directory doesn't exist | ||
---|---|---|---|
Product: | Gentoo Release Media | Reporter: | Ross Henderson <rosshenderson81> |
Component: | Everything | Assignee: | Bob Johnson (RETIRED) <livewire> |
Status: | RESOLVED WORKSFORME | ||
Severity: | critical | CC: | caleb |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Ross Henderson
2003-05-09 03:04:50 UTC
Make sure the /mnt/gentoo directory exists Make sure that you've mounted your harddrive partition to this directory (it should show up when running the 'mount' command) Make sure you've correctly untarred the tarball to this directory (in the /mnt/gentoo directory should be /bin, /etc, /lib, ...) Please report back your findings. I have managed to get past the chroot statement, but now when I use emerge -p system, I get a message "/etc/make.profile isn't available; an emerge sync will probably fix this". When I try an emerge sync, I get a similar message, saying that "No profile directory; system mode unavailable". How do I set up the profile directory?? Whoa, are you skipping steps here? mount -t proc proc /mnt/gentoo/proc cp /etc/resolv.conf /mnt/gentoo/etc/resolv.conf chroot /mnt/gentoo/ /bin/bash env-update source /etc/profile emerge sync (edit your /etc/make.conf) cd /usr/portage scripts/bootstrap.sh emerge -p system I think you've jumped ahead a bit while trying this installation. Please make sure you follow the steps carefully. Sir, For your information I have followed the steps in the installation guide to the letter!!! viz cd /mnt/gentoo tar -xvjpf /mnt/cdrom/gentoo/stage3-*.tbz2 mount -o bind /proc /mnt/gentoo/proc cp /etc/resolv.conf /mnt/gentoo/etc/resolv.conf mkdir /mnt/gentoo/GRP mount -o bind /mnt/cdrom/gentoo/packages /mnt/gentoo/GRP chroot /mnt/gentoo /bin/bash env-update Now when I do the last statment, I get the message "etc/make.config isn't available. A emerge synch should recify this". I have unpacked the stage1, stage2 and the stage 3 tarballs and every time I get the same message!!! Just some additional info... I have tried continuing past this message emerge synch export CONFIG_PROTECT="-*" export USE"-* bootstrap build" emerge portage unset USE I haven't edited the make.conf file as the instructions say that the defaults are fine emerge synch emerge -up world No packages are listed emerge -u world cd /GRP sh grp-install.sh <all packages> ln -sf /usr/sharezoneinfo/path/to/timezonfile /etc/GMT emerge sys-kernel/xfs-sources Once again I receive a message about the missing profile in make.config I thought that if I ignore the message then I might get past it, but it seems that because of the missing profile that I cannot install the kernel source When you do an 'emerge sync', this step goes out and grabs a fresh portage tree. It updates everything in /usr/portage. Look there...are there a whole slew of files and directories? If not (it doesn't sound like it), then perhaps your networking isn't set up properly. Can you verify the network card modules are loaded happily (earlier in the installation instructions). I did try setting up the network card, but I couldn't find a module. The card I have is an Accton en166x. Which module should I use for that?? A quick search on google says: 'ne' kernel module. Doesn't work in PNP mode. Boot in DOS and run 1STEP.EXE on the driver diskette to configure and disable PNP. I suppose can we stop spamming drobbins now, too. :) I installed the ne module using modeprobe ne io="0x300" irq=3 It detects the card and installs the module net-setup eth0 ifconfif -a I now get a sreenfull with about 3 sections, the first section lists address 0x300 irq 3 and I think it mentioned en1660. So it seems that the NIC is detected. I then follow the instructions exactly as I have done before. Setup and mount the partions, unpack the tarball, chroot /mnt/gentoo /bin/bash, env-update I now get exactly the same message as before about the missing profile. Suggestions????? Just for your info... I looked in the /usr/portage directory and there is nothing in it even after I have installed the en module. I have also tried using irq 9 for the network card, but that made no difference. Just a thought... if I didn't have the network card in when installing, would that make any difference?? At the moment the card is in the computer but I do not have it connected to any network. So say I did take the card out, would I still need to use net-setup and configure the network??? Absolutely. In order for gentoo to be able to give you a list of packages, it has to have a fresh portage tree. it grabs this from the internet during the "emerge sync" step. If you do not have the network card in and configured properly, this step won't be able to complete itself, and you won't be able to continue. This is where you'll need to focus - getting the network card in and properly configured. At the moment, my only access to the internet is through a dial up on another computer. I do not have a hub nor a network card installed in the other computer. Is there no way of getting a fresh portage tree from the internet on my internet computer then transferring it to my linux computer?????? If you have the stage 3 tarball, then you can skip directly to Step #13 (as noted in the instructions). You should be able to have a working base system, going with this method. Anything else, and you'll need internet access to update portage. I'm assuming you downloaded the tarballs and don't have a live cd. I have a live CD Not familiar with livecd install, reassigning. If I need internet access, then would it be possible to install my modem from my other computer in my linux computer and setup a dialup or does it need to be internet access through a network??? If it is possible to access the internet through a dialup then what commands do I need to use??? For your info the modem is a Swan II Internal modem. What module does this need??? If it isn't possible to use a dialup and I have to use a stage3 tarball which one do you recomend for a PII processor?? The live CD I have has the i686 stage 3 tarball on it, but when I tried it I got a message saying that it contained out of date references!!! On another point, I think that you should revise the instructions. There is no mention that you need an internet connection, or if you can access the internet through a dialup then there are no instructions on how to set that up. Also there is no mention that if you use a stage 3 tarball that once you have unpacked it, you can go straight to the 'Starting from stage3 section'. It also doesn't say which tarball to use for a PII processor!!!! I have tried using the i686 stage 3 tarball which I got on the live CD. There is nothing in the /usr/portage directory and I still get a message saying that the make.profile isn't available. So it looks like I will have to access the internet via my modem. How do I set up a dialup????? Which module do I need for a Swan II internal modem???? Or is the only way to access the internet via a LAN??? If the latter is the case don't you think that you should say this in the instructions?????? If you have successfully extracted the stage 3 tarball, then your system should be happy. The only reason you need stuff in /usr/portage is to update the software for your system from what came on the CD. In order to do that, you'll need internet access, whether it's through a modem or faster. I don't know what module you'll need for swan 2 - that's beyond the scope of my knowledge, though a google search may help you there. The x86 installation instructions on the gentoo web site has information regarding installation using setups other than broadband. But, regardless of any of this, you should have a bootable system. Thus, I'm changing the status of the bug. If the 'system should be happy', then why is it when I come to install the kernel I still get a message saying that the make.profile file doesn't exist??? Sir, For your information, I tried booting after I unpacked the stage3 tarball, but it didn't work. It only got as far as "Verifying DMI pool data". So I'm afraid this bug is still not resolved!!!!! |