• Breaking News

    [Android][timeline][#f39c12]

    Tuesday, September 1, 2020

    Linux i installed a custom kernel yesterday, how do i revert it back to default?

    Linux i installed a custom kernel yesterday, how do i revert it back to default?


    i installed a custom kernel yesterday, how do i revert it back to default?

    Posted: 01 Sep 2020 06:49 AM PDT

    title

    linux mint btw

    submitted by /u/lgdamefanstraight
    [link] [comments]

    Can someone help me solve issue of missing files from my hard disk?

    Posted: 01 Sep 2020 11:32 AM PDT

    I was able to fix it, see my solution at the bottom.


    I have just installed Debian on a new system. It's installed on a 120GB SSD, which I encrypted upon installation using LUKS.

    I have a separate 3TB SATA hard disk in the system as well. I wanted to encrypt this drive as well and have it mount automatically and be available.

    I followed a guide here: https://averagelinuxuser.com/encrypt-hard-drive-in-linux/

    And yesterday, it seemed to be working. I mounted my hard disk (/dev/sda1) to the location /mnt/hdd.

    I symlinked some folders on the HDD to my home folder, for example, in ~/Videos, I made symlinks to the directories "Movies" and "TV Shows" I had made at /mnt/hdd.

    I was able to move files to and from the disk, and the symlinks worked perfectly fine as well. I shut down the system at the end of the day, and today I started it back up, which is when the problems occurred.

    First, the directory /mnt/hdd is completely empty. Next, the symlinks I had made no longer work, I assume because /mnt/hdd is now empty.

    My initial thought is that it didn't mount, and I'm not sure if it has.

    Here is some output from running lsblk:

    NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 2.7T 0 disk └─sda1 8:1 0 2.7T 0 part └─sda1 254:3 0 2.7T 0 crypt /mnt/hdd 

    To me, this seems to mean that it's already mounted at /mnt/hdd like it should, but I'm not sure if this is true.

    Running fdisk -l produces this result:

    Disk /dev/mapper/sda1: 2.7 TiB, 3000574672896 bytes, 5860497408 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disklabel type: dos Disk identifier: 0x00000000 

    I'm not sure what happened. I think maybe some changes were not made persistent after booting, or maybe I didn't edit /etc/fstab correctly.

    Here is a copy of my fstab file:

    # /etc/fstab: static file system information. # # Use 'blkid' to print the universally unique identifier for a # device; this may be used with UUID= as a more robust way to name devices # that works even if disks are added and removed. See fstab(5). # # <file system> <mount point> <type> <options> <dump> <pass> /dev/mapper/Ultra--vg-root / ext4 errors=remount-ro 0 1 /dev/mapper/sda1 /mnt/hdd ntfs defaults # /boot was on /dev/sdb2 during installation UUID=360828e5-ec42-454e-983e-a3cde4d8b21e /boot ext2 defaults $ # /boot/efi was on /dev/sdb1 during installation UUID=4CE5-7E21 /boot/efi vfat umask=0077 0 1 /dev/mapper/Ultra--vg-swap_1 none swap sw 0 0 /dev/sr0 /media/cdrom0 udf,iso9660 user,noauto 0 0 

    The line beginning with /dev/mapper/sda1 is the line I added. I guess I might have done it wrong.

    Does anyone have an idea of what happened here? I really need to be able to use this hard disk without any problems like this.

    EDIT: I was still looking on my own for how to fix this as I posted this thread. Turns out a helpful article was linked on the same tutorial page I posted, see above. The link is here: https://averagelinuxuser.com/auto-mount-encrypted-partitions-at-boot/

    So the solution was right under my nose the whole time, luckily I was able to find the tutorial I used in my browsing history and have a second look. You need to edit both your /etc/crypttab in addition to /etc/fstab.

    In case the link ever breaks, I'll give an outline of what I did here.

    -Check names of partitions with the command "lsblk".

    In my case, the device I wanted was sda1.

    -Next, find the UUID of this device. I typed this:

    sudo cryptsetup luksID /dev/sda1 

    You may need to replace sda1 with whatever device you are trying to set up. Copy down the UUID it gives you. You can highlight it in the terminal, right click, and select Copy.

    -now, you need to edit /etc/crypttab. I used the nano editor since it's easy and you can do it in the terminal.

    sudo nano /etc/crypttab 

    -Add the line:

    sda1 /dev/disk/by-uuid/[UUID] 

    You'll need to replace sda1 with whatever your device came up as. Or it could be sda1 for you as well. You also need to replace [UUID] with the UUID you copied down.

    -Next, create a folder which is where you mount the drive. I created a folder called hdd in /mnt. /mnt is supposed to be where you typically mount drives, so my hard drive will mount at /mnt/hdd.

    -Now you need to edit /etc/fstab. I did sudo nano /etc/fstab. I added the line:

    /dev/mapper/sda1 /mnt/hdd ntfs defaults 

    So again, replace sda1 with your device. It mounts at /mnt/hdd, and my file system is ntfs. defaults just means default options, I guess.

    I rebooted, and the drive was still empty from before. But this time I was able to put some files on it, and reboot again, and they are still there. so basically what I did wrong here was not configure the files crypttab and fstab correctly to begin with.

    submitted by /u/NationalSurround
    [link] [comments]

    USB Wi-Fi adapter still doesn't work even after installing the DKMS module for kernel 5.8.4

    Posted: 01 Sep 2020 12:11 PM PDT

    I'm currently using Fedora 32 which was just updated (via the package manager) to kernel 5.8.4-200-fc32-x86_64. I'm using this driver with this patch for kernel 5.8, which builds successfully using the repository's build.sh script and seems to install correctly. sudo dkms status outputs the following:

    rtl88x2bu, 5.6.1, 5.8.4-200-fc32.x86_64, x86_64: installed 

    However, even after rebooting the system still can't seem to detect the WI-Fi adapter as the network tab in KDE doesn't show any Wi-Fi networks. The driver has always just worked immediately after installation on previous kernel versions so I'm not sure what could be wrong this time.

    I have little to no experience with Linux drivers, so does anyone more knowledgeable know what's going on and how I can fix or troubleshoot this?

    submitted by /u/AgreeableLandscape3
    [link] [comments]

    Zorin OS (Lite) or Elementary OS?

    Posted: 31 Aug 2020 08:20 PM PDT

    Hello! I have questions about what Linux distro to install on a Toshiba Laptop running a AMD CPU capped at 1GHz. I bought it from eBay and it has 320 or 256GB of HHD storage. 12GB of Ram. I want to know what OS to install, as I will need it for my kid to do Virtual Learning on. I have tried cloudready and Prime OS and some other OS's that is like Chrome OS, but the computer doesn't work with it and crashes.

    Please help me, thanks in advance! 😃

    submitted by /u/NightcoreKuan
    [link] [comments]

    Are snaps slower?

    Posted: 01 Sep 2020 01:36 PM PDT

    I noticed they start up slow but are they slower when running/using the software.

    And if I download/change qt theme can I change the theme in the snap application using qt.

    submitted by /u/nobalutpls1231
    [link] [comments]

    Grub rescue, normal.mod not found in /boot/grub

    Posted: 01 Sep 2020 01:19 PM PDT

    Hello, my laptop has been stuck in grub rescue for a month now. Upon booting I get the error "boot/grub/x86_64-efi/normal.mod is not found" After reading many guides I've found the drive where Linux is installed and listed the contents, but after listing the contents of /boot/grub there is no /86_64-efi/ directory. Is there any way I can fix this? Thanks in advance.

    submitted by /u/enine_
    [link] [comments]

    Remove snap Coolreader3

    Posted: 01 Sep 2020 01:08 PM PDT

    I installed Coolreader 3 from https://snapcraft.io/install/coolreader3/mint

    It doesn't work. Just taking up space on my hard drive now. How do I uninstall it?

    submitted by /u/SteveM2020
    [link] [comments]

    Ubuntu 20.04: Random freezing problem

    Posted: 01 Sep 2020 01:02 PM PDT

    Hi everyone,

    I am new to Ubuntu and I have the following problem: Every once in a while, the icons of all open software disappear and nothing works anymore, except closing the software. I can't open the terminal, I can't turn my laptop off properly, nothing.

    When I hit the power button once, I get a black screen with ongoing error messages, one of them is as follows:

    "EXT4-fs error (device nvme0n1p2): __ext4_find)entry:1531: inode #10750786: comm gmain: reading directory lblock 0"

    These error messages go on forever, until hard shutdown (argh!). After I turn the laptop back on, everything seems to be normal.

    I am running Ubuntu 20.04 on a new Lenovo E15. Can anyone help me with this one? I'm happy to provide more information, just tell me what you need.

    submitted by /u/TheCoffeeLovingCoder
    [link] [comments]

    Dell G3 Trackpad Driver.

    Posted: 01 Sep 2020 05:22 AM PDT

    Hey guys. I have attempted to try manjaro on my Dell G3 laptop. I seems to have an issue with the Trackpad. A. The 2 finger scrolling is inverted. B. I have to click the the buttons on the Trackpad everytime. It's annoying because im used to just tapping it. Any solutions? The laptop uses windows precision drivers out the gate. Help!

    submitted by /u/ProGamer1151
    [link] [comments]

    Masquerading in firewalld, how does it work?

    Posted: 01 Sep 2020 04:49 AM PDT

    I was setting up IP masquerading using firewalld. I setup one interface on an internal zone, and a separate interface in public zone and enabled masquerading in public zone. I got it to work, but I just want to know how does this all work under the hood? How does firewalld know to forward traffic received on an interface in internal zone, to the interface in public zone? My networking is a bit weak, so pardon if the question seems out of sorts.

    submitted by /u/mumer2834
    [link] [comments]

    Which Distribution between these four would you most recommend for someone switching from Windows 10 to Linux?

    Posted: 01 Sep 2020 12:53 AM PDT

    Between Mint Cinnamon, Kubuntu, Pop OS, and Linux Lite, which would you most recommend for someone switching from Windows 10 to Linux to make the transition smoother and less of a headache?

    submitted by /u/Wolfgalaxy63
    [link] [comments]

    Can't get audio out of anything but firefox

    Posted: 01 Sep 2020 11:19 AM PDT

    I'm running pavucontrol, and it only sees firefox as an incoming stream. I've tried bouncing pulseaudio (--kill then --start), and that doesn't have any affect. I've run alsamixer and enabled all of the outputs on all of the devices. Still no audio.

    What should I try next, guys?

    Neither vlc, nor minitube, nor mpg123 will give me any audio at all.

    submitted by /u/NerdOfManyTrades
    [link] [comments]

    No mountpoint for USB displayed after lsblk command?

    Posted: 01 Sep 2020 05:20 AM PDT

    Hi all,

    I'm using Ubuntu 20.04. After connecting my usb, the software "balena Etcher" (which I'm using to load an iso image to my usb) could write to the usb without needing to run a mount command beforehand.

    After finishing up just now, I'm unsure as to if I have to unmount the USB ( I never manually mounted in the first place). Even if I try to unmount it, lsblk returns a blank mountpoint (as can be seen in the image, the usb entry is sdc).

    Screenshot: https://imgur.com/a/2GZ0E52

    What should I do? Am I supposed to unmount it? If so, how do I do that without a mountpoint?

    submitted by /u/Tagina_Vickler
    [link] [comments]

    Linux to open only a web page without WM

    Posted: 01 Sep 2020 02:33 AM PDT

    Hi all

    I use Linux (diffrent distros) for a while now +10years .

    I want to install linux let's say arch , but I want it to open a web page , may be in minimal browser like surf or whatever

    But only the web page without bars or options or anything (for a work place that runs a web based system only )

    Do i have to use a WM or can I make a command line basic arch installation runs the browser without any DM or WM at all

    I mean do I have to install a DM and WM like i3 or so , with minimal installation and a web browser in auto run

    Or can I make it auto run from the terminal , instead of the startx after booting

    Thanks

    submitted by /u/drhafezzz
    [link] [comments]

    Hardware Decoding h264/h265 AMD RX550

    Posted: 01 Sep 2020 11:16 AM PDT

    Hi all,

    I recently worked on moving my gaming setup to a window VM and intend on using Moonlight to stream to my Ubuntu 20.04 installation. To get hardware decoding, I put an AMD RX 550 in my computer, but when I launch Moonlight, I'm presented with this popup:

    https://preview.redd.it/s2g4xwxzukk51.png?width=507&format=png&auto=webp&s=b9d443b015f73c6ed7231368c75c6d2fc5fc768c

    I've updated the kernel to 5.8.5 in hopes that it was a amdgpu kernel issue or the like, but still get the same popup (and I've confirmed I can't force it to decode h265 in Moonlight). What gives? I see online that these cards have decode/encode capabilities. Any help in getting this setup working would be greatly appreciated!

    Edit: I installed the Snap version of Moonlight and now it works without complaining. I previously had an AMD 3400G in the system the last time I launch Moonlight. Maybe it cached the APU's capabilities?

    submitted by /u/jjohnson338
    [link] [comments]

    Weird character rendering. Not sure if it is because of my fontconfig.

    Posted: 01 Sep 2020 09:59 AM PDT

    How to move or change my home folder

    Posted: 01 Sep 2020 05:44 AM PDT

    To be clear, I would need step by step instructions for this.

     

    I am using Linux Lite if it matters, different versions and I think different DE's (currently XFCE). So, I keep having to reinstall after about a year, something happens and then while I can connect to the internet, I literally have no connectivity. I have a windows partition, as well as a bootable CD that I can use to verify that it's just my main. That's another problem for another day. It's simple enough to reinstall, but all my files are in my old home folder. I see folks on this sub say "it's possible" and sometimes "it's easy" all the time... but never how.

     

    Summarized, I want to use my old existing home folder with a new install. (they are on seperate partitions on the same drive) How do I change it?

    submitted by /u/smartyhands2099
    [link] [comments]

    cmatrix utilizing wrong colors

    Posted: 01 Sep 2020 09:29 AM PDT

    As above. The only one that works is green. Using red makes a blueish color. Cyan is close. Everything else is white.

    I've been using
    'cmatrix -C color'

    Tried
    'cmatrix -C #XXXXXX'

    and

    'cmatrix -C [#XXXXXX]'

    to try custom colors (I don't know how to read man entries very well yet, so I'm not sure what I'm doing wrong, just trying to learn.

    Any idea what I'm doing wrong?

    submitted by /u/Cytota
    [link] [comments]

    How do I setup Wine? Please help. I'm on Xfce4.

    Posted: 01 Sep 2020 01:06 AM PDT

    I have it installed but... How do I set it up? The instructions were too uh... Complex...? Help please.

    submitted by /u/AlterGold93
    [link] [comments]

    What should I do with DevC++?

    Posted: 01 Sep 2020 07:42 AM PDT

    Good morning guys. On Friday, my school will have an event for new students, in which I'm participating in a programming one, I need DevC++, but as Linux packages are quite outdated, I have to decide between these options.

    • Run DevC++ through wine
    • Find a Good Alternative for Linux (If you think this will work, put in comments which should I use)
    • Run it in a Virtual Machine

    Thank you for your attention, guys!

    submitted by /u/PandaSovietico
    [link] [comments]

    Can't boot from a Linix Bootstick

    Posted: 01 Sep 2020 07:36 AM PDT

    Hey guys I wanted to try Linux Mint and can't boot from my USB Stick. If the USB stick is pluged in the BIOs won't show up and the screen just stays black. I can acess the BIOs without the USB stick tho. Tried it with unetbootin and Etcher. Any ideas?

    submitted by /u/DarkDromeda
    [link] [comments]

    [Tap Action] I'm working a script to configuration touchpad. [HELP]

    Posted: 01 Sep 2020 07:30 AM PDT

    I'm begining to learn about bash and how to develop its scripts. I actually work in a script to extract info from touchpad, i use xorg with i3-gaps.

    to check touchpad info, i use the command "xinput -list-props 14", 14 is my touchpad device.

    But i only interesed in this line "Synaptics Tap Action (317): 0, 0, 0, 0, 1, 3, 2", this line enable tap action.

    i managed to do saved this line in a file "tmp" i using the command (xinput -list-props 14 | grep "Tap Action" >> tmp)

    now i need to extract the value of Tap Action in this case is (317), but i don't know how to do it.

    anybody's help me, i'd so thank he.

    submitted by /u/jr_arch
    [link] [comments]

    Kernel panics on Arch

    Posted: 01 Sep 2020 07:30 AM PDT

    Hi guys. I've noticed that I've been having some kernel panics when running F@H at "full power" while using Chrome or something. I've tried downgrading to 5.7.10 kernel instead of the latest 5.8.something, that helped a little bit but I still get occasional panics. I'm going to try an LTS kernel, but I'm wondering if anyone knows how I can easily log fairly random kernel panics, and also if an LTS kernel will even help (I'll test it regardless and post my findings here).

    I'm running Arch w/ KDE on a Xeon X5650 and RX 570. Any discussion/tips are appreciated, thanks!

    submitted by /u/kelvinh_27
    [link] [comments]

    Desperately need help for university. (virtualbox)

    Posted: 01 Sep 2020 07:19 AM PDT

    Hi, i'm starting on a eletric engineering program and we are going to install virtualbox Linus.(Oracle VM virtualbox)

    I need a new laptop and was looking at the samsung galaxy book S and Ion. Can someone tell me if each of them are able to run these programs without any issues? I don't know much about this.

    I have an old macbook pro from 2015 with 8gb ram and 256GB SSD but apparently it's a struggle installing windows partition on it and then virtualbox, so i was thinking it's easier buying a new windows pc so i won't have issues with the storage space and software.

    Appreciate any help.

    submitted by /u/LigoLegendo
    [link] [comments]

    No comments:

    Post a Comment

    Fashion

    Beauty

    Travel