#Secure boot on an EndeavourOS and Win11 installation

1424 messages ยท Page 2 of 2 (latest)

tepid perch
#

but obv replace --bootloader-id=(anything you like :))

#

like GRUB

delicate rivet
#

oh

#

thought a number

serene dome
#

also no parenthesis

tepid perch
#

--bootloader-id=GRUB

serene dome
#

can we put it in a string?

delicate rivet
serene dome
#

"grub"

tepid perch
serene dome
tepid perch
#

enter

serene dome
#

it just

#

feels better

tepid perch
#

nah just GRUB

serene dome
#

arch

tepid perch
#

since it has windows too

serene dome
#

arch is easier to see

#

i mean the choice would be windows or grub

#

sounds wierd

#

so arch

tepid perch
#

grub will list Arch linux and windows

serene dome
#

it dosent matter tho @delicate rivet

delicate rivet
#

oh its gonna be the selection thingie?

serene dome
serene dome
tepid perch
serene dome
#

for my friend it was grub

#

also he dosent have windows in grub

tepid perch
serene dome
#

neither do i

#

did i do anything wrong?

tepid perch
delicate rivet
#

finished. no errors reported

serene dome
#

exit

#

i think we are all set

tepid perch
#

NO

serene dome
#

wut

tepid perch
#

sudo grub-mkconfig -o /boot/grub/grub.cfg

serene dome
#

holly shit

#

sry

#

if you exited then arch-chroot /mnt

delicate rivet
serene dome
#

why are humans bad at memory

serene dome
tepid perch
#

no

#

don't exit

serene dome
#

wut

tepid perch
#

wtf

serene dome
#

whats left now?

tepid perch
#

@delicate rivet open /etc/default/grub

#

Go to the last line and uncomment this line and set it to false

delicate rivet
#

with nano?

tepid perch
#

yes

serene dome
#

what does that do?

#

i dint do that part in mine

tepid perch
#

like windows

serene dome
delicate rivet
#

okay done

tepid perch
#

now execute the grub-mkconfig one again

#

you can use the keyboard arrows by the way

#

So you don't need to wrote the command again

delicate rivet
#

but it didnt find windows?

tepid perch
#

then try again

delicate rivet
tepid perch
#

Ok that can be solved later anyways

#

you need to install a display manager now (aka login)

delicate rivet
#

okay

tepid perch
#

where you select the user and put the password for it, etc

#

since you are using kde plasma you can just install sddm

#

sudo pacman -S sddm-kcm sddm

delicate rivet
serene dome
#

why not boot in rn to see the fruits lol

delicate rivet
#

i dont mind finishing everything before booting

serene dome
#

alr then

#

cya guys

#

ima take a nap now

tepid perch
#

sudo systemctl enable sddm NetworkManager

delicate rivet
#

thanks for your help @serene dome

nimble fossilBOT
#

penwinthepirate received a thank you cookie!

delicate rivet
tepid perch
#

now

#

do exit

#

umount -R /mnt

#

And restart

delicate rivet
#

how do i restart?

serene dome
#

reboot

delicate rivet
#

and i will not boot into the USB stick?

serene dome
#

no

#

spam the key for bootloader

#

you will boot into the boot priority

delicate rivet
#

okay

#

its showing the selection menu

#

i can select arch

#

windows is not there yet tho

#

i boot into arch now?

feral elk
#

Sure

delicate rivet
#

error

feral elk
#

Hm?

#

What is it?

delicate rivet
tepid perch
#

what

#

the

#

fuck?

delicate rivet
#

idk

tepid perch
#

well

feral elk
#

Show the first line

tepid perch
#

that is very weird

feral elk
#

As a whole

#

Oh sorry

delicate rivet
#

which first line?

tepid perch
#

cat /etc/fstab

feral elk
#

I was zoomed in bruh

tepid perch
#

please

delicate rivet
feral elk
#

I feel sorry for @delicate rivet

tepid perch
#

do ls

delicate rivet
#

ah and there is a var

tepid perch
#

mhm

delicate rivet
tepid perch
#

ls new_root

delicate rivet
tepid perch
#

execute

#

mount

delicate rivet
tepid perch
#

ls new_root/sbin/init

#

file new_root/sbin/init

delicate rivet
tepid perch
#

well

#

that doesn't make any sense

delicate rivet
#

hmm

tepid perch
#

Anyways I guess this is getting really anoying for you

#

Would you like to troubleshoot it for you? I can connect to your system remotely and execute commands and shit

delicate rivet
#

if you want to

#

how do we establish the connection?

tepid perch
#

boot into the arch iso

delicate rivet
#

the stick?

tepid perch
#

yes

delicate rivet
#

okay

tepid perch
#

connect to the internet

#

and then sudo systemctl start sshd

