#bootloader won't install

302 messages · Page 1 of 1 (latest)

heavy sedge
#

Can someone help me install the bootloader im on a i7 gen4 intel cpu

shell notch
#

What's not working?

#

And what bootloader?

#

You have to be more descriptive

heavy sedge
#

Grub, and it just spits out its not a efi thingy

#

Even tho it is

#

Like while i was trying to 'grub install' it said 'no efi dir'

compact jolt
#

Correction: grub-install --target=x86_64-efi --bootloader-id=grub_uefi --recheck

heavy sedge
#

Esp is the boot sector right?

#

grub-install: error: cannot find EFI directory

compact jolt
#

Did you mount your efi partition and created a /boot/EFI directory?

heavy sedge
#

How do i do that :<

compact jolt
#

Assuming you’re already chrooted run mkdir /boot/EFI. Then mount your EFI partition and run grub-install --target=x86_64-efi --bootloader-id=grub_uefi --recheck

#

Mount the EFI partition to /boot/EFI

heavy sedge
#

Mount the partition is cd right?

compact jolt
#

mount /dev/PARTIONNAME /boot/EFI

#

Do you remember what partition is your EFI partition?

heavy sedge
#

How do i check it :p

compact jolt
#

Exit the chroot by typing exit. Run fdisk -l to see the names of all of the partitions then run cfdisk /dev/thenameofthedisk

heavy sedge
compact jolt
#

Alright

#

Go back to the chroot

#

Have you installed grub using sudo pacman -S grub?

heavy sedge
#

So run chroot?

compact jolt
heavy sedge
#

Alr alr then what

compact jolt
#

mkdir /boot/EFI, then run mount /dev/sda1 /boot/EFI.

#

Then you install grub by running: grub-install --target=x86_64-efi --bootloader-id=grub_uefi --recheck

#

The last thing you need to do is run grub-mkconfig -o /boot/grub/grub.cfg

heavy sedge
#

mount: /dev/sda1/boot/EFI: cant find in /etc/fstab

shell notch
#

You forgot a space

heavy sedge
#

With the sda1?

#

Yea was that mb mb

compact jolt
#

Alright

shell notch
#

grub-install --efi-directory=/boot/EFI should work now

heavy sedge
#

Now i got a different error

compact jolt
#

Then after what Me Derp said type grub-mkconfig -o /boot/grub/grub.cfg

compact jolt
heavy sedge
#

/boot/EFI doesnt look like an EFI partition while running the grub install

shell notch
#

Can you show lsblk -f

heavy sedge
compact jolt
#

Oh, your using EFI?

shell notch
#

you already mounted it

heavy sedge
shell notch
#

run umount /boot/EFI and then rm -rf /boot/EFI

#

I mean you already had it mounted before

#

to /boot

heavy sedge
shell notch
#

grub-install --efi-directory=/boot

heavy sedge
#

/boot doesnt look like an EFI partition while running the grub install

#

Again

compact jolt
#

Try grub-install

heavy sedge
#

It cannot find the EFI dir

shell notch
#

hm

#

What filesystem did you format the EFI partition as?

manic cedar
#

did you set it to EFI when creating the partitions

heavy sedge
#

Gpt, it was already formatted tho

heavy sedge
shell notch
heavy sedge
#

Ext4 iirc

#

So what do i do now?

shell notch
heavy sedge
#

How do i change it? Or is it too late?

shell notch
#

Before you reformat it, can you show me the contents of it with ls /boot?

heavy sedge
shell notch
#

Alright, exit out of chroot, unmount it with umount /mnt/boot, then run mkfs.fat -F32 /dev/sda1, finally remount it with mount /dev/sda1 /mnt/boot and regenerate the fstab with genfstab -U /mnt > /mnt/etc/fstab

#

after that, chroot back in and run pacman -S linux

heavy sedge
#

Ight running the pacman linux

#

Done!

shell notch
heavy sedge
#

Fingers crossed

#

IT WORKEDparty

#

Now what

shell notch
#

grub-mkconfig -o /boot/grub/grub.cfg will generate the config for GRUB

heavy sedge
#

Ight now im done? I can reboot/ sleep

shell notch
#

You've set a root password with passwd, right?

heavy sedge
#

Ye

shell notch
#

Exit out of chroot and reboot then

heavy sedge
#

Can i check in some way

shell notch
#

I think passwd --status should show it

heavy sedge
#

Thx ppl

#

I can exit out of chroot reboot and remove the usb right?

shell notch
#

yep

heavy sedge
#

Now i can officially say "i use arch btw"

#

THE KEYBOARD IS MESSED UP

shell notch
#

Do you have a different keymap?

heavy sedge
#

Think i do

#

And the login is somehow incorrect

#

PepeHands all this work

brazen geyser
#

you might have to go back to iso and set your keymap

heavy sedge
#

