Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Easy Gentoo - Gentoo Installation Script
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3  
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
yagami
Apprentice
Apprentice


Joined: 12 May 2002
Posts: 269
Location: Leiria, Portugal

PostPosted: Mon Jun 02, 2014 1:39 pm    Post subject: Reply with quote

shdcn:

Congrats on these developments.

Currently i have no need to install gentoo, had a month ago or so. But i think this is great value for Gentoo.

What can i do to help ?
Back to top
View user's profile Send private message
yagami
Apprentice
Apprentice


Joined: 12 May 2002
Posts: 269
Location: Leiria, Portugal

PostPosted: Mon Jun 02, 2014 1:42 pm    Post subject: Reply with quote

PS:

The way you are developing the "gentoo easy install" is pretty much what i want.

From a quick look, the profile configuration is very nice.

Maybe a global profile that has a set of profiles, more like "normal gentoo profile" ( like packages and user and normal stuff ) and a "hardware gentoo profile" where one would configure the machine hardware

Also support maybe for a world package, so one would only specify a world package and it would install.

It would be nice if later on, we would have "Gentoo community editions", where we could exchange profiles and it would "recreate the edition".

Will take a look more closelly when I get out from work!
Back to top
View user's profile Send private message
shdcn
n00b
n00b


Joined: 11 Feb 2013
Posts: 27
Location: Istanbul/Turkey

PostPosted: Fri Jun 06, 2014 10:07 pm    Post subject: Reply with quote

Thank you yagami, for your support :)
I'd like to hear pros/cons and any ideas like the ones you named. Cause I'm not really sure about what to do next on my script. It has too much code and functions need some organizing. Maybe a rewrite from scratch is what I should do.
I'll think of something when I have enough time. Anyways, happy to see positive feedback, thank you again for that.
Back to top
View user's profile Send private message
elmie
Tux's lil' helper
Tux's lil' helper


Joined: 12 Sep 2002
Posts: 124
Location: Brisbane - Australia

PostPosted: Mon Jul 07, 2014 3:35 am    Post subject: Reply with quote

this is awesome script. thanks for coming up with one.

I must admit after installing/reinstall Gentoo a few hundred times the process does get tiring. and this script will speed things up.
Although as others has suggested that installing it is the whole point of the exercise, which is true, but when you're the admin and you already know your stuff or at least know how to install Gentoo. you sometimes just don't have time nor care to go through the processes again.
Back to top
View user's profile Send private message
elmie
Tux's lil' helper
Tux's lil' helper


Joined: 12 Sep 2002
Posts: 124
Location: Brisbane - Australia

PostPosted: Mon Jul 07, 2014 3:37 am    Post subject: Reply with quote

this is awesome script. thanks for coming up with one.

I must admit after installing/reinstall Gentoo a few hundred times the process does get tiring. and this script will speed things up.
Although as others has suggested that installing it is the whole point of the exercise, which is true, but when you're the admin and you already know your stuff or at least know how to install Gentoo. you sometimes just don't have time nor care to go through the processes again.
Back to top
View user's profile Send private message
yagami
Apprentice
Apprentice


Joined: 12 May 2002
Posts: 269
Location: Leiria, Portugal

PostPosted: Sat Jul 19, 2014 8:30 am    Post subject: Reply with quote

Some ideas about the instalation script :

Could some package instalations be automatic by portage ( as there seems to be lots of specified packages toinstall on easygentoo script file ).

The profile file is nice, very good. Could there be a way of specifying the USE flags manually ? ( thinking an config file for use flags, like mylaptop, myworkcomputer, mydesktop) and then just referencing them on the profile ?.

add an option to create binpkg and march=x86, does almost making perfect for reinstalation on alot of computers.

what do you think ?
Back to top
View user's profile Send private message
shdcn
n00b
n00b


Joined: 11 Feb 2013
Posts: 27
Location: Istanbul/Turkey