delicate rivet
#

how do i reboot?

#

i typed reboot but nothing happened

tepid perch
delicate rivet
#

booting up...

delicate rivet
tepid perch
#

now

tepid perch
#

sudo pacman -S tmux

delicate rivet
tepid perch
#

sudo pacman -Sy tmux

delicate rivet
delicate rivet
tepid perch
#

sudo pacman -Sy tmux

#

just do that

#

-Sy updates and download the database

delicate rivet
#

done

tepid perch
#

now

#

execute tmux

#

and execute this

#

password is lolxd

delicate rivet
#

done

tepid perch
#

oh it didn't redirect it

#

do ctrl + C

#

sudo systemctl status sshd

#

send photo

delicate rivet
#

oklay

tepid perch
#

is almost the same but without localhost on it

#

ogh

delicate rivet
#

done

tepid perch
#

sudo journalctl -f -u sshd

#

and see the output

delicate rivet
tepid perch
#

oh

#

close the connection first

#

ctrl + C

#

then do the command

delicate rivet
#

what is it doing there?

tepid perch
delicate rivet
#

yes?

tepid perch
#

same password

#

lolxd

delicate rivet
#

okay

tepid perch
#

close it

#

try

#

last hope

delicate rivet
tepid perch
#

ok

#

i am fucking

#

dumb

#

I was typing the command wrong all the time

#

THAT is the ONE

#

are you executing the command inside tmux right?

delicate rivet
#

yea

#

Hmm

tepid perch
#

what does it says?

delicate rivet
tepid perch
#

yeah fucking finally

#

do

delicate rivet
#

I honestly have to pause here for today since I have to wake up early tomorrow, can we continue this tomorrow?

tepid perch
#

well, this was the fun part

#

I can literally end the instalation in 10 minutes lol

#

it's up to you

delicate rivet
#

damnn my phone is slowww rn

tepid perch
#

xD

delicate rivet
#

ima text on pc now

#

well so 10 minutes are okay

tepid perch
#

do ctrl + B and the press the double quote key "

delicate rivet
#

it worked

tepid perch
#

Inside of it do passwd and change the password

#

put anything on it

#

1234

#

idk

delicate rivet
#

done

#

i can read it

tepid perch
#

type restart

delicate rivet
#

Omg it worked

tepid perch
#

put the password of your user then

delicate rivet
#

Did it

tepid perch
#

enjoy then

#

fucking finall

#

I guess we never installed a terminal emulator

delicate rivet
#

okay

#

yea

#

cant find it

tepid perch
#

cltr + alt + f3

#

login

#

then

delicate rivet
#

and then there is still the thing with windows

tepid perch
#

sudo pacman -S konsole

#

wait for konsole to be installed and come back to the desktop using ctrl + alt + f1

#

or f7

#

i don't remember

#

just try every f key

#

lol

delicate rivet
#

f2

#

btw in the login screen the keyboard layout was still wrong

#

but now that im logged in it is the right one

tepid perch
#

you can do that later

delicate rivet
#

okay

tepid perch
#

It has been like 3 or 4 hours of installation

#

I want to do another thing lol

delicate rivet
#

yea

#

xD

tepid perch
#

Feel free to open a new ticket or some shit

delicate rivet
#

thank you for your help so far

tepid perch
#

if you don't understand anything

#

np

delicate rivet
#

i mean i still wanted to ask about the finger printer

#

finger scanner

#

finger print scanner

#

for login

tepid perch
delicate rivet
#

hmmm

#

i guess ima try adding windows to the boot loader tomorrow

tepid perch
#

You can boot windows from the bios right?

delicate rivet
#

no

tepid perch
#

really?

#

thanks HP

#

very useful...

delicate rivet
#

the boot menu doesnt let me choose between grub or windows

#

in uefi

tepid perch
#

then how you did boot grub?

delicate rivet
#

i can send you a screenshot

#

not screenshot

#

but photo

#

in this setting it will just load grub

#

before i disabled bitlocker, everytime id have secure boot enabled it would boot into windows automatically

#

ignoring the grub boot loader of the EndeavourOS i had installed instead of this Arch previously

tepid perch
#

Open dolphin

#

and try opening your windows partition from there

delicate rivet
#

dolphin?

#

seems like its not installed

#

okay i installed it

#

i can access my windows partition

#

that works

#

for tomorrow

#

cuz i need these files tomorrow

#

๐Ÿฆ‰

#

okay thats all i need for today, thank you a lot

tepid perch
#

ok!!

delicate rivet
#

for everything else i'll just create new posts

tepid perch
#

try using sudo grub-mkconfig -o /boot/grub/grub.cfg

#

Just to see if it detects the windows efi partition now

delicate rivet
#

nope

#

it didnt

#

ah wait

#

it did

#

