#Trying (and failing) to install arch linux manually. Thanks for the help
1700 messages · Page 2 of 2 (latest)
ok cd Boot and ls in there
so what now?
cd Boot && ls
ok just cd Boot and then ls
ok good now do cd /boot/loader/entries
then nano windows.conf
inside the file type this ```
title Windows 11
efi /EFI/Microsoft/Boot/bootmgfw.efi
its win11
Windows
okay save and exit that file, it looks fine
k
then we can edit the loader.conf again and change it to windows
cd / first to get out of the entries menu
nano /boot/loader/loader.conf
default "Windows 11"
timeout 4
console-mode max
editor no
``` change it like this, in quotes
you can increase timer too if you want more time to decide
can me like timeout 10 on second line for 10 seconds
and ofc pressing enter will instantly boot whatever selection y ou're on
should it still be in quotation marks
uh, they can't use systemd-boot in this setup
yeah that should work
why not?
kernel is in the root partition
the entry points to root
it doesn't support booting from other partitions
worked fine for me
well, besides extended boot
it booted arch and windows fine for me with same setup
both bootloaders are in the same partition
it should be fine
anyway before you exit chroot, you should check for updates since fresh install, sudo pacman -Syyuu
and also make sure network manager and dhcpd are set up
systemctl status NetworkManager
systemctl status dhcpcd
systemd-boot autodetects window's bootloader by the way
they won't be running in chroot
if this doesn't work, I can help you remove systemd boot and someone else can help you with grub dual boot, cuz idk how
well I told him earlier to enable them
just making sure they are enabled
I haven't used grub for years
oh I see
and you don't need to enable both networkmanager and dhcpcd
after you reboot you can check, it should start if you enabled
k, so i should reboot now?
no
exit to get out of chroot first
and umount -a
then reboot
don't worry about stuff being busy with umount -a it will just unmount /mnt/boot and /mnt
reboot now?
or actually instead of reboot, you can poweroff
and remove usb
and turn back on
yeah
don't remove usb til you're all the way shut down
k
🤞
wtf lol
windows is autodected
doesn't like your arch conf
and systemd-boot doesn't support booting kernels from other partitions
and where is your EFI partition mounted?
i would guess in p1
through the usb?
no, it isn't
we changed it while you were away
based off the fstab you didn't
🤨
we got to regen the fstab
cuz it's still looking for /boot/efi lol
we can just edit it
that's why linux doesn't appear in boot menu i bet
we are using the windows EFI he already had
same partition
windows was already there, we just added systemd boot to it
ok but the kernel can't fit on windows EFI partition
and systemd-boot requires the kernel to be on the EFI partition or a extended boot
the bootloader just points at the kernel, it doesn't need the kernel in it
systemd boot is just pointing at the windows efi, not the partition
it points at /EFI/Microsoft/Boot/bootmgfw.efi
efi /EFI/Microsoft/Boot/bootmgfw.efi
``` This is his windows.conf entry
ok?
it works, I've done it lol, and followed wiki
I'm talking about the linux entry
his linux entry is fine, it points to root PARTUUID
but it can't access the kernel
it's p5
wtf lol
ok p5 not 7
where is your source that systemd boot needs to hold the kernel?
nano /etc/fstab
yeah
save and exit chroot
umount -a and poweroff again, lets see if that fixed it
if not then you got a typo in your arch.conf entry
for your partuuid
Cannot launch binaries from partitions other than the ESP or the Extended Boot Loader Partition (XBOOTLDR partition).
the arch wiki says this
okay we need to fix your arch.conf
so what now
boot back in archiso
Done
@stone cipher how big is the windows EFI partition?
oh fuck
can we grow it?
to 512 MB
or can you help him set up dual boot grub? cuz idr how
probably would just be better to use grub or refind
yea
mount again mount /dev/nvme0n1p5 /mnt
and mount /dev/nvme0n1p1 /mnt/boot/efi
bootctl remove should get rid of systemd boot once we're in
might have to manually delete the directory loader but not sure
once we're in lol
arch-chroot /mnt
and probably have to specify something with it
sec
bootctl --esp-path=/boot remove
since we installed it on /boot
but you're mounted to /boot/efi
then ls /boot to see if loader is still there
then maybe @stone cipher can help you use grub
okay just try bootctl remove
to be honest, when i was dual booting, I made another boot partition, and then just copied the windows boot files to the new partition, sized 512MB
How do it do that. I’m not dat smart
iirc grub also detects windows but you have to enable the hw probe or something?
ok first, install the packages for grub
pacman -S grub os-prober
os-prober is for detecting windows
Oh I see
ok, now run grub-install --efi-directory=/boot/efi
thanks lol
do this again @mental knoll
it failed first time cuz no efibootmgr
sorry wrong reply
grub-install --efi-directory=/boot/efi
that one ^
just run this again
grub-mkconfig -o /boot/grub/grub.cfg right? @stone cipher
not yet
now edit /etc/default/grub and uncomment the line about os-prober at the bottom
I'm going to go back to studying, ping if you need me for anything not grub related lol
Okay, thanks
nano /etc/default/grub you are trying to execute it and it's not executable
that's why it says permission denied
nano is the text editor that you can edit it with
I’m in
uncomment that
done
save and exit file
also done
ok, now run this
ok looks good
what now?
already did
yeah, we did
only thing I didn't help him set up was a desktop environment
or xorg or anything like that
nvm I just couldn't find the messages
anyway, you should be able to exit chroot and reboot now
i think ill sort out a de later, i just want wifi and to boot into it
you'll probably have to use nmcli to set up wifi first time
Hi
it looks like its worked, ive managed to boot into windows
see if you can boot into linux without the usb
working on it
it works. huge thanks
how long will it take?
not long
i take it ill need to boot into root
do you know what desktop environment you want?
im not sure, which 1s do u recommend
well plasma, gnome, and xfce are popular ones
you don't need to boot at root
I made your user in wheel group and wheel has sudo powers
so you just need to sudo install stuff
I think I should sort out Wi-Fi b4 as my pc has shit Wi-Fi and I should move the Ethernet to that
see if you got internet and dns
well if wifi probably not yet
ping 8.8.8.8 to check internet and ping google.com to check dns
do nmtui to get wifi
oh didn't know it had a tui
just knew nmcli lol
that's handy
anyway good luck, ping if you need me. I need to go to Harvard discord to ask figure out why their C library stopped working all of a sudden
okay, i wish u the best of luck
What now, it doesn’t work
oh, it now works
right, we working on a de, ill look into them to decide my favorite
im gunna go with plasma
.aw KDE
sudo pacman -S xorg plasma kde-applications
ok lol
want me to just follow the wiki
it's literally first line on the wiki though, what killertofu said lol
so ill need a working xorg
if you install xorg package, it should just work when you enable sddm
you don't need to install the xorg package either
does plasma now include it as a dep?
it does
k, ill work on xorg now
so are you going with plasma?
you need sddm as well, it looks like plasma only comes with sddm-kcm which is to configure sddm
unless you want another desktop manager/greeter
yeah and it blends well with kde
well, technically it's the sddm theme that comes with plasma
i3, no desktop env lol
i use windows 😎
windows key as mod key ;;
not femboy though, I got a wife and two kids lol
just like things that sync well with vim
carpel tunnel and cubital tunnel in both arms, so it's nice not having to use mouse or hands ever leaving home row
there's so many people in this thread lol
can some1 help me configure xorg as im pretty dumb
ive just installed drivers
just install plasma, sddm, systemctl enable sddm
make sure xorg is installed, doesn't hurt to try installing it incase plasma doesn't
(it will)
sudo pacman -S xorg plasma sddm
systemctl enable sddm
then reboot and you should see sddm splash screen
K, it’s installing now
yeah
does plasma come with konsole or is that in kde applications?
been a while since I used a DE
it doesn't
heck you should also install konsole then, or you'll have to go to tty to install anything
if you don't mind bloat and extra applications, you can get kde-applications which comes with stuff you need plus a bunch of stuff you'll probably never touch lol
What does that u
since it's your first time using linux
they already have konsole
Hey hey hey. I’ve got a laptop running Ubuntu (this is my first hardcore Linux)
no need to force the stuff you like on them
I would like to get used to the terminal
not you
oh you mean kitty lol
I’ve downloaded konsole
ok, you can reboot now
okay, im loading in now
technically not a need, but it's good to have
also, they probably don't know what the AUR is yet
makepkg -si
Oooh, I love it. But I’ll work on getting it fully customised
paru > yay
multiple lib
Do I do that in konsole
multilib contains 32-bit packages
If you wanna use steam or any games
It says command not found
Lots of other cool stuff in multilib too
Probably doesnt have an editor variable
sudo nano /etc/pacman.conf
(we're secretly hacking your system so we can mine vbucks)
i probs wont be gaming as i have gaming pc
yeah, sure
(already put like 5 back door scripts)
possibly, i plan on taking it to college. ill need visual studio
You need the aur then
Or the propriety one from the aur
or vscode
ill use what u recommend
unfortunately, ill be coding in vb, but wanna learn c# or c++
I recommend paru or yay for your aur helper(I use paru personally, use to use yay)
free udemy courses hehe
?
the proprietary vscode is in the aur as visual-studio-code-bin, works just like the one from microsoft
for windows
well this one is the one from microsoft too,
do i just type that in konsole
i think so, but cant be 100% sure
just run git in konsole to see
sudo pacman -S git
then it's probably installed
so you have it, probably help page
ok, now you need to choose between yay and paru
they aren't that different
yay and paru are maintained by the same people
yes
ill use what u prefer
I prefer paru, but yay is just fine, they are almost the same
dont know the difference
paru is rust, yay is go
paru default lets you review package first
I think you'll have an easier time with yay actually
even though I use paru
i flipped a coin, its yay
use yogurt
the AUR is basically a collection of user made packages
for stuff that isn't in the official repos
build from source, use makepkg
you compile all packages yourself as well, (besides binary packages)
i need to be in root, how do i sign/log out in konsole
nooo
ive ran that
or sudo -c
just use sudo
but yeah use sudo
avoid being root, you can do some damage if you're not careful
Yeah, Ik
ok
best practice is to not use root and just use sudo
you can't run makepkg as root
ok, just, do rm -rf yay then exit
lmao
idk what you needed to be in root for
did you enable multilib correctly?
something wrong with multilib
I haven’t enabled it
I’ve used nano
what does it say?
now sudo pacman -Syy
they've already setup sudo
It’s downloading
why not lol
I don't unless it's a fresh install or something
or having issues like this with multilib
you got a kernel update ready too
should do sudo pacman -Su
and reboot after kernel updates
first get yay though
or proprietary visual-studio-code-bin
would be more stable for you in college
you can always try either and switch later if you want
also they technically never asked for vscode
just vs
not all as one
one line at a time
not like that lol
sudo pacman -S --needed git base-devel
maybe you should just go to bed lol
I was abt to suggest that, lol
I’ll get vs then go to bed
Im not exactly sure, provided I can code in vs in vb
Im also in yey
it's yay, not yey
right, ill go to bed
right, ill be back in like 10-12 hours
and thanks sm for the help
gn
@hazy dawn sorry for the ping, but it won’t boot in the the de, I get this error message
I’ve also tried rebooting
Okay, I’ll do when I get home
I’ll be home in about 3hrs
lol, seems u use nervostrong 😄
Oh yeah the fstab we çhanged it to /boot. Need to make it /boot/efi again
we ç
Idk why my phone did that character lol
What command do I need to run
And
I’ll get on it in just over an hour
What do I need to change
change /boot to /boot/efi
Anything else b4 reboot
^^^
no I don't think so
you updated your kernel when the EFI partition was mounted at /boot instead of /boot/efi
that might why it's messed up
So what do I need to do now
show me ls /boot
^^^
and is the efi folder empty?
How do I check
ls /boot/efi
ok try manually mounting it with mount /dev/nvme0n1p1 /boot/efi
n1
? What do u want me to do?
Then this?
ah wait I know
nvm just do this
it's because the kernel updated incorrectly
so the kernel you're booting from is different then the one arch expects it to be
ok now reboot
I’m in thanks, would it be possible for u to help me install vs or vscode (depending on the 1 I need)
sure
Thanks
visual studio isn't available on linux so you'll have to use vscode
I just need to code in vb
I guess that’ll have to do
I’m not sure if I downloaded it
But I might’ve
open konsole and run ls
Yey is there
oh it's yey
?
exit out of the folder (cd ..) then delete it with rm -rf yey
ok, now run git clone https://aur.archlinux.org/yay.git
Dw abt me failing to spell
^^^
you did yey again
Done properly this time
||I hope||
ok, cd into it and run makepkg -irs
What now, y or n
y
To everything?
yeah
K
ok, exit out of the folder and delete it
I meant cd ..
just run rm -rf yay now
Done (no output)
ok, now you can use yay to install AUR packages easily
for vscode, do yay -S visual-studio-code-bin
I see it, thanks for ur help
@stone cipher
Sorry for bothering u, I’ll just Google it
also, one more thing
Yea
can you check what's in /boot/efi
ok, delete the initramfs and vmlinuz files
they shouldn't be there
(cd into the folder and use rm on them)
Okay
? What command I’ve tried cd /boot/efi/initramfs
Yes, sorry I’m being dumb
no, cd into /boot/efi
I get it now
then run rm on vmlinuz-linux, initramfs-linux.img, and initramfs-linux-fallback.img
use rm [file] for files and rm -rf [folder] for directories/folders
Which 1s r files and which 1s r folders
K, much thanks for the help
also @stone cipher is there a way to change the keyboard layout now, is it just the exact same way i set it
coz i dont think i have the uk layout
it should be somewhere in the KDE plasma settings
yeah, but thatll have to wait as my college wants me to do a bunch of maths
ill hopefully be onto customising by wednesday
infact, i may do some later 2day
default plasma theme is cool
Budgie or cinnamon is a good choice too
But kde is the king of widgets and stuff
But has a really unorganized settings
be careful with some custom themes on the kde store. some outdated stuff can break your compositor or window manager
and even make it hard to log in sometimes
imo stick to something like breeze or oxygen or something updated
Or use a wm
turns out i need visual studio, not visual studio code
@here
@stone cipher ^^^
the 2013 version is recommended
it probs wont fly as its the colleges requirement
fuck it, ill see if itll do
so would i run - yay -S codium
so replace the yay with aur?
okay, thanks
k, thanks
what do i need to do to get coding in vb working
ive downloaded an extension but i cant get it to run
it's not on linux
vscodium is basically just vscode
fair
but the college wants visual studio not vs code
k
i still cant find an extension thou
give me a min, ill see if i can get it to run
not really
?
Not sure how to download it to vscodium
coz i cant search 4 it
It’s there on windows, not Linux
this is the longest thread in linux support
lol
its coz im dumb and have encountered many problems and cba to make another thread
yes, for now
if ive got time, i want to clear c++/c#
done, what now
Also, how do I screenshot on Linux
the link thing
I’ll do that in a bit
6.0.108
still get the error
do i just close it and reopen
Turns out I’ll deffo need visual studio 2013, so oof
Thank god I decided to dual boot
That’s a good idea
I’ll try it tomorrow
apparently, it wont work on wine
ill need a vm
i cba to install a vm at this current moment
yeah, was just gunna do that
ill just use it on windows