You are not logged in.

#26 2013-05-16 01:20:12

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: [SOLVED] Blank Screen, Blinking Cursor after Fresh UEFI Install

You still haven't indicated what it is you have done to try to set up grub.  Grub2 is a monster that does all kinds of crap.  One of those things is that is creates its configuration for you.  But you do have to run the configuration tool to get it to generate it.  Have you gone through the grub2 wiki page?  It is a pretty complete walkthrough on how to get that going.

Also, FWIW, UEFI and a bios bootloader can very happily reside side by side.  So you don't actually have to give up on UEFI if you get bios booting working.  I keep syslinux on my machine as a "just in case" kind of backup.

Offline

#27 2013-05-16 01:23:38

UnsolvedCypher
Member
Registered: 2012-04-28
Posts: 201

Re: [SOLVED] Blank Screen, Blinking Cursor after Fresh UEFI Install

I followed the instructions in the Install to GPT BIOS Boot Partition section on the GRUB wiki page, and then generated the cfg. I'm not sure what I need to do, as I believe generating the cfg should automatically add an entry for Arch, right?

Offline

#28 2013-05-16 01:35:17

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: [SOLVED] Blank Screen, Blinking Cursor after Fresh UEFI Install

Did you check?

Offline

#29 2013-05-16 01:46:35

UnsolvedCypher
Member
Registered: 2012-04-28
Posts: 201

Re: [SOLVED] Blank Screen, Blinking Cursor after Fresh UEFI Install

Check the wiki? Yes I have. It says that the configuration is generated automatically, and I am assuming that that means the Arch entry as well. Later on, it says that grub.cfg can be "changed accordingly", but I'm not sure if this is where entries are specified, and how to use this file.

Offline

#30 2013-05-16 03:39:52

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: [SOLVED] Blank Screen, Blinking Cursor after Fresh UEFI Install

Oh sorry, no I meant check the configuration.  It is not meant to be edited, but you can cetainly look at it.  It is /boot/grub/grub.cfg I think. 

But once you get a grasp of what it is generating and where the relevant parts are that touch on the actual configuration of your kernel command line, initrd, etc. you can certainly go and edit it by hand if you are comfortable with that.  Just know that if you run the configuration scripts again, all those changes you made will be overwritten.


Edit: BTW, since this has become a grub support thread, maybe you should change the title.  Also, I know very little about grub, so at some point I will likely have step aside here and hope that someone else is willing to assist you.

Last edited by WonderWoofy (2013-05-16 03:41:05)

Offline

#31 2013-05-16 12:13:28

UnsolvedCypher
Member
Registered: 2012-04-28
Posts: 201

Re: [SOLVED] Blank Screen, Blinking Cursor after Fresh UEFI Install

I will check the configuration, but I thought there were certain files that were read by the configuration generator to generate the configuration. Is there a  file it reads to determine what entries to put into the configuration? Or, should I use os-prober?

Offline

#32 2013-05-16 15:11:45

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: [SOLVED] Blank Screen, Blinking Cursor after Fresh UEFI Install

There are a number of files that it reads.  They are actually scripts that should not be edited.  They are in /etc/grub.d and there are two that you can modify that won't be overwritten, and they are the ones with "custom" in their names.

If you ever want to see the files in a given package, you can use "pacman -Ql <package>" to have it dump a list of files to the terminal.  If you want to know which files are protected and won't be overwritten by an update, you can use "pacman -Qii <package>" and the section "Backup files" are those files that it checksums for changes before writing.

Others probably know that I have this preference, and say this all the time.  But have you ever thought about trying a different bootloader.  Namely one that doens't take the configuration control away from you?  I am a syslinux fan, but lilo is also similarly easy to set up.  They both allow for direct edits of the configuration file and the file itself is very uncomplicated, kind of like what the original grub was.  If you are interested, check out the syslinux wiki page.  If you do that, you can also get rid of that stoopid 1-2MB grub bios boot partition that annoys me so much.

Offline

#33 2013-05-18 00:52:31

UnsolvedCypher
Member
Registered: 2012-04-28
Posts: 201

Re: [SOLVED] Blank Screen, Blinking Cursor after Fresh UEFI Install

