You are not logged in.

#1 2017-12-01 08:11:38

haphaeu
Member
Registered: 2017-11-28
Posts: 10

[SOLVED] Blank screen during boot

Hi,

after booting from USB flash drive, installing arch linux in my laptop's SSD, choosing grub as bootloader and setting it up for x86_65-efi (wiki installation instructions followed religiously), all I get is a blank screen with a static cursor during boot.

I see the exactly same symptom when I try to boot for example from USB using images from other linux distros.

But for some reason, arch linux installation image boots just fine.

So, to try and track down where this problem stems, what is the boot loader installed in the installation image? And what is the difference from the grub I've set up for the installed system? I'd try to install the very same boot loader in the SSD, but so far I've failed to find out what it is and how it is set-up. Any help to point out an arch newby in the right direction would be much appreciated.

Last edited by haphaeu (2017-12-02 21:23:31)

Offline

#2 2017-12-01 08:23:46

koffeinfriedhof
Member
Registered: 2017-11-30
Posts: 89

Re: [SOLVED] Blank screen during boot

Hi!

Could you check your arch USB drive for UEFI-Mode?
And I'll prefer systemd-boot (gummiboot) and would avoid grub, but that's just my favorite smile
Did you encrypt your installation? If yes: did you change the hooks for mkinitcpio?

Offline

#3 2017-12-01 09:35:41

haphaeu
Member
Registered: 2017-11-28
Posts: 10

Re: [SOLVED] Blank screen during boot

Hi, thanks for the suggestions.

koffeinfriedhof wrote:

Could you check your arch USB drive for UEFI-Mode?

USB flash drive has an EFI System partition, fat32, flagged boot, esp, and a folder called EFI. That's how the wiki recommends to check that. Not sure if there's a more accurate way of checking it?

And I'll prefer systemd-boot (gummiboot) and would avoid grub, but that's just my favorite smile

I can give systemd-boot a try. I would like to confirm first which boot loader comes installed in the ISO, since that is known to work.

Did you encrypt your installation? If yes: did you change the hooks for mkinitcpio?

No, nothing is encrypted.


By the way, my laptop came with Windows 10 Home installed in an eMMC SSD. I'll just leave that drive untouched and install arch and arch bootloader in a separated SSD. Rarely when need to go in Windows, I can just go into setup and change boot device. So no need for real dual-boot here.

Last edited by haphaeu (2017-12-01 09:36:48)

Offline

#4 2017-12-01 16:33:12

koffeinfriedhof
Member
Registered: 2017-11-30
Posts: 89

Re: [SOLVED] Blank screen during boot

Can you chroot into the installed system and get access to the logs?

dmesg

and

journalctl -xp err

would be most insteresting I think. And of course we should check your graphics:

lspci -nnk | grep "VGA\|'Kern'\|3D\|Display" -A2 

You should also have a look at Kernel parameters, like acpi_osi=Linux or just to get access nomodeset (not recommended)

Offline

#5 2017-12-01 20:41:30

haphaeu
Member
Registered: 2017-11-28
Posts: 10

Re: [SOLVED] Blank screen during boot

So, some debugging output, and hoping to be more in-line with the forum rules.

Below is my system:

  • mmcblk0 is the eMMC SSD, embedded in the laptop, which has windows 10 installed. I'll just leave it as it is. p1 is the EFI boot for windows.

  • sda is the SSD where I'm trying to install arch.

    • sda1 - /boot

    • sda2 - /

    • sda3 - /var

    • sda4 - swap

    • sda5 - /home

  • sdb is the USB flash drive with the arch linux installation image

I'll try to compare how the working boot loader from sdb compares to the non-working one in sda.

# fdisk -l

Disk /dev/mmcblk0: 29.1 GiB, 31268536320 bytes, 61071360 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: F0ACD543-F7D3-4937-A28F-1DE26073CCEC

Device            Start      End  Sectors  Size Type
/dev/mmcblk0p1     2048   206847   204800  100M EFI System
/dev/mmcblk0p2   206848   239615    32768   16M Microsoft reserved
/dev/mmcblk0p3   239616 60086271 59846656 28.6G Microsoft basic data
/dev/mmcblk0p4 60086272 61069311   983040  480M Windows recovery environment


Disk /dev/mmcblk0boot1: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/mmcblk0boot0: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/sda: 119.2 GiB, 128035676160 bytes, 250069680 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: DE3517AB-44A1-4D57-8F19-7E108C6FAA5D

