Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
1st gentoo minimal install, new computer, blank screen
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4, 5  Next  
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
corellon
n00b
n00b


Joined: 09 Aug 2012
Posts: 66

PostPosted: Mon Sep 10, 2012 12:38 am    Post subject: Reply with quote

DONAHUE wrote:
if you made /mnt/gentoo and have cd'ed into it run
Code:
wget http://distfiles.gentoo.org/releases/amd64/autobuilds/current-stage3/stage3-amd64-20120621.tar.bz2
check that ls /mnt/gentoo shows
Quote:
stage3-amd64-20120621.tar.bz2


edited to add wget to command


Its fine. Ive practically already memorized the command: "links http://www.gentoo.org/main/en/mi..."

By the way, what is the hardened version? Do you have any experience with it? I kind of like the thought of things being super safe.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 6648
Location: Goose Creek SC

PostPosted: Mon Sep 10, 2012 12:41 am    Post subject: Reply with quote

recommend keep it simple first time around and just use desktop of your choice profile for now
_________________
Defund the FCC.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 6648
Location: Goose Creek SC

PostPosted: Mon Sep 10, 2012 12:46 am    Post subject: Reply with quote

mint ~ # as a prompt means you are in mint's home directory BTW
you want to be in /mnt/gentoo before links or wget
note in links you must find file and the use D to download it
_________________
Defund the FCC.
Back to top
View user's profile Send private message
corellon
n00b
n00b


Joined: 09 Aug 2012
Posts: 66

PostPosted: Mon Sep 10, 2012 12:47 am    Post subject: Reply with quote

It is downloaded. For some reason it wont confirm the md5sum
mint gentoo # md5sum -c stage3-amd64-20120621.tar.bz2.DIGESTS
md5sum: stage3-amd64-20120621.tar.bz2.DIGESTS: No such file or directory
mint gentoo # ls
boot lost+found stage3-amd64-20120621.tar.bz2
Back to top
View user's profile Send private message
corellon
n00b
n00b


Joined: 09 Aug 2012
Posts: 66

PostPosted: Mon Sep 10, 2012 12:51 am    Post subject: Reply with quote

DONAHUE wrote:
mint ~ # as a prompt means you are in mint's home directory BTW
you want to be in /mnt/gentoo before links or wget
note in links you must find file and the use D to download it


Is it okay if I didn't use D to download? I followed the on screen prompts and those seemed to have done the job.
You can see in my previous comment that I downloaded the file.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 6648
Location: Goose Creek SC

PostPosted: Mon Sep 10, 2012 12:55 am    Post subject: Reply with quote

it's ok
_________________
Defund the FCC.
Back to top
View user's profile Send private message
corellon
n00b
n00b


Joined: 09 Aug 2012
Posts: 66

PostPosted: Mon Sep 10, 2012 1:30 am    Post subject: Reply with quote

I am currently configuring the make.conf file and there doesnt seem to be anything in it.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 6648
Location: Goose Creek SC

PostPosted: Mon Sep 10, 2012 1:33 am    Post subject: Reply with quote

there are two /etc/make.conf (old)and /etc/portage/make.conf (new)
wise counsel: leave USE="" blank
ignore mirrorselect
_________________
Defund the FCC.
Back to top
View user's profile Send private message
corellon
n00b
n00b


Joined: 09 Aug 2012
Posts: 66

PostPosted: Mon Sep 10, 2012 1:44 am    Post subject: Reply with quote

this is what it looks like:

http://i.imgur.com/YAkY4.png

what should i do?

edit: as a side note, those two movie player screens refuse to close. i do not have mouse and the right click on my touchpad is not responding in mint, so there is no other way (to my knowledge) of closing them.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 6648
Location: Goose Creek SC

PostPosted: Mon Sep 10, 2012 1:55 am    Post subject: Reply with quote

sorry forgot you are still outside chroot..
there are two /mnt/gentoo/etc/make.conf (old)and /mnt/gentoo/etc/portage/make.conf (new) are both blank?
_________________
Defund the FCC.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 6648
Location: Goose Creek SC

PostPosted: Mon Sep 10, 2012 2:14 am    Post subject: Reply with quote

if this
Code:
nano -w /mnt/gentoo/etc/portage/make.conf

is blank, close it, and run
Code:
mv /mnt/gentoo/etc/make.conf /mnt/gentoo/etc/portage/make.conf
nano -w /mnt/gentoo/etc/portage/make.conf

edit to:
Quote:
CFLAGS="-march=native -O2 -pipe"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"

change 2 in j2 to 1 more than your number of cpu cores

ignore selecting mirrors, ctrl-x to exit nano, save changes, run
Code:
nano /mnt/gentoo/etc/resolv.conf

