Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Line of dots on Mac boot
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
Nomblest
n00b
n00b


Joined: 19 Mar 2016
Posts: 11

PostPosted: Sat Mar 19, 2016 2:52 am    Post subject: [SOLVED] Line of dots on Mac boot Reply with quote

I tried to install Gentoo onto my Macbook Pro, but on boot up the only thing that happens is a line of multicolored dots appears on the top of the screen.
I was following this and this on the official wiki. I did, however, not use the Ubuntu install drive recommended by the macbook pro guide due to repeated freezing. I also have my computer booting to rEFInd then Gentoo directly.
Here is lspci output, .config, and the relevant part of my rEFInd config.


Last edited by Nomblest on Sun Mar 20, 2016 5:43 pm; edited 1 time in total
Back to top
View user's profile Send private message
Roman_Gruber
Advocate
Advocate


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

PostPosted: Sat Mar 19, 2016 12:03 pm    Post subject: Reply with quote

usually i use sysrescuecd to install gentoo

or
ubuntu livecd

any livecd works which boots and has the same architecute and 64bit or 32bit support ...

usually just take any 64bit bootable linux iso with some certain tools needed or demanded in the installation process.

my old tactics was to install linux mint and than install gentoo on another partition and leaving mint on the device or just freeing up the space later (10gb only needed for linux mint anyway)
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6228
Location: Room 101

PostPosted: Sat Mar 19, 2016 2:02 pm    Post subject: Re: Line of dots on Mac boot Reply with quote

Nomblest wrote:
I did, however, not use the Ubuntu install drive recommended by the macbook pro guide due to repeated freezing.

Nomblest ... I imagine the only reason the Ubuntu install disk is suggested is due to it supporting EFI, so any boot disk supporting EFI (ie, sysresccd) would suffice. That being the case what did you use as a bootdisk, how was efibootmgr run, or how was the ESP (EFI System Partition) setup?

The description you provide of the "dots" sounds, at a guess, as though an initramfs is being decompressed, is one in use, and how was it created?

BTW, I'm not sure about the pastebin service you're using, I can't view these (I assume because javascript is in use) please use pastebin, bpaste, or some other service that doesn't require javascript.

best ... khay
Back to top
View user's profile Send private message
Nomblest
n00b
n00b


Joined: 19 Mar 2016
Posts: 11

PostPosted: Sat Mar 19, 2016 3:55 pm    Post subject: Reply with quote

I used the Gentoo installation disk. My ESP has rEFInd installed to it, and under EFI/gentoo there is a configured vmlinuz and an initramfs made with genkernel. I added an initramfs after I noticed this happening, though.

Sorry about that, here is lspci, the kernel .config, and an excerpt from the rEFInd config.

The line of dots on boot up looks like this.
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6228
Location: Room 101

PostPosted: Sat Mar 19, 2016 5:10 pm    Post subject: Reply with quote

Nomblest wrote:
The line of dots on boot up looks like this.

Nomblest ... hmmm, that's not something I've seen before. Looking at the config everything seems ok (though I wonder why you have a builtin command line when you can provide these via refind.conf or via refind_linux.conf).

I wonder if you're not hitting a rEFInd bug, I've had to include the initramfs in the kernel as at one point rEFInd simply wouldn't find it ... and I too have a macbook, though 1,1. Can you try the following, rename 'initramfs-4.1.15-gentoo.img' as 'initramfs-4.1.15-gentoo.cpio' and point CONFIG_INITRAMFS_SOURCE to this, and rebuild the kernel. You can then comment/remove the 'initrd' line in refind.conf as the initramfs will be built into the kernel.

Also, but unrelated, rEFInd will scan the ESP for efi executables (so anything with the suffix *.efi ... ie, the vmlinuz) so you don't need to provide such things in refind.conf ... and for passing parameters to the kernel you can create a refind_linux.conf in the same directory as the vmlinuz and have these passed to whatever kernel is used. Doing this saves having to update refind.conf on kernel updates ... you just need to copy the vmlinuz to {ESP}/EFI/gentoo/ and rEFInd will find it and offer it as a boot option.

{ESP}/efi/gentoo/refind_linux.conf:
"Default"  "ro root=UUID=5a5e8110-32ae-47e6-b3f6-f34abbb333c0 rootfstype=ext4 noapic"
"Emergency"   "ro root=UUID=5a5e8110-32ae-47e6-b3f6-f34abbb333c0 rootfstype=ext4 noapic 1"

F2 will then provide a menu you can use to select kernel, and parameters (ie, "Default", "Emergency", etc).

HTH & best ... khay
Back to top
View user's profile Send private message
Nomblest
n00b
n00b


Joined: 19 Mar 2016
Posts: 11

PostPosted: Sat Mar 19, 2016 6:20 pm    Post subject: Reply with quote