Device        Start       End   Sectors  Size Type
/dev/sda1      2048   1050623   1048576  512M EFI System
/dev/sda2   1050624  42993663  41943040   20G Linux filesystem
/dev/sda3  42993664  68159487  25165824   12G Linux filesystem
/dev/sda4  68159488  72353791   4194304    2G Linux swap
/dev/sda5  72353792 240125951 167772160   80G Linux filesystem


Disk /dev/sdb: 14.6 GiB, 15664676864 bytes, 30595072 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x5329baec

Device     Boot Start     End Sectors  Size Id Type
/dev/sdb1  *        0 1071103 1071104  523M  0 Empty
/dev/sdb2         164  131235  131072   64M ef EFI (FAT-12/16/32)


Disk /dev/loop0: 408.5 MiB, 428281856 bytes, 836488 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

And the output from mounted partitions (with the installation image booted), and I have manually mounted mmcblk0p3 to /root/win to see what is in there.

proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
sys on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
dev on /dev type devtmpfs (rw,nosuid,relatime,size=1925708k,nr_inodes=481427,mode=755)
run on /run type tmpfs (rw,nosuid,nodev,relatime,mode=755)
efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)
/dev/sdb1 on /run/archiso/bootmnt type iso9660 (ro,relatime,nojoliet,check=s,map=n,blocksize=2048)
cowspace on /run/archiso/cowspace type tmpfs (rw,relatime,size=262144k,mode=755)
/dev/loop0 on /run/archiso/sfs/airootfs type squashfs (ro,relatime)
airootfs on / type overlay (rw,relatime,lowerdir=/run/archiso/sfs/airootfs,upperdir=/run/archiso/cowspace/persistent_ARCH_201711/x86_64/upperdir,workdir=/run/archiso/cowspace/persistent_ARCH_201711/x86_64/workdir,index=off)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup on /sys/fs/cgroup/unified type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,name=systemd)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=26,pgrp=1,timeout=0,minproto=5,maxproto=5,direct)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev)
mqueue on /dev/mqueue type mqueue (rw,relatime)
configfs on /sys/kernel/config type configfs (rw,relatime)
tmpfs on /etc/pacman.d/gnupg type tmpfs (rw,relatime,mode=755)
tmpfs on /run/user/0 type tmpfs (rw,nosuid,nodev,relatime,size=389640k,mode=700)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
/dev/mmcblk0p3 on /root/win type fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other,blksize=4096)

So, in the installer image, the boot partition /dev/sdb1 mounted to /run/archiso/bootmnt has:

# ls -R /run/archiso/bootmnt:
arch
EFI
isolinux
loader

/run/archiso/bootmnt/arch:
boot
pkglist.x86_64.txt
x86_64

/run/archiso/bootmnt/arch/boot:
intel_ucode.img
intel_ucode.LICENSE
memtest
memtest.COPYING
syslinux
x86_64

/run/archiso/bootmnt/arch/boot/syslinux:
archiso.cfg
archiso_head.cfg
archiso_pxe.cfg
archiso_sys.cfg
archiso_tail.cfg
cat.c32
chain.c32
cmd.c32
cmenu.c32
config.c32
cptime.c32
cpu.c32
cpuid.c32
cpuidtest.c32
debug.c32
dhcp.c32
disk.c32
dmi.c32
dmitest.c32
elf.c32
ethersel.c32
gfxboot.c32
gpxecmd.c32
hdt
hdt.c32
hexdump.c32
host.c32
ifcpu64.c32
ifcpu.c32
ifmemdsk.c32
ifplop.c32
kbdmap.c32
kontron_wdt.c32
ldlinux.c32
lfs.c32
libcom32.c32
libgpl.c32
liblua.c32
libmenu.c32
libutil.c32
linux.c32
lpxelinux.0
ls.c32
lua.c32
mboot.c32
memdisk
meminfo.c32
menu.c32
pci.c32
pcitest.c32
pmload.c32
poweroff.c32
prdhcp.c32
pwd.c32
pxechn.c32
reboot.c32
rosh.c32
sanboot.c32
sdi.c32
splash.png
sysdump.c32
syslinux.c32
syslinux.cfg
vesa.c32
vesainfo.c32
vesamenu.c32
vpdtest.c32
whichsys.c32
zzjson.c32

