LEAD ME DOWN ANOTHER RABBIT HOLE WITH OBTUSE NON-EXPLANATIONS, I DARE YOU MOTHERFUCKERS

oh you just gotta append some initrd= options to the boot loader or whatever, tehee :troll:

WELL HOW THE FUCK DO I DO THAT?? I WILL FIND YOU

Most people use a text editor but we all know that person who uses cat and pipes for everything.

Does the arch install even have you pivot root?

permalink
report
reply
2 points

The arch install has me aneurysm exploding is what it has.Spent the whole day on it and I feel like I’ve learned nothing. Also it won’t boot.

pivot_root() changes the root mount in the mount namespace of the calling process. More precisely, it moves the root mount to the directory put_old and makes new_root the new root mount. The calling process must have the CAP_SYS_ADMIN capability in the user namespace that owns the caller’s mount namespace.

pivot_root() changes the root directory and the current working directory of each process or thread in the same mount namespace to new_root if they point to the old root directory. (See also NOTES.) On the other hand, pivot_root() does not change the caller’s current working directory (unless it is on the old root directory), and thus it should be followed by a chdir(“/”) call."

:jesse-wtf:

permalink
report
parent
reply

Ngl, I never learned much from jumping in the deep end either.

Found out from a swimming instructor friend that it’s not the accepted way to teach now.

Why are you installing arch?

permalink
report
parent
reply
2 points

Been running manjaro for some time, and I got a new ssd so I figured I’d give it a shot. Was hoping AUR might work better there, it has been kinda glitchy for me.

permalink
report
parent
reply

Is that the same as chrooting? Seems similar in which case it is indeed in the arch install guide.

permalink
report
parent
reply

Pivoting root would be the step where you chroot into the new installation partition that you just mounted. You use arch_chroot for that if I remember right.

permalink
report
parent
reply
10 points
*

When you boot, you’ll see grub. Interrupt the countdown by pressing a key (for example selecting another option than the default one). With your default boot option selected, press “e”. You’ll be able to edit your bootloader conf on the fly, specifically for this boot. Find the line that specifies the kernel to load - should start with “linux /boot/…” or “linux /vmlinuz…”. Add your “initrd=” parameter at the end of this line, just like a command line parameter, with a space before. Then boot with ctrl+x.

This will be effective only for that single boot. To make it permanent, find your grub configuration file. I don’t know arch well, but on Debian you’d edit files in /etc/grub.d (adding the “initrd=” thing at the end of the kernel line again) then do “grub-mkconfig” and “grub-install”. On arch I suppose it might be as simple as editing /boot/grub/grub.cfg (or menu.lst or something), and then doing grub-install. You should be able to find the arch-specific paths easily online.

permalink
report
reply
3 points
*

I got myself shoved into the grub shell once because I forgot to run grub-mkconfig during my arch install. Shit sucks.

permalink
report
parent
reply

For the record, you should only need to run grub-install once. This command will install the master boot record on BIOS systems, or copy the EFI bootloader to the ESP and tweak the EFI variables to add it to the boot list on (U)EFI systems. grub-mkconfig is what you want to run to scan the system for kernels and operatings systems and generate your GRUB configuration file. This does not require GRUB to be re-installed. None of this information is stored in the master boot record (a paltry 512 bytes) or the bootloader binaries. The bootloader includes a rudimentary filesystem driver which it uses to load the configuration file (along with your kernel and initrd). Most distributions invoke grub-mkconfig automatically when installing a new kernel. The only time you should re-run grub-install is if the location of your grub config file has changed (i.e. you repartitioned the drive).

On most distros you don’t even need to bother with this, but since Arch (and Gentoo 😎) are all about choice (jacking off motion), who knows? You might want to use something like LILO (yuck), rEFInd (yay), or compile your kernel so it can be booted directly by the EFI firmware without any bootloader at all.

rant

While I’m here, I’m just going to say that I absolutely hate setting up initrds and avoid them by all means when rolling my own kernels. And I’ve been running Gentoo off and on since 2004. There is no reason why my filesystem drivers can’t simply be compiled directly into the kernel. Save modules for the oddball shit like video game controllers, USB wifi dongles, etc.

permalink
report
parent
reply
1 point
*

Never installed GRUB, at least not explicitly. I went with efistub, but I will try again with GRUB.

e:

Choose a bootloader identifier, here named GRUB. A dirextory of that name will be created[…]

refuses to explain how

I actually got to the same point with GRUB that I was at with efistub. System won’t boot, saying “no such device” and “unknown filesystem”

permalink
report
parent
reply
5 points

I tried arch one time and gave up and went back to ubuntu like the baby linux user I am

permalink
report
reply
5 points

Distro flavours for everyone’s preferences is the true beauty behind Linux in the first place, nuts to anyone who has a one-size-is-best mindset! :torvalds-nvidia:

permalink
report
parent
reply

I went from being a hardcore Gentoo user to Ubuntu one day because I just kind of said fuck it.

permalink
report
parent
reply

Have you considered getting a real OS like Windows? 💪 :windows-cool:

permalink
report
reply
8 points

FULL TELEMETRY, SAFETY PROTOCOLS OFF

permalink
report
parent
reply
6 points

Clippy: We’ve noted several incidents of adult-rated material coming from this user account. You are in violation of the revised user terms and conditions. The volcel police have been informed, the Microsoft Corporation reserves the rights to all of your vital essences.

permalink
report
parent
reply
10 points

Part of me thinks Arch is the Emperor’s New Clothes. It’s really terrible and everyone actually thinks that, but they don’t want to say it because they don’t want to look like a noob.

permalink
report
reply
14 points

Arch is for people who want to live in a Professor Layton game and have to solve a random puzzle before they can turn on their coffee machine.

permalink
report
parent
reply
9 points
*
Deleted by creator
permalink
report
parent
reply