You are not logged in.

#26 2016-01-19 05:01:23

progandy
Member
Registered: 2012-05-17
Posts: 5,184

Re: ArchLinux i686 Install Issue on Nextbook Tablet via USB bootup ArchISO

Installing for x86_64-efi platform.

You are using the wrong target, you need "i386-efi" I think.

Last edited by progandy (2016-01-19 05:02:04)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Online

#27 2016-01-19 22:46:41

RED2
Member
Registered: 2015-12-24
Posts: 18

Re: ArchLinux i686 Install Issue on Nextbook Tablet via USB bootup ArchISO

You are using the wrong target, you need "i386-efi" I think.

Ah, 32 bit UEFI bootloader, makes sense, thank you.

Mount Points:
/dev/mmcblk0p2 /mnt
/dev/mmcblk0p1 /mnt/boot

arch-chroot /mnt /bin/bash

Successful command, now at arch-chroot root prompt.

pacman -S linux

Successful command, updated archlinux distro 4.3.3, produced files at /boot/vmlinuz-linux, /boot/initramfs-linux.img, and /boot/initramfs-linux-fallback.img

Exited arch-chroot /mnt.
Return to USB ArchLinux 4.2.5 root@archiso prompt.

genfstab -U -p /mnt >> /mnt/etc/fstab

Successful command, produced file at /etc/fstab, containing the /dev/mmcblk0p1 and /dev/mmcblk0p2 Label and UUID info, etc.

grub-install --target=i386-efi --efi-directory=/boot --bootloader-id=grub --recheck
Installing for i386-efi platform.
efibootmgr: EFI variables are not supported on this system.
efibootmgr: EFI variables are not supported on this system.
Installation finished. No error reported.

Successful command

Produced folders/files at /mnt/boot/grub
fonts < folder and files
i386-efi < folder and files
locale < folder and files
themes < folder and files
grub.cfg < file
grub.cfg.example < file

Here is the menu entries of grub.cfg pointer to the /boot/vmlinuz-linux
UUID replaced with xxxxxxxxxx

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Arch Linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-xxxxxxxxxx' {
	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  xxxx-xxxx
	else
	  search --no-floppy --fs-uuid --set=root xxxx-xxxx
	fi
	echo	'Loading Linux linux ...'
	linux	/vmlinuz-linux root=UUID=xxxxxxxxxx rw  quiet
	echo	'Loading initial ramdisk ...'
	initrd	 /initramfs-linux.img
}
submenu 'Advanced options for Arch Linux' $menuentry_id_option 'gnulinux-advanced-xxxxxxxxxx' {
	menuentry 'Arch Linux, with Linux linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-advanced-xxxxxxxxxx' {
		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  xxxx-xxxx
		else
		  search --no-floppy --fs-uuid --set=root xxxx-xxxx
		fi
		echo	'Loading Linux linux ...'
		linux	/vmlinuz-linux root=UUID=xxxxxxxxxx rw  quiet
		echo	'Loading initial ramdisk ...'
		initrd	 /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-xxxxxxxxxx' {
		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  xxxx-xxxx
		else
		  search --no-floppy --fs-uuid --set=root xxxx-xxxx
		fi
		echo	'Loading Linux linux ...'
		linux	/vmlinuz-linux root=UUID=xxxxxxxxxx rw  quiet
		echo	'Loading initial ramdisk ...'
		initrd	 /initramfs-linux-fallback.img
	}
}

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

Successful command

Reboot Nextbook tablet w/o USB ArchLinux 4.2.5

Msg: No Bootloader Found

Manual intervention navigate to boot file at /boot/EFI/grub

Select 'grubia32.efi', activate this boot file.

Grub menu appears, select the ArchLinux menu entry.

ArchLinux 4.3.3 begins to load, when login prompt appears, then screen disappears, goes blank.

Unable to login or revive the screen, forced to power off device and shutdown.

Boot up using the USB ArchLinux 4.2.5 to investigate and determine why screen disappears and no efi bootloader at boot up, re-analyzing bootloader and grub set up.

Last edited by RED2 (2016-01-20 03:20:23)

Offline

#28 2016-01-20 03:20:05

RED2
Member
Registered: 2015-12-24
Posts: 18

Re: ArchLinux i686 Install Issue on Nextbook Tablet via USB bootup ArchISO

UPDATE Thursday 21 JAN 2016
R&D for proper next steps via ARCHWIKI BACKLIGHT and INTEL GRAPHICS

The tablet efi bootloader is fixed, mkdir /boot/EFI/boot, cp grubia32.efi as bootia32.efi to here, cp grub.cfg to here.

Tablet drive, ie: MMC=/dev/mmcblk0p2

Boot up is successful, grub menu selection ArchLinux 4.3.3 MMC, startup finished in 39ms, appears to arrive at login prompt, 1 sec later screen goes blank.

Notes from MMC 4.3.3
Journalctl -b reveals possible issues with video, audio, network, and likely more things awry.

localhost kernel: drm:pwm_setup_backlight i915 failed to own the pwm chip
localhost kernel: byt-rt5640 ASoC: CPU DAI baytrail-pcm-audio not registered
Call Trace:
(too large for post)
End Call Trace:
localhost kernel: Console switching to colour frame buffer device 160x50
localhost systemd: Starting load/save screen backlight brightness of backlight acpi_video0
localhost systemd: Started session c1 of user root.
...
localhost systemd: Started User Manager for UID 0
localhost login: ROOT LOGIN on tty1
localhost passwd: pam_unix: password changed for root

After the last three lines from Journalctl -b, the screen flash red colour then goes blank, must power off device, and further analysis from USB ArchLinux 4.2.5.

UPDATE Thursday 21 JAN 2016
R&D for proper next steps via ARCHWIKI BACKLIGHT and INTEL GRAPHICS

Last edited by RED2 (2016-01-22 04:05:43)

Offline

Board footer

Powered by FluxBB