You are not logged in.

#1 2020-08-24 09:16:06

dddiiirrr3
Member
Registered: 2020-08-24
Posts: 1

install on laptop asus n56jr cn181h

Hello!
I try to install archlinux to this laptop and I cant do it.

I follow this https://wiki.archlinux.org/index.php/Installation_guide

I have two disks:
ssd - /dev/sdb
hdd - /dev/sda


I try to use this Partitions:


1) UEFI with GPT
UEFI part - 1G - sdb1
Linux root - 100G - sdb2
Linux swap - 16G - sdb3
Linux home - 750G - sdb4
Linux home - 900G - sda1


2) BIOS/GPT
BIOS boot - 1M - sdb1
Linux swap - 16G - sdb2
Linux root - 100G - sdb3
Linux home - 750G - sdb4
Linux home - 900G - sda1


In first partition I can install grub, but after reboot and removing usb live I take in to grub console

In second partition I cant install grub.
grub-install down with error: grub install error cannot find efi directory

Offline

#2 2020-08-27 00:08:44

enemysmasher
Member
Registered: 2020-08-25
Posts: 2

Re: install on laptop asus n56jr cn181h

The easiest way to go to MBR. If you don't have a disk or matrix above 2TB, GPT doesn't make sense.

you can choose one of them : UEFI or Legacy

So it should be enough:

1) UEFI for GPT

In the label type window, select GPT

choose 512 MiB of space (UEFI) -sdb1
Linux root - choose a least 40 GB (root) - sdb2
Linux swap - 16G - sdb3
Linux home - all the rest of the disk - sdb4
Linux data - 900G - sda1

The first partition is the UEFI partition. It needs to be formatted with a FAT file system:

mkfs.fat -F32 /dev/sdb1
mkfs.ext4 /dev/sdb2
mkswapon /dev/sdb3
swapon /dev/sdb3
mkfs.ext4 /dev/sdb4
mkfs.ext4 /dev/sda1

Create a folder to mount the home partition and mount it:

mount /dev/sdb2 /mnt
mkdir /mnt/home
mkdir /mnt/data
mount /dev/sdb4 /mnt/home
mount /dev/sda1 /mnt/data

Bootloader configuration is performed during the installation of the operating system.

Boot loader :
Install the GRUB bootloader and EFI boot manager packages:

pacman -S grub efibootmgr

Next, using these packages, install the bootlader on your system and generate its configuration files by running these commands one by one:

mkdir /boot/efi
mount /dev/sdb1 /boot/efi
grub-install --target=x86_64-efi --bootloader-id=GRUB --efi-directory=/boot/efi --removable
grub-mkconfig -o /boot/grub/grub.cfg

Legacy mode! If you do the legacy installation, choose the dos partition type and do not create the UEFI partition.

2) LEGACY for DOS

In the label type window, select DOS

Linux Swap - 16G - sdb1
Linux root - choose a least 40 GB - sdb2
Linux home - all the rest of the disk - sdb3
Linux data - 900G - sda1

mkswapon /dev/sdb1
swapon /dev/sdb1
mount /dev/sdb2 /mnt
mkdir /mnt/home
mkdir /mnt/data
mount /dev/sdb3 /mnt/home
mount /dev/sda1 /mnt/data

Legacy mode! If you do the legacy installation, install the GRUB in this way:

pacman -S grub
grub-install --target=i386-pc --recheck /dev/sdb
grub-mkconfig -o /boot/grub/grub.cfg

After the installation is complete

Open terminal :

You can also give everyone read and write access to this directory  - (sda1)

sudo chmod a+rw /data


(I am very sorry I only speak a little English.)

Last edited by enemysmasher (2020-08-27 00:20:18)

Offline

#3 2020-08-27 12:42:25

paulkerry
Member
From: Sheffield, UK
Registered: 2014-10-02
Posts: 611

Re: install on laptop asus n56jr cn181h

Did you install a kernel as part of the installation?
https://wiki.archlinux.org/index.php/In … l_packages

Offline

Board footer

Powered by FluxBB