You are not logged in.
Hi,
I just bought my new laptop Acer Aspire v3-571-33114G50MaliMFG and want to install on it Arch Linux.
It came with Linpus operating system, but now it's gone because I tried to install Arch Linux once or twice.
My installations was unsuccessful.
I was following the steps here:
Beginners' Guide
The steps that I did was:
By using an USB Stick I can boot the Arch Linux Live and I choosed Boot Arch Linux (i686), however, when I choosed Boot Arch Linux (x86_64) the installation was unsuccessful too.
# loadkeys hu
# setfont Lat2-Terminus16
# nano /etc/locale.gen
hu_HU.UTF-8 UTF-8
# locale-gen
# export hu_HU.UTF-8
# ping -c 3 www.google.com
It was successfull, I canr reach the Internet.
Now the disk partitioning.
I tried fdisk, cfdisk, gdisk for this job and create partitions on my /dev/sda:
/dev/sda1 Linux 30GB
/dev/sda2 swap 2GB
/dev/sda3 Linux the rest of the disk
Then:
# mkfs.ext4 /dev/sda1
# mkfs.ext4 /dev/sda3
# mkswap /dev/sda2
# swapon /dev/sda2
# mount /dev/sda1 /mnt
# mkdir /mnt/home
# mount /dev/sda3 /mnt/home
Selected a mirror..
# pacstrap -i /mnt base
# genfstab -U -p /mnt >> /mnt/etc/fstab
# nano /mnt/etc/fstab
# arch-chroot /mnt
# nano /etc/locale.gen
hu_HU.UTF-8 UTF-8
# locale-gen
# echo LANG=hu_HU.UTF-8 > /etc/locale.conf
# export LANG=hu_HU.UTF-8
# loadkeys hu
# setfont Lat2-Terminus16
# nano /etc/vconsole.conf
KEYMAP=hu
FONT=Lat2-Terminus16
# ln -s /usr/share/zoneinfo/Europe/Budapest /etc/localtime
# hwclock --systohc --utc
# systemctl enable dhcpcd.service
Did set the root password.
# pacman -S syslinux
# syslinux-install_update -i -a -m
# nano /boot/syslinux/syslinux.cfg
In this file I set
APPEND root=/dev/sda1 rw
and for the fallback entry too.
# exit
# umount -R /mnt
# reboot
I remove the USB Stick quickly.
Now the Laptop hangs forever, and I can't to do anything.
What am I missing?
Regards, Pal
Last edited by csanyipal (2013-11-01 05:23:17)
Offline
What is printed in the console after the boot?
Offline
What is printed in the console after the boot?
Nothing, I can see only a cursor in the upper left corner of the empty screen.
I forgot to mention one message that I get at installation when did run the command:
# syslinux-install_update -i -a -m
Syslinux BIOS install successful
FAILED to set attribute Legacy BIOS Bootable on /dev/sda1
Offline
I forgot to mention one message that I get at installation when did run the command:
# syslinux-install_update -i -a -mSyslinux BIOS install successful
FAILED to set attribute Legacy BIOS Bootable on /dev/sda1
That is very likely the cause of your problem.
try booting with the install usb stick again, then use cfdisk to manually set sda1 as bootable.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
csanyipal wrote:I forgot to mention one message that I get at installation when did run the command:
# syslinux-install_update -i -a -mSyslinux BIOS install successful
FAILED to set attribute Legacy BIOS Bootable on /dev/sda1That is very likely the cause of your problem.
try booting with the install usb stick again, then use cfdisk to manually set sda1 as bootable.
I did so but after reboot I get again only a blank screen with a blinking cursor at upper left corner.
Now I red the Partitioning
and did the following in 'gdisk /dev/sda'
created a new empty GUID partition table with the 'o' command
created a new /boot partition ( 300 MiB ) and enabled Legacy BIOS Bootable partition attribute for that partition
created a new root partition ( 30 GiB )
created a new swap partition ( 820 MiB )
created a new home partition ( 435 GiB )
wrote the partition table to the disk.
Now I'm going to install the base Arch system. I think that that this time it should be successfull.
Last edited by csanyipal (2013-11-01 19:59:07)
Offline
Lone_Wolf wrote:csanyipal wrote:I forgot to mention one message that I get at installation when did run the command:
# syslinux-install_update -i -a -mSyslinux BIOS install successful
FAILED to set attribute Legacy BIOS Bootable on /dev/sda1That is very likely the cause of your problem.
try booting with the install usb stick again, then use cfdisk to manually set sda1 as bootable.
I did so but after reboot I get again only a blank screen with a blinking cursor at upper left corner.
Now I red the Partitioning
and did the following in 'gdisk /dev/sda'
created a new empty GUID partition table with the 'o' command
created a new /boot partition ( 300 MiB ) and enabled Legacy BIOS Bootable partition attribute for that partition
created a new root partition ( 30 GiB )
created a new swap partition ( 820 MiB )
created a new home partition ( 435 GiB )
wrote the partition table to the disk.Now I'm going to install the base Arch system. I think that that this time it should be successfull.
I installed the base system and syslinux and again, after I did run the command '# syslinux-install_update -i -a -m'
I get again the message:
Syslinux BIOS install successful
FAILED to set attribute Legacy BIOS Bootable on /dev/sda1
However, I set this attribute to /dev/sda1 by using gdisk.
After reboot I get the following on the screen:
1.
Select CD-ROM Boot Type : and here a cursor blinking.
From here I can't go anywhere.
What am I missing?
Offline
Are you sure you set the attribute correctly? In gdisk you need to go into the expert menu, select a for the attribute option, choose the partition number and then select 2.
If you created the partition with type code EF02 instead, that isn't what you want.
Post the output of gdisk -l and your syslinux config.
Last edited by cfr (2013-11-02 04:35:55)
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
Are you sure you set the attribute correctly? In gdisk you need to go into the expert menu, select a for the attribute option, choose the partition number and then select 2.
If you created the partition with type code EF02 instead, that isn't what you want.
Post the output of gdisk -l and your syslinux config.
I'm sure I set the attribute correctly. I did it exactly as you mentioned abowe: in expert mode (x) I select (a) for the attribute option, choose the partition number (1) and then select legacy BIOS bootable (2).
I created the partition with type code 8300.
The output of 'gdisk -l /dev/sda' is:
GPT fdisk (gdisk) version 0.8.7
Partition table scan:
MBR: protective
BSD: not present
APM: not present
GPT: present
Found valid GPT with protective MBR; using GPT.
Disk /dev/sda: 976773168 sectors, 465.8 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): a large number here
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 976773134
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 616447 300.0 MiB 8300 boot
2 616448 63531007 30.0 GiB 8300 root
3 63531008 65210367 820.0 MiB 8200 swap
4 65210368 976773134 434.7 GiB 8300 home
My /boot/syslinux/syslinux.cfg is:
DEFAULT arch
PROPMT 0
TIMEOUT 50
UI menu.c32
MENU TITLE Arch Linux
Here are the MENU COLORs lines
# boot sections follow
LABEL arch
MENU LABEL Arch Linux
LINUX ../vmlinuz-linux
APPEND root=/dev/sda2 rw
INITRD ../initramfs-linux.img
LABEL archfallback
MENU LABEL Arch Linux Fallback
LINUX ../vmlinuz-linux
APPEND root=/dev/sda2 rw
INITRD ../initramfs-linux-fallback.img
LABEL hdt
MENU LABEL HDT (Hardware Detection Tool)
COM32 hdt.c32
LABEL reboot
MENU LABEL Reboot
COM32 reboot.c32
LABEL powreoff
MENU LABEL Poweroff
COM32 poweroff.c32
(END)
Last edited by csanyipal (2013-11-02 07:41:27)
Offline
Please learn how to use code tags when pasting to the boards:
https://wiki.archlinux.org/index.php/Fo … s_and_Code
Offline
I solve the installation problem by installing grub, and by following this guides:
Choosing_between_GPT_and_MBR
GRUB
Regards, from Pal
Offline