Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Install help
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3  
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
1clue
Advocate
Advocate


Joined: 05 Feb 2006
Posts: 2549

PostPosted: Fri Jun 17, 2016 7:45 pm    Post subject: Reply with quote

Megadaft,

IMO the basic steps of installing Gentoo are:

  1. Boot an 'installer' disk like system rescue cd.
  2. Prepare (format) the disks, and mount them.
  3. Unzip base system onto desired location.
  4. chroot
  5. Configure portage preferences
  6. configure/install kernel and packages to get a runnable system.
  7. Reboot


A lot of times, especially with new Linux users, people get stuck too close to the current task and lose sight of the overall process.

It's really not that complicated. For any install, you need:

  1. Something (cd, usb stick) to boot the computer from, that will not name the boot media in a way that the devices conflict with what you will use normally. It needs to be Linux or some UN*X which can read the filesystem type you intend to use. This could be something Gentoo-based, or Ubuntu, or any other distro that works on your hardware, or possibly even FreeBSD for all I know.
  2. Tools on the 'something' in item 1 with which you can format your disk, connect to the Internet and download the initial install and possibly some drivers.
  3. A 'normal' disk you wish to install on.
  4. Some way to browse the web and read documentation, get drivers you might need and get on this forum. This need not be on the computer you intend to install on.


IMO the system rescue cd is best. It allows you to boot in EFI mode if you have newer hardware, and it is extremely useful in rescuing almost any intel-based computer, with lots of operating systems.

You boot into that, and get networking to work somehow. Again system rescue cd is awesome because it's designed around rescuing a broken system.

Once I get here, I always set root password and start sshd, so I can use my normal workstation to install from. This lets me copy/paste URLs from a gui browser without needing this stuff on my new system.

If you get this far, then you start with the Handbook section "preparing the disks"

