You are not logged in.

#1 2020-01-09 15:49:17

light9876
Member
Registered: 2020-01-05
Posts: 38

[SOLVED] Guide: Omit installation of [linux] package

Why does the Arch installation page say that "You can omit the installation of the kernel or the firmware package if you know what you are doing"?

How could Arch Linux be installed without installing the [linux] package?

      pacstrap /mnt base linux linux-firmware

https://wiki.archlinux.org/index.php/In … l_packages

Last edited by light9876 (2020-01-09 16:32:47)

Offline

#2 2020-01-09 15:55:57

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 17,004

Re: [SOLVED] Guide: Omit installation of [linux] package

linux != linux-firmware

linux-firware contains stuff that needs to be uploaded to various hardware bits -- video cards, wifi, Ethernet, etc...   If your hardware does not require any of this firmware, you need not install it.  You still need the kernel and drivers which are installed by the linux package


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#3 2020-01-09 16:02:39

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 9,307
Website

Re: [SOLVED] Guide: Omit installation of [linux] package

How could Arch Linux be installed without installing the [linux] package?

core/linux isn't the only kernel Arch offers. See https://wiki.archlinux.org/index.php/Kernel

EDIT: Wait, this is explained (with the exact same link) in the section you linked to. Did you not read that?


Sakura:-
Mobo: MSI X299 TOMAHAWK ARCTIC // Processor: Intel Core i7-7820X 3.6GHz // GFX: nVidia GeForce GTX 970 // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 5x 1TB HDD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#4 2020-01-09 16:08:17

schard
Member
From: Hannover
Registered: 2016-05-06
Posts: 586
Website

Re: [SOLVED] Guide: Omit installation of [linux] package

ewaller wrote:

linux != linux-firmware

linux-firware contains stuff that needs to be uploaded to various hardware bits -- video cards, wifi, Ethernet, etc...   If your hardware does not require any of this firmware, you need not install it.  You still need the kernel and drivers which are installed by the linux package

Wiki wrote:

You can omit the installation of the kernel or the firmware package if you know what you are doing.

I for instance don't need the kernel package in my clean chroot build environment.

Offline

#5 2020-01-09 16:13:22

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 17,004

Re: [SOLVED] Guide: Omit installation of [linux] package

schard wrote:

I for instance don't need the kernel package in my clean chroot build environment.

Fair enough.  A use case I had not even considered.

Last edited by ewaller (2020-01-09 16:13:36)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#6 2020-01-09 16:15:22

light9876
Member
Registered: 2020-01-05
Posts: 38

Re: [SOLVED] Guide: Omit installation of [linux] package

Thank you all.

ewaller wrote:

You still need the kernel and drivers which are installed by the linux package

If I need it, why does the guide say "You can omit the installation of the kernel"? Should not it say instead: You can substitute the default kernel for another custom kernel?

Last edited by light9876 (2020-01-09 16:17:35)

Offline

#7 2020-01-09 16:18:47

light9876
Member
Registered: 2020-01-05
Posts: 38

Re: [SOLVED] Guide: Omit installation of [linux] package

schard wrote:

I for instance don't need the kernel package in my clean chroot build environment.

How is it possible to install linux without the kernel? (please excuse me, maybe it is something I don't understand..)

Last edited by light9876 (2020-01-09 16:21:28)

Offline

#8 2020-01-09 16:22:27

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 9,307
Website

Re: [SOLVED] Guide: Omit installation of [linux] package

In terms of chroots, you're using the host kernel, so the guest doesn't need a kernel of it's own.


Sakura:-
Mobo: MSI X299 TOMAHAWK ARCTIC // Processor: Intel Core i7-7820X 3.6GHz // GFX: nVidia GeForce GTX 970 // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 5x 1TB HDD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#9 2020-01-09 16:23:56

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 8,394

Re: [SOLVED] Guide: Omit installation of [linux] package

He has a kernel, but sets up a chroot that will use the kernel of his already existing system but is otherwise cut off in regards to dependencies for building packages in a clean system.

https://wiki.archlinux.org/index.php/Chroot

https://wiki.archlinux.org/index.php/De … ean_chroot

Offline

#10 2020-01-09 16:24:17

schard
Member
From: Hannover
Registered: 2016-05-06
Posts: 586
Website

Re: [SOLVED] Guide: Omit installation of [linux] package

Well, If you're nitpicking, it's not GNU/Linux then, but just GNU. big_smile
It's, however, sufficient for a chroot environment to build certain packages within.

Offline

#11 2020-01-09 16:36:08

light9876
Member
Registered: 2020-01-05
Posts: 38

Re: [SOLVED] Guide: Omit installation of [linux] package

Thank you all!

Offline

Board footer

Powered by FluxBB