You are not logged in.

#1 2015-09-03 15:53:40

alanxoc3
Member
Registered: 2015-09-03
Posts: 17

[SOLVED] Asus x205ta laptop/netbook no boot after install (UEFI)

I'm new to the forum, but have used arch linux multiple times in the past. I purchased an ASUS x205ta a couple days ago and planned on installing arch. I am at the point where I completed the beginner's guide and have tried everything I could think of to boot up my system.

My problem is that I successfully completed the install, but my computer will not boot up after a reboot.

Here is the output of the lsblk command, not arch-chrooted. Everything is mounted correctly.

$ lsblk
NAME            MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda               8:0    1   7.5G  0 disk 
└─sda1            8:1    1   7.5G  0 part /run/archiso/bootmnt
sdb               8:16   1   3.8G  0 disk 
└─sdb1            8:17   1   3.8G  0 part /mnt/flashDrive
loop0             7:0    0 282.8M  1 loop /run/archiso/sfs/airootfs
loop1             7:1    0    32G  1 loop 
└─arch_airootfs 254:0    0    32G  0 dm   /
loop2             7:2    0   256M  0 loop 
└─arch_airootfs 254:0    0    32G  0 dm   /
mmcblk0rpmb     179:24   0     4M  0 disk 
mmcblk0boot0    179:8    0     4M  1 disk 
mmcblk0boot1    179:16   0     4M  1 disk 
mmcblk0         179:0    0  29.1G  0 disk 
├─mmcblk0p1     179:1    0   488M  0 part /mnt/boot
├─mmcblk0p2     179:2    0   977M  0 part 
├─mmcblk0p3     179:3    0  17.2G  0 part /mnt
└─mmcblk0p4     179:4    0  10.5G  0 part /mnt/home

Here is the gdisk command, which shows I have ef00, the ESP type labeled correctly.

$ gdisk /dev/mmcblk0
GPT fdisk (gdisk) version 1.0.0

Partition table scan:
  MBR: protective
  BSD: not present
  APM: not present
  GPT: present

Found valid GPT with protective MBR; using GPT.

Command (? for help): p
Disk /dev/mmcblk0: 61071360 sectors, 29.1 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): 4AC19D7E-E64E-4D12-A6EB-5D5758834592
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 61071326
Partitions will be aligned on 2048-sector boundaries
Total free space is 2014 sectors (1007.0 KiB)

Number  Start (sector)    End (sector)  Size       Code  Name
   1            2048         1001471   488.0 MiB   EF00  
   2         1001472         3002367   977.0 MiB   8200  
   3         3002368        39061503   17.2 GiB    8300  
   4        39061504        61071326   10.5 GiB    8300  Linux filesystem

Command (? for help):  ^c

Now the efibootmgr output. Everything looks good:

$ efibootmgr -v
BootCurrent: 0001
Timeout: 3 seconds
BootOrder: 0000,0001,0002,0003,0004
Boot0000* arch_grub	HD(1,GPT,1545a618-807f-451d-8da2-83ac99caa786,0x800,0xf4000)/File(\EFI\arch_grub\grubia32.efi)
Boot0001* UEFI: SanDisk Cruzer Facet 1.26	PciRoot(0x0)/Pci(0x14,0x0)/USB(2,0)/USB(1,0)/HD(1,GPT,6877b796-b928-444e-b714-c385ba421c23,0x800,0xee83df)..BO
Boot0002* UEFI:CD/DVD Drive	BBS(129,,0x0)
Boot0003* UEFI:Removable Device	BBS(130,,0x0)
Boot0004* UEFI:Network Device	BBS(131,,0x0)

One thing that I have noticed is that every time I reboot, my arch_grub boot profile gets deleted. As if it was never there. So I have to run "grub-install" and "grub-mkconfig" to update that in the efi manager every time I try to boot. The firmware is not showing my arch installation at all, so I cannot boot into it. My boot with the USB archiso works fine though.

I have tried grub and systemd, but neither have worked.

Finally, here are some websites I have delved deeply into, that I thought would help.
https://wiki.archlinux.org/index.php/GR … allation_2
https://bbs.archlinux.org/viewtopic.php?id=201896
https://wiki.archlinux.org/index.php/Microcode
https://wiki.archlinux.org/index.php/Asus_x205ta
http://ifranali.blogspot.com/2015/04/in … 205ta.html
https://wiki.archlinux.org/index.php/GU … tion_Table
https://www.happyassassin.net/2014/01/2 … work-then/

Thanks, any help is appreciated. This install is starting to drive me crazy!

Last edited by alanxoc3 (2015-09-04 17:21:59)

Offline

#2 2015-09-03 20:19:46

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 8,778
Website

Re: [SOLVED] Asus x205ta laptop/netbook no boot after install (UEFI)