GUI: This is entirely optional. IMO a gui while installing is interference. The text-based tools for this part are extremely good. I use:

  1. gdisk (I use GPT partition tables unless I simply can't get the hardware to use them)
  2. firefox (not on the install computer) to browse to the files I need to download. You can use links or lynx, but they're a bit obscure for a non-text guy.
  3. wget to download images.


My most recent physical hardware supports IPMI, so this system has literally never had a keyboard or mouse or monitor attached to it. Even so I don't use the IPMI console except for configuring bios and watching the boot process, either during installation or for normal use.

A thought: If you simply need to test drivers for your keyboard you might do OK just installing Ubuntu or some other binary distro. Do you know if the customer uses systemd or openrc? That might make a difference with respect to support.
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6228
Location: Room 101

PostPosted: Fri Jun 17, 2016 7:55 pm    Post subject: Reply with quote

Megadaft wrote:
Any recommendations for profile type? The info in the handbook is pretty light on this topic.

Megadaft ... default/linux/<arch>/13.0 will be the more minimal, otherwise it's the choice of DE (plasma or what-have-you). Do not select selinux, hardened, musl, uclibc, developer. The profile is just a template (with a set of useflags, etc, defined suitable for the target), you can adjust useflags (in make.conf, or package.use) and achieve the same result. So, default/linux/<arch>/13.0 just has fewer definitions ... but its a safe starting point, you can switch to another later on if you so wish.

best ... khay
Back to top
View user's profile Send private message
Megadaft
n00b
n00b


Joined: 15 Jun 2016
Posts: 31

PostPosted: Fri Jun 17, 2016 8:05 pm    Post subject: Reply with quote

Hi, 1clue...

Thank you for the reply, lots of good info there.

You're part right in your 'lose the forest for the trees', it's easy to get stuck on that current task, especially when it's a show stopper. The bulk of my current problems are comprehending the advice from you guys and the handbook...technical jargon is tough to fight through, and I don't speak your language yet, if ever.

I'm currently stuck on the selection of profile...I have lots of options to choose from without so much as a clue as to which to select.

EDIT: Thank you, khay!
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 7093
Location: Saint Amant, Acadiana

PostPosted: Fri Jun 17, 2016 8:20 pm    Post subject: Reply with quote

Megadaft,

anything you do in Gentoo can be undone. You can change profiles, USE flags, whatnot, as many times you like and when you like. This is a DIY Linux system completely under your control.

:P This may be your last chance to stop. Once you get to know Gentoo you could get addicted.
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
Megadaft
n00b
n00b


Joined: 15 Jun 2016
Posts: 31

PostPosted: Fri Jun 17, 2016 8:23 pm    Post subject: Reply with quote

Jaglover wrote:
:P This may be your last chance to stop. Once you get to know Gentoo you could get addicted.


Your warning is duly noted...as much as I despise M$, I'm light years away from being able to leave it. :)
Back to top
View user's profile Send private message
Tony0945
Advocate
Advocate


Joined: 25 Jul 2006
Posts: 3086
Location: Illinois, USA

PostPosted: Fri Jun 17, 2016 8:31 pm    Post subject: Reply with quote

I think default/linux/x86/13.0/desktop or default/linux/amd64/13.0/desktop depending on 32 bit or 64 bit installation, would be best for you.
Back to top
View user's profile Send private message
Megadaft
n00b
n00b


Joined: 15 Jun 2016
Posts: 31

PostPosted: Fri Jun 17, 2016 8:36 pm    Post subject: Reply with quote

Thanks, Tony! I went with that option!
Back to top
View user's profile Send private message
1clue
Advocate
Advocate


Joined: 05 Feb 2006
Posts: 2549

PostPosted: Sat Jun 18, 2016 4:38 pm    Post subject: Reply with quote

Another thing, although I think you're past that now.

When using some other media like system rescue cd, use THEIR documentation/website to try to get it to work. Up until you have the installer disk booted and networking functional, you're not even touching the handbook yet.

Even though the system rescue CD is Gentoo, their cd is somewhat different from a normal Gentoo operation. Their documentation (I admit to having never used it) will pertain to their specific iso image. The Gentoo Handbook is more general.

Another thing: If you have a 64-bit system I strongly recommend using a 64-bit iso, and if you intend to do anything at all with UEFI then you MUST boot the installer cd in UEFI mode.
Back to top
View user's profile Send private message
Megadaft
n00b
n00b


Joined: 15 Jun 2016
Posts: 31

PostPosted: Mon Jun 20, 2016 2:23 pm    Post subject: Reply with quote

Making some progress...

This weekend I attempted to install the kernel, going the genkernel route.

I made it to the "genkernel all" command before the trouble started.

Going back to the partition section, followed all of the handbooks recommendations for partition sizing, but now the error after "genkernel all" says I'm out of space.

I'm running the command again so that I can provide more details on the errors...so these questions might be a bit premature, more info coming soon.

Do I need to start over and resize the partitions? Which partition needs to be resized?

Thank you for your continued patience and help.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43207
Location: 56N 3W

PostPosted: Mon Jun 20, 2016 2:33 pm    Post subject: Reply with quote

Megadaft,

You may be out of i-nodes.

Code:
df -h
will tell you about space.
Code:
df -hi
tells about i-nodes.
Every file needs one or more i-nodes. When you run out, you cannot create any more fifes.

If you have free space, you can move the portage tree off of the root partition.
That frees about 2G space and 250k i-nodes.

Its root that will have problems.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Megadaft
n00b
n00b


Joined: 15 Jun 2016
Posts: 31

PostPosted: Mon Jun 20, 2016 4:16 pm    Post subject: Reply with quote

Crazy...this time it 'worked', no errors on 'genkernel all'.

The only difference is that this time around I didn't have net access as I forgot to wire it prior to booting, and once booted to the LiveDVD, I cannot get net access for some reason. No idea, but outside of moving from home to the office, net access was the only variable at play, and it failed multiple attempts this weekend.

Not sure what to do now, proceed, or resize/move and start anew...

Results of df -h and df -hi (this was after the kernel install)


Code:
gentoo@livecd ~ $ sudo su
livecd gentoo # df -h
Filesystem      Size  Used Avail Use% Mounted on
udev             10M  4.0K   10M   1% /dev
/dev/sr0        2.9G  2.9G     0 100% /mnt/cdrom
tmpfs           1.5G   49M  1.5G   4% /.unions/memory
aufs            1.5G   49M  1.5G   4% /
/dev/loop0      2.7G  2.7G     0 100% /mnt/livecd
none            1.5G   20K  1.5G   1% /mnt/aufs-rw-branch
tmpfs           303M  1.1M  302M   1% /run
shm             1.5G     0  1.5G   0% /dev/shm
cgroup_root      10M     0   10M   0% /sys/fs/cgroup
vartmp          1.5G     0  1.5G   0% /var/tmp
tmp             1.5G  8.0K  1.5G   1% /tmp
none            1.5G  4.0K  1.5G   1% /run/user/1000
livecd gentoo # df -hi
Filesystem     Inodes IUsed IFree IUse% Mounted on
udev             211K   514  210K    1% /dev
/dev/sr0            0     0     0     - /mnt/cdrom
tmpfs            212K   148  212K    1% /.unions/memory
aufs             212K   148  212K    1% /
/dev/loop0       607K  607K     0  100% /mnt/livecd
none             212K     7  212K    1% /mnt/aufs-rw-branch
tmpfs            212K   530  212K    1% /run
shm              212K     1  212K    1% /dev/shm
cgroup_root      212K     6  212K    1% /sys/fs/cgroup
vartmp           212K     1  212K    1% /var/tmp
tmp              212K    12  212K    1% /tmp
none             212K     6  212K    1% /run/user/1000
Back to top
View user's profile Send private message
Buffoon
Veteran
Veteran


Joined: 17 Jun 2015
Posts: 1074
Location: EU or US

PostPosted: Mon Jun 20, 2016 4:35 pm    Post subject: Reply with quote

Megadaft,

it seems your Gentoo partition(s) was not mounted when you ran df.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43207
Location: 56N 3W

PostPosted: Mon Jun 20, 2016 4:35 pm    Post subject: Reply with quote

Megadaft,

You are not inside your chroot and nothing is mounted at /mnt/gentoo.
Outside the chroot is OK for the df commands, as long as your filesystems are mounted at /mnt/gentoo.
We want to see the data about your filesystems.

I'm not sure what genkernel will have done - probably command not found outside the chroot.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Megadaft
n00b
n00b


Joined: 15 Jun 2016
Posts: 31

PostPosted: Mon Jun 20, 2016 4:40 pm    Post subject: Reply with quote

Ok, I think I'll start from scratch, I'm not sure where I went off the rails, and I'm not really that far along.

I'll be back when I'm this far again. Thanks!
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43207
Location: 56N 3W

PostPosted: Mon Jun 20, 2016 5:29 pm    Post subject: Reply with quote

Megadaft,

You won't learn by starting over. At best, it will give you the opportunity to make a different mistake,
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Megadaft
n00b
n00b


Joined: 15 Jun 2016
Posts: 31

PostPosted: Mon Jun 20, 2016 6:26 pm    Post subject: Reply with quote

True, but I've now interrupted the process twice to go back and forth from home...I wasn't sure of the consequences of interrupting and restarting from the LiveDVD, and obviously some of the sequential steps didn't survive the interruption.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43207
Location: 56N 3W

PostPosted: Mon Jun 20, 2016 6:55 pm    Post subject: Reply with quote

Megadaft,

The first steps in the install are
Partitioning Your Disks
Making Filesystems on your partitions
Mounting your filesystems at /mnt/gentoo
Fetching and untaring the stage3
Mounting /dev, /proc and so on in /mnt/gentoo
Chrooting into /mnt/gentoo, so it all happens inside your install.

Some of those steps are destructive, so you don't want to repeat them,
Everything you do after the chroot steps sticks, as it affects your install on your HDD.
Most inslalls are not done in one sitting. Provided you skip the destructive steps, you can carry on where you left off.
Resume steps are.
Mounting your filesystems at /mnt/gentoo
Mounting /dev, /proc and so on in /mnt/gentoo
Chrooting into /mnt/gentoo, so it all happens inside your install.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Megadaft
n00b
n00b


Joined: 15 Jun 2016
Posts: 31

PostPosted: Mon Jun 20, 2016 7:01 pm    Post subject: Reply with quote

Alright...well, what's done is done, I've already reformatted the drive, but this time GPT instead.

I am having a new issue though...I keep losing my wired connection. Once lost, the only way to re-establish is a reboot. This may have led to some of my issues during the previous attempt. I still am unable to get wifi working, and now with an intermittent wired connection, I'm stuck.

Edit: I should say the only way I know how to restore the connection is a reboot.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43207
Location: 56N 3W

PostPosted: Mon Jun 20, 2016 7:11 pm    Post subject: Reply with quote

Megadaft,

Don't use GPT on a BIOS system. It mostly works but on at least one Dell, its not possible.
In any case, there are extra steps required on a lot of BIOS systems to make them work with a GPT boot disk.

If you have a UEFI system and are using it in UEFI mode, use GPT.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Megadaft
n00b
n00b


Joined: 15 Jun 2016
Posts: 31

PostPosted: Mon Jun 20, 2016 7:12 pm    Post subject: Reply with quote

Ok, thanks, glad you stopped me!
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43207
Location: 56N 3W

PostPosted: Mon Jun 20, 2016 7:17 pm    Post subject: Reply with quote

Megadaft,

Get yourself onto irc.freenode.net and /join ##Neddyseagoon.
I'll be around for a couple of hours.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
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
Page 3 of 3

 
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