Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Including pciutils in stage3
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
darkstar44
n00b
n00b


Joined: 05 Oct 2012
Posts: 14
Location: America

PostPosted: Thu Sep 05, 2013 2:00 pm    Post subject: Including pciutils in stage3 Reply with quote

I have no idea, where this question goes. Or if it has been asked before (I did a Quick Search) but nothing came up

My question, is why is pciutils not included in the stage3. It's on the minimal install cd, as well as the gentoo based System
rescue cd.

pciutils is a good tool, for determining hardware, as well as kernel drivers/modules. (lspci -k)

Sorry if this has been asked before, but a search in this forum turned up no results.
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 7321
Location: Saint Amant, Acadiana

PostPosted: Thu Sep 05, 2013 2:21 pm    Post subject: Reply with quote

Not sure how this is a problem, you can use it from install media, right?
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
darkstar44
n00b
n00b


Joined: 05 Oct 2012
Posts: 14
Location: America

PostPosted: Thu Sep 05, 2013 5:23 pm    Post subject: Including pciutils in stage3 Reply with quote

Yes, but the Gentoo quick install guide makes no mention about pciutils.

If someone wanted to recompile the kernel after the install, they would need to know what hardware they had, but pciutils would need to be emerged, since it's not in the stage3.

I know that dmesg can give system details but AFAIK dmesg does not give information about kernel modules in use or what drivers are being used.

pciutils does both, giving kernel module info (lspci -k) as well as complete hardware details (lspci -v).

I am just curious why pciutils, being such a useful tool, is not in the stage3 by default. Or if the stage3 has a better utility than pciutils (for kernel and hardware info) then I apologise in advance.
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 7321
Location: Saint Amant, Acadiana

PostPosted: Thu Sep 05, 2013 7:13 pm    Post subject: Reply with quote

Quote:
If someone wanted to recompile the kernel after the install, they would need to know what hardware they had, but pciutils would need to be emerged, since it's not in the stage3.

Correct, what's wrong with emerging them, don't we emerge all we need after install?
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Thu Sep 05, 2013 9:24 pm    Post subject: Reply with quote

darkstar44,

Before you chroot, set the root password. Thats in the liveCD environment.
Now you can log in to another VT as root, using the password you just set and run lspci there.

Indeed, you have 5 VTs. Thats one for the chroot, one for commands outside the chroot, one for irssi, so you can get to #gentoo on irc.freenod.net, one for links/lynx and one spare. You can even copy/paste between VTs.

There are lots of things that could be in the stage3 that are not, that some users consider essential. e.g. a boot loader and kernel :)

The quick install guide is not intended for beginners. Its just a reminder of the key steps for those that have a few installs under their belts.
There is no such think as a quick install of Gentoo.
_________________
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
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 7321
Location: Saint Amant, Acadiana

PostPosted: Thu Sep 05, 2013 10:01 pm    Post subject: Reply with quote

Forgot to add, I always do lspci -knn > /mnt/gentoo/root/lspci and lsusb > /mnt/gentoo/root/lsusb before I chroot.
That said I always have to boot twice from USB stick because I keep forgetting I have just one portage for LAN and in order to access it I need nfs-utils ... why the heck nfs-utils are not included in stage3 tarball?! :P
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
boerKrelis
Apprentice
Apprentice


Joined: 01 Jul 2003
Posts: 241
Location: The Netherlands

PostPosted: Fri Sep 06, 2013 5:53 am    Post subject: Reply with quote

Maybe the stage3 isn't supposed to contain architecture-specific tools?
Not all platforms have a PCI bus.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
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