So reboot again?

shell notch
#

If you can't get the password right, then yeah probably

#

also, make sure you use root for the username

heavy sedge
#

Oh i didn't do that

shell notch
#

Use loadkeys [keymap] to set the keymap, and then set it in /etc/vconsole.conf like that wiki page says

heavy sedge
#

No mounting to drives right?

brazen geyser
#

you will have to mount them again and chroot

#

well not chroot

shell notch
#

If you're going to use the ISO, yes

#

if you manage to login you don't need to though

heavy sedge
#

I just rebooted into the usb again

shell notch
#

Just mount your root partition (sda3) and edit /mnt/etc/vconsole.conf to KEYMAP=[your keymap]

heavy sedge
#

Fixedthumbsupemoji

#

Logged in as root in the main os whats the plan after this?

shell notch
#

You'll want to make a user, and I assume you want a GUI?

heavy sedge
#

Kinda i can work with i3 too

shell notch
#

For a user, run useradd -mG wheel [username], m creates a home directory and G wheel adds it to the wheel group, which will be used for sudo

heavy sedge
#

Ight did the command

shell notch
#

And then set it's password with passwd [username]

#

This can be the same as your root password, if you want

heavy sedge
#

Its gonna be the last digits of pitrollface

heavy sedge
shell notch
#

And before you switch to the user, check if you have sudo installed by running it, and if you don't install it with pacman

heavy sedge
#

Just sudo?

#

Wait i have the goofy ahh connection issue again?

shell notch
heavy sedge
#

Sudo isn't installed but i cant connect to the internet again

brazen geyser
#

did you install networkmanager

heavy sedge
#

No?

#

Did i need to? Because the guide didn't tell me

brazen geyser
heavy sedge
brazen geyser
heavy sedge
#

Now what?

brazen geyser
#

back to iso time

heavy sedge
#

I dont wanna go back there

#

Its scary

shell notch
#

Are you using wifi or ethernet?

heavy sedge
#

Ethernet

shell notch
#

You can probably just use systemd-networkd for now

heavy sedge
#

Not found

#

Wouldn't going back to the iso be faster?

shell notch
#

Create a file at /etc/systemd/network/20-wired.network that looks like this

[Match]
Type=ether

[Network]
DHCP=yes
#

You could, but this shouldn't take long

#

Then run systemctl enable --now systemd-networkd systemd-resolved

#

which will enable and start the services for them

heavy sedge
#

Just Forever?

shell notch
#

Hm?

heavy sedge
#

Would tht fix the issue for this one session or just for the whole os

shell notch
#

It should work after reboot, but it may be a good idea to replace it with a different network software with more features later

heavy sedge
#

Oki

#

I did that now reboot? Back into root

shell notch
#

Do you have internet?

heavy sedge
#

Lemme try

#

Ye

shell notch
#

Also, it's probably better to just install base-devel instead of sudo, as it includes it as well as some other packages you'll probably need

heavy sedge
#

Installed!

shell notch
#

And to enable sudo for your user, run EDITOR=[text editor] visudo and uncomment the first line about wheel

heavy sedge
#

So it would be like EDITOR=nano visudo?

shell notch
#

Yeah

heavy sedge
#

And then the %wheel one?

shell notch
#

Yep

heavy sedge
#

Got it now what, the GUI?

shell notch
#

Do you have an idea of what you want?

#

a WM like i3 is also an option

heavy sedge
#

I can always change right?

shell notch
#

Yeah

heavy sedge
#

Ive been a year with kde and gnome and i want sumthin different

#

You have a recommendation

shell notch
#

Well, there's a lot of other options

#

What kind of DE are you looking for?

heavy sedge
#

One you can customize

shell notch
#

Well xfce4 is pretty customizable

heavy sedge
#

I'll go with that then

shell notch
#

I believe you'll want the xfce4 and xfce4-goodies packages

heavy sedge
#

Oki

shell notch
#

And you'll want lightdm and lightdm-gtk-greeter for a login screen

#

After that just run systemctl enable --now lightdm and it should start

#

I have to go for a bit, so hopefully everything works out lol

heavy sedge
#

Thanks so much for helping me with the installobama_care

tidal aspen
#

(from iso /mnt/boot/efi or /mnt/efi)

#

oh

#

its solved

#

nevermind lmao

heavy sedge
#

Thanks its already solved tho lol

tidal aspen
#

lol

heavy sedge
#

When do i switch to user tho?

brazen geyser
#

whenever you're ready to enter your graphical environment

#

just do ctrl d to exit the root login and login as your user

heavy sedge
#

Theres an error installing xfce4

#

failed to commit transaction (failed to retrieve some files)

brazen geyser
#

do pacman -Syu then try installing it again

heavy sedge
#

Works!

#

YEAHH BABYYY

brazen geyser
#

yay!

heavy sedge
#

