View previous topic :: View next topic |
Author |
Message |
Marcos M n00b
Joined: 08 Sep 2013 Posts: 8 Location: Caraguatatuba, São Paulo, Brasil
|
Posted: Sat Sep 14, 2013 1:05 am Post subject: Installing on A VM, lack of space and root login |
|
|
Hey dudes!
Sorry the poor English.
Well, I've been tried to install Gentoo but after have the stage3 downloaded and use the command tar xvjpf stage3...., it extracts some files and then says that there's no free space avaiable, I did according the handbook but I fail now. Other issue is with the login root, how does it works when the machine is restarted? I changed the root login with the passwd command, but when I restart the machine the former login doesn't work. Once I installed it but I lost it due the damn root login. I'm using the the VM of the Oracle, and I'm a beginner on LInux, but in this VM I have the Slackware, Ubuntu and OpenSuse running almost perfectly.
Thanks |
|
Back to top |
|
|
fturco Veteran
Joined: 08 Dec 2010 Posts: 1181 Location: Italy
|
Posted: Sat Sep 14, 2013 7:50 am Post subject: |
|
|
Welcome to Gentoo.
You can check the available space by running the following command:
You should also check you have enough inodes:
Please make sure you type the passwd command inside the chroot. It's quite normal for the password to be forgotten if you type passwd outside of the chroot because the LiveCD is loaded in RAM and a reboot clears it, while the environment inside the chroot is on the hard disk. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54266 Location: 56N 3W
|
Posted: Sat Sep 14, 2013 11:50 am Post subject: |
|
|
Marcos M,
Welcome to Gentoo.
You must untar the stage3 tarball to your VM hard drive. Typically, this will me /dev/sda3, which you have already mounted at /mnt/gentoo.
If you don't do that it will go into the VM RAM.
There are two ways to do this.
Code: | mount /dev/sda3 /mnt/gentoo
cd /mnt/gentoo
wget <stage3tarball>
tar xjvpf <stage3tarball> | This way everything is done in the present working directory (PWD) on your VM hard drive.
You may also do Code: | mount /dev/sda3 /mnt/gentoo
wget <stage3tarball>
tar xjvpf <stage3tarball> -C /mnt/getoo |
In which case the tarball is downloaded to the VM RAM then untarred to /mnt/gentoo where your VM hard drive is mounted.
If you missed the mount step, or mounted you /boot, usually /dev/sda1, at /mnt/gentoo then you will often get problems wit the untar step.
Setting the root password can be done in two places.
If you do it before the Code: | chroot /mnt/gentoo /bin/bash | step, it applies to the install environment only.
This is useful if you want to use ssh to do a remote install.
If you set the password after the chroot step, it applies to your growing Gentoo install only.
You must do this or you will not be able to long in as root when you reboot. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
Marcos M n00b
Joined: 08 Sep 2013 Posts: 8 Location: Caraguatatuba, São Paulo, Brasil
|
Posted: Sun Nov 24, 2013 2:23 am Post subject: The emerge-webrsync issue |
|
|
Hi, dudes!
Inside the chroot enviroment after the emerge-webrsync command it says:
!!! Invalid PORTDIR_OVERLAY (not a dir): '/usr/portage'
!!! Section 'gentoo' in repos.conf has location attribute set to nonexistent directory: '/usr/portage'
!!! main-repo not set in DEFAULT and PORTDIR is empty.
emerge-webrsync: error: Repository 'gentoo' not found
How do I fix that? Why these files are missing?
Thanks! |
|
Back to top |
|
|
666threesixes666 Veteran
Joined: 31 May 2011 Posts: 1248 Location: 42.68n 85.41w
|
Posted: Sun Nov 24, 2013 2:51 am Post subject: |
|
|
mkdir /usr/portage
chown portage:portage /usr/portage
i get around that by old emerge --sync |
|
Back to top |
|
|
Marcos M n00b
Joined: 08 Sep 2013 Posts: 8 Location: Caraguatatuba, São Paulo, Brasil
|
Posted: Sun Nov 24, 2013 12:07 pm Post subject: The emerge-webrsync issue |
|
|
It worked partly now it says:
!!! Section "gentoo' in repos.conf refers to repository without repositor name set in '/usr/portage/profiles/repo_name'
emerge webrsync: error:Repository 'gentoo' not found
Thanks |
|
Back to top |
|
|
fturco Veteran
Joined: 08 Dec 2010 Posts: 1181 Location: Italy
|
Posted: Sun Nov 24, 2013 3:00 pm Post subject: |
|
|
Try with:
Code: | echo gentoo > /usr/portage/profiles/repo_name |
|
|
Back to top |
|
|
Marcos M n00b
Joined: 08 Sep 2013 Posts: 8 Location: Caraguatatuba, São Paulo, Brasil
|
Posted: Sun Nov 24, 2013 10:03 pm Post subject: |
|
|
This time it says that there's no such file or directory |
|
Back to top |
|
|
fturco Veteran
Joined: 08 Dec 2010 Posts: 1181 Location: Italy
|
Posted: Mon Nov 25, 2013 10:42 am Post subject: |
|
|
Code: | # mkdir -p /usr/portage/profiles
# echo gentoo > /usr/portage/profiles/repo_name |
|
|
Back to top |
|
|
Marcos M n00b
Joined: 08 Sep 2013 Posts: 8 Location: Caraguatatuba, São Paulo, Brasil
|
Posted: Mon Nov 25, 2013 3:25 pm Post subject: |
|
|
Following your instructions I came through this step but I've been experienced several issues, that I haven't took notice at the first time I installed gentoo.
Now during the choice of the processor on Processor type and features --->Processor Family, after the make menu command, I've tried all four avaiable processor but without sucess. |
|
Back to top |
|
|
fturco Veteran
Joined: 08 Dec 2010 Posts: 1181 Location: Italy
|
Posted: Mon Nov 25, 2013 4:44 pm Post subject: |
|
|
This is a different problem, so perhaps you should have opened a new thread. Mods?
Anyway, what does the following command say?
Edit: Also, you say that it failed, but what exactly happens? Do you have an error message you can report to us? |
|
Back to top |
|
|
Marcos M n00b
Joined: 08 Sep 2013 Posts: 8 Location: Caraguatatuba, São Paulo, Brasil
|
Posted: Mon Nov 25, 2013 8:23 pm Post subject: |
|
|
It says:
processor: 0
vendor_id: GenuineIntel
cpu family: 6
model: 15
model name: Intel(R) Core (TM)2 Duo CPU T5550 @ 1.83 GHz
stepping: 13
cpu MHZ: 1830.463
cachesize: 6144 KB
fdiv_bug: no
hlt_bug: no
f00f_bug: no
coma_bug:no
fpu: yes
fpu_exception: yes
cpuid level:5
wp: yes
flags: fpu ume de pse tsc msr mce cx8 apic mtrr pge mca cmov pat pse36 clflush mmx sse sse2 constant_tsc pni monitor ssse3
bogomips: 3660.92
clflush size: 64
cache_alignment: 64
adress sizes: 36 bits physical, 48 bits virtual
power management:
Error message:
kernel/bounds.c:1:0: error: CPU you selected does not support x86-64 instruction set
make[1]: ***[kernel/bounds.s] Error 1
make: *** [prepared0] Error 2 |
|
Back to top |
|
|
fturco Veteran
Joined: 08 Dec 2010 Posts: 1181 Location: Italy
|
Posted: Mon Nov 25, 2013 9:20 pm Post subject: |
|
|
If I understood correctly you are installing Gentoo under VirtualBox... when you created the VirtualBox image for Gentoo did you choose a 32-bit system or a 64-bit one? It seems you chose 32-bit since /proc/cpuinfo doesn't show the "lm" flag. But we need to be sure. If you chose 32-bit then please make sure you downloaded the 32-bit version for the stage3 file and not the 64-bit one. If you downloaded the latter I'm afraid but I think you should start over. |
|
Back to top |
|
|
Marcos M n00b
Joined: 08 Sep 2013 Posts: 8 Location: Caraguatatuba, São Paulo, Brasil
|
Posted: Mon Nov 25, 2013 11:39 pm Post subject: |
|
|
Yeah, under a VirtuaBox, the Oracle's VM. I don't remember wich system I've choose, I think it's a 32 bit and I'm using the same files since the beginning, execpt the stage3 file, I started over a running installation before due the password.
How can we be sure wich system am I using? |
|
Back to top |
|
|
fturco Veteran
Joined: 08 Dec 2010 Posts: 1181 Location: Italy
|
Posted: Tue Nov 26, 2013 10:56 am Post subject: |
|
|
You can check by going to Settings > General > Basic (first screen). You should have:
- Type: Linux
- Version: other Linux (or other Linux 64-bit)
|
|
Back to top |
|
|
Marcos M n00b
Joined: 08 Sep 2013 Posts: 8 Location: Caraguatatuba, São Paulo, Brasil
|
Posted: Wed Nov 27, 2013 12:30 am Post subject: |
|
|
I give up!
Starting over! |
|
Back to top |
|
|
|