I've decided to follow your advice and try Syslinux, which I am liking as it is pretty simple. My issue is that when I boot up, it flashes by that it's unpacking the kernel and parsing ELF, then shows this:

[sdc] No caching mode page present
[sdc] Assuming drive cache: write through
[sdc] No caching mode page present
[sdc] Assuming drive cache: write through
[sdc] No caching mode page present
[sdc] Assuming drive cache: write through

ata5: COMRESET failed (errno=-16)
ata5: COMRESET failed (errno=-16)
ERROR: device 'UUID=XXXXXXXXXX' not found. Skipping fsck.
ERROR: Unable to find root device 'UUID=XXXXXXXXX'.
You are being dropped to a recovery shell
Type 'exit' to try and continue booting.
sh: can't access tty: job control turned off

The issue isn't the UUID, since I've verified that it's correct. The strangest thing is that when I type exit in order to attempt to boot, it succeeds. I go right to Arch as expected. I think it's syslinux acting up, since syslinux is what is loading the OS. Are there any logs I should check? And why is it talking about sdc? That device has nothing to do with the setup. Thank you very much for all your help!
EDIT: It works! I unplugged the dead SSD, which was what seemed to be causing the sdc errors. My only question now is, why should a dead drive prevent a system from booting?

EDIT 2: After rsyncing the backup, it no longer works. I get a "INIT: No inittab file found" even though I do not use initscripts. How could that happen?

Last edited by UnsolvedCypher (2013-05-18 02:10:35)

Offline

#34 2013-05-19 14:04:44

UnsolvedCypher
Member
Registered: 2012-04-28
Posts: 201

Re: [SOLVED] Blank Screen, Blinking Cursor after Fresh UEFI Install

Thank you so much everyone, my Arch finally works now. I've missed it very much. The problem seems to be that I was using sysvinit, so I uninstalled that and installed systemd-sysvcompat instead. What I would like to do is to have a "pure"  systemd system, as in not have any compatibility packages. How do I do this? I've searched around, but the only answer I seem to get is that I should install the compatibility package.

Offline

#35 2013-05-19 18:57:26

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: [SOLVED] Blank Screen, Blinking Cursor after Fresh UEFI Install

The systemd-sysvcompat is a package of symlinks that is actually built in the same PKGBUILD as systemd.  In other words, systemd provides all the symlinks there.  They are just separated out like that so that the choice can still be made whether or not you want to use systemd.  Keep that package because it also provides other important symlinks like poweroff, reboot, and shutdown all pointing to systemctl, as well as /sbin/init pointing to /usr/lib/systemd/systemd.

So you have a "pure" systemd setup as it is right now if you have installed systemd-sysvcompat.  Those symlinks are only there to ensure that you have the proper functionality of the old legacy commands.

Offline

#36 2013-05-19 20:09:52

UnsolvedCypher
Member
Registered: 2012-04-28
Posts: 201

Re: [SOLVED] Blank Screen, Blinking Cursor after Fresh UEFI Install

Thanks for the information about systemd-sysvcompat. My issue is that my computer won't boot without that package, complaining about sysvinit binaries missing. Is this normal?

Offline

#37 2013-05-19 20:26:31

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: [SOLVED] Blank Screen, Blinking Cursor after Fresh UEFI Install

The kernel is by default set to look for something to boot at /sbin/init.  So if you don't have the symlink from /sbin/init --> /lib/systemd/systemd, then it really has nothing to boot.  That is why this package is necessary. You could get around that by using init=/lib/sysetmd/systemd on the kernel command line.  But like I said before, the systemd-sysvcompat package is really just a package of symlinks to provide backwards compatibility for the legacy commands of SysV.  Without those commands, your computer will function, but I imagine that there are still com programs out there that have poweroff and shutdown built into them, so if those links aren't there, I imagine they would simply fail.

Offline

#38 2013-05-19 20:46:07

UnsolvedCypher
Member
Registered: 2012-04-28
Posts: 201

Re: [SOLVED] Blank Screen, Blinking Cursor after Fresh UEFI Install

Got it, thank you very much. You have been very helpful through the entire proccess of fixing my issues. I'm marking this thread as solved.

Offline

Board footer

Powered by FluxBB