Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problems installing Gentoo on Asus ChromeBox
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
robnasby
n00b
n00b


Joined: 12 Aug 2015
Posts: 3
Location: Chicago, IL

PostPosted: Wed Aug 12, 2015 3:24 pm    Post subject: Problems installing Gentoo on Asus ChromeBox Reply with quote

I'm trying to install Gentoo onto an Asus ChromeBox M004U (with the Celeron CPU). I've had several different issues. Most of the time, when following the instructions to create the LiveUSB stick, I end up with a stick that is not recognized by the ChromeBox (I believe the issue is related to writing the MBR). When I am able to create a bootable USB stick, after Gentoo starts loading, the keyboard stops working (e.g. I can't enter the keyboard code on the boot screen) and I get a "Media not found" error.

Code:
Attempting to mount media: /dev/sda1
Attempting to mount media: /dev/sda2
Attempting to mount media: /dev/ram0
Attempting to mount media: /dev/ram1
Attempting to mount media: /dev/ram2
Attempting to mount media: /dev/ram3
Attempting to mount media: /dev/ram4
Attempting to mount media: /dev/ram5
Attempting to mount media: /dev/ram6
Attempting to mount media: /dev/ram7
Attempting to mount media: /dev/ram8
Attempting to mount media: /dev/ram9
Attempting to mount media: /dev/ram10
Attempting to mount media: /dev/ram11
Attempting to mount media: /dev/ram12
Attempting to mount media: /dev/ram13
Attempting to mount media: /dev/ram14
Attempting to mount media: /dev/ram15
Attempting to mount media: /dev/sda1
Attempting to mount media: /dev/sda2
Media not found
No bootable medium found.  Waiting for new devices...
Looking for the cdrom
Attempting to mount media: /dev/sda1
Attempting to mount media: /dev/sda2
Attempting to mount media: /dev/ram0
Attempting to mount media: /dev/ram1
Attempting to mount media: /dev/ram2
Attempting to mount media: /dev/ram3
Attempting to mount media: /dev/ram4
Attempting to mount media: /dev/ram5
Attempting to mount media: /dev/ram6
Attempting to mount media: /dev/ram7
Attempting to mount media: /dev/ram8
Attempting to mount media: /dev/ram9
Attempting to mount media: /dev/ram10
Attempting to mount media: /dev/ram11
Attempting to mount media: /dev/ram12
Attempting to mount media: /dev/ram13
Attempting to mount media: /dev/ram14
Attempting to mount media: /dev/ram15
Attempting to mount media: /dev/sda1
Attempting to mount media: /dev/sda2
Media not found
Could not find CD to boot, something else needed!
Determining root device...
Could not find the root block device in .
Please specify another value or:
- press Enter for the same
- type "shell" for a shell
- type "q" to skip...


Since the keyboard stops working during the boot process, I can't even try to diagnose from a shell. Has anyone gotten Gentoo install on this ChromeBox? Are there good instructions somewhere? Googling about this issues has failed me.

The LiveUSB stick was created following the instructions at https://wiki.gentoo.org/wiki/LiveUSB which results in a USB stick that is not recognized. I've also tried the instructions at https://forums.gentoo.org/viewtopic-t-928812.html?sid=3190efd1ce2481c5cdc7ff2b43af295e which results in the stick that is recognized but doesn't boot I tried creating the stick using UNetbootin on OS X and Windows and Rufus on Windows, all of which generated unrecognized sticks. I've tried innumerable variations without success. I've used several different USB sticks (including different models) to no avail. I've also tried several other distros, most of which work fine. I have already installed Arch onto this ChromeBox, the Fedora and Ubuntu USB sticks booted fine (though I didn't install the distro). The only other one that failed to work was Sabayon.

I've installed Gentoo on dozens of machines (physical and virtual) and never run into problems like this. I'm really hoping the community can help me out before I have to resort to using a lesser distro... :(

Thanks!
Back to top
View user's profile Send private message
Roman_Gruber
Advocate
Advocate


Joined: 03 Oct 2006
Posts: 3806
Location: Austro Bavaria

PostPosted: Wed Aug 12, 2015 4:42 pm    Post subject: Reply with quote

well the bootlaoder of the usb stick needs to have the needed kernel moduleds for the usb stick / file -system and hardware.
than you point to the stick itself from that bootloader, you may try around, assuming its grub2, with the grub command line,which is build in. usually the e key or escape key brings up the shell and than you can edit, see whats going on...

in short, the bootlader + kernel is not set up correctly for your hardware. (did you checked bios settings too?)
Back to top
View user's profile Send private message
Buffoon
Veteran
Veteran


Joined: 17 Jun 2015
Posts: 1074
Location: EU or US

PostPosted: Wed Aug 12, 2015 5:02 pm    Post subject: Reply with quote

I'm having hard time understanding what is the problem here.

Quote:
I've installed Gentoo on dozens of machines (physical and virtual) and never run into problems like this. I'm really hoping the community can help me out before I have to resort to using a lesser distro... :(


OP claims he has done dozens of Gentoo installs, so he knows there is no need to boot Gentoo installation disk to install Gentoo.

OP claims Fedora and Ubuntu USB sticks boot fine.

robnasby, is your goal to make the Gentoo install work from USB?
Back to top
View user's profile Send private message
Roman_Gruber
Advocate
Advocate


Joined: 03 Oct 2006
Posts: 3806
Location: Austro Bavaria

PostPosted: Wed Aug 12, 2015 6:54 pm    Post subject: Reply with quote

Quote:

OP claims Fedora and Ubuntu USB sticks boot fine.


right than he could chroot from those....
Back to top
View user's profile Send private message
keba
Guru
Guru


Joined: 02 Jun 2006
Posts: 328
Location: Switzerland

PostPosted: Mon Aug 24, 2015 7:13 pm    Post subject: Reply with quote

I have the exact same problem: I have an old 256MB USB Stick that I wanted to make into a dedicated USB installation drive (It's perfect for this size). However, it seems the minimal iso can't access USB drives... If you figure out a grub option to do it that'd be great.

By the way, this is not a problem of your computer, it's a general problem. In your case, the easiest solution is to install from the SystemRescueCD. However, this is not what I want so I still have a problem...
_________________
Prayer can change the world!
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Mon Aug 24, 2015 8:01 pm    Post subject: Reply with quote

keba,

You need a delay to allow USB to be started before the kernel tries to mount root over USB.
The normal rootdelay=7 won't work an it will delay the mounting of the initrd as root.
You need the delay before the initrd init script tries to mount the real root.

There is a kernel parameter, or more correctly a parameter passed on the kernel line in grub that is picked up by the initrd init script.
You will need to unpack the initrd and read the initrd to see what it is.
I recall seeing it in a thread here in the last week or so.
_________________
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
keba
Guru
Guru


Joined: 02 Jun 2006
Posts: 328
Location: Switzerland

PostPosted: Tue Aug 25, 2015 7:33 am    Post subject: Reply with quote

Thanks NeddySeagoon. They say scandelay=10 should work. Unfortunately it doesn't. Looks like my USB drive stays undetected. I've tried for ages now, and I guess at some point I'll give up (By that I mean use SystemRescueCD). Weird though because with versions from 2014 it worked...
_________________
Prayer can change the world!
Back to top
View user's profile Send private message
Roman_Gruber
Advocate
Advocate


Joined: 03 Oct 2006
Posts: 3806
Location: Austro Bavaria

PostPosted: Tue Aug 25, 2015 11:39 am    Post subject: Reply with quote

just try a much much bigger value. 10 sounds like 10 seconds..
Back to top
View user's profile Send private message
robnasby
n00b
n00b


Joined: 12 Aug 2015
Posts: 3
Location: Chicago, IL

PostPosted: Thu Aug 27, 2015 2:35 am    Post subject: Reply with quote

tw04l124 wrote:
Quote:

OP claims Fedora and Ubuntu USB sticks boot fine.


right than he could chroot from those....


Yeah... I'm embarrassed to say I didn't think of that. Booting from an ArchLinux USB stick worked like a charm.
Back to top
View user's profile Send private message
robnasby
n00b
n00b


Joined: 12 Aug 2015
Posts: 3
Location: Chicago, IL

PostPosted: Thu Aug 27, 2015 2:52 am    Post subject: Re: Problems installing Gentoo on Asus ChromeBox Reply with quote

robnasby wrote:
I'm trying to install Gentoo onto an Asus ChromeBox M004U (with the Celeron CPU). I've had several different issues. Most of the time, when following the instructions to create the LiveUSB stick, I end up with a stick that is not recognized by the ChromeBox (I believe the issue is related to writing the MBR). When I am able to create a bootable USB stick, after Gentoo starts loading, the keyboard stops working (e.g. I can't enter the keyboard code on the boot screen) and I get a "Media not found" error.


<snip>

I believe I figured out the reason I had no keyboard when I was able to boot from the Gentoo USB stick. After initially installing Gentoo, I again had no keyboard. Using lspci -k, I identified that the xhci_hcd driver was being used for the USB controller. This driver is not enabled by default in the Gentoo kernel sources, so I'm guessing it isn't enabled on the Install image either. Added it to my installation, recompiling the kernel, and TADA, working keyboard!
Back to top
View user's profile Send private message
keba
Guru
Guru


Joined: 02 Jun 2006
Posts: 328
Location: Switzerland

PostPosted: Fri Aug 28, 2015 11:34 am    Post subject: Reply with quote

Well the liveUSB seems to work with a long-enough scandelay (20s), and on some systems "doload-ehci,uhci,xhci_hcd".

Thanks guys :D
_________________
Prayer can change the world!
Back to top
View user's profile Send private message
Roman_Gruber
Advocate
Advocate


Joined: 03 Oct 2006
Posts: 3806
Location: Austro Bavaria

PostPosted: Fri Aug 28, 2015 1:05 pm    Post subject: Reply with quote

2015 and we still have boxes which do not boot on newest hardware because some hardware is not recognized by the kernel.

like in the old days where you got big text based screens where you had to add different options so the kernel would utilize the right kernel module.

Well my friend sabayon is fake gentoo. When gentoo does not work, so sabayon would not, because same stuff just turned into binary blob with some refurbishing so its sabayon, sarcasm.

when you used an offical gentoo image for your gentoo usb stick you may file a bug and inquiry that the corresponding kernel module gets added to the install medium you used. thanks.

off topic, i usually install a binary distro and boot from that and chroot from that. sometimes suse linux, mint, arch-linux whatever does not recognize the full hardware than i ditch the installation and start with something else. i remember on my second asus notebook, 3 years ago, wifi and network was not working properly, or the display intel gpu driver ... sadly quite common that some stuff is just not recognized with the proper shipped kernel.
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