/run/archiso/bootmnt/arch/boot/syslinux/hdt:
modalias.gz
pciids.gz

/run/archiso/bootmnt/arch/boot/x86_64:
archiso.img
vmlinuz

/run/archiso/bootmnt/arch/x86_64:
airootfs.md5
airootfs.sfs
airootfs.sfs.sig

/run/archiso/bootmnt/EFI:
archiso
boot
shellx64_v1.efi
shellx64_v2.efi

/run/archiso/bootmnt/EFI/archiso:
efiboot.img

/run/archiso/bootmnt/EFI/boot:
bootx64.efi
HashTool.efi
loader.efi

/run/archiso/bootmnt/isolinux:
boot.cat
isohdpfx.bin
isolinux.bin
isolinux.cfg
ldlinux.c32

/run/archiso/bootmnt/loader:
entries
loader.conf

/run/archiso/bootmnt/loader/entries:
archiso-x86_64.conf
uefi-shell-v1-x86_64.conf
uefi-shell-v2-x86_64.conf

And the other patition in the installer image /dev/sdb2 has:

# mount /dev/sdb2 /root/tmp
# ls -R /root/tmp

EFI
loader
System Volume Information

tmp/EFI:
archiso
boot
shellx64_v1.efi
shellx64_v2.efi

tmp/EFI/archiso:
archiso.img
intel_ucode.img
vmlinuz.efi

tmp/EFI/boot:
bootx64.efi
HashTool.efi
loader.efi

tmp/loader:
entries
loader.conf

tmp/loader/entries:
archiso-x86_64.conf
uefi-shell-v1-x86_64.conf
uefi-shell-v2-x86_64.conf

tmp/System Volume Information:
IndexerVolumeGuid
WPSettings.dat

The files under the loader directory are:

# cat loader/loader.conf
timeout 3
default archiso-x86_64

# cat loader/entries/archiso-x86_64.conf
title   Arch Linux archiso x86_64 UEFI CD
linux   /EFI/archiso/vmlinuz.efi
initrd  /EFI/archiso/intel_ucode.img
initrd  /EFI/archiso/archiso.img
options archisobasedir=arch archisolabel=ARCH_201711

The options listed in loader/entries/ is what I see when boot from the USB installation image. And that works when the default is chosen.

Good. So now into the installation which doesn't boot...

The boot partition has this:

# mount /dev/sda1 /mnt/boot
# ls -R /mnt/boot

.:
EFI
grub
initramfs-linux-fallback.img
initramfs-linux.img
intel-ucode.img
vmlinuz-linux

./EFI:
boot
grub

./EFI/boot:
grubx64.efi

./EFI/grub:
grubx64.efi

./grub:
fonts
grub.cfg
grub.cfg.example
grubenv
locale
themes
x86_64-efi

./grub/fonts:
unicode.pf2

./grub/locale:
[i]lots of files[/i]

./grub/themes:
starfield

./grub/themes/starfield:
[i]lfiles...[/i]

