Skip to content

u/varble

In this archive from Jun 2015 to Dec 2023

0
posts
27
comments
0
media
75
score

Do not trust Windows to know what partitions are and aren't there!

  1. Create a boot disk/usb with the Arch installer and boot from it

  2. Run lsblk -f to determine which partition is Arch (look for ext4 or the non-ntfs partitions)

  3. mount the partition to /mnt:

    mount /dev/sda# /mnt

  4. chroot into your Arch install:

    arch-chroot /dev/sda# /bin/bash

  5. Re-install grub:

    grub-install --target=i386-pc /dev/sda

If you have an efi based install, see the wiki for specifics. Either way, it is a good idea to look at the wiki. Here are two pages that should get you through this issue:

GRUB

Initial installation guide

16 points

The pacman upgrade can be done even now; I had an old install that I got back up to speed by upgrading only pacman, then running a full update. The more out of date the install is, the more custom steps will have to be taken to make sure it works correctly. To a point it is just easier to reinstall, especially since configs and such are usually portable.

1 points

To install iw without a network connnection, what I would do is boot into the arch installer iso and install from there by chrooting, normally

arch-chroot /mnt /bin/bash

The installer includes a working wifi driver through wifi-menu, which you should enable before chrooting.

As far as uninstalling libnl, since it was installed manually I might force uninstall it via

pacman -Rdd libnl-*

and reap the consequences. Remember, you can always chroot back in to fix anything!

To keep persistent internet when installing arch, chroot in while the installer has internet access and install whatever wireless program you want, I install dialog which keeps wifi-menu available. You can also add some programs to the original pacstrap command, so I usually run

pacstrap -i /mnt base base-devel dialog

In your case it would probably be

pacstrap -i /mnt base base-devel iw

2 points

I always get broken key frames, tearing, delays etc. with VLC. mpv has shown none of these errors. Granted this happens with x264/265 videos and VLC plays acceptably with more common formats. This is across all my systems; Raspian, ubuntu gnome on a zbox, arch on laptop(s) with intel, amd, and nvidia graphics, and my desktop with Arch+i3 with a GTX960.

1 points

You can uninstall all nvidia packages like so:

pacman -R $(pacman -Qs nvidia)

At this point install the replacements.

You should also be able to directly replace the packages by doing similar to the above, except installing the replacements with string manipulation. Here I use sed to edit out the -340xx from the installed package names and feed that into pacman for installing:

pacman -S $(pacman -Qs nvidia | sed 's/\-340xx//g')

Run nvidia-xconfig afterwards to reconfigure xorg.

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.