edit to
Quote:
nameserver 8.8.8.8

Code:
lspci -k > /mnt/gentoo/lspcik


enter the chroot, nominally:
Code:
mount /dev/sda3 /mnt/gentoo
mount /dev/sda1 /mnt/gentoo/boot
cp /etc/resolv.conf /mnt/gentoo/etc/resolv.conf
mount -t proc none /mnt/gentoo/proc
mount --rbind /sys /mnt/gentoo/sys
mount --rbind /dev /mnt/gentoo/dev
chroot /mnt/gentoo /bin/bash
env-update
source /etc/profile
export PS1="(chroot) $PS1"
emerge pciutils wgetpaste

_________________
Defund the FCC.


Last edited by DONAHUE on Mon Sep 10, 2012 3:22 am; edited 2 times in total
Back to top
View user's profile Send private message
corellon
n00b
n00b


Joined: 09 Aug 2012
Posts: 66

PostPosted: Mon Sep 10, 2012 2:22 am    Post subject: Reply with quote

I AM STUCK
How do I get out of this ">" business?? I want to get back to "mint gentoo #"
http://i.imgur.com/xAB6U.png

UPDATE:
http://i.imgur.com/VeIS0.png
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 6648
Location: Goose Creek SC

PostPosted: Mon Sep 10, 2012 2:26 am    Post subject: Reply with quote

try ctrl-c
if no luck close the terminal
open a terminal, cd /mnt/gentoo
_________________
Defund the FCC.
Back to top
View user's profile Send private message
corellon
n00b
n00b


Joined: 09 Aug 2012
Posts: 66

PostPosted: Mon Sep 10, 2012 2:35 am    Post subject: Reply with quote

ctrl c worked.

for nano /mnt/gentoo/etc/resolv.conf there was nothing there either. do i just type nameserver 8.8.8.8, save and close?
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 6648
Location: Goose Creek SC

PostPosted: Mon Sep 10, 2012 2:37 am    Post subject: Reply with quote

yes please
_________________
Defund the FCC.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 6648
Location: Goose Creek SC

PostPosted: Mon Sep 10, 2012 2:44 am    Post subject: Reply with quote

after
Code:
emerge pciutils wgetpaste
completes:
Code:
wgetpaste /proc/cpuinfo
wgetpaste /lspcik
and post the urls returned here
_________________
Defund the FCC.


Last edited by DONAHUE on Mon Sep 10, 2012 3:23 am; edited 1 time in total
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 6648
Location: Goose Creek SC

PostPosted: Mon Sep 10, 2012 3:03 am    Post subject: Reply with quote

then proceed to step 6b of the handbook to step 7c; recommend not editing /etc/portage/make.conf to add use flags
after gentoo-sources have emerged get a reliable stripped down basic kernel configuration from pappy's kernel seeds
Code:
cd /usr/src/linux
wget http://kernel-seeds.org/seeds/64_bit/gentoo/3.4.9-gentoo-x86_64-08.config
mv 3.4.9-gentoo-x86_64-08.config .config

this base configuration will not have drivers for the particular devices in the lenovo. lspci -k and cpuinfo will guide driver selection.
_________________
Defund the FCC.
Back to top
View user's profile Send private message
corellon
n00b
n00b


Joined: 09 Aug 2012
Posts: 66

PostPosted: Mon Sep 10, 2012 6:35 pm    Post subject: Reply with quote

this is the output of "mount"
Code:

mint gentoo # mount
/cow on / type overlayfs (rw)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
/dev/sdb1 on /cdrom type vfat (ro,noatime,fmask=0022,dmask=0022,codepage=cp437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/loop0 on /rofs type squashfs (ro,noatime)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev)
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
gvfs-fuse-daemon on /home/mint/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=mint)
/dev/sda6 on /mnt/gentoo type ext4 (rw)
/dev/sda3 on /mnt/gentoo/boot type ext2 (rw)
/dev/sda3 on /mnt/gentoo type ext2 (rw)
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 6648
Location: Goose Creek SC

PostPosted: Mon Sep 10, 2012 6:43 pm    Post subject: Reply with quote

mount looks fine to me, should be good to enter chroot.
_________________
Defund the FCC.
Back to top
View user's profile Send private message
corellon
n00b
n00b


Joined: 09 Aug 2012
Posts: 66

PostPosted: Mon Sep 10, 2012 7:38 pm    Post subject: Reply with quote