I did that, and now it won't continue past the rEFInd screen stating that it has booted. I am using these options:
Quote:
ro root=UUID=5a5e8110-32ae-47e6-b3f6-f34abbb333c0 rootfstype=ext4 noapic

Here is the new .config.

Also, it seems like my refund_linux.conf isn't being read, I put in exactly what you suggested.
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6228
Location: Room 101

PostPosted: Sat Mar 19, 2016 6:41 pm    Post subject: Reply with quote

Nomblest wrote:
I did that, and now it won't continue past the rEFInd screen stating that it has booted.

Nomblest ... sorry, what is saying it has booted?

Nomblest wrote:
Here is the new .config.

Damn stupid genkernel ... can you check the *.img isn't gziped, what is the, currently named, cpio?

Code:
# file /boot/efi/efi/gentoo/initramfs-4.1.15-gentoo.cpio

It should be 'ASCII cpio archive (SVR4 with no CRC)' ... if not then gunzip it.

Nomblest wrote:
Also, it seems like my refund_linux.conf isn't being read, I put in exactly what you suggested.

Not with that name its not.

best ... khay
Back to top
View user's profile Send private message
Nomblest
n00b
n00b


Joined: 19 Mar 2016
Posts: 11

PostPosted: Sat Mar 19, 2016 7:18 pm    Post subject: Reply with quote

The initramfs was an X2 compressed file, so I used xz -d and recompiled the kernel. It now boots back to the dots.

Sorry, that was a typo, it's named refind_linux.conf.
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6228
Location: Room 101

PostPosted: Sat Mar 19, 2016 7:49 pm    Post subject: Reply with quote

Nomblest wrote:
The initramfs was an X2 compressed file, so I used xz -d and recompiled the kernel. It now boots back to the dots.

Nomblest ... I can't think what else it might be. Can you try without the UUID providing /dev/sda{n}

Nomblest wrote:
Sorry, that was a typo, it's named refind_linux.conf.

OK, as you describe it nothing happens (other than dots being printed) so how do you know refind_linux.conf isn't found?

best ... khay
Back to top
View user's profile Send private message
Nomblest
n00b
n00b


Joined: 19 Mar 2016
Posts: 11

PostPosted: Sat Mar 19, 2016 8:00 pm    Post subject: Reply with quote

I tried with root=/dev/sda4, still dots. Does anything special need to be installed or configured for a 2880x1800 display? Could this be a framebuffer problem?

Also, never mind about the refind_linux.conf. I just rechecked, and it's fine.
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6228
Location: Room 101

PostPosted: Sat Mar 19, 2016 8:11 pm    Post subject: Reply with quote

Nomblest wrote:
I tried with root=/dev/sda4, still dots. Does anything special need to be installed or configured for a 2880x1800 display? Could this be a framebuffer problem?

Nomblest ... it could, but generally if the famebuffer isn't initialised you would get a blank screen ... not "dots" ... and the machine would boot none the less. So, these "dots" could they be remnants? Also, have you tried to ssh in (some minute(s) after the 'dots' occur)?

Nomblest wrote:
Also, never mind about the refind_linux.conf. I just rechecked, and it's fine.

OK ...

best ... khay
Back to top
View user's profile Send private message
Nomblest
n00b
n00b


Joined: 19 Mar 2016
Posts: 11

PostPosted: Sat Mar 19, 2016 9:26 pm    Post subject: Reply with quote

It doesn't connect to my network in the first place over ethernet, so I'm unable to.
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6228
Location: Room 101

PostPosted: Sat Mar 19, 2016 11:42 pm    Post subject: Reply with quote

Nomblest wrote:
It doesn't connect to my network in the first place over ethernet, so I'm unable to.

Nomblest ... "it" being the currently installed kernel? You will have had to have had networking to install.

best ... khay
Back to top
View user's profile Send private message
Nomblest
n00b
n00b


Joined: 19 Mar 2016
Posts: 11

PostPosted: Sat Mar 19, 2016 11:50 pm    Post subject: Reply with quote

I have configured networking, and the kernel seems to not connect to my network, so it seems like it will not continue booting past a certain point.
Back to top
View user's profile Send private message
Nomblest
n00b
n00b


Joined: 19 Mar 2016
Posts: 11

PostPosted: Sun Mar 20, 2016 3:30 pm    Post subject: Reply with quote

After some testing, I have found that the line of dots only appears when the discrete gpu is active. When the integrated gpu is active, the screen goes black and the backlight turns off on boot.
Back to top
View user's profile Send private message
Nomblest
n00b
n00b


Joined: 19 Mar 2016
Posts: 11

PostPosted: Sun Mar 20, 2016 5:42 pm    Post subject: Reply with quote

Turns out, I forgot to enable CONFIG_FRAMEBUFFER_CONSOLE, and I was passing an invalid device for the root partition.

Thanks, khayyam!
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