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

Notices


Reply
  Search this Thread
Old 01-19-2016, 05:11 AM   #1
mdooligan
Member
 
Registered: Feb 2009
Location: Vancouver BC
Distribution: Mandrake10/ArchHackery/Gentoo
Posts: 179

Rep: Reputation: 22
Take control of the boot process?


I recently downloaded syslinux source code because I'd like to build my own USB stick boot sectors and partition tables. I'm fed up with VFAT but need it so winboxes can recognize the things when they need to.

This led me to investigating the Arch boot process (again). Grub2 confuses me. I liked old-school lilo and grub. I also would like to take control of my own kernel, libc and the whole core process without losing the awesome advantages of pacman and the arch repos for everything else.

Plus I have a perfectly good PC sitting here with nothing to do.

Any suggestions?
 
Old 01-19-2016, 12:52 PM   #2
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Give Linux From Scratch a try.

I'm not sure that you will be able to take control over the whole core process w/o loosing the functionalities of pacman.

As far as controlling the kernel is concerned there are parameters that can be passed to the kernel to give desired results. It depends on what you want to control about the kernel.

There are many different kernels to choose from in the Linux Kernel archives.

Modules that are loaded into the kernel are done so dynamically. This keeps the core small and makes it possible to load or replace modules in a running kernel w/o rebooting.

Distributions will update the kernel when the next stable release comes out. So I'm not sure how you would prevent the kernel from updating aside from removing that particular repo.

You will need a member with experience to show you how to configure the kernel.

Last edited by Ztcoracat; 01-19-2016 at 01:00 PM.
 
Old 01-20-2016, 07:39 AM   #3
mdooligan
Member
 
Registered: Feb 2009
Location: Vancouver BC
Distribution: Mandrake10/ArchHackery/Gentoo
Posts: 179

Original Poster
Rep: Reputation: 22
LFS sounds is pretty cool. Thank you.
 
Old 01-20-2016, 08:30 AM   #4
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,665

Rep: Reputation: Disabled
Or go Gentoo. Gentoo is like LFS with convenience of great package management.
 
Old 01-20-2016, 09:28 AM   #5
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Quote:
Originally Posted by mdooligan View Post
LFS sounds is pretty cool. Thank you.
You're Welcome.

Good Luck!

http://www.linuxfromscratch.org/lfs/read.html
http://www.linuxfromscratch.org/lfs/view/stable/
 
Old 01-21-2016, 07:11 AM   #6
mdooligan
Member
 
Registered: Feb 2009
Location: Vancouver BC
Distribution: Mandrake10/ArchHackery/Gentoo
Posts: 179

Original Poster
Rep: Reputation: 22
Quote:
Originally Posted by Emerson View Post
Or go Gentoo. Gentoo is like LFS with convenience of great package management.
I thought Gentoo was abandoned file manager project from 10 or 12 years ago. I'll have close look, I keep hearing about it.
Minimal Install CD. Cool.
 
Old 01-21-2016, 07:19 AM   #7
mdooligan
Member
 
Registered: Feb 2009
Location: Vancouver BC
Distribution: Mandrake10/ArchHackery/Gentoo
Posts: 179

Original Poster
Rep: Reputation: 22
Quote:
Originally Posted by Emerson View Post
systemd - no
pulseaudio - no
That's exactly what I'm trying to accomplish. Alsa works great without PA, and systemd grosses me out. Looks like MICROS~T.
 
Old 01-21-2016, 10:11 AM   #8
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,665

Rep: Reputation: Disabled
Do not use minimal CD. Use SysRescueCD instead. Much better hardware support and you can run X, pasting commands from Gentoo Handbook into terminal window.
 
Old 01-21-2016, 02:45 PM   #9
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by mdooligan View Post
I thought Gentoo was abandoned file manager project from 10 or 12 years ago.
that rang a bell, so i went to look it up:
http://obsession.se/gentoo/

(sorry for ot)
 
Old 01-21-2016, 03:50 PM   #10
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Let us know what you go with-
 
Old 01-22-2016, 05:03 AM   #11
mdooligan
Member
 
Registered: Feb 2009
Location: Vancouver BC
Distribution: Mandrake10/ArchHackery/Gentoo
Posts: 179

Original Poster
Rep: Reputation: 22
Quote:
Originally Posted by Emerson View Post
Do not use minimal CD. Use SysRescueCD instead. Much better hardware support and you can run X, pasting commands from Gentoo Handbook into terminal window.
Thank you for that bit of advice. I had already burnt a copy of the minimal iso. Boots fine. I have one blank CD left. SystemRescueCD it is.
They don't have it on their regular website (http://distfiles.gentoo.org/releases...l-20160119.iso), it's over here (http://www.system-rescue-cd.org/Download).
 
Old 01-23-2016, 04:11 AM   #12
mdooligan
Member
 
Registered: Feb 2009
Location: Vancouver BC
Distribution: Mandrake10/ArchHackery/Gentoo
Posts: 179

Original Poster
Rep: Reputation: 22
I decided to build my own personal FrankenBox. Old SystemV boot system (with LILO, LOL), with new kernel and package management system. Kinda like a 1949 Ford Pickup truck body with brand new Chevy S10 engine and electrical. Hybrid, if you will. All through ssh, nfs, and xwindow forwarding when things are good.

That SystemRescueCD I would recommend to anyone. Thanks again for that tip.
 
Old 01-30-2016, 09:00 AM   #13
mdooligan
Member
 
Registered: Feb 2009
Location: Vancouver BC
Distribution: Mandrake10/ArchHackery/Gentoo
Posts: 179

Original Poster
Rep: Reputation: 22
Update:

Had a bit of trouble getting gentoo started, but once I realized gentoo is kernel and gentoo.igz is the initrd, I could get lilo straightened out and it took off.

Network was up and running right away. sshd on boot, I can shell in to do everything from my comfy chair.

Got a fresh 4.1.12 kernel compiled and a bunch of other stuff. Looking good. Openrc, no systemd, awesome.

emerge is pretty cool. Some deep wizardry going on there. Everything is compiled from source. Sweet.

On to glib... 2.44 it says. Let's see what happens when I get to xorg and those big guys. That'll be interesting.
 
Old 01-30-2016, 09:18 AM   #14
Teufel
Member
 
Registered: Apr 2012
Distribution: Gentoo
Posts: 616

Rep: Reputation: 142Reputation: 142
Quote:
Originally Posted by mdooligan View Post
Let's see what happens when I get to xorg and those big guys. That'll be interesting.
it's a long way to the top
welcome to the Gentoo world
 
Old 01-30-2016, 09:21 AM   #15
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,665

Rep: Reputation: Disabled
Once you roll your own kernel you do not need initrd any more.

Setting up and installing Xorg goes by setting variables in make.conf and emerge will pull in necessary drivers - do not install drivers by hand!

Every time you run emerge <package> the <package> will be recorded in the world file. When troubleshooting or installing dependencies make sure you run emerge -1 <package> or your world file will be cluttered with software that does not belong there.
 
  


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
Help : Process control from Boot loader to User Space vmkaarthik Linux - Newbie 2 06-29-2010 11:23 PM
Process management and process control cll975dll General 1 09-04-2009 03:37 PM
Need help about process control dellroxy Solaris / OpenSolaris 7 03-24-2009 05:26 AM
Process Table-Process Control Block sarahmencer Linux - General 1 01-09-2006 09:14 PM
Process control...? kleptophobiac Linux - General 2 09-25-2004 10:03 AM

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

All times are GMT -5. The time now is 01:55 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