Code:
mint gentoo # cp /etc/resolv.conf /mnt/gentoo/etc/resolv.conf
cp: cannot stat `/etc/resolv.conf': No such file or directory


Was this also unnecessary? I am not sure whether or not I copied the DNS info yet (installing gentoo ch.6 part 1a)
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 6648
Location: Goose Creek SC

PostPosted: Mon Sep 10, 2012 7:55 pm    Post subject: Reply with quote

reading
Quote:
/dev/sda6 on /mnt/gentoo type ext4 (rw)
/dev/sda3 on /mnt/gentoo/boot type ext2 (rw)
/dev/sda3 on /mnt/gentoo type ext2 (rw)
more closely
suggest
Code:
 umount /dev/sda3
mount /dev/sda3 /mnt/gentoo/boot
mount
to eliminate the apparent double mounting of /dev/sda3 then into the chroot
_________________
Defund the FCC.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 6648
Location: Goose Creek SC

PostPosted: Mon Sep 10, 2012 8:03 pm    Post subject: Reply with quote

cp /etc/resolv .... failed so we bypassed by adopting the google public nameserver
Code:
nano /mnt/gentoo/etc/resolv.conf
should show
Quote:
nameserver 8.8.8.8
if not make it read so and ctrl-x to exit saving
then into chroot
Code:
mount -t proc none /mnt/gentoo/proc
mount --rbind /sys /mnt/gentoo/sys
mount --rbind /dev /mnt/gentoo/dev
chroot /mnt/gentoo /bin/bash
env-update
source /etc/profile
export PS1="(chroot) $PS1"
emerge pciutils wgetpaste
wgetpaste /lspcik
wgetpaste /proc/cpuinfo
and post url's returned
_________________
Defund the FCC.
Back to top
View user's profile Send private message
corellon
n00b
n00b


Joined: 09 Aug 2012
Posts: 66

PostPosted: Mon Sep 10, 2012 8:09 pm    Post subject: Reply with quote

I was not able to check if nameserver 8.8.8.8 was inside of the resov.conf, but I was able to update portage, so I am guessing it is.

Also, wgetpaste command was not found...

Is that something I should apt-get install?
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 6648
Location: Goose Creek SC

PostPosted: Mon Sep 10, 2012 8:18 pm    Post subject: Reply with quote

are you now in the chroot? being in the chroot will have you running gentoo inside mint, if you performed all steps your prompt will have changed and ls -l will show the portage snapshot and tarball plus the gentoo directories with yesterday and today dates, if emerge --sync ran you are in the chroot
if so
Code:
emerge wgetpaste pciutils
should install those two programs for use in the gentoo system

apt-get is mint/ubuntu/ ; emerge is gentoo
_________________
Defund the FCC.
Back to top
View user's profile Send private message
corellon
n00b
n00b


Joined: 09 Aug 2012
Posts: 66

PostPosted: Mon Sep 10, 2012 8:27 pm    Post subject: Reply with quote

http://bpaste.net/show/44831/
http://bpaste.net/show/44832/
Heres my / contents:
Code:
(chroot) mint / # ls -l
total 187313
drwxr-xr-x   2 root root      4096 Jun 21 12:06 bin
drwxr-xr-x   3 root root      1024 Jun 21 02:45 boot
drwxr-xr-x  15 root root      4360 Sep 10 00:03 dev
drwxr-xr-x  29 root root      4096 Sep 10 20:21 etc
drwxr-xr-x   2 root root      4096 Jun 21 02:45 home
lrwxrwxrwx   1 root root         5 Jun 21 08:26 lib -> lib64
drwxr-xr-x   2 root root      4096 Jun 21 08:26 lib32
drwxr-xr-x   5 root root      4096 Jun 21 12:01 lib64
drwx------   2 root root     16384 Sep  9 22:47 lost+found
-rw-r--r--   1 root root      3288 Sep  9 22:40 lspcik
drwxr-xr-x   2 root root      4096 Jun 21 02:45 media
drwxr-xr-x   2 root root      4096 Jun 21 02:45 mnt
drwxr-xr-x   2 root root      4096 Jun 21 02:45 opt
-rw-r--r--   1 root root  54048393 Sep  9 21:09 portage-latest.tar.bz2
dr-xr-xr-x 172 root root         0 Sep  9 14:47 proc
drwx------   2 root root      4096 Jun 21 12:09 root
drwxr-xr-x   3 root root      4096 Jun 21 12:00 run
drwxr-xr-x   2 root root      4096 Jun 21 12:09 sbin
-rw-r--r--   1 root root 137676875 Sep  9 20:41 stage3-amd64-20120621.tar.bz2
drwxr-xr-x  13 root root         0 Sep  9 14:47 sys
drwxrwxrwt   2 root root      4096 Sep 10 20:24 tmp
drwxr-xr-x  13 root root      4096 Sep  9 21:14 usr
drwxr-xr-x   9 root root      4096 Jun 21 02:45 var

Look good?
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
Goto page Previous  1, 2, 3, 4, 5  Next
Page 3 of 5

 
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