Do you have an option to disable Secure Boot in your firmware ("BIOS") options?

There have been a few threads involving ASUS machines in which this could not be disabled without returning the firmware chip to the factory.

Have you tried systemd-boot (gummiboot) instead?
https://wiki.archlinux.org/index.php/Systemd-boot


Jin, Jîyan, Azadî

Offline

#3 2015-09-03 21:15:44

alanxoc3
Member
Registered: 2015-09-03
Posts: 17

Re: [SOLVED] Asus x205ta laptop/netbook no boot after install (UEFI)

I did try "gummiboot" before and I just tried it again thinking that it would be different after I installed the "intel-ucode" package. But still doesn't work. My secure boot setting is off, otherwise I don't know how I would be able to boot up the flash drive.

Offline

#4 2015-09-03 21:29:11

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 8,778
Website

Re: [SOLVED] Asus x205ta laptop/netbook no boot after install (UEFI)

alanxoc3 wrote:

My secure boot setting is off, otherwise I don't know how I would be able to boot up the flash drive.

The Arch live ISO works just fine with Secure Boot enabled wink

Post your configuration files.


Jin, Jîyan, Azadî

Offline

#5 2015-09-03 22:19:04

alanxoc3
Member
Registered: 2015-09-03
Posts: 17

Re: [SOLVED] Asus x205ta laptop/netbook no boot after install (UEFI)

Okay, here is my grub.cfg file when I tried grub. I don't know where a Systemd config file would be, if it has one.

#
# 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
if [ x$feature_platform_search_hint = xy ]; then
  search --no-floppy --fs-uuid --set=root  060b9ae1-a786-48e4-bce1-1f7d91f4f659
else
  search --no-floppy --fs-uuid --set=root 060b9ae1-a786-48e4-bce1-1f7d91f4f659
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-060b9ae1-a786-48e4-bce1-1f7d91f4f659' {
	load_video
	set gfxpayload=keep
	insmod gzio
	insmod part_gpt 
	insmod fat
	if [ x$feature_platform_search_hint = xy ]; then
	  search --no-floppy --fs-uuid --set=root  186C-ED18
	else
	  search --no-floppy --fs-uuid --set=root 186C-ED18
	fi
	echo	'Loading Linux linux ...'
	linux	/vmlinuz-linux root=UUID=060b9ae1-a786-48e4-bce1-1f7d91f4f659 rw  quiet
	echo	'Loading initial ramdisk ...'
	initrd	/intel-ucode.img /initramfs-linux.img
}
submenu 'Advanced options for Arch Linux' $menuentry_id_option 'gnulinux-advanced-060b9ae1-a786-48e4-bce1-1f7d91f4f659' {
	menuentry 'Arch Linux, with Linux linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-advanced-060b9ae1-a786-48e4-bce1-1f7d91f4f659' {
		load_video
		set gfxpayload=keep
		insmod gzio
		insmod part_gpt 
		insmod fat
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root  186C-ED18
		else
		  search --no-floppy --fs-uuid --set=root 186C-ED18
		fi
		echo	'Loading Linux linux ...'
		linux	/vmlinuz-linux root=UUID=060b9ae1-a786-48e4-bce1-1f7d91f4f659 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-060b9ae1-a786-48e4-bce1-1f7d91f4f659' {
		load_video
		set gfxpayload=keep
		insmod gzio
		insmod part_gpt 
		insmod fat
		if [ x$feature_platform_search_hint = xy ]; then
		  search --no-floppy --fs-uuid --set=root  186C-ED18
		else
		  search --no-floppy --fs-uuid --set=root 186C-ED18
		fi
		echo	'Loading Linux linux ...'
		linux	/vmlinuz-linux root=UUID=060b9ae1-a786-48e4-bce1-1f7d91f4f659 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 ###

### BEGIN /etc/grub.d/60_memtest86+ ###
### END /etc/grub.d/60_memtest86+ ###

Offline

#6 2015-09-03 23:01:55

alanxoc3
Member
Registered: 2015-09-03
Posts: 17

Re: [SOLVED] Asus x205ta laptop/netbook no boot after install (UEFI)

Oh, actually I think secure boot was on. This firmware is confusing. I'll try to turn it off and tell the results.

Offline

#7 2015-09-04 17:15:53

alanxoc3
Member
Registered: 2015-09-03
Posts: 17

Re: [SOLVED] Asus x205ta laptop/netbook no boot after install (UEFI)

IT WORKS!

My computer didn't recognize my EFI partition. I believe the problem was that I created a new GPT partition table instead of using the old one. Or that I had deleted the original EFI partition and didn't replace all the files that were there (eg ASUS folder). To fix it, I "dd"ed the backup I had saved in an .iso file of the original hard drive to my hard drive and used the original GPT partition table. Thanks for the suggestions. :)

Offline

Board footer

Powered by FluxBB