PostPosted: Sat Jul 19, 2014 3:04 pm    Post subject: Reply with quote

You're welcome elmie, hope it helps you more than you think ^^

@yagami
* I think you mean "using emerge xfce4-meta is better than using emerge xorg-server; emerge eselect-fontconfig fontconfig mesa-progs setxkbmap; emerge xfce4-meta xfce4-notifyd". You may be right. I will check if it works ok that way.
* Specifying USE flags should not be that hard, we just need duplicate/opposite check to avoid conflicts. I'll be working on that.
* I have never used binary packages and have zero knowledge about them. I will try to learn and test your suggestion too.

Thank you both for your feedback.
Back to top
View user's profile Send private message
yagami
Apprentice
Apprentice


Joined: 12 May 2002
Posts: 269
Location: Leiria, Portugal

PostPosted: Sat Jul 19, 2014 4:20 pm    Post subject: Reply with quote

shdcn wrote:


I have never used binary packages and have zero knowledge about them. I will try to learn and test your suggestion too.

Thank you both for your feedback.


Actually works very well ... putting the param in emerge to build binpkg , portage afterwards is smart enought to know if emerging the same package again with the same use flags, it will use the binpkg. there isnt really much needed ( just a large disk to store the binpkgs ).
Back to top
View user's profile Send private message
Oniryczny
Guru
Guru


Joined: 01 Dec 2011
Posts: 419
Location: Poland

PostPosted: Sun Sep 07, 2014 5:55 pm    Post subject: Reply with quote

Will this script work with my (extremally) old laptop, Toshiba 1800-804 with 512MB SDRAM and serial mouse?
_________________
cogito ergo sum
Back to top
View user's profile Send private message
shdcn
n00b
n00b


Joined: 11 Feb 2013
Posts: 27
Location: Istanbul/Turkey

PostPosted: Sun Sep 14, 2014 4:59 pm    Post subject: Reply with quote

Hi Oniryczny;
I didn't have a chance to test it on old computers but evdev should detect your serial mouse without problems. Low RAM shouldn't be on your way but you will have long compile times. I think (hope) it will work fine with your laptop.

yagami I'm testing binary package creation/usage and user specified USE flags right now, everything looks fine. I'll add these options soon. Should have done that by now but I don't have much free time.
Back to top
View user's profile Send private message
DeckedSpring67
n00b
n00b


Joined: 14 May 2014
Posts: 8

PostPosted: Mon Oct 13, 2014 2:29 pm    Post subject: Reply with quote

Sorry dude, it fails while trying to merge udev coz systemd
_________________
.... Why do signatures exist?
Back to top
View user's profile Send private message
Pednick
n00b
n00b


Joined: 19 Nov 2014
Posts: 21

PostPosted: Fri Nov 28, 2014 9:36 pm    Post subject: Reply with quote

Any chance you going to fix that: "Installation failed due to compile error. Package: sys-fs/udev-216. Easygentoo will exit now." error? Would like to really try your script.
Back to top
View user's profile Send private message
shdcn
n00b
n00b


Joined: 11 Feb 2013
Posts: 27
Location: Istanbul/Turkey

PostPosted: Mon Dec 01, 2014 8:13 pm    Post subject: Reply with quote

I've fixed some issues and made some nice improvements. Still testing it but looks like that udev problem is gone. I just had a basic i686 install, it finished without errors.
I'll make a better list of changes later but for now, some new additions to profile variables:
createbin (yes/no)
if enabled, creates binary packages from compilations
usebinfrom (target directory)
if enabled (non-empty), uses binary packages from target directory for installation (instead of compiling them)
userflags (flags you want to include/exclude)
if enabled (non-empty), merges these flags with default flagset
netadap (network adapter name)
Easy Gentoo uses that network adapter (instead of trying to find one), default is empty (auto)

example:
createbin no
usebinfrom /mybinarypkgs
userflags -X dvdr -crypt
netadap eth2
Back to top
View user's profile Send private message
Pednick
n00b
n00b


