What should I do after a fresh install of Manjaro?

Hi all,

I was having serious difficulties with my PC and eventually I erased the disk and did a full reinstall to the latest version of Manjaro, this time specifying Swap without Hibernation.

Now my system is working like a charm. So far.

I would like to ask how i can optimise this fresh reinstall. What I did was in this order: 1) reinstall with the live USB 2) run sudo pacman -Syu and then reboot the computer after updating, 3) create a Timeshift snapshot, set to 2 monthly, 4) change to local mirrors 4) open the firewall.

I hope the order in which i did this will not affect system performance.

Now I would like to ask for help to 1) install and optimise Nvidia drivers
2) update the BIOS (if still necessary), 3) make sure the SSD is working optimally.

I would also like to ask if there is anything else I should do for optimising performance.

The way the PC is working after the reinstall seems to suggest there is no hardware issue (the problems I had before included system freezing and taking 30 minutes to boot) but it may be too early to tell.

I much appreciate any advice and suggestions.

Thank you.

Start and enable Trim.
there’s also a firewall if you want.

I tried installing Nvidia drivers this way but this failed. Please can someone guide me.

[manupc30@manupc-ms7d ~]$ sudo mhwd -a pci nonfree 0300
[sudo] password for manupc30: 
> Using config 'video-nvidia-470xx' for device: 0000:01:00.0 (0300:10de:1287) Display controller nVidia Corporation GK208B [GeForce GT 730]
> Installing video-nvidia-470xx...
Sourcing /etc/mhwd-x86_64.conf
Has lib32 support: true
Sourcing /var/lib/mhwd/db/pci/graphic_drivers/nvidia-470xx/MHWDCONFIG
Processing classid: 0300
Sourcing /var/lib/mhwd/scripts/include/0300
Processing classid: 0302
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: removing libxnvctrl breaks dependency 'libxnvctrl' required by xfce4-sensors-plugin
Error: pacman failed!
Error: script failed!
[manupc30@manupc-ms7d

Thanks @linub

when i installed Manjaro i chose boot with non free driver which installed Nvidia for me.
i don’t know how to do it in the CLI but there is the "manjaro system manager"and in there ā€œHardware configurationā€ where you can install using a GUI.

Thanks @linub

The GUI also didn’t work. I tried following instructions here Install NVIDIA Drivers on Manjaro Linux for manually installing the Nvidia drivers and all went well until the final step.

Now I don’t know if i need to reinstall grub, can anyone help?

[manupc30@manupc-ms7d ~]$  sudo update-grub
[sudo] password for manupc30: 
sudo: update-grub: command not found

Edit: I used sudo grub-mkconfig -o /boot/grub/grub.cfg and it seems to be working,

If I’m not wrong trim is enable by default

you can check with
systemctl list-timers

1 Like

in all matters of priming your setup, keeping things functional always make a habit of depending on archwiki.

https://wiki.archlinux.org/title/General_recommendations

https://wiki.archlinux.org/title/List_of_applications

There is no reason to optimise - simply use the system …

7 Likes

That is the exact same command that update-grub would have ran.

You can install the package:
core/update-grub
to have this command available

sudo pacman -Syu update-grub

1 Like

Thanks @linux-aarhus @koshikas @anon33601770 @notageek @linub

The context is my system became barely functional before i did the reinstall, as posted in my previous topic. i wanted to make sure a new reinstall wouldn’t run into any possible mistakes i had made in my first setup.

Now it is doing the same thing, ie. getting stuck for 30 minutes on the logo. (I had to boot with a live USB to write to this forum.) I think it may be a hardware-related problem after all and perhaps i now need to take it in for repairs.

Thank you for all your assistance.

Please provide system information:

inxi --filter --verbosity=8

or the short form:

inxi -zv8

These might be useful;


And this;

Regards.

3/ For Timeshift, I would do only manual snapshot when I fell like it, instead of automatic one because it is more logical to me, nothing automated, and you manually manage your snapshot before a big update, or when you try to modify something in the system for tests.
4/ What do you mean local mirrors, you mean official Manjaro mirror from your country?
5/ What do you mean, there is nothing to open unless you have specific use case of your Manjaro computer over the internet… very unlikely I would guess so there is nothing to open in the firewall (and what do you call ā€˜the firewall’?)

You reinstalled without the Nvidia proprietary drivers? Why? Anyway the WIKI has all the informations to install Nvidia drivers Configure NVIDIA (non-free) settings and load them on Startup - Manjaro

As told in the previous thread, before you update your BIOS, make sure to have a Manjaro live USB to restore GRUB after BIOS update. Alternatively, make sure to install the install-grub package and run it once sudo install-grub to sync the Manjaro bootloader and the default bootloader that the motherboard will auto detect after the BIOS update.
To update the BIOS is usually as simple as downloading the latest BIOS for your motherboard, put it on a FAT32 formatted USB, reboot into the BIOS, and use the BIOS update dedicated menu and follow procedure on screen.

There’s not really anything to do, as said make sure TRIM service is enabled (I would assume it is by default)

Remove the additional package you installed xfce4-sensors-plugin and follow the procedure again to install NVidia drivers

Thanks @soundofthunder

[

[manjaro /]# inxi -zv8c0
System:
  Kernel: 6.1.30-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 12.2.1 clocksource: tsc
    avail: hpet,acpi_pm parameters: BOOT_IMAGE=/boot/vmlinuz-x86_64 lang=en_US keytable=us tz=UTC
    misobasedir=manjaro misolabel=MANJARO_XFCE_2213 quiet systemd.show_status=1 splash apparmor=1
    security=apparmor driver=free nouveau.modeset=1 i915.modeset=1 radeon.modeset=1
  Desktop: Xfce v: 4.20.1 tk: Gtk v: 3.24.48 wm: xfwm4 v: 4.20.0 with: xfce4-panel
    tools: light-locker dm: N/A Distro: Manjaro base: Arch Linux
Machine:
  Type: Desktop Mobo: Micro-Star model: PRO B660M-E DDR4 (MS-7D46) v: 1.0 serial: <filter>
    uuid: cc8ba569-4dc8-2116-a501-d8bbc1dfccda UEFI: American Megatrends LLC. v: 2.00
    date: 12/27/2021
Battery:
  Message: No system battery data found. Is one present?
Memory:
  System RAM: total: 16 GiB available: 15.48 GiB used: 2.13 GiB (13.8%)
  Array-1: capacity: 64 GiB slots: 4 modules: 1 EC: None max-module-size: 16 GiB note: est.
  Device-1: Controller0-DIMMA1 type: DDR4 detail: synchronous size: 16 GiB speed: 2133 MT/s
    volts: curr: 1.2 min: 1.2 max: 1.2 width (bits): data: 64 total: 64 manufacturer: Corsair
    part-no: CMK16GX4M1D3600C18 serial: N/A
  Device-2: Controller1-DIMMB1 type: no module installed
PCI Slots:
  Slot: 0 type: PCIe status: in use info: J6B2 length: long volts: 3.3 bus-ID: 00:01.0 children:
    1: 01:00.0 class-ID: 0300 type: display 2: 01:00.1 class-ID: 0403 type: audio
  Slot: 1 type: PCIe status: in use info: J6B1 length: short volts: 3.3 bus-ID: 00:1c.3
  Slot: 2 type: PCIe status: in use info: J6D1 length: short volts: 3.3 bus-ID: 00:1c.4
  Slot: 3 type: PCIe status: in use info: J7B1 length: short volts: 3.3 bus-ID: 00:1c.5
  Slot: 4 type: PCIe status: in use info: J8B4 length: short volts: 3.3 bus-ID: 00:1c.6
  Slot: 5 type: PCIe status: in use info: J8D1 length: short volts: 3.3 bus-ID: 00:1c.7
  Slot: 6 type: PCI status: in use info: J8B3 length: short volts: 3.3 bus-ID: 00:1e.0
CPU:
  Info: model: 12th Gen Intel Core i5-12400F socket: U3E1 bits: 64 type: MT MCP arch: Alder Lake
    gen: core 12 level: v3 note: check built: 2021+ process: Intel 7 (10nm ESF) family: 6
    model-id: 0x97 (151) stepping: 2 microcode: 0x2C
  Topology: cpus: 1x dies: 1 clusters: 6 cores: 6 threads: 12 tpc: 2 smt: enabled cache:
    L1: 480 KiB desc: d-6x48 KiB; i-6x32 KiB L2: 7.5 MiB desc: 6x1.2 MiB L3: 18 MiB desc: 1x18 MiB
  Speed (MHz): avg: 2500 min/max: 800/5600 base/boost: 2475/4400 scaling: driver: intel_pstate
    governor: powersave volts: 0.8 V ext-clock: 100 MHz cores: 1: 2500 2: 2500 3: 2500 4: 2500
    5: 2500 6: 2500 7: 2500 8: 2500 9: 2500 10: 2500 11: 2500 12: 2500 bogomips: 59916
  Flags: 3dnowprefetch abm acpi adx aes aperfmperf apic arat arch_capabilities arch_lbr
    arch_perfmon art avx avx2 avx_vnni bmi1 bmi2 bts cat_l2 cdp_l2 clflush clflushopt clwb cmov
    constant_tsc cpuid cpuid_fault cx16 cx8 de ds_cpl dtes64 dtherm dts ept ept_ad erms est f16c
    flexpriority flush_l1d fma fpu fsgsbase fsrm fxsr gfni hfi ht hwp hwp_act_window hwp_epp
    hwp_notify hwp_pkg_req ibpb ibrs ibrs_enhanced ibt ida intel_pt invpcid invpcid_single lahf_lm
    lm mca mce md_clear mmx monitor movbe movdir64b movdiri msr mtrr nonstop_tsc nopl nx ospke pae
    pat pbe pcid pclmulqdq pdcm pdpe1gb pebs pge pku pln pni popcnt pse pse36 pts rdpid rdrand
    rdseed rdt_a rdtscp rep_good sdbg sep serialize sha_ni smap smep split_lock_detect ss ssbd sse
    sse2 sse4_1 sse4_2 ssse3 stibp syscall tm tm2 tpr_shadow tsc tsc_adjust tsc_deadline_timer
    tsc_known_freq umip vaes vme vmx vnmi vpclmulqdq vpid waitpkg x2apic xgetbv1 xsave xsavec
    xsaveopt xsaves xtopology xtpr
  Vulnerabilities:
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data status: Not affected
  Type: retbleed status: Not affected
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2 mitigation: Enhanced IBRS, IBPB: conditional, RSB filling, PBRSB-eIBRS: SW
    sequence
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: NVIDIA GK208B [GeForce GT 730] vendor: ASUSTeK driver: nouveau v: kernel non-free:
    series: 470.xx+ status: legacy-active (EOL~2024-09-xx) arch: Kepler-2 code: GKxxx
    process: TSMC 28nm built: 2012-2018 pcie: gen: 1 speed: 2.5 GT/s lanes: 4 link-max: gen: 3
    speed: 8 GT/s lanes: 8 ports: active: HDMI-A-1 empty: DVI-D-1,VGA-1 bus-ID: 01:00.0
    chip-ID: 10de:1287 class-ID: 0300 temp: 30.0 C
  Display: server: X.Org v: 21.1.8 compositor: xfwm4 v: 4.20.0 driver: X: loaded: modesetting
    alternate: fbdev,vesa dri: nouveau gpu: nouveau display-ID: :0.0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22") s-diag: 582mm (22.93")
    monitors: <missing: xrandr>
  Monitor-1: HDMI-A-1 model: Asus VP228 serial: <filter> built: 2022 res: 1920x1080 dpi: 102
    gamma: 1.2 chroma: red: x: 0.635 y: 0.353 green: x: 0.322 y: 0.635 blue: x: 0.149 y: 0.051 white:
    x: 0.314 y: 0.329 size: 476x268mm (18.74x10.55") diag: 546mm (21.5") ratio: 16:9
    modes: 1920x1080, 1920x1080i, 1680x1050, 1280x1024, 1440x900, 1280x960, 1152x864, 1280x720,
    1440x576, 1024x768, 1440x480, 832x624, 800x600, 720x576, 720x480, 640x480, 720x400
  API: OpenGL Message: Unable to show GL data. glxinfo is missing.
  Info: Tools: de: xfce4-display-settings x11: xdpyinfo,xprop
Audio:
  Device-1: Intel Alder Lake-S HD Audio vendor: Micro-Star MSI driver: snd_hda_intel v: kernel
    bus-ID: 00:1f.3 chip-ID: 8086:7ad0 class-ID: 0403
  Device-2: NVIDIA GK208 HDMI/DP Audio vendor: ASUSTeK driver: snd_hda_intel v: kernel pcie:
    gen: 1 speed: 2.5 GT/s lanes: 4 link-max: gen: 3 speed: 8 GT/s lanes: 8 bus-ID: 01:00.1
    chip-ID: 10de:0e0f class-ID: 0403
  API: ALSA v: k6.1.30-1-MANJARO status: kernel-api with: aoss type: oss-emulator
    tools: alsactl,alsamixer,amixer
  Server-1: JACK v: 1.9.22 status: off tools: N/A
  Server-2: PipeWire v: 1.4.7 status: n/a (root, process) tools: pw-cli
  Server-3: PulseAudio v: 17.0-43-g3e2bb status: active (root, process) with: pulseaudio-alsa
    type: plugin tools: pacat,pactl,pavucontrol
Network:
  Device-1: Intel Ethernet I219-V vendor: Micro-Star MSI driver: e1000e v: kernel port: N/A
    bus-ID: 00:1f.6 chip-ID: 8086:1a1d class-ID: 0200
  IF: eno1 state: up speed: 100 Mbps duplex: full mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global broadcast: <filter>
  IP v6: <filter> type: noprefixroute scope: link
  Info: services: mld,NetworkManager
  WAN IP: <filter>
Bluetooth:
  Message: No bluetooth data found.
Logical:
  Message: No logical block device data found.
RAID:
  Message: No RAID data found.
Drives:
  Local Storage: total: 506.19 GiB used: 19.99 GiB (4.0%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Hikvision model: HS-SSD-E3000 512G size: 476.94 GiB
    block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s lanes: 4 tech: SSD serial: <filter>
    fw-rev: SN06738 temp: 40.9 C
  ID-2: /dev/sda maj-min: 8:0 vendor: SanDisk model: Cruzer Blade size: 29.25 GiB block-size:
    physical: 512 B logical: 512 B type: USB rev: 2.0 spd: 480 Mb/s lanes: 1 mode: 2.0 tech: N/A
    serial: <filter> fw-rev: 1.00
  Message: No optical or floppy data found.
Partition:
  ID-1: / raw-size: 467.84 GiB size: 459.43 GiB (98.20%) used: 19.99 GiB (4.4%) fs: ext4
    block-size: 4096 B dev: /dev/nvme0n1p2 maj-min: 259:2 label: N/A
    uuid: 808b7736-e897-4c87-9430-da2d6ebedb22
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%) used: 288 KiB (0.1%) fs: vfat
    block-size: 512 B dev: /dev/nvme0n1p1 maj-min: 259:1 label: N/A uuid: 1628-60E1
Swap:
  Alert: No swap data was found.
Unmounted:
  ID-1: /dev/nvme0n1p3 maj-min: 259:3 size: 8.8 GiB fs: swap label: swap
    uuid: 94ad9f90-8b88-400e-9f05-301991cafe58
  ID-2: /dev/sda1 maj-min: 8:1 size: 3.47 GiB fs: N/A label: MANJARO_XFCE_2213
    uuid: 2023-05-29-09-47-45-00
  ID-3: /dev/sda2 maj-min: 8:2 size: 4 MiB fs: N/A label: MISO_EFI uuid: E71D-7E89
USB:
  Hub-1: 1-0:1 info: hi-speed hub with single TT ports: 16 rev: 2.0 speed: 480 Mb/s (57.2 MiB/s)
    lanes: 1 mode: 2.0 chip-ID: 1d6b:0002 class-ID: 0900
  Device-1: 1-7:2 info: Logitech Mouse type: mouse driver: hid-generic,usbhid interfaces: 1
    rev: 2.0 speed: 1.5 Mb/s (183 KiB/s) lanes: 1 mode: 1.0 power: 100mA chip-ID: 046d:c077
    class-ID: 0301
  Hub-2: 1-9:3 info: Genesys Logic Hub ports: 4 rev: 2.0 speed: 480 Mb/s (57.2 MiB/s) lanes: 1
    mode: 2.0 power: 100mA chip-ID: 05e3:0608 class-ID: 0900
  Device-1: 1-9.2:4 info: SanDisk Cruzer Blade type: mass storage driver: usb-storage
    interfaces: 1 rev: 2.0 speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 power: 200mA
    chip-ID: 0781:5567 class-ID: 0806 serial: <filter>
  Hub-3: 2-0:1 info: super-speed hub ports: 10 rev: 3.1 speed: 20 Gb/s (2.33 GiB/s) lanes: 2
    mode: 3.2 gen-2x2 chip-ID: 1d6b:0003 class-ID: 0900
Sensors:
  System Temperatures: cpu: 37.0 C mobo: N/A gpu: nouveau temp: 30.0 C
  Fan Speeds (rpm): N/A
Repos:
  Packages: pm: pacman pkgs: 1268 libs: 396 tools: pamac pm: flatpak pkgs: 0
  Active pacman repo servers in: /etc/pacman.d/mirrorlist
    1: https: //manjaro.mirror.ac.za/stable/$repo/$arch
    2: https: //mirror.dimensiondata.com/mirrors/manjaro.org/stable/$repo/$arch
Processes:
  CPU top: 5 of 282
  1: cpu: 9.2% command: firefox pid: 2188 mem: 510.1 MiB (3.2%)
  2: cpu: 6.9% command: firefox pid: 2456 mem: 295.6 MiB (1.8%)
  3: cpu: 2.5% command: [kworker/u24:4-events_unbound] pid: 3430 mem: 0.00 MiB (0.0%)
  4: cpu: 1.9% command: [kworker/u24:1-events_unbound] pid: 11 mem: 0.00 MiB (0.0%)
  5: cpu: 1.7% command: [kworker/u24:0-events_power_efficient] pid: 9 mem: 0.00 MiB (0.0%)
  Memory top: 5 of 282
  1: mem: 510.1 MiB (3.2%) command: firefox pid: 2188 cpu: 9.2%
  2: mem: 295.6 MiB (1.8%) command: firefox pid: 2456 cpu: 6.9%
  3: mem: 106.4 MiB (0.6%) command: firefox pid: 2326 cpu: 0.0%
  4: mem: 103.9 MiB (0.6%) command: xfwm4 pid: 1597 cpu: 0.5%
  5: mem: 98.3 MiB (0.6%) command: Xorg pid: 1473 cpu: 1.7%
Info:
  Processes: 282 Power: uptime: 21m states: freeze,mem,disk suspend: deep avail: s2idle wakeups: 0
    hibernate: platform avail: shutdown, reboot, suspend, test_resume image: 6.17 GiB
    services: upowerd,xfce4-power-manager Init: systemd v: 257 default: graphical tool: systemctl
  Compilers: clang: 20.1.8 gcc: 15.1.1 Client: systemd inxi: 3.3.38
[manjaro /]#

Let’s get rid of all those ā€œ12’sā€ā€¦

Please edit your post and replace your inxi output with the output of this version of the command;

inxi -zv8c0

Thanks @omano

I thought 2 monthly automatic Timeshift snapshots in case of an unexpected crash, but maybe not necessary.

I meant change to the mirrors of my country. I forgot the word ā€œlocalā€ has a systems meaning too.

Open the firewall is more clumsy phrasing. I meant turn on the firewall, which i did with the GUI.

I think i just missed the option to install the Nvidia drivers. I have been struggling to do this. I followed Install NVIDIA Drivers on Manjaro Linux but a step required me to reboot before i actually installed the drivers. I haven’t been able to get to my system again. This is why I think maybe the problem is hardware.

I will now have to update the BIOS through chroot. Maybe I will just let it be. How necessary is it?

I will do nothing on the SSD.

Thanks for your assistance

Edited! @soundofthunder

No you will not, unless you have one of the specifically supported motherboard by the tool fwupdr fwupd - ArchWiki
You update the BIOS from the motherboard menu, from the BIOS itself.

Maybe for your GT 730 card you need the old legacy 390 drivers instead of the more recent legacy 470 driver (for which your card should be compatible but maybe there is an issue I don’t know).
You didn’t tell if you install Manjaro with the proprietary/nonfree drivers, or if you installed with the free drivers. It was one of the option before booting to the installer desktop. //EDIT: I read your inxi output now that it is readable, you didn’t install Manjaro with proprietary drivers indeed.

PS: no need to ping everyone all the time, people who reply to a thread will receive notifications of new message, unless they manually disable notification for the thread (in which case they don’t want notification :slight_smile: ).

1 Like

As previously mentioned, the mainboard manufacturer site should usually have instructions for upgrading a BIOS. And, look, here it is:

The procedure has nothing to do with Manjaro or chroot.

Updating the BIOS can sometimes solve issues no matter what OS you happen to be using. I note there have been quite a few updates made available in recent times, and that’s often an indicator to keep a close eye on it.

I note there are also other firmware updates listed. Those should likely be handled via Windows; again, please search the MSI site for information needed,

I booted to open source drivers when using the live USB because booting with proprietary drivers takes so much longer. I could do another install with booting to proprietary drivers, but I am hoping I can still install the nonfree drivers another way.