Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gentoo install newbie troubles.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
LaForce
n00b
n00b


Joined: 13 Nov 2015
Posts: 5

PostPosted: Fri Nov 13, 2015 12:53 pm    Post subject: Gentoo install newbie troubles. Reply with quote

Greetings to the Gentoo community!
On the point:
For a good 5-th day (and night) in a row I was trying to install Gentoo, but to no avail. This is also not my first attempt (I had attempted couple of times months ago). In the end, I gave up and installed Korora in Gentoo’s reserved place but it did not feels right enough so I decided to write here explaining what I have done hoping to receive enlightenment.

I am using a Lenovo x201t (i7 L620, no-cd, 4GBram, 120GB hdd) calculator(:.
I have a win10 and a Debian-based distro on the single hdd, grub installed and working.

I followed the handbook as close as I could and this is what my final attempt looked like:
I used dev/sda6 ext4 ~11GB partition for Gentoo, no boot partition, no swap (it was a real pain to figure out that I didn’t need those at all in the first place). So first deviation from the handbook was that I didn’t mkdir /boot nor mount /boot. Mounted /dev/sda6 to /mnt/gentoo.
Next I set date, unpacked the stage3 tar onto newly mounted filesystem. Set CFLAGS to “–march=native -o2 –pipe”. Mounted as the book explains and chrooted onto the new system. Emerged webrsync, left the default profile untouched. Did not touch the USE variable. Set the timezone, locale-gen, eselect locale.

Edited fstab like that:
/dev/sda6 /boot ext4 defaults 0 2
/dev/sda6 / ext4 noauto 0 1

Then emerged gentoo-sources and used “genkernel all” as I felt too clueless for manually selecting the kernel options. It did not installed initramfs – I figured that I do not need it anyway. Did not conf any modules but emerged firmware.
Did the automatic start net thing. Made root password. Emerged dhcpcd.
Emerged sys-boot/grub, but did not installed it as I already had grub installed by the other distro.
Than did grub-mkconfig. Unmounted and rebooted.

Logged in the other distro and updated grub, rebooted.

In the grub menu selected Gentoo(base system) it loaded some text login, took root password and … that is it.

Nothing more happened, it did not loaded anything more and I was totally fed-up and mentally worn up by the 5 or so days I spend to reach that point that I quitted.

If anyone can point out some of my noob mistakes, or reading resources that I may find beneficial in order to understand why I reached this failure, it will be greatly appreciated.

Everything the best to all who took the time to read through this 
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


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

PostPosted: Fri Nov 13, 2015 1:12 pm    Post subject: Re: Gentoo install newbie troubles. Reply with quote

LaForce wrote:
In the grub menu selected Gentoo(base system) it loaded some text login, took root password and … that is it.

LaForce ... that sounds like a successful (base) install to me, were you expecting a GDM greeter, or what-have-you? Basically, you build this system yourself, and to your specification ... x11, DE, etc, don't come as part of the stage3.

LaForce wrote:
Nothing more happened, it did not loaded anything more and I was totally fed-up and mentally worn up by the 5 or so days I spend to reach that point that I quitted.

If you're booting, and have a shell, you can then go about the process of building whatever it is you want, gentoo isn't a one-size-fits-all solution.

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


Joined: 13 Nov 2015
Posts: 5

PostPosted: Fri Nov 13, 2015 1:24 pm    Post subject: Reply with quote

So I did installed it after all... it just lacks the graphic interface and all the apps, for example included in the live cd?
So where do I find info on those, I am interested in the "standard" apps and how to install em. (I know its all about choices and stuff but I guess nearly everyone uses some set of basics that are common)


Last edited by LaForce on Fri Nov 13, 2015 1:30 pm; edited 1 time in total
Back to top
View user's profile Send private message
Syl20
Guru
Guru


Joined: 04 Aug 2005
Posts: 564
Location: France

PostPosted: Fri Nov 13, 2015 1:25 pm    Post subject: Re: Gentoo install newbie troubles. Reply with quote

LaForce wrote:
Edited fstab like that:
/dev/sda6 /boot ext4 defaults 0 2
/dev/sda6 / ext4 noauto 0 1

Is there a typo error ? That says you want to mount the same partition on two different places.
Back to top
View user's profile Send private message
LaForce
n00b
n00b


Joined: 13 Nov 2015
Posts: 5

PostPosted: Fri Nov 13, 2015 1:32 pm    Post subject: Reply with quote

@CneGroumF, no that was what i did. I guessed that the kernel wants to know where the boot folder is and also where the root directory is...
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


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

PostPosted: Fri Nov 13, 2015 1:42 pm    Post subject: Reply with quote

LaForce wrote:
So I did installed it after all... it just lacks the graphic interface and all the apps, for example included in the live cd? So where do I find info on those, I am interested in the "standard" apps and how to install em. (I know its all about choices and stuff but I guess nearly everyone uses some set of basics that are common)

LaForce ... you mean the liveDVD? The 'minimal' install disk doesn't have a "graphic[al] interface". I'm not sure what the LiveDVD contains, that aside it sounds like you need to familiarise yourself with the basics of gentoo, specifically portage.

HTH & best ... khay
Back to top
View user's profile Send private message
LaForce
n00b
n00b


Joined: 13 Nov 2015
Posts: 5

PostPosted: Fri Nov 13, 2015 2:40 pm    Post subject: Reply with quote

ok 10x!
Back to top
View user's profile Send private message
davidbrooke
Guru
Guru


Joined: 03 Jan 2015
Posts: 341

PostPosted: Fri Nov 13, 2015 4:41 pm    Post subject: Reply with quote

@LaForce
Gentoo is not Fedora, Ubuntu, etc.... where as they try to make all the decisions for you. In order to have an easy install and be ready to use in 30 minutes method....the other distro's have made alot of choices for you. Gentoo on the other hand doesn't make those choices...you do. Since you are the one making choices....the options are vast and sometimes, time consuming. With that said...here is a basic layout of how I install Gentoo KDE:
1. Basic install - includes basic packages to run Gentoo, kernel, language, time, etc...
2. Update - update the system using emerge -auvDN @world
3. Install Xorg - Setup for free or non-free drivers, install X, etc... https://wiki.gentoo.org/wiki/Xorg/Guide
4. Install KDE - Setup DE.... https://wiki.gentoo.org/wiki/KDE

The above are very basic steps. You will be very involved in the process but will be more knowledgeable of what happens.
It took me a couple of months to get Gentoo installed and working just the way I wanted. It was worth the journey.

Just for reference....it takes me about 8 hours to get steps 1 - 4 and other software installed.
Back to top
View user's profile Send private message
Syl20
Guru
Guru


Joined: 04 Aug 2005
Posts: 564
Location: France

PostPosted: Fri Nov 13, 2015 5:33 pm    Post subject: Reply with quote

LaForce wrote:
I guessed that the kernel wants to know where the boot folder is and also where the root directory is...

Fstab is just... a file systems table.

Even if you have to (to put your freshly compiled new kernel in, for example :D ), the kernel itself does not care where /boot is. When booting, all it needs to know is where the root (ie. "/" ) filesystem is, and how to mount it. And it can't mount "/" (where /etc resides) to find how to mount "/"... That's why you have to say it via your bootloader (grub, in your case, via the "root", and eventually the "initrd" directives).
Then, when finally the kernel knows what "/" means and how to use it, it doesn't need anything in /boot to finish its booting process.
Back to top
View user's profile Send private message
LaForce
n00b
n00b


Joined: 13 Nov 2015
Posts: 5

PostPosted: Fri Nov 13, 2015 5:59 pm    Post subject: Reply with quote

@davidbrooke
10x good man!
Those are important details.
I knew that installing and running Gentoo is hard but info on exactly how hard it is is scarce.

@CneGroumF
10x man. that is actually not specified in the handbook so I tried to replicate the examples as close as possible!
Back to top
View user's profile Send private message
Syl20
Guru
Guru


Joined: 04 Aug 2005
Posts: 564
Location: France

PostPosted: Fri Nov 13, 2015 6:21 pm    Post subject: Reply with quote

It's better to understand a bit what you are doing. Try to read some fundamentals about linux, that will help you. :wink:
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
Page 1 of 1

 
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