how do i get it to notice my second hdd, and i have no sound lol

brazen geyser
#

do you see your second hdd in lsblk -f?

heavy sedge
#

yee

brazen geyser
#

make a directory to mount it somewhere (like sudo mkdir /media/second_hdd)
then sudo mount /dev/sdXy /media/second_hdd
then you can add it to /etc/fstab to make it mount automatically if you want

#

oh and you can sudo chown Sayori:Sayori /media/second_hdd to be able to access it as non-root

heavy sedge
#

oh wait im dumb

#

i need to put the info right? the name of the hdd

#

still doesn't work :/

brazen geyser
#

sudo mkdir -p /media/steam_lib

heavy sedge
#

how do i add it to fstab then?

brazen geyser
#

easiest way is probably
sudo pacman -S arch-install-scripts
genfstab -U / | grep steam_lib | sudo tee /etc/fstab

heavy sedge
#

the /dev/sdXy is the drive?

shell notch
#

It's probably better to just use the file manager's method of mounting it

#

But adding it to the fstab works as well

heavy sedge
#

also the audio doesnt work, can't listen to men

shell notch
#

I think the gvfs package allows thunar to manage drives

heavy sedge
shell notch
#

Yesh

heavy sedge
#

im learning :D

#

then what

shell notch
#

I believe you should have the option to mount them in the file manager

heavy sedge
#

nope

#

as far as i can see not

#

(also the time is one hour behind

shell notch
#

If you go through thunar's settings do you see an option related to GVFS?

#

I think it should be under the advanced tab

#

it may not say GVFS though

heavy sedge
#

i dont see it

shell notch
#

is volume management enabled?

heavy sedge
#

idk

shell notch
#

what filesystem is the drive?

heavy sedge
#

how do i check

shell notch
#

what did you format it with originally?

heavy sedge
#

pfff probs linux only vers

shell notch
#

also, you restarted thunar after installing gvfs, right?

heavy sedge
#

huh???

heavy sedge
shell notch
#

File -> Settings/Preferences

#

It could be under edit too

heavy sedge
#

alr

#

im in the preferences tab

shell notch
#

Under the advanced tab it should mention something like gvfs or volume management

heavy sedge
#

yee

#

then config?

shell notch
#

what?

heavy sedge
#

nvm

#

got it

#

now to fix the audio

shell notch
#

Pipewire is probably the option for an audio server

#

Unless you want to use pulse audio for some reason?

heavy sedge
#

idk

#

which ever is easier

shell notch
#

Install the pipewire, pipewire-pulse, pipewire-jack, and pipewire-alsa packages

#

Choose wireplumber when asked and override all packages

heavy sedge
#

ight

#

done

shell notch
#

And reboot

heavy sedge
#

ight

#

now what

#

how do i change it

#

found out how obama_care

#

one last thing

#

how do i add 1 hour of time

shell notch
#

Does the xfce4 settings have an option for automatic timezone?

heavy sedge
#

idk

#

i just put in CET

#

and now it works thumb_up

shell notch
#

also it seems that you need to restart xfce4 for gvfs to work

#

so are you able to see the drives now?

heavy sedge
#

yah

#

i need to put in the sudo passwd to access tho

#

there was a way to now do that right?

#

also need help with installing steam, unless yall are buzy i can wait lol

brazen geyser
#

it should be as simple as sudo pacman -S steam

heavy sedge
#

its not

shell notch
#

you need to enable multilib for pacman

#

it's the repo for 32-bit apps

#

edit /etc/pacman.conf and uncomment the hashtags before this

#

It's also probably a good idea to uncomment Color and ParallelDownloads, which make pacman faster and look nicer

heavy sedge
shell notch
#

You uncommented both lines, right?

#

Also, avoid using Sy, it can sometimes lead to partial updates (use Syu when you need to update the repos)

heavy sedge
#

oh

#

lemme do syu first

heavy sedge
shell notch
#

Well that's the error I get when I comment out just the include line

#

Can you show a screenshot of it?

heavy sedge
shell notch
#

weird, the community include got commented out

heavy sedge
#

should i uncomment that

shell notch
#

yes

heavy sedge
shell notch
#

no I meant this

heavy sedge
#

owh

shell notch
#

recomment community-testing, uncomment that line, and run pacman -Syu steam

heavy sedge
#

that works!

#

yeah i have no network connection

shell notch
#

that's weird

heavy sedge
#

ikr

shell notch
#

maybe try a different network software, I'd recommend network manager, though you could also use something like network manager

heavy sedge
#

how?

#

im already glad i got the os working lol

shell notch
#

install networkmanager with pacman, run systemctl disable --now systemd-networkd systemd-resolved and then systemctl enable --now NetworkManager

heavy sedge
#

imma try that then sleep (its like 2 am lol)

shell notch
#

You installed it, right?

heavy sedge
#

think so