sehidcan / easygentoo Goto Github PK
View Code? Open in Web Editor NEWBash script for easy Gentoo installation
License: MIT License
Bash script for easy Gentoo installation
License: MIT License
Get an error when script tries to download tarball - apparently there is a mismatch between the date the download function uses and the tarball date. Manually entered name of tarball (stage3-amd64-20140508.tar.bz2" in the line:
lnk="${tarballurl}/${date}/stage3-amd64-20140508.tar.bz2"; arg="1"
and it functions correctly.
Getting this when trying to run.
Would it be useful to check if /mnt/gentoo exists and, if it doesn't, create that directory?
Hi,
I've started your script on my laptop (HP Pavilion dv9744) and VMWare Workstation 10.0.3, but it failed with the following message :
Installation failed due to compile error. Package: sys-fs/udev-216. Easygentoo will exit now.
Here's the snapshot of the screen : screenshot
If I chroot and try to manually emerge this package I get this : screenshot
Hmm, looks like systemd is blocking udev, but why
does it try to install then? More details at : systemd page.
How should I proceed? Btw excellent work, really saves my time.
hello,
I, usually, do this when installing gentoo:
# create partitions
sgdisk -Z /dev/vda
sgdisk -o /dev/vda
sgdisk -n 1::+3M -t 1:ef02 /dev/vda
sgdisk -n 2::+500M -t 2:8300 /dev/vda
sgdisk -n 3::+512M -t 3:8200 /dev/vda
sgdisk -n 4:: -t 4:8300 /dev/vda
# create filesystems
mkfs -t btrfs -L boot /dev/vda2
mkfs -t btrfs -L btrfsroot /dev/vda4
mkswap /dev/vda3
# create subvols
mkdir /mnt/gentoo
mount /dev/vda4 /mnt/gentoo
cd /mnt/gentoo
btrfs subvol create root
btrfs subvol create home
btrfs subvol create srv
btrfs subvol create var
# unmount
cd ..
umount gentoo
This creates /dev/vda4
with subvolumes; in which I put stuff. My fstab looks like this:
# <fs> <mountpoint> <type> <opts> <dump/pass>
shm /dev/shm tmpfs nodev,nosuid,noexec 0 0
/dev/vda4 / btrfs rw,noatime,compress=lzo,autodefrag,subvol=root 0 0
/dev/vda4 /home btrfs rw,noatime,compress=lzo,autodefrag,subvol=home 0 0
/dev/vda4 /srv btrfs rw,noatime,compress=lzo,autodefrag,subvol=srv 0 0
/dev/vda4 /var btrfs rw,noatime,compress=lzo,autodefrag,subvol=var 0 0
/dev/vda3 none swap sw 0 0
/dev/vda2 /boot btrfs rw,noatime 0 0
Is there a way to pass arguments to the partition section so I can add the subvol=whatever to my profile?
Hi.
The problem is at the end of installation when install gcc-4.8.4:4.8::gentoo installation failed and exit.
Only 44 packages more need install but can't because gcc package failed.
Hi
I hate systemd
, and one of Gentoo's primary benefits these days is not using it by default.
Can we please have a non-systemd version of this amazing script??
line 1754 and line 1756 in easygentoo ,the path is error.
Verifying ebuild manifests
Running pre-merge checks for sys-apps/systemd-226-r2
- Determining the location of the kernel source code
- Unable to find kernel sources at /usr/src/linux
- Please make sure that /usr/src/linux points at your running kernel,
- (or the kernel you wish to build against).
- Alternatively, set the KERNEL_DIR environment variable to the kernel sources location
- Unable to calculate Linux Kernel version for build, attempting to use running version
- Checking for suitable kernel configuration options...
- CONFIG_DEVPTS_MULTIPLE_INSTANCES: is not set when it should be.
- CONFIG_FW_LOADER_USER_HELPER: should not be set. But it is.
- Please check to make sure these options are set correctly.
- Failure to do so may cause unexpected problems.
Emerging (1 of 1) sys-apps/systemd-226-r2::gentoo
Installing (1 of 1) sys-apps/systemd-226-r2::gentoo
Failed to install sys-apps/systemd-226-r2
Jobs: 0 of 1 complete, 1 failed Load avg: 1.36, 1.75, 1.85
/etc/udev/udev.conf
/lib/udev/cdrom_id
/lib/udev/collect
/lib/udev/ata_id
/lib/udev/scsi_id
/lib/udev/mtd_probe
/lib/udev/v4l_id
/lib/udev/rules.d/75-net-description.rules
/lib/udev/rules.d/80-drivers.rules
/lib/udev/rules.d/60-persistent-alsa.rules
/lib/udev/rules.d/64-btrfs.rules
/lib/udev/rules.d/60-cdrom_id.rules
/lib/udev/rules.d/60-persistent-v4l.rules
/lib/udev/rules.d/60-evdev.rules
/lib/udev/rules.d/60-drm.rules
/lib/udev/rules.d/78-sound-card.rules
/lib/udev/rules.d/60-serial.rules
/lib/udev/rules.d/50-udev-default.rules
/lib/udev/rules.d/60-persistent-input.rules
/lib/udev/rules.d/70-mouse.rules
/lib/udev/rules.d/60-block.rules
/lib/udev/rules.d/60-persistent-storage.rules
/lib/udev/rules.d/75-probe_mtd.rules
/lib/udev/rules.d/60-persistent-storage-tape.rules
/usr/lib64/pkgconfig/libudev.pc
/usr/include/libudev.h
/usr/share/man/man8/udevadm.8.bz2
/usr/share/man/man7/udev.7.bz2
/usr/share/man/man5/udev.conf.5.bz2
/usr/share/pkgconfig/udev.pc
/usr/lib64/libudev.so
/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-cdrom_id.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/60-persistent-v4l.rules
/lib/udev/rules.d/60-serial.rules
/lib/udev/rules.d/64-btrfs.rules
/lib/udev/rules.d/70-mouse.rules
/lib/udev/rules.d/75-net-description.rules
/lib/udev/rules.d/78-sound-card.rules
/lib/udev/rules.d/80-drivers.rules
/lib/udev/scsi_id
/lib/udev/v4l_id
Installation failed due to compile error.
Package: sys-apps/systemd-226-r2:0/2::gentoo.
Easygentoo will exit now.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.