Joined: 19 Nov 2014
Posts: 21

PostPosted: Tue Dec 02, 2014 2:40 pm    Post subject: Reply with quote

All went fine, made a stupid mistake at first, excellent script thank you once again. :D

Last edited by Pednick on Wed Dec 03, 2014 3:23 pm; edited 1 time in total
Back to top
View user's profile Send private message
.v0ti
n00b
n00b


Joined: 23 Feb 2015
Posts: 1

PostPosted: Mon Feb 23, 2015 11:38 pm    Post subject: Reply with quote

I do not know English, sorry

where the fault lies in the script? does not charge stage 3 ... with no mirror


* Getting latest tarball name...
Latest tarball:

* Downloading stage3-amd64 tarball...
--2015-02-23 23:14:36-- http://gentoo.mirror.pw.edu.pl/releases/amd64/autobuilds/20140508/
Resolving gentoo.mirror.pw.edu.pl... 194.29.128.2
Connecting to gentoo.mirror.pw.edu.pl|194.29.128.2|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3148 (3.1K) [text/html]
Saving to: ‘20140508’

100%[===============================================================>] 3,148 --.-K/s in 0.002s

2015-02-23 23:14:37 (1.30 MB/s) - ‘20140508’ saved [3148/3148]

Checking tarball integrity...
We are having trouble downloading from current mirror.

Switching to another mirror...


We are having trouble downloading from current mirror.

Switching to another mirror...

Removed excessive ======== for easy reading
-- NeddySeagoon
Back to top
View user's profile Send private message
Nuklear
n00b
n00b


Joined: 03 Nov 2014
Posts: 5

PostPosted: Mon Apr 13, 2015 7:58 am    Post subject: Reply with quote

Hi
I tried your script but i have som troubles that i don't understand and i don't know to fix them.
Two questions:

1. i made my partition with gparted but when the script begin, it display this message or something like this:
Code:
The partition /dev/sda1 isn't a block device
The partition /dev/sda2 isn't a block device

where
/dev/sda1 is my swap partiton
/dev/sda2 is my root partition
How can i fix it so i can go on?

2. In your https://github.com/shdcn/easygentoo/blob/master/README.md file you said
Code:
create a profile in the same directory where script is placed
for more information on profile please read:

https://github.com/shdcn/easygentoo/blob/master/profile

How can i create a profile in the same directory where script is placed by terminal?

Thanks in advance!
Back to top
View user's profile Send private message
Ftroop
n00b
n00b


Joined: 17 Jan 2015
Posts: 4

PostPosted: Tue Mar 01, 2016 10:15 pm    Post subject: Reply with quote

Hi not sure if this is still going but tried it a couple of times and it exits on cant fint mkefs.
Any ideas?
Cheers
Back to top
View user's profile Send private message
timofonic
n00b
n00b


Joined: 13 Sep 2005
Posts: 16

PostPosted: Sun Dec 11, 2016 12:49 pm    Post subject: Reply with quote

Hello.

I found this 20 June 2016 fork, but not sure if it works. I'm under a broken Linux system and made a backup. I want to install Gentoo again, but I fogot lots of stuff so this is too time consuming for my rusty skills...

https://github.com/sleepdragon/easygentoo

Any news?

Kind regards.
Back to top
View user's profile Send private message
devnullius
n00b
n00b


Joined: 19 Apr 2017
Posts: 4

PostPosted: Wed Apr 19, 2017 9:03 pm    Post subject: Reply with quote

Ftroop wrote:
Hi not sure if this is still going but tried it a couple of times and it exits on cant fint mkefs.
Any ideas?
Cheers


Yes! :) A bit late, but for Googlers to come...
export CPPFLAGS="-P"

Source: https://forums.gentoo.org/viewtopic-p-8058400.html#8058400

timofonic wrote:
Hello.

