V
V
vlarkanov2017-10-28 11:45:25
linux
vlarkanov, 2017-10-28 11:45:25

How to install Gentoo on emmc?

Greetings! I'm trying to install Genta on just such a machine Acer Chromebook 14 CB3-431

1.6 GHz quad-core Intel N3160 “Braswell” Celeron processor with turbo boost to 2.24 GHz and Intel HD Graphics 400
4 GB of DDR3 RAM
32 GB eMMC flash for local storage (comes with 100GB Google Drive)
14.0″ 1920×1080 IPS display
2x USB 3.1 ports
HDMI out for external display
Combo headphone/microphone jack
“HD” webcam
802.11ac 2×2 dual-band WiFi
Bluetooth 4.2
3.42 Pounds
“14 hours” Quoted Battery Life
Kensington Lock

With the help of seabios, I booted from live-usb, chose the gentoo kernel. I do fdisk - instead of the built-in "flash drive" for 32GB, I see this:

# fdisk -l | grep dev
Disk /dev/ram0: 8 MiB, 8388608 bytes, 16384 sectors
Disk /dev/ram1: 8 MiB, 8388608 bytes, 16384 sectors
Disk /dev/ram2: 8 MiB, 8388608 bytes, 16384 sectors
Disk /dev/ram3: 8 MiB, 8388608 bytes, 16384 sectors Disk
/dev /ram4: 8 MiB, 8388608 bytes, 16384 sectors Disk /dev/ram7: 8 MiB, 8388608 bytes, 16384 sectors Disk /dev/ram8: 8 MiB, 8388608 bytes, 16384 sectors Disk /dev/ram9: 8 MiB, 8388608 bytes, 16384 sectors Disk /dev/ram10: 8 MiB , 8388608 bytes, 16384 sectors Disk /dev/ram11: 8 MiB, 8388608 bytes, 16384 sectors
Disk /dev/ram12: 8 MiB, 8388608 bytes, 16384 sectors
Disk /dev/ram13: 8 MiB, 8388608 bytes, 16384 sectors
Disk /dev/ram14: 8 MiB, 8388608 bytes, 16384 sectors
Disk /dev/ram15: 8 MiB / dev
/ sda4 * 256 30712319 30712064 14.7G w95 FAT32 (LBA)

# lspci
00:00.0 Host bridge: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series SoC Transaction Register (rev 35)
00:02.0 VGA compatible controller: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/ J3xxx/N3xxx Integrated Graphics Controller (rev 35)
00:0b.0 Signal processing controller: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series Power Management Controller (rev 35)
00:14.0 USB controller: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series USB xHCI Controller (rev 35)
00:1b.0 Audio device: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series High Definition Audio Controller ( rev 35)
00:1c.0 PCI bridge: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series PCI Express Port #1 (rev 35)
00:1c.2 PCI bridge: Intel Corporation Atom/Celeron/Pentium Processor x5 -E8000/J3xxx/N3xxx Series PCI Express Port #3 (rev 35)
00:1f.0 ISA bridge: Intel Corporation Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series PCU (rev 35)
02:00.0 Network controller : Intel Corporation Wireless 7265 (rev 59)

Here's what dmesg says https://pastebin.com/Nhkd1djt
Apparently a module is missing. Here is a list of automatically loaded ones: https://pastebin.com/NW2n7HcK

Answer the question

In order to leave comments, you need to log in

1 answer(s)
C
Cheater, 2017-11-24
@Cheater

I think you are missing mmc_block and mmc_core modules . After loading them, the drive is recognized as /dev/mmcblk0.
Here is the command I use on my Linux Chromebook (Toshiba Chromebook 2 CB35-B3330) to generate the initrd:

mkinitrd -c -k 4.4.23-swanky -u -m ext4:ehci-hcd:ohci-hcd:uhci-hcd:usb-storage:usbhid:mmc_block:mmc_core:vfat:ext3:sdhci_acpi:sdhci:drm:uas:xhci-pci:xhci-hcd -r /dev/mmcblk0p1 -o /boot/initrd.gz

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question