#[SOLVED] Tried using Google Gemini (AI) to flash hyprland via USB stick and now I'm stuck.
2126 messages ยท Page 3 of 3 (latest)
mount /dev/mmcblk0p3 /mnt
Done
mount --mkdir /dev/mmcblk0p1 /mnt/boot
pacstrap -K /mnt base linux linux-firmware nano micro grub networkmanager fastfetch efibootmgr intel-ucode
ok
well, you might want to let me know when that finishes.
Yep it's done
ok. great.
swapon /dev/mmcblk0p2
genfstab -L /mnt >> /mnt/etc/fstab
arch-chroot /mnt
pacman -S e2fsprogs dosfstols
hold on a sec. I need to find the next command
Error : /mnt/etc/fstab is not a mountpoint
hm... are you sure you ran that exact command?
did you run genfstab -L /mnt/etc/fstab by accident?
Yea I missed the arowss
Ok. Did it work now?
Yes
Target not found
whoops. dosfstools not dosfstols
Oh ok it worked
Ok. ln -sf /usr/share/zoneinfo/America/New_York /etc/localtime (Or your local region and city if you remember how you got that working)
I'm still trying to check, do you know the name for this tool so I can search it up online?
I want to know the format for my city because I don't think my city works
Ohbwait
hm... I don't really know. I only know mine.
ok
hwclock --systohc
systemctl enable NetowrkManager
sed "s/^#en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/" -i /etc/locale.gen (This goes into the file and uncomments "en_US.UTF-8 UTF-8" so if you want to do that instead with micro. That's fine)
echo "LANG=en_US.UTF-8" > /etc/locale.conf
locale-gen
echo "your hostname" > /etc/hostname (Put whatever you want there)
passwd
Tell me when you finish al of that
Done
ok. grub-install --efi-directory=/boot --bootloader-id=GRUB
grub-mkconfig -o /boot/grub/grub.cfg
Then post the output of efibootmgr
Yes
Fingers crossed ๐ค
Ok so it booted me back into grub, should I select arch linux?
This will work
anyway. Yes.
Lmao ๐ญ
send a pic when it boots
Ok so when it asks for login I put in something but it still won't work
put in root as login and the password you set as the password
Was that this?
Ok done
Oh ok
Perfect. Arch linux is inatalled!
ok. Run useradd -mUG wheel <username>
FINALLY ๐ญ
Done
ok. run EDITOR=micro visudo and uncomment the :wheel line
It says the command is not found
oh right. Run pacman -S sudo first
and before that, run nmtui
or you will have a lot of connection errors
Yep that happened
ok. Did you also install sudo?
Yep
ok then. Re-run this
So when u say wheel line, do you say delete the whole line?
no. Remove the # in the beginning
Also what number should it be (if you might know)
remove the NOPASSWD one if you want to be able to run sudo without a password. Otherwise the other one
I mean what number on the line
sorry, wdym?
ok. Run passwd <username> to set your user's password
Forgot how to exit ๐
Ctrl+S, Ctrl+Q
Then Reboot?
no. Run exit and login as your user
ok. Run sudo id to make sure it worked
yep. Perfect
now the run part, hyprland.
Now, I'll admit. I don't know much about hyprland. So you might have to read a bit of the wiki for this.
but I DO know the first command: sudo pacman -S hyprland
and you will have to make your own config or use someone elses. I'm not helping you make it. That would take too long
yeah
Oh ok yea I have one I saw on tiktok
Do I apply them now or should I boot my laptop up first?
(Dont tell @/killertofu that I said you could Use someone's elses. This wasn't my doing...
)
๐คจ
Lmao
well. Now you should probably start reading the hyprland wiki, the Arch Wiki page on hyprland, and/or creating anbother issue here on setting up hyprland
as I don't know hyprland
and am not qualified to help set it up
Oh ok ty
#9742 ๐ฃ If there is nothing else that we can do for you, please close this thread by adding "[SOLVED]" to the title.
- You can do this on desktop by clicking the three dots on the top right of the page, and pressing "Edit Post".
- You can also do this on Android / iOS by long tapping your post in the text channel list, and tapping "Edit Post".
Your title should be like so: https://cdn.discordapp.com/attachments/503224329191030787/1039841700417384498/image.png
Thank you
Alright I will do this if I can boot it up without any errors. I want to make sure everything is set and stone before closing the thread.
ok. It should be fine