WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: TC in flash doesn't detect eth0, USB, modprobe?  (Read 88 times)

Offline flyingfishfinger

  • Jr. Member
  • **
  • Posts: 64
TC in flash doesn't detect eth0, USB, modprobe?
« on: January 15, 2020, 04:39:36 PM »
Hello,
I've just stuffed a copy of TC in my BIOS flash chip. I'm loading with Grub2 like so: "linux /vmlinuz iommu=pt waitusb=5" and "initrd /rootfs.gz".

This gets me to a Unix shell successfully, but I can't do much with it. A plugged-in USB does not show in dmesg, or on boot. I also don't see my eth0 interface, nor can I modprobe anything (error: "modprobe: can't change directory").

I assume I'm missing something fairly basic here but I can't think of anything. I'm not a particularly experienced low-level user, so please forgive if it's obvious.

Any advice to share?
Cheers,
R

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 11212
Re: TC in flash doesn't detect eth0, USB, modprobe?
« Reply #1 on: January 15, 2020, 08:14:27 PM »
You need rootfs.gz + modules.gz or core.gz

Offline flyingfishfinger

  • Jr. Member
  • **
  • Posts: 64
Re: TC in flash doesn't detect eth0, USB, modprobe?
« Reply #2 on: January 16, 2020, 09:28:16 AM »
Yup, figured it was something like that. Thanks!

What's the practical difference between rootfs+ modules and core.gz?

R

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 10106
Re: TC in flash doesn't detect eth0, USB, modprobe?
« Reply #3 on: January 16, 2020, 09:29:00 AM »
Nothing at all.

"cat rootfs.gz modules.gz > core.gz"
The only barriers that can stop you are the ones you create yourself.