I found this 20 June 2016 fork, but not sure if it works. I'm under a broken Linux system and made a backup. I want to install Gentoo again, but I fogot lots of stuff so this is too time consuming for my rusty skills...

https://github.com/sleepdragon/easygentoo

Any news?

Kind regards.

I guess nobody is that interested, huh? Almost time for that handbook, but... let's see if this gives something https://forums.gentoo.org/viewtopic-p-8058400.html#8058400


Peace!

devnullius
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Wed Apr 19, 2017 9:18 pm    Post subject: Reply with quote

devnullius,

You appear to be learning that there is no Easy Gentoo.

As you say, time for the handbook. Following the handbook for your install will give you some knowledge you can get no other way.
You will learn how to maintain your Gentoo.
That's important because if you trash it while you learn, that's actually quite difficult, you don't lose any valuable user data that you might not have backed up.

Go to the bathroom and look in the mirror. You will see the Gentoo installer there.
_________________
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
devnullius
n00b
n00b


Joined: 19 Apr 2017
Posts: 4

PostPosted: Thu Apr 20, 2017 11:57 am    Post subject: Reply with quote

NeddySeagoon wrote:
devnullius,

You appear to be learning that there is no Easy Gentoo.



Well, installing went ok with new script right up to the last 3 ones... I give this another look this evening, just for fun ;p

Code:
  Command:   emerge -uN system

  Next packages (3 packages total):
    sys-fs/eudev-3.1.5::gentoo
    virtual/libudev-215-r1:0/1::gentoo
    sys-apps/util-linux-2.28.2::gentoo


>>> Verifying ebuild manifests
>>> Running pre-merge checks for sys-fs/eudev-3.1.5
 *
 * As of 2013-01-29, eudev-3.1.5 provides the new interface renaming functionality,
 * as described in the URL below:
 * https://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames
 *
 * This functionality is enabled BY DEFAULT because eudev has no means of synchronizing
 * between the default or user-modified choice of sys-fs/udev.  If you wish to disable
 * this new iface naming, please be sure that /etc/udev/rules.d/80-net-name-slot.rules
 * exists: touch /etc/udev/rules.d/80-net-name-slot.rules
 *
