You are not logged in.

#26 2015-04-26 13:11:37

volumetricsteve
Member
Registered: 2014-09-08
Posts: 50
Website

Re: General procedure issue with GPT/UEFI install

Point taken.

Proceeding with dropboxed file...
hopefully wget pans out here.

Offline

#27 2015-04-26 14:06:09

arch9699
Member
Registered: 2015-02-04
Posts: 8

Re: General procedure issue with GPT/UEFI install

what caught my attention in this thread is the motherboard the OP is using.  I have a home built system using M5A97 LE R2.0.  I did not follow the link mentioned in the thread  to set up my system.

Not a single problem so far.  My system is running Windows 8.1, Arch, and a few more, all in UEFI/GPT mode.

If the OP is willing to take the risk, I would suggest flashing the BIOS to the latest.  I am using AMI UEFI BIOS 2501.  (This is the latest. I just checked the ASUS site.)

I did have some issues with the original BIOS that came with the board.  A user at the web site where I purchased this board recommended upgrading the bios.
The problem with efibootmgr went away after I flashed the BIOS.

So far, I am very impressed with this board.

Offline

#28 2015-04-26 15:47:59

volumetricsteve
Member
Registered: 2014-09-08
Posts: 50
Website

Re: General procedure issue with GPT/UEFI install

Interesting....perhaps the process is more flexible than I thought, but I FINALLY GOT IT.  (I think I have the overclocker's version of your board or there's some other minor difference) 

My M5A97 R2.0 now boots in about 3 seconds.

My entire procedure is listed below:

parted /dev/sda
mklabel gpt
mkpart ESP fat32 1MiB 513MiB
set 1 boot on
mkpart primary ext4 513MiB 100%
quit
mkfs.vfat -F32 /dev/sda1
mkfs.ext4 /dev/sda2
mount /dev/sda2 /mnt
mkdir -p /mnt/boot
mount /dev/sda1 /mnt/boot
pacstrap -i /mnt base base-devel
genfstab -U -p /mnt >> /mnt/etc/fstab
check fstab with 'nano /mnt/etc/fstab'
arch-chroot /mnt /bin/bash
locale-gen
echo LANG=en_US.UTF-8 > /etc/locale.conf
export LANG=en_US.UTF-8
hwclock --systohc --utc
echo SomeHostname > /etc/hostname
echo SomeHostname > /etc/hosts
systemctl enable dhcpcd@enp0s3.service
passwd
pacman -S grub os-prober efibootmgr
mkdir -p /boot/efi
mount -t vfat /dev/sda1 /boot/efi
modprobe dm-mod
grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=arch_grub --recheck --debug
mkdir -p /boot/grub/locale
cp /usr/share/locale/en\@quot/LC_MESSAGES/grub.mo /boot/grub/locale/en.mo
grub-mkconfig -o /boot/grub/grub.cfg
pacman -S wget zip unzip
cd ~
wget http://dl.dropbox.com/u/17629062/Shell2.zip
unzip Shell2.zip
cp ~/Shell2/UefiShellX64.efi /boot/efi/shellx64.efi
reboot
F2 to get into ASUS's pre-boot GUI
Shell> bcfg boot add 3 fs1:\EFI\Arch_Grub\grubx64.efi "Arch_Grub"
Shell> bcfg boot dump -v
reboot
pacman -Syyu

These surely won't work for everyone as they not just specific to my board, but they're also specific to my ssd.  I hope these help people get over some installation hurdles.

Last edited by volumetricsteve (2015-04-26 15:48:34)

Offline

Board footer

Powered by FluxBB