Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Reconsiderations before new Gentoo's installation
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
pmam
Veteran
Veteran


Joined: 30 Dec 2013
Posts: 1145

PostPosted: Mon Dec 08, 2014 7:43 am    Post subject: Reconsiderations before new Gentoo's installation Reply with quote

I had done few Gentoo's installations, and now am going to do new Gentoo's installation,
I intent do it by SystemRescueCd according this guide: http://blog.kasunbg.org/2012/02/installing-gentoo-from-livecd.html -
so would like to reconsider some issues before:

1. Stage 3 vs Stage 4: Can you please advise advantages/disatvantages of these two options in terms of:
Hard disk size, Ram size, CPU type, installation time, efficiency etc. Stage 4 has Studio for audio features, so it is an additional consideration, but not main one.
2. In case of System's recovery and Backup: What is the right way to partition the disk? Is it better to separate root and home partitions?

In general: Can you please recommend on some aspects, according your experiment?
_________________
“You can take our property, our sweet homes, even our cloths...
But don't touch the streets, Ah, That's NO, NO, NO!
The streets are our @world's compilable kernel ...”
Back to top
View user's profile Send private message
yngwin
Retired Dev
Retired Dev


Joined: 19 Dec 2002
Posts: 4572
Location: Suzhou, China

PostPosted: Mon Dec 08, 2014 1:54 pm    Post subject: Reply with quote

I recommend using the System Rescue CD and then do the regular stage3 install as explained in the Gentoo Handbook. Then customize your install to your own needs and wants.

As for partitioning, I have always used separate partitions for boot, root, and home. And this has worked well for me over the years.
_________________
"Those who deny freedom to others deserve it not for themselves." - Abraham Lincoln
Free Culture | Defective by Design | EFF
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7071

PostPosted: Mon Dec 08, 2014 2:17 pm    Post subject: Reply with quote

there's simply no stage4 installation for gentoo, stage4 is a gentoo store by someone in order to restore it or deploy it on another computer as a clone.
stage4 depend on what the user choose while installing, just the pickup cflags could be a stopper to use a stage4 (just think about the result of using a stage4 made with amd and march=native on an intel cpu).

and you should just stop installing gentoo over and over and learn howto fix the one you have. It's not ubuntu, reinstalling gentoo won't gave you back to a default gentoo, you will redo the same (or worst, new ones) mistakes and will endup with the same problems. Better learn howto fix them.
I install two times gentoo on this computer (the 2nd was because harddisk failure, and of course, no backup), i kept migrate it to other boards/disks i use.
I also always use root, boot and home partition, currently my boot and home are on the same array and root on another one.
Back to top
View user's profile Send private message
ulenrich
Veteran
Veteran


Joined: 10 Oct 2010
Posts: 1374

PostPosted: Mon Dec 08, 2014 2:39 pm    Post subject: Reply with quote

yngwin wrote:
I recommend using the System Rescue CD and then do the regular stage3 install as explained in the Gentoo Handbook. Then customize your install to your own needs and wants..
You can customize anything out of a stage4 also. What you are not supposed to do: 1.downgrade libc 2.change arch
@pmam, anything else go for it!
Look at my signiture, where I come from: Funtoo is a derivate of Gentoo, that might be easier to begin with: A stable toolchain with a current ~testing mix of applications using just openrc as init.
Quote:
As for partitioning, I have always used separate partitions for boot, root, and home. And this has worked well for me over the years.
Modern EFI systems need a 200MByte vfat efi partion on a gpt disk (use gdisk instead of fdisk!), where I do copy my kernels. Thus no need to have boot on a seperate partition for me.

And yes, errors and failures of your installation are a great opportunity to learn about your system if you don't just reinstall.
_________________
fun2gen2
Back to top
View user's profile Send private message
pmam
Veteran
Veteran


Joined: 30 Dec 2013
Posts: 1145

PostPosted: Mon Dec 08, 2014 8:56 pm    Post subject: Reply with quote

krinn & ulenrich,

Quote:
and you should just stop installing gentoo over and over and learn howto fix the one you have.

Quote:
And yes, errors and failures of your installation are a great opportunity to learn about your system if you don't just reinstall.

Sorry I did not mention - I am talking about a new machine and a brand new installation -
I do not remember if I ever reinstalled Gentoo on the same machine - may be soon after the very first time.
I am not giving up easily... my many posts of trying to fix 'errors and failure' here in this forum are my witnesses :wink:

OK - I probably give up of Stage4 and continue with Stage3 -
BTW: There is more updated SystemRescueCd's guide than the one I noted or it is ok?

ulenrich,