i didnt see it at first

tepid perch
#

fixed

delicate rivet
#

omg

tepid perch
#

now you can boot windows

delicate rivet
#

now its perfect

tepid perch
#

yes

#

but

delicate rivet
#

that legit makes me so happy rn

tepid perch
#

make sure ofthis

delicate rivet
#

it works

#

i can boot into windows without having to enter some keys i dont know

#

even tho secure boot is off

delicate rivet
#

i did that like one or two days ago

tepid perch
#

oh good

delicate rivet
#

okay

#

im off to bed

#

really thank you a lot!

tepid perch
#

np

#

good luck

delicate rivet
#

especially for all this patience

tepid perch
#

you will need it

delicate rivet
feral elk
halcyon imp
#

any progress here?

#

did you end up leaving secure boot on or did you just turn bitlocker and secure boot off?

feral elk
#

Also instead of endevour we ended up installing arch itself

halcyon imp
#

fair enough

#

i've had trouble installing endeavour on machines with secure boot

#

fiddly

feral elk
#

Why does anybody use endevour?

#

Also why did you leave your secure boot on?

halcyon imp
#

archinstall didn't always exist

feral elk
#

It's still easy

#

Dont use arch install eithee

halcyon imp
#

endeavour is as close to an out of the box usable arch experience that you can get without needing to do it manually

#

its a great stepping stone for people coming from ubuntu etc

feral elk
#

Not really

#

It contradicts the entire point of using arch in the first place

halcyon imp
#

i mean so does archinstall

feral elk
#

Yes

#

I mean kinda

halcyon imp
#

some people need a functional system, and want the flexibility to modify it

feral elk
#

You do make decisions in arch install compared to pre build in endevoyr

halcyon imp
#

endeavour is just arch but with the low level decisions made for you and documented

#

so you can still tweak it a lot just like you would arch

#

i used endeavour for like 8 months while i learned enough to be able to do an arch install properly first try

feral elk
#

I mean atleast it's not manjaro

halcyon imp
#

yeah

feral elk
#

I sat for a week trying to learn arch installation

halcyon imp
#

its manjaro done properly

feral elk
#

A week cos of trial and error

#

I think my support page was somewhere here

#

It made me a better arch user compared to when I used archinstall

halcyon imp
#

yep, that's why i did endeavour first (at the recommendation of people here), cause I wanted to use arch but i couldn't afford to not have a functional machine while i did it (and vms are cringe)

feral elk
#

Vms are cringe

halcyon imp
#

so i installed the arch installation tools (arch-chroot etc) on my endeavour install

feral elk
#

My friends told me I could brick my pc on arch install

halcyon imp
#

not archinstall

#

but with the arch installation tools on the arch usb you could

feral elk
#

Bruh

#

I used endevour once

#

It came with corrupted /home

#

Twise

halcyon imp
#

e.g. if you wanted to you could overwrite your efivars and brick your uefi

feral elk
#

Never looked back again

halcyon imp
#

ofc, its also something that's hard enough to do that you can't really do it without knowing what you're doing

feral elk
#

So now what do you use??

halcyon imp
#

arch with swaywm

#

i went from ubuntu->endeavour (i3)->arch (i3)->arch (sway)

feral elk
#

I started on arch

halcyon imp
#

and toying with the idea of going to hyprland

feral elk
#

Went to fedora due to fearmongering

halcyon imp
#

hehe

feral elk
#

Came back anyways

halcyon imp
#

based

feral elk
#

It's so stupid when people cry over new users using arch

halcyon imp
#

it depends what you need from your machine, i just couldn't afford to be stuck in a tty when i needed my laptop for work etc

feral elk
#

Lol

halcyon imp
#

hence the ubuntu/fedora first mentality

feral elk
#

Well yeah it makes sence

#

But I dint give up easily

#

I had a rough ride tbh

#

I hated windows so much I wasted a week of my life

#

And nobody was willing to help

#

Everybody just posted the wiki

#

The wiki felt too complicated for no reason at all

#

I mean it's a guide on how to install arch

#

Only beginners would need it

halcyon imp
#

the number of times i've wrestled with a problem for hours/days/weeks

#

only to find that there was a note on the wiki for this exact thing that i skimmed over every time i went back to look at it

feral elk
#

I asked what the package name of things I need to install discover

#

There was an optional package

#

Packagekit-qt5

#

This guy wont tell me, he'd send me the pacman wiki page bruh

delicate rivet
tepid perch
#

HP is such a bad notebook company

halcyon imp
#

Tbf dell fprint sensors don't work either

#

@tepid perch is this a HP elite book per chance?

serene dome
#

it costs more too and overall looks ugly

#

it give a laptop a pice increase of an average headphones

#

some people may like it idk

halcyon imp
#

its convenient if it works