>>> Emerging (1 of 1) sys-fs/eudev-3.1.5::gentoo
>>> Installing (1 of 1) sys-fs/eudev-3.1.5::gentoo
>>> Failed to install sys-fs/eudev-3.1.5
>>> Jobs: 0 of 1 complete, 1 failed      Load avg: 4.91, 4.37, 4.27

 * Messages for package sys-fs/eudev-3.1.5:

 *
 * As of 2013-01-29, eudev-3.1.5 provides the new interface renaming functionality,
 * as described in the URL below:
 * https://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames
 *
 * This functionality is enabled BY DEFAULT because eudev has no means of synchronizing
 * between the default or user-modified choice of sys-fs/udev.  If you wish to disable
 * this new iface naming, please be sure that /etc/udev/rules.d/80-net-name-slot.rules
 * exists: touch /etc/udev/rules.d/80-net-name-slot.rules
 *

 * Messages for package sys-fs/eudev-3.1.5:

 * This package will overwrite one or more files that may belong to other
 * packages (see list below). You can use a command such as `portageq
 * owners / <filename>` to identify the installed package that owns a
 * file. If portageq reports that only one package owns a file then do
 * NOT file a bug report. A bug report is only useful if it identifies at
 * least two or more packages that are known to install the same file(s).
 * If a collision occurs and you can not explain where the file came from
 * then you should simply ignore the collision since there is not enough
 * information to determine if a real problem exists. Please do NOT file
 * a bug report at https://bugs.gentoo.org/ unless you report exactly
 * which two packages install the same file(s). See
 * https://wiki.gentoo.org/wiki/Knowledge_Base:Blockers for tips on how
 * to solve the problem. And once again, please do NOT file a bug report
 * unless you have completely understood the above message.
 *
 * Detected file collision(s):
 *
 *      /etc/udev/udev.conf
 *      /usr/include/libudev.h
 *      /usr/share/man/man5/udev.conf.5.bz2
 *      /usr/share/man/man8/udevadm.8.bz2
 *      /usr/share/man/man7/udev.7.bz2
 *      /usr/share/pkgconfig/udev.pc
 *      /usr/lib64/pkgconfig/libudev.pc
 *      /lib/udev/v4l_id
 *      /lib/udev/mtd_probe
 *      /lib/udev/cdrom_id
 *      /lib/udev/scsi_id
 *      /lib/udev/collect
 *      /lib/udev/ata_id
 *      /lib/udev/rules.d/60-persistent-input.rules
 *      /lib/udev/rules.d/60-drm.rules
 *      /lib/udev/rules.d/60-block.rules
 *      /lib/udev/rules.d/60-evdev.rules
 *      /lib/udev/rules.d/60-persistent-alsa.rules
 *      /lib/udev/rules.d/78-sound-card.rules
 *      /lib/udev/rules.d/50-udev-default.rules
 *      /lib/udev/rules.d/75-probe_mtd.rules
 *      /lib/udev/rules.d/80-drivers.rules
 *      /lib/udev/rules.d/60-persistent-v4l.rules
 *      /lib/udev/rules.d/60-serial.rules
 *      /lib/udev/rules.d/60-persistent-storage-tape.rules
 *      /lib/udev/rules.d/60-persistent-storage.rules
 *      /lib/udev/rules.d/60-cdrom_id.rules
 *      /lib/udev/rules.d/75-net-description.rules
 *      /lib/udev/rules.d/40-gentoo.rules
 *      /lib/udev/rules.d/70-mouse.rules
 *      /lib/udev/rules.d/64-btrfs.rules
 *      /usr/lib64/libudev.so
 *
 * Searching all installed packages for file collisions...
 *
 * Press Ctrl-C to Stop
 *
 * sys-apps/systemd-226-r2:0::gentoo
 *      /etc/udev/udev.conf
 *      /lib/udev/ata_id
 *      /lib/udev/cdrom_id
 *      /lib/udev/collect
 *      /lib/udev/mtd_probe
 *      /lib/udev/rules.d/50-udev-default.rules
 *      /lib/udev/rules.d/60-block.rules
 *      /lib/udev/rules.d/60-drm.rules
 *      /lib/udev/rules.d/60-evdev.rules
 *      /lib/udev/rules.d/60-persistent-alsa.rules
 *      /lib/udev/rules.d/60-persistent-input.rules
 *      /lib/udev/rules.d/78-sound-card.rules
 *      /lib/udev/scsi_id
 *      /lib/udev/v4l_id
 *      /usr/include/libudev.h
 *      /usr/lib64/pkgconfig/libudev.pc
 *      /usr/share/man/man5/udev.conf.5.bz2
 *      /usr/share/man/man7/udev.7.bz2
 *      /usr/share/man/man8/udevadm.8.bz2
 *      /usr/share/pkgconfig/udev.pc
 *
 * Package 'sys-fs/eudev-3.1.5' NOT merged due to file collisions. If
 * necessary, refer to your elog messages for the whole content of the
 * above message.

Installation failed due to compile error.
Package: sys-fs/eudev-3.1.5::gentoo.
Easygentoo will exit now.


From script code:
Code:
                case ${package} in
                *sys-apps/kmod-*)
                    umrg "module-init-tools"
                ;;
                *sys-apps/systemd-*)
                    if [ -z "${usebinfrom}" ]; then
                        sed -i '\!^sys-apps/dbus.*$!d' /etc/portage/package.use
                    fi

                    umrg "sys-fs/udev"
                    umrg "sys-fs/eudev"
                    umrg "virtual/udev"
                ;;
                esac
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks 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