Quote:
(use gdisk instead of fdisk!

I assume you mean to use: parted or GPT - Till now I have used fdisk, but in this new installation I will try GPT -
BTW: Why do you strongly recommend on GPT?

yngwin,

Quote:
As for partitioning, I have always used separate partitions for boot, root, and home.

What is the minimum recommended size of root partition?

Thanks
_________________
“You can take our property, our sweet homes, even our cloths...
But don't touch the streets, Ah, That's NO, NO, NO!
The streets are our @world's compilable kernel ...”


Last edited by pmam on Wed Feb 04, 2015 10:56 am; edited 2 times in total
Back to top
View user's profile Send private message
ulenrich
Veteran
Veteran


Joined: 10 Oct 2010
Posts: 1374

PostPosted: Mon Dec 08, 2014 9:11 pm    Post subject: Reply with quote

pmam wrote:

Quote:
use gdisk instead of fdisk!

I assume you mean to use: parted or GPT - Till now I have used fdisk, but in this new installation I will try GPT

Uuups, excuse me - gdisk is called gptfdisk in Gentoo portage:
Code:
# equery m gptfdisk ; which gdisk
 * sys-apps/gptfdisk [gentoo]
Maintainer:  alexxy@gentoo.org (Alexey Shvetsov)
Maintainer:  polynomial-c@gentoo.org (Lars Wendler)
Upstream:    None specified
Homepage:    http://www.rodsbooks.com/gdisk/
Location:    /common/portage/sys-apps/gptfdisk
Keywords:    0.8.8:0:
Keywords:    0.8.10:0: alpha amd64 arm ia64 ppc ppc64 sparc x86 ~amd64-linux ~arm-linux ~mips ~x86-linux
License:     GPL-2
/usr/sbin/gdisk
but the binary is gdisk, easy to learn if you know about fdisk. For more, look at
http://www.rodsbooks.com/gdisk/
In our forums Rod Smith sometimes answeres questions about his fancy
http://www.rodsbooks.com/refind/
_________________
fun2gen2
Back to top
View user's profile Send private message
yngwin
Retired Dev
Retired Dev


Joined: 19 Dec 2002
Posts: 4572
Location: Suzhou, China

PostPosted: Thu Dec 18, 2014 7:22 am    Post subject: Reply with quote

pmam wrote:
BTW: There is more updated SystemRescueCd's guide than the one I noted or it is ok?


What guide are you talking about? Just download the System Rescue CD image, put it on a USB stick or burn it on a CD and boot it. Then follow the Gentoo Handbook.

Quote:
yngwin wrote:
As for partitioning, I have always used separate partitions for boot, root, and home.

What is the minimum recommended size of root partition?


I use legacy mode (no UEFI) and grub:0 (aka Grub Legacy). I have no need for these newer, more complicated technologies. I like to keep things simple. In that case 50 MB for /boot is enough. I give 20 to 40 GB to the root partition. My system doesn't normally exceed 10 GB, but we also need space for big packages like libre-office to compile.
_________________
"Those who deny freedom to others deserve it not for themselves." - Abraham Lincoln
Free Culture | Defective by Design | EFF
Back to top
View user's profile Send private message
pmam
Veteran
Veteran


Joined: 30 Dec 2013
Posts: 1145

PostPosted: Wed Dec 31, 2014 8:43 am    Post subject: Reply with quote

yngwin Hi,

Quote:
What guide are you talking about? Just download the System Rescue CD image, put it on a USB stick or burn it on a CD and boot it. Then follow the Gentoo Handbook.

You do not think that some adjustments should be done due to using System Rescue? Please see following quote from the guide I noted here earlier:

Quote:
When you're ready to unpack the stage tarball in part 5, you will need to use a different tar command to ensure that proper group IDs are enforced on the unpacked stage:


# tar --numeric-owner -xvjpf stage3-*.tar.bz2

Now, when you are asked to mount /proc system in part 6, issue the following command instead:

# mount -o bind /proc /mnt/gentoo/proc

Once you're ready to chroot into your unpacked stage in part 6, you will need to use a different chroot command sequence. This ensures that your environment variables are properly setup.

# chroot /mnt/gentoo /bin/env -i TERM=$TERM /bin/bash
# env-update
# source /etc/profile
# export PS1="(chroot) $PS1"


I do not figure out thoroughly all the above commands (mount proc, chroot, source...) -
I would appreciate If you please can give short explanation!

Thanks
_________________
“You can take our property, our sweet homes, even our cloths...
But don't touch the streets, Ah, That's NO, NO, NO!
The streets are our @world's compilable kernel ...”


Last edited by pmam on Thu Jan 01, 2015 4:18 pm; edited 1 time in total
Back to top
View user's profile Send private message
cwr
Veteran
Veteran


Joined: 17 Dec 2005
Posts: 1969

PostPosted: Wed Dec 31, 2014 3:01 pm    Post subject: Reply with quote

Fire up a linux live DVD and run "man chroot", or whatever. That's the best explanation you can get, and the Linux man pages are also online at various places.

Will
Back to top
View user's profile Send private message
yngwin
Retired Dev
Retired Dev


Joined: 19 Dec 2002
Posts: 4572
Location: Suzhou, China

PostPosted: Sat Jan 03, 2015 3:13 am    Post subject: Reply with quote

pmam wrote:
yngwin wrote:
What guide are you talking about? Just download the System Rescue CD image, put it on a USB stick or burn it on a CD and boot it. Then follow the Gentoo Handbook.

You do not think that some adjustments should be done due to using System Rescue?

No. You can simply follow the Gentoo Handbook (now in the wiki). System Rescue CD is built from Gentoo, so it works exactly the same. I've done it myself several times, and never had any problem due to this.
_________________
"Those who deny freedom to others deserve it not for themselves." - Abraham Lincoln
Free Culture | Defective by Design | EFF
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