./grub/x86_64-efi:
acpi.mod
adler32.mod
affs.mod
afs.mod
ahci.mod
all_video.mod
aout.mod
appleldr.mod
archelp.mod
ata.mod
at_keyboard.mod
backtrace.mod
bfs.mod
bitmap.mod
bitmap_scale.mod
blocklist.mod
boot.mod
boottime.mod
bsd.mod
bswap_test.mod
btrfs.mod
bufio.mod
cacheinfo.mod
cat.mod
cbfs.mod
cbls.mod
cbmemc.mod
cbtable.mod
cbtime.mod
chain.mod
cmdline_cat_test.mod
cmp.mod
cmp_test.mod
command.lst
configfile.mod
core.efi
cpio_be.mod
cpio.mod
cpuid.mod
crc64.mod
cryptodisk.mod
crypto.lst
crypto.mod
cs5536.mod
ctz_test.mod
datehook.mod
date.mod
datetime.mod
diskfilter.mod
disk.mod
div.mod
div_test.mod
dm_nv.mod
echo.mod
efifwsetup.mod
efi_gop.mod
efinet.mod
efi_uga.mod
ehci.mod
elf.mod
eval.mod
exfat.mod
exfctest.mod
ext2.mod
extcmd.mod
fat.mod
file.mod
fixvideo.mod
font.mod
fshelp.mod
fs.lst
functional_test.mod
gcry_arcfour.mod
gcry_blowfish.mod
gcry_camellia.mod
gcry_cast5.mod
gcry_crc.mod
gcry_des.mod
gcry_dsa.mod
gcry_idea.mod
gcry_md4.mod
gcry_md5.mod
gcry_rfc2268.mod
gcry_rijndael.mod
gcry_rmd160.mod
gcry_rsa.mod
gcry_seed.mod
gcry_serpent.mod
gcry_sha1.mod
gcry_sha256.mod
gcry_sha512.mod
gcry_tiger.mod
gcry_twofish.mod
gcry_whirlpool.mod
geli.mod
gettext.mod
gfxmenu.mod
gfxterm_background.mod
gfxterm_menu.mod
gfxterm.mod
gptsync.mod
grub.efi
gzio.mod
halt.mod
hashsum.mod
hdparm.mod
hello.mod
help.mod
hexdump.mod
hfs.mod
hfspluscomp.mod
hfsplus.mod
http.mod
iorw.mod
iso9660.mod
jfs.mod
jpeg.mod
keylayouts.mod
keystatus.mod
ldm.mod
legacycfg.mod
legacy_password_test.mod
linux16.mod
linux.mod
loadbios.mod
loadenv.mod
loopback.mod
lsacpi.mod
lsefimmap.mod
lsefi.mod
lsefisystab.mod
lsmmap.mod
ls.mod
lspci.mod
lssal.mod
luks.mod
lvm.mod
lzopio.mod
macbless.mod
macho.mod
mdraid09_be.mod
mdraid09.mod
mdraid1x.mod
memdisk.mod
memrw.mod
minicmd.mod
minix2_be.mod
minix2.mod
minix3_be.mod
minix3.mod
minix_be.mod
minix.mod
mmap.mod
moddep.lst
modinfo.sh
morse.mod
mpi.mod
msdospart.mod
mul_test.mod
multiboot2.mod
multiboot.mod
nativedisk.mod
net.mod
newc.mod
nilfs2.mod
normal.mod
ntfscomp.mod
ntfs.mod
odc.mod
offsetio.mod
ohci.mod
part_acorn.mod
part_amiga.mod
part_apple.mod
part_bsd.mod
part_dfly.mod
part_dvh.mod
part_gpt.mod
partmap.lst
part_msdos.mod
part_plan.mod
part_sun.mod
part_sunpc.mod
parttool.lst
parttool.mod
password.mod
password_pbkdf2.mod
pata.mod
pbkdf2.mod
pbkdf2_test.mod
pcidump.mod
play.mod
png.mod
priority_queue.mod
probe.mod
procfs.mod
progress.mod
raid5rec.mod
raid6rec.mod
random.mod
read.mod
reboot.mod
regexp.mod
reiserfs.mod
relocator.mod
romfs.mod
scsi.mod
search_fs_file.mod
search_fs_uuid.mod
search_label.mod
search.mod
serial.mod
setjmp.mod
setjmp_test.mod
setpci.mod
sfs.mod
shift_test.mod
signature_test.mod
sleep.mod
sleep_test.mod
spkmodem.mod
squash4.mod
syslinuxcfg.mod
tar.mod
terminal.lst
terminal.mod
terminfo.mod
test_blockarg.mod
testload.mod
test.mod
testspeed.mod
tftp.mod
tga.mod
time.mod
trig.mod
tr.mod
true.mod
udf.mod
ufs1_be.mod
ufs1.mod
ufs2.mod
uhci.mod
usb_keyboard.mod
usb.mod
usbms.mod
usbserial_common.mod
usbserial_ftdi.mod
usbserial_pl2303.mod
usbserial_usbdebug.mod
usbtest.mod
verify.mod
video_bochs.mod
video_cirrus.mod
video_colors.mod
video_fb.mod
videoinfo.mod
video.lst
video.mod
videotest_checksum.mod
videotest.mod
xfs.mod
xnu.mod
xnu_uuid.mod
xnu_uuid_test.mod
xzio.mod
zfscrypt.mod
zfsinfo.mod
zfs.mod

And finally the cumbersome grub.conf:

#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
insmod part_gpt
insmod part_msdos
if [ -s $prefix/grubenv ]; then
  load_env
fi
if [ "${next_entry}" ] ; then
   set default="${next_entry}"
   set next_entry=
   save_env next_entry
   set boot_once=true
else
   set default="0"
fi

if [ x"${feature_menuentry_id}" = xy ]; then
  menuentry_id_option="--id"
