LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Gentoo
User Name
Password
Gentoo This forum is for the discussion of Gentoo Linux.

Notices


Reply
  Search this Thread
Old 02-18-2023, 04:23 PM   #1
haf1zoglu
LQ Newbie
 
Registered: Feb 2023
Distribution: Gentoo
Posts: 7
Blog Entries: 1

Rep: Reputation: 0
Wireless Networked Gentoo OS - Challenges to Create a Fully Functional System


Hi all,

I wanted to share my recent success with you all. It has taken me almost three months of persistence and effort, but I have finally completed a fully functional Gentoo operating system on my laptop, complete with wireless networking.

I owe my success to the helpful and informative sources that I have found along the way. I would like to share these with you in case they can be of use to others who are embarking on a similar journey:

[Insert list of sources that you found helpful]

I hope that my experience can serve as encouragement for others who are struggling to set up their own Gentoo systems. Persistence and hard work do pay off in the end!




https://wiki.gentoo.org/wiki/Handboo...allation/About
https://forums.gentoo.org/index.php
https://wiki.archlinux.org/title/iwd


Here is the commands i have used maybe someone can take advantage of it.

Command history that i have used:

Code:
parted -a optimal /dev/sda

mklabel gpt

unit mib

mkpart primary 1 3

mkpart primary 3 131

mkpart primary 131 8100

mkpart primary 8100 -1

name 1 grub

name 2 boot

name 3 swap

name 4 rootfs

set 1 bios_grub on

set 2 boot on

quit

mkfs.vfat /dev/sda1
mkfs.vfat /dev/sda2
mkfs.ext4 /dev/sda4
mkswap /dev/sda3
swapon /dev/sda3

mount /dev/sda4 /mnt/gentoo
cd /mnt/gentoo
ls
links https://www.gentoo.org/downloads/

---http://gentoo.mirrors.tera-byte.com/releases/amd64/autobuilds/20230212T161657Z/

---stage3-amd64-openrc-20230212T161657Z.tar.xz  

tar xpvf stage3-amd64-openrc-20230212T161657Z.tar.xz --xattrs-include='*.*' --numeric-owner


nano -w /mnt/gentoo/etc/portage/make.conf

COMMON_FLAGS="-march=native -O2 -pipe"

mirrorselect -i -o >> /mnt/gentoo/etc/portage/make.conf

mkdir --parents /mnt/gentoo/etc/portage/repos.conf

cp /mnt/gentoo/usr/share/portage/config/repos.conf /mnt/gentoo/etc/portage/repos.conf/gentoo.conf



cp --dereference /etc/resolv.conf /mnt/gentoo/etc/



mount --types proc /proc /mnt/gentoo/proc
mount --rbind /sys /mnt/gentoo/sys
mount --make-rslave /mnt/gentoo/sys
mount --rbind /dev /mnt/gentoo/dev
mount --make-rslave /mnt/gentoo/dev
mount --bind /run /mnt/gentoo/run
mount --make-slave /mnt/gentoo/run

chroot /mnt/gentoo /bin/bash
source /etc/profile
export PS1="(chroot) ${PS1}"

emerge-webrsync

emerge --sync

emerge --sync --quiet

eselect profile list


eselect profile set 2

emerge --ask --verbose --update --deep --newuse @world



nano -w /etc/portage/make.conf

USE="-gtk -gnome qt5 kde dvd alsa cdr"

ACCEPT_LICENSE="*"



emerge --ask app-portage/cpuid2cpuflags

ls /usr/share/zoneinfo


echo "Europe/Brussels" > /etc/timezone

emerge --config sys-libs/timezone-data


nano -w /etc/locale.gen

locale-gen

eselect locale list

eselect locale set 9


env-update && source /etc/profile && export PS1="(chroot) ${PS1}"


emerge --ask sys-kernel/linux-firmware

emerge --ask sys-kernel/gentoo-sources

eselect kernel list

eselect kernel set 1

emerge --ask sys-kernel/genkernel

genkernel all


nano /etc/fstab

/dev/sda2   /boot        vfat    defaults     0 2
/dev/sda3   none         swap    sw                   0 0
/dev/sda4   /            ext4    noatime              0 1

echo gentoo1 > /etc/hostname

emerge --ask net-misc/dhcpcd


rc-update add dhcpcd default
rc-service dhcpcd start


emerge --ask --noreplace net-misc/netifrc


nano /etc/conf.d/net


config_eth0="wlo1"


cd /etc/init.d
ln -s net.lo net.wlo1
rc-update add net.wlo1 default


nano /etc/hosts


# This defines the current system and must be set
127.0.0.1     tux.homenetwork tux localhost
  
# Optional definition of extra systems on the network
192.168.0.5   jenny.homenetwork jenny
192.168.0.6   benny.homenetwork benny


passwd

emerge --ask e2fsprogs

emerge --ask dosfstools

emerge --ask app-admin/sysklogd

rc-update add sysklogd default


emerge --ask net-misc/dhcpcd

emerge --ask net-wireless/iw net-wireless/wpa_supplicant

echo 'GRUB_PLATFORMS="efi-64"' >> /etc/portage/make.conf

emerge --ask sys-boot/grub

emerge --ask --update --newuse --verbose sys-boot/grub:2

grub-install --target=x86_64-efi --efi-directory=/boot


grub-mkconfig -o /boot/grub/grub.cfg

exit
cd
umount -l /mnt/gentoo/dev{/shm,/pts,}
umount -R /mnt/gentoo
reboot
remaining Milesones,

install desktop environment.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Who has a desktop system fully functional? Can you share your hardware? abefroman Linux - Hardware 3 02-03-2010 07:54 PM
Can i make my logitech mx510 profesional gaming mouse fully functional? how? DesyphER Linux - Software 4 02-26-2005 02:55 AM
Audigy 2 fully functional in Linux? Roy-Svork Linux - Software 1 05-27-2003 08:08 AM
Networked computer can't see page served from other Networked computer Travis86 Linux - Networking 2 12-30-2002 01:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Gentoo

All times are GMT -5. The time now is 10:20 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration