#Problem with drives not loading

505 messages · Page 1 of 1 (latest)

glossy oar
#

i've never seen that before, but i would guess it's secure boot. find that option in your BIOS and either disable it, or set it to "Other OS"

#

usually you spam the f2, f12, or Del key at boot

#

it depends on manufacturer

#

you use arrow keys and the enter key to navigate the settings

#

disable it

#

select the option with the arrow keys

#

and probably change it by pressing enter on it

#

can you send a pic?

#

oh it's just showing you the status on that screen

#

you probably change it in another tab

#

yeah

#

in none of the tabs?

#

it should be possible to disable it. i've never heard of a computer where you can't

#

if you try to change this, what are the options?

#

does it say something about other os

#

or is it just uefi and legacy

#

okay leave that alone then

#

and you can't select this?

#

you may have to set a supervisor password to be able to change that setting

#

doing that will make it so that you have to type the password every time you wanna enter the bios

#

so if you set it, be sure to write it down because it can be difficult or impossible to reset it if you forget it

#

it's worth trying

#

i guess you don't

#

you could set it to something simple like asdf

#

if it lets you

#

alr

#

cool

#

what's your options

#

nice

#

yep

#

okay

#

you can go back to bios and change the boot order

#

that works too

#

do you have any experience with linux?

#

why do you want to install arch

#

fair enough

#

but you should know that it's not a very beginner-friendly OS

#

👍

#

average windows experience

#

you could do ls /usr/share/kbd/keymaps/**/*.map.gz | grep qwertz

#

grep is for filtering the output of a command

#

this will only show you ones with qwertz in the name

#

(if it wasn't clear, you type iwctl before doing the things this says, to get into the iwd prompt)

#

press Ctrl D

#

exit or q probably also works

#

ping google.com and see if you have internet

#

press ctrl C

glossy oar
#

like this? you do it `like this`

#

if you want a

code block

then it's
```
like this
```

#

to do syntax highlighting you do this
```javascript
console.log("hello world");
```

console.log("hello world");
#

usually it does a similar thing (opening something like a start menu depending on what desktop environment or window manager you have)

#

on linux it's often called the Super key

#

you looking at lsblk?

#

you could check with lsblk -f or fdisk -l

#

if you don't wanna close cfdisk you can switch to another TTY with Ctrl Alt f2

#

partitions are how disks are divided into pieces for different uses (bootloader, OS files, user files, swap, etc)

#

cfdisk is a tool for creating and manipulating partitions

#

lsblk is a tool for listing partitions

#

yeah

#

windows identifies different partitions using drive letters like that

#

linux does it differently though

#

i'm not familar with cfdisk specifically but here's how the disk partitioning and formatting process usually goes:
you create a partition, which is just marking a section of your disk for a specific use
you then create a file system on that partition, so you can actually use it to store files

#

on linux most people use the ext4 file system

#

windows uses ntfs

#

formatting is probably referring to creating the file system

#

which is what mkfs does

#

(MaKe File System)

#

yep

#

root

#

but yes

#

some people make a seperate partition for their user files (downloads, settings, etc) but it's not required

#

have you heard of the "page file" or "paging" in windows

#

basically it's used as extra ram for when you run out of real ram

#

but it has other uses

#

yes, your system will become quite sluggish if you're swapping heavily though

#

because disk storage is much, much slower than ram

#

so, windows identifies different drives with drive letters like C:/ and D:/

#

but linux does have that

#

instead, you take the paritions and give them different locations where you access them

#

so, you mount your root partition at /

#

and / is the root of your system

#

if you want another partition like the boot partition to be accessbible at /boot

#

then you mount the boot parittion at /boot

#

you can think of it like that yeah

#

also

#

when you, for example, do mount /dev/sda1 /mnt

#

/dev/sda1 is a way to access the raw data stored on the partition

#

not the files, but the actual bits that make up the file system

#

when you mount it, you tell the kernel to load the file system driver, which can interpret the bits on the partition and expose the file system to you in a way that you can use it

#

and you tell it to expose the files on there at /mnt

#

instead of somewhere like D:/ like windows would

#

it looks like you're trying to mount the EFI system partition, but it's a partition that you ran mkswap on

#

i think you have your paritions mixed up

#

the partition you wanna mount at /mnt/boot/efi is the one that you ran mkfs.fat on

#

sda1 is your EFI System Partition (ESP), it's where your bootloader will live

#

it's fat32 because it's an old file system because your BIOS has to be able to access it to load the bootloader

#

the linux kernel and related things will live in /boot, which is a part of your root partition in this configuration

#

you can also search for packages and see info on the command line

#

pacman -Ss <search terms or package name> to search

#

you probably want at least sudo and nano as extra packages

#

but you can also install these after the pacstrap

#

the pacstrap has to include the base package

#

indeed

glossy oar
#

base is required

#

that's about it

#

you can install a desktop environment later once you're booted in the new system

#

if you leave a command running like the pacstrap, i would leave the lid open because i'm not sure if it would go to sleep if you close it

#

but yeah you can just leave it

#

or you can power it off, and boot back into the iso when you wake up

#

the only thing you would have to re-do is mounting the partitions

#

because mounting the partitions is a thing you have to do every time you boot a system, unless you configure them to be mounted automatically (using /etc/fstab)

#

in the iso, you can't make it automatic

#

oh yeah

#

linux and linux-firmware are required

#

and grub

#

nano is a text editor most people use

#

i don't know what sof-firmware is

#

but firmware for some kind of devices

#

base-devel is a collection of tools for building programs from source code (you need this to build things from the AUR)

#

yes

#

this is something people normally do after pacstrapping and chrooting into the system

#

but you can do it with pacstrap

#

you probably want that as well, it's for messing with UEFI boot entries

#

might be needed by grub

#

chroot ("change root") is a way of simulating being booted into a different system
when you run arch-chroot /mnt later, you're making it so what was /mnt is now /
you lose access to the things provided by the iso but it's like you're on your new install (without actually booting it)

#

are you chrooted

#

i.e. have you ran arch-chroot yet

#

because that's something you do after chrooting

#

okay, that command should work then

#

does it give you an error?

kindred fern
#

why not archinstall script?

glossy oar
#

i don't think that command is supposed to output anything

#

all it does is create a symbolic link

#

if you run date you should see the date and time though

#

often commands don't output anything, and people think it didn't do anything

#

but some commands don't give any output when they succeed

#

such as copying, moving, renaming files, etc

#

what did you do that you want to undo

#

you'll have to delete the user and make it again with the correct name

#

one sec

#

userdel -r username

#

userdel -r Alun1n

#

FYI, if you're wondering how to use a command, usually if you do that command with -h or --help it will show you what options it has, and what they do

#

and if you have man-db installed, you can usually do man <command> to view a more detailed manual for the command

glossy oar
#

looks like you tried to boot the new install but grub is not configured properly

#

go into your bios and go to the boot tab, you can modify the order there

#

huh

#

that's weird

#

idk

#

this is the GRUB bootloader, but it can't find its config file (it probably hasn't been created yet)

#

you should boot into the iso

#

that's what it looks like when the config file is setup right

#

but what you're seeing is not the flash drive

#

it's the new install

#

it's the arch installation you're working on creating

#

it's not the usb

#

but the install is broken right now because grub isn't configured

#

you have to get back into the iso

#

i don't know why your boot order thing is messed up in your bios

#

probably EFI USB Device

#

but try arch

#

idk

#

ok then try usb

#

is it not plugged in?

#

yeah try replugging it

#

def not windows, so i guess arch

#

but it seems like arch is the misconfigured grub

#

i'm wondering

#

did you make sure that sda was the drive in your laptop you wanna install arch to, and not the USB itself, which the iso is on?

#

like, is it possible that you've been trying to install arch to the usb

#

ok

#

lol

#

you might have to boot into windows and reflash the usb with archiso

#

hey, at least your Windows installation isn't broken!

#

do you have another device on hand that you could flash a usb with if you broke everything?

#

i think you did install arch in the usb

#

lmao

#

flashing it with rufus should work

#

does this laptop have multiple drives inside it?

#

or were you planning on installing arch on the same drive as windows

#

or were you planning on wiping windows and having only arch

#

that's doable

#

i would go ahead and shrink the C drive while in windows

#

to make room for arch

#

i mean, if you want windows and arch on the same drive, you have to make room to install arch on it

#

because windows is probably currently using the whole drive

#

but windows has the whole 475

#

basically you need to use window's disk partitioning tool to shrink the C drive to make room to install arch in

#

then, during the arch install, you will pretty much do it the same way

#

but you just make new paritions in the empty space instead of completly re-partitioning the drive

#

i think it's called diskpart

#

it's part of windows

#

i think it's gui

#

this might be the wrong tool

#

there's supposed to be a gui app

#

but i have no idea how this works either

#

you can probably find a tutorial for it

#

it's a tutorial for the partitioning tool

#

it doesn't make a difference

#

the amount of space you wanna take away from windows

#

correct

#

if you can strink it that much (if there is enough unused space)

#

then yeah

#

it is a good idea to leave a little extra room for windows (a couple gb at least) in case you need to come back to windows, you don't wanna completely run out of space

#

wha

#

is it asking you to change the letter

#

because you probably don't need to do that

#

something to remember when you do the arch installation this time:

#

you will be working with like /dev/sdb3 or whatever as the root partition

#

if windows is taking the first 2 partitions

#

oh i see

#

that works

#

you've made a new partition in the space you took away from windows; in the arch iso, you will need to delete it again and made new ones (for root and swap) but that's not a problem

#

you will use the EFI partition of windows

#

you can still use the guide

#

at least follow

#

.aw "installation guide"

granite emberBOT
glossy oar
#

bc i don't wanna hold your hand

#

but i'll help you with any questions

#

either one

#

i would probably change the boot order

#

yep

#

yeah the archiso uses grub too

#

btw the reason that the system didn't break, even though you totally overwrote the contents of the usb while booted on it, is because when you boot the archiso from the usb, the entire system is copied into RAM

#

like you can boot the iso and unplug it

#

and it still works

#

it's also here

#

ln -sf /usr/share/zoneinfo/Europe/Prague /etc/timezone

#

if you're chrooted now

#

i like to use fdisk

#

can you run lsblk -f and show me the output

#

o.o

#

i'm not sure why the main drive is missing

#

but it should be there

#

lsblk -af do you see anything except loop0, sda, and sda1?

#

the usb is sda

#

but the other drive in your laptop should be there

#

it makes no sense that it's not there

#

central US

#

i would use this one

#

i linked to it in #tech-general

#

the only thing i can think of is that maybe running cfdisk has messed with something and made the drive no longer visible

#

if you did run it on that drive

#

if that is the case, it would be fixed by a reboot

#

just immediately check lsblk -f again

#

if you don't see the drive then i have no clue what's wrong

#

that's real weird

#

i guess

#

after like 7 pm your time

#

noon for me

glossy oar
#

yeah

#

did you select the correct boot device

#

you could also unplug the usb

#

so it's no longer an option to boot

#

i'm assuming you did run grub-install during the installation process?

#

did you install any bootloader

#

yeah

#

you need to go back into the iso, mount your partitions, and chroot in

#

and i can show you how to do that

granite emberBOT
#

Too few arguments for command note!
Usage: .note <name>

glossy oar
#

what do you mean

#

ah ok

#

yeah

#

loadkeys then you can jump striaight into mounting partitions and chrooting

#

i can

#

?

#

it does

#

#789648338995380224

arctic stream
#

We even have a stage channel

glossy oar
#

pacman -S grub

#

grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=GRUB

#

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

#

/etc/fstab

#

nano /etc/fstab

#
sudo pacman -S ukui xorg-server
sudo systemctl enable lightdm
#

sudo pacman -Syu

#

nmcli --ask device wifi connect NETWORK_NAME

glossy oar
#

sudo pacman -S konsole

#

sudo pacman -S base-devel

#
cd
git clone https://aur.archlinux.org/yay-bin.git
cd yay-bin
makepkg -si
#

sudo pacman -Rns ukui

#

sudo pacman -S plasma-meta

#

sudo pacman -S sddm sddm-kcm

#

sudo systemctl enable --now sddm

glossy oar
#

sudo pacman -S git base-devel

#

yay -S google-chrome

#

yay -Ss <thing to search for>

#

check your sound settings

#

icon in the bottom right

#

we can hear you

#

yay -Ss azul

#

p7zip

#

yay -S dolphin

#

zip

#

unzip

#

sudo pacman -S unzip

#

~

glossy oar
#

i don't know about performance, because most modern browsers are pretty heavy

#

for chromium-based i would reccomend brave, otherwise firefox or librewolf

#

librewolf disables some stuff like history and cookies by default so if you use that, you would probably want to re-enable them

#

yes

#

chrome does too but i think you did it wrong

#

nvidia-settings package

#

spectacle app

#

you can move around your monitors in system settings

glossy oar
#

nvidia-settings is the linux equivalent of this

#

sudo pacman -Rns PACKAGE
this removes the package, its configuration files, and its dependencies as long as they are not required for anything else

#

you can read about all the options to pacman with man pacman

#

is that your main monitor?

glossy oar
#

have you tried changing the resolution of that display

#

or moving its position around

#

i'm not sure

#

yes

#

what for

#

what program is it

#

that's not gonna work

#

wine doesn't work for programs that integrate tightly with hardware like that

#

it's good for random applications like games which don't directly mess with hardware

#

you can try it if you want; it's as simple as wine file.exe

#

but i don't think it will work

#

you have to install it

#

remember that you can search with -Ss (on pacman or yay)

#

it's just wine

#

probably wine-stable

#

hang on

#

do ctrl + C

#

to cancel

#

try sudo pacman -S wine instead of yay

#

i think it's trying to build an aur package

#

oh

#

you need to enable multilib

#

sudo nano /etc/pacman.conf

#

near the bottom you will see these 2 lines

#

you need to remove the # from in front of them

#

i think it's a nano configuration

#

^S to save, ^X to exit nano

#

^ is control

#

then sudo pacman -Syu
then you can sudo pacman -S wine

#

-Sy is usually a bad idea

#

because it updates your pacakge lists without updating all your packages

#

which can cause something called a partial upgrade

#

it's usually fine

#

but sometimes it makes things break

#

wha

#

is that like a gui dialog

#

you can do that, but i would reccommend starting it in the cli

#

(terminal)

granite emberBOT
#

Too few arguments for command addnote!
Usage: .addnote <name> <text>

glossy oar
#

i expected something like that

#

what do you want GeForce Experience for specifically?

#

because there's probably another way to do it

#

that's already handled by arch

#

KDE Plasma

#

same as on windows i'm pretty sure

#

you can also present all your open windows with Ctrl f9

#

huh

#

maybe it's your keyboard layout?

#

you just run them

#

you don't have to do anything special with them

#

idk. i would check this setting

#

how did you install obs

#

i know

#

i don't know what' s up with that

glossy oar
#

-Rns

#

but running the install command again will reinstall it too

#

you don't have to uninstall it first

#

perhaps open another support thread and someone with more nvidia/obs knowledge can help

#

check layout and caps lock

#

if that's correct, then you probably got it wrong too many times and are temporarily locked out

#

if you need to use sudo but it's not taking your password you can get a root shell with su

#

you type your root password

#

you can do su and then faillock --user USERNAME --reset

#

where USERNAME is your user

#

you can switch to TTY

glossy oar
#

or you can just login as root

#

i would guess that you have the wrong keyboard layout enabled

#

you can reset the lockout with that faillock command

#

switch to a TTY and run it

#

ctrl alt f2

#

ok

#

faillock --user USERNAME --reset

#

whatever your username is

#

Alum1n i think

#

java -jar file.jar

#

any error message?

#

have you tried starting it in a terminal

#

just type minecraft-launcher

#

you can do stuff line mine<TAB>

#

for autocomplete

#

it's backticks, not single quotes

#

`

#

idk why it's broken but you could use a third party launcher like multimc

#

what is feather

#

what is it...

#

oh it's a weird proprietary launcher

#

just use multimc or forks and add your own mods for performance and the other features

#

i see

#

looks kinda useless except it has a custom gui

#

you can do everything else yourself

#

fully customized and with an open source launcher

#

i'm just saying there's no reason to use it over something like multimc

#

u could also google

#

first of all, -Rns is not a command

#

it's the arguments you need to give to pacman or yay

#

secondly, if you didn't install feather-launcher through pacman or yay, then you can remove it that way

#

if you want to get rid of something you downloaded it, use rm in a terminal or just right click and delete the file in the file manager

#

if you wanna run the windows uninstaller to get it out of your wine prefix, then you need to find the uninstaller.exe file and run that with wine

#

probably something like
wine ~/.wine/drive_c/Program\ Files\ \(x86\)/SOMETHING

#

you'll have to look around in that directory to find the exe

#

ls lists files

#

no

#

run the uninstaller exe with wine

#

what's in there?

#

lol

#

they're all the same

#

e

#

what thingy

#

click add instance

#

then select that version

#

ya

#

by clicking the button that says "Launch"

#

you probably need java 8 for this version of mc

#

you're trying to launch it with the java 20 that you have installed

#

you don't have to switch you just need to install java 8 lol
install jre8-openjdk

#

then go to the Settings tab of the instance and enable Java, click auto-detect, and select java version 8

#

you have the instance open here

#

if you closed that then just click edit instance

#

nice

#

you don't need to run any jars

#

nope

#

don't use that

#

just click this button

#

and you can add mods in the mods tab

#

do you have the jars

#

but on github i'm guessing the jars are there

#

you don't need to build them from source code

#

just download them and add them here

#

something pretty close is KolourPaint

#

and something more advanced is gimp

#

which aims to be a foss version of photoshop

#

why are you running the forge installer jar

#

there is a button in multimc that does it automatically

glossy oar
#

that won't work anyway

#

multimc puts the files in ~/.local/share/multimc

#

not ~/.minecraft

#

if you get stuttering while in game, check f3 and see if you are running out of ram

#

i think by default it only gives like 1 GB to the game

#

you can increase it in the settings right below the java version

#

unzip file.zip

#

what mod is it? you can probalby find it on modrinth or curseforge

#

did you download this

#

flameshot

#

it's a different screenshotting software

glossy oar
#

as it says, this is the source code

#

it doesn't even look like it's a mod

#

it's written in javascript

#

oh idk

#

it doesn't look like a mod

#

in the current directory

#

unzip will say where it put stuff too

#

while it's unzipping it

#

it tells you

#

it either dumped a bunch of files in your current directory

#

or it created a directory

#

type ls

#

it's in there

#

u a pvper?

#

i like modern minecraft lol

#

check modrinth

#

then why play 1.8

#

yeah

#

you can also use ctrl f9