else
  menuentry_id_option=""
fi

export menuentry_id_option

if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
  fi
}

function load_video {
  if [ x$feature_all_video_module = xy ]; then
    insmod all_video
  else
    insmod efi_gop
    insmod efi_uga
    insmod ieee1275_fb
    insmod vbe
    insmod vga
    insmod video_bochs
    insmod video_cirrus
  fi
}

if [ x$feature_default_font_path = xy ] ; then
   font=unicode
else
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  e9bbaf46-d8fd-4d0d-b54c-c558ded7db96
else
  search --no-floppy --fs-uuid --set=root e9bbaf46-d8fd-4d0d-b54c-c558ded7db96
fi
    font="/usr/share/grub/unicode.pf2"
fi

if loadfont $font ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=en_US
  insmod gettext
fi
terminal_input console
terminal_output gfxterm
if [ x$feature_timeout_style = xy ] ; then
  set timeout_style=menu
  set timeout=5
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
  set timeout=5
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Arch Linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-e9bbaf46-d8fd-4d0d-b54c-c558ded7db96' {
	load_video
	set gfxpayload=keep
	insmod gzio
	insmod part_gpt
	insmod fat
	set root='hd0,gpt1'
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1  6043-A4DD
	else
	  search --no-floppy --fs-uuid --set=root 6043-A4DD
	fi
	echo	'Loading Linux linux ...'
	linux	/vmlinuz-linux root=UUID=e9bbaf46-d8fd-4d0d-b54c-c558ded7db96 rw  quiet
	echo	'Loading initial ramdisk ...'
	initrd  /intel-ucode.img /initramfs-linux.img
}
submenu 'Advanced options for Arch Linux' $menuentry_id_option 'gnulinux-advanced-e9bbaf46-d8fd-4d0d-b54c-c558ded7db96' {
	menuentry 'Arch Linux, with Linux linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-advanced-e9bbaf46-d8fd-4d0d-b54c-c558ded7db96' {
		load_video
		set gfxpayload=keep
		insmod gzio
		insmod part_gpt
		insmod fat
		set root='hd0,gpt1'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1  6043-A4DD
		else
		  search --no-floppy --fs-uuid --set=root 6043-A4DD
		fi
		echo	'Loading Linux linux ...'
		linux	/vmlinuz-linux root=UUID=e9bbaf46-d8fd-4d0d-b54c-c558ded7db96 rw  quiet
		echo	'Loading initial ramdisk ...'
		initrd  /intel-ucode.img /initramfs-linux.img
	}
	menuentry 'Arch Linux, with Linux linux (fallback initramfs)' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-fallback-e9bbaf46-d8fd-4d0d-b54c-c558ded7db96' {
		load_video
		set gfxpayload=keep
		insmod gzio
		insmod part_gpt
		insmod fat
		set root='hd0,gpt1'
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1  6043-A4DD
		else
		  search --no-floppy --fs-uuid --set=root 6043-A4DD
		fi
		echo	'Loading Linux linux ...'
		linux	/vmlinuz-linux root=UUID=e9bbaf46-d8fd-4d0d-b54c-c558ded7db96 rw  quiet
		echo	'Loading initial ramdisk ...'
		initrd  /intel-ucode.img /initramfs-linux-fallback.img
	}
}

### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f  ${config_directory}/custom.cfg ]; then
  source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###

So one thing even a newby like me can tell is that the install image doesn't use grub.

One thing I can't understand is why the installer has all those .c32 modules, while the installed system has .mod modules.

Anyway, I'll try next to switch from grub into another boot loader to test.

Would system-d be a good option?

Any other hint why the system installed into sda doesn't boot?

Last edited by haphaeu (2017-12-01 21:04:12)

Offline

#6 2017-12-02 16:03:27

haphaeu
Member
Registered: 2017-11-28
Posts: 10

Re: [SOLVED] Blank screen during boot

Problem solved by using systemd instead of grub! big_smile

After booting with the USB flash drive, mounting all the partitions to /mnt and chroot'ing into it, I've just did a bootctl install, created an Arch Linux entry for the loader, deleted all the grub files from the /boot partition, and the system booted ok.

Last edited by haphaeu (2017-12-02 16:03:47)

Offline

#7 2017-12-02 18:54:27

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] Blank screen during boot

Please remember to mark your thread as [Solved] by editing your first post and prepending it to the title.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB