Dualboot problem with windows 10 and ubuntu in MSI

I have installed windows 10 and ubuntu 20.04 on my laptop, in general it seems that everything works fine.
The problem I observe, is when I’m in ubuntu, and I reboot to enter windows, there are configurations that are reset, like configurations with the graphic card (nvidia), sound card or wifi.

Similarly, when I’m in windows and I switch to ubuntu, the first time I log in, the wifi card never works in ubuntu, I have to reboot twice for ubuntu to detect it…

I was reading that this may be due to the UEFI configuration, which should be using legacy mode. Should I format the disk, switch modes, and reinstall windows + ubuntu?

Also, in other computers I’ve had, I used to have problems changing the time, when I changed OS, but in this case, I find it curious to observe that not only the hour changes but also the minutes, I don’t know if it’s something also rare.

I’ve put all the problems together because I don’t know if they are all due to the same mistake…

Thank you very much in advance

Pablo

Go to Source
Author: Pablo MorPal

Boot Windows ARM on Raspbery PI4 from SSD via USB3 adapter

I want to test my dev on ARM devices. With an SDCard it’s too slow, Windows is unusable.

I do :

  • I build an Windows 10 ARM ISO
  • enable USB with “winpatch”
  • put on SSD (via USB3-SATA adapter)
  • use an USB ethernet adapter for internet and transfers
  • I use a USB-C PowerDelivery 65W

The issue info:

  • BOOT_STOPPED : failed to open device: sdcard
  • Bootloader 2020/04/16

It works with SDCard but too slow. What can i do ?

Go to Source
Author: Baud

Why is Ubuntu 20.04 not registering ethernet on my Raspberry Pi?

When the Raspberry Pi boots up, Ubuntu 20.04 says the following:
Net: No ethernet found.
starting USB…
No working controllers found

It continues to boot up, but this means that I can not install a desktop environment on it. The ethernet port and cable work fine, and the Raspberry Pi ethernet jack lights up when the cable is plugged in. How do I get ethernet to be recognized?
Thanks!

Go to Source
Author: techyguy2

Ubuntu 20.04 cannot boot live CD in VirtualBox

I am trying to do some testing in Ubuntu, and need a fresh VM. I am at work running Windows 10. I downloaded the latest version of VirtualBox (6.1.10) and the latest version of Ubuntu Desktop 20.04. Unfortunately, I cannot seem to boot the live CD. I see the VBX splash screen, followed by an Ubuntu splash screen (briefly) but then the screen goes black with a blinking cursor (that does not appear to register keystrokes). Doing a bit of research, it appears that the issue is usually video adapter related, but I have tried maxing out the video memory, selecting all three different adapters, enabling and disabling 3D acceleration, and tried Ubuntu 18.04 and the latest Mint, all with the same result. I use VirtualBox regularly at home on Windows and Linux with no problems. Is there something obvious I am missing now?

Go to Source
Author: gillonba

Ubuntu 20.04 takes too long to boot

I have recently installed Ubuntu 20.04 on my HP-notebook(intel core i-5, 8GB RAM, AMD Radeon 2GB). It takes more than 2 min to reach the login screen.

I used the command dmesg to analyze which process it taking too much time only too see the below output:

If you go to timestamp [ 67.555730] rfkill: input handler disabled] , the process just after that by the name of audit has been called so many times and took nearly 50 secs of the boot process.

[   67.460851] [drm] ib test on ring 1 succeeded in 0 usecs
[   67.460874] [drm] ib test on ring 2 succeeded in 0 usecs
[   67.460899] [drm] ib test on ring 3 succeeded in 0 usecs
[   67.460924] [drm] ib test on ring 4 succeeded in 0 usecs
**[   67.555730] rfkill: input handler disabled**
[  111.331719] audit: type=1400 audit(1591675362.633:47): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/snap/snapd/7777/usr/lib/snapd/snap-confine" pid=1687 comm="apparmor_parser"
[  111.332012] audit: type=1400 audit(1591675362.633:48): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/snap/snapd/7777/usr/lib/snapd/snap-confine//mount-namespace-capture-helper" pid=1687 comm="apparmor_parser"
[  112.182135] audit: type=1400 audit(1591675363.485:49): apparmor="STATUS" operation="profile_replace" info="same as current profile, skipping" profile="unconfined" name="snap-update-ns.snap-store" pid=1689 comm="apparmor_parser"
[  112.188690] audit: type=1400 audit(1591675363.493:50): apparmor="STATUS" operation="profile_replace" info="same as current profile, skipping" profile="unconfined" name="snap-update-ns.canonical-livepatch" pid=1691 comm="apparmor_parser"
[  112.190389] audit: type=1400 audit(1591675363.493:51): apparmor="STATUS" operation="profile_replace" info="same as current profile, skipping" profile="unconfined" name="snap.canonical-livepatch.hook.configure" pid=1694 comm="apparmor_parser"
[  112.192167] audit: type=1400 audit(1591675363.497:52): apparmor="STATUS" operation="profile_replace" info="same as current profile, skipping" profile="unconfined" name="snap.canonical-livepatch.canonical-livepatch" pid=1692 comm="apparmor_parser"
[  112.192408] audit: type=1400 audit(1591675363.497:53): apparmor="STATUS" operation="profile_replace" info="same as current profile, skipping" profile="unconfined" name="snap.canonical-livepatch.canonical-livepatchd" pid=1693 comm="apparmor_parser"
[  112.195750] audit: type=1400 audit(1591675363.497:54): apparmor="STATUS" operation="profile_replace" info="same as current profile, skipping" profile="unconfined" name="snap-update-ns.vlc" pid=1698 comm="apparmor_parser"
[  112.196569] audit: type=1400 audit(1591675363.501:55): apparmor="STATUS" operation="profile_replace" info="same as current profile, skipping" profile="unconfined" name="snap.snap-store.snap-store" pid=1695 comm="apparmor_parser"
[  112.197056] audit: type=1400 audit(1591675363.501:56): apparmor="STATUS" operation="profile_replace" info="same as current profile, skipping" profile="unconfined" name="snap.snap-store.ubuntu-software" pid=1696 comm="apparmor_parser"
[  118.265070] kauditd_printk_skb: 2 callbacks suppressed
[  118.265076] audit: type=1400 audit(1591675369.569:59): apparmor="STATUS" operation="profile_replace" info="same as current profile, skipping" profile="unconfined" name="/snap/core/9289/usr/lib/snapd/snap-confine" pid=1796 comm="apparmor_parser"
[  118.265095] audit: type=1400 audit(1591675369.569:60): apparmor="STATUS" operation="profile_replace" info="same as current profile, skipping" profile="unconfined" name="/snap/core/9289/usr/lib/snapd/snap-confine//mount-namespace-capture-helper" pid=1796 comm="apparmor_parser"
[  118.797549] audit: type=1400 audit(1591675370.101:61): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="/snap/snapd/7777/usr/lib/snapd/snap-confine" pid=1798 comm="apparmor_parser"
[  118.836034] audit: type=1400 audit(1591675370.141:62): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="/snap/snapd/7777/usr/lib/snapd/snap-confine//mount-namespace-capture-helper" pid=1798 comm="apparmor_parser"
[  119.433628] audit: type=1400 audit(1591675370.737:63): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="snap-update-ns.core" pid=1800 comm="apparmor_parser"
[  119.529999] audit: type=1400 audit(1591675370.833:64): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="snap.core.hook.configure" pid=1801 comm="apparmor_parser"
[  120.144506] audit: type=1400 audit(1591675371.449:65): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="snap.snap-store.snap-store" pid=1803 comm="apparmor_parser"
[  120.175883] audit: type=1400 audit(1591675371.481:66): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="snap-update-ns.vlc" pid=1806 comm="apparmor_parser"
[  120.190680] audit: type=1400 audit(1591675371.493:67): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="snap.snap-store.ubuntu-software" pid=1804 comm="apparmor_parser"
[  120.211819] audit: type=1400 audit(1591675371.517:68): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="snap-update-ns.canonical-livepatch" pid=1808 comm="apparmor_parser"
[  147.119565] kauditd_printk_skb: 6 callbacks suppressed
[  147.119569] audit: type=1400 audit(1591675398.426:75): apparmor="STATUS" operation="profile_replace" info="same as current profile, skipping" profile="unconfined" name="/snap/snapd/7777/usr/lib/snapd/snap-confine" pid=1934 comm="apparmor_parser"
[  147.119577] audit: type=1400 audit(1591675398.426:76): apparmor="STATUS" operation="profile_replace" info="same as current profile, skipping" profile="unconfined" name="/snap/snapd/7777/usr/lib/snapd/snap-confine//mount-namespace-capture-helper" pid=1934 comm="apparmor_parser"
[  147.918540] audit: type=1400 audit(1591675399.222:77): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="snap.snap-store.ubuntu-software" pid=1938 comm="apparmor_parser"
[  147.948852] audit: type=1400 audit(1591675399.254:78): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="snap.snap-store.ubuntu-software-local-file" pid=1939 comm="apparmor_parser"
[  148.020594] audit: type=1400 audit(1591675399.326:79): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="snap.snap-store.snap-store" pid=1937 comm="apparmor_parser"
[  148.216393] audit: type=1400 audit(1591675399.522:80): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="snap-update-ns.snap-store" pid=1936 comm="apparmor_parser"
[  210.116607] [drm] PCIE gen 3 link speeds already enabled
[  210.133629] [drm] PCIE GART of 2048M enabled (table at 0x0000000000040000).
[  210.133736] radeon 0000:01:00.0: WB enabled
[  210.133739] radeon 0000:01:00.0: fence driver on ring 0 use gpu addr 0x0000000080000c00 and cpu addr 0x0000000002c29bac
[  210.133740] radeon 0000:01:00.0: fence driver on ring 1 use gpu addr 0x0000000080000c04 and cpu addr 0x00000000f44304ae
[  210.133742] radeon 0000:01:00.0: fence driver on ring 2 use gpu addr 0x0000000080000c08 and cpu addr 0x0000000031bde5cd
[  210.133743] radeon 0000:01:00.0: fence driver on ring 3 use gpu addr 0x0000000080000c0c and cpu addr 0x00000000d7e92f5c
[  210.133744] radeon 0000:01:00.0: fence driver on ring 4 use gpu addr 0x0000000080000c10 and cpu addr 0x000000001f77e5bc
[  210.326579] [drm] ring test on 0 succeeded in 1 usecs
[  210.326584] [drm] ring test on 1 succeeded in 1 usecs
[  210.326588] [drm] ring test on 2 succeeded in 1 usecs
[  210.326596] [drm] ring test on 3 succeeded in 4 usecs
[  210.326603] [drm] ring test on 4 succeeded in 4 usecs
[  210.326671] [drm] ib test on ring 0 succeeded in 0 usecs
[  210.326732] [drm] ib test on ring 1 succeeded in 0 usecs
[  210.326820] [drm] ib test on ring 2 succeeded in 0 usecs
[  210.326833] [drm] ib test on ring 3 succeeded in 0 usecs
[  210.326844] [drm] ib test on ring 4 succeeded in 0 usecs
[  210.334790] rfkill: input handler enabled
[  210.715243] Bluetooth: RFCOMM TTY layer initialized
[  210.715258] Bluetooth: RFCOMM socket layer initialized
[  210.715273] Bluetooth: RFCOMM ver 1.11
[  224.498251] audit: type=1400 audit(1591675475.797:81): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="snap.snap-store.ubuntu-software-local-file" pid=2256 comm="apparmor_parser"
[  224.529105] audit: type=1400 audit(1591675475.829:82): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="snap.snap-store.snap-store" pid=2254 comm="apparmor_parser"
[  224.546528] audit: type=1400 audit(1591675475.845:83): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="snap.snap-store.ubuntu-software" pid=2255 comm="apparmor_parser"
[  224.820589] audit: type=1400 audit(1591675476.121:84): apparmor="STATUS" operation="profile_replace" info="same as current profile, skipping" profile="unconfined" name="snap-update-ns.snap-store" pid=2253 comm="apparmor_parser"
[  233.396341] rfkill: input handler disabled
[  236.218843] [drm] PCIE gen 3 link speeds already enabled
[  236.230351] [drm] PCIE GART of 2048M enabled (table at 0x0000000000040000).
[  236.230455] radeon 0000:01:00.0: WB enabled
[  236.230458] radeon 0000:01:00.0: fence driver on ring 0 use gpu addr 0x0000000080000c00 and cpu addr 0x0000000002c29bac
[  236.230459] radeon 0000:01:00.0: fence driver on ring 1 use gpu addr 0x0000000080000c04 and cpu addr 0x00000000f44304ae
[  236.230460] radeon 0000:01:00.0: fence driver on ring 2 use gpu addr 0x0000000080000c08 and cpu addr 0x0000000031bde5cd
[  236.230461] radeon 0000:01:00.0: fence driver on ring 3 use gpu addr 0x0000000080000c0c and cpu addr 0x00000000d7e92f5c
[  236.230462] radeon 0000:01:00.0: fence driver on ring 4 use gpu addr 0x0000000080000c10 and cpu addr 0x000000001f77e5bc
[  236.422306] [drm] ring test on 0 succeeded in 1 usecs
[  236.422311] [drm] ring test on 1 succeeded in 1 usecs
[  236.422315] [drm] ring test on 2 succeeded in 1 usecs
[  236.422323] [drm] ring test on 3 succeeded in 4 usecs
[  236.422329] [drm] ring test on 4 succeeded in 4 usecs
[  236.422393] [drm] ib test on ring 0 succeeded in 0 usecs
[  236.422422] [drm] ib test on ring 1 succeeded in 0 usecs
[  236.422554] [drm] ib test on ring 2 succeeded in 0 usecs
[  236.422583] [drm] ib test on ring 3 succeeded in 0 usecs
[  236.422597] [drm] ib test on ring 4 succeeded in 0 usecs

Also, it takes about 10 secs to load the desktop and icons from login screen.

Below is the head of the output of $system-analyze blame.

41.797s plymouth-quit-wait.service                           
25.586s man-db.service                                       
21.755s NetworkManager-wait-online.service                   
19.547s networkd-dispatcher.service                          
12.294s apt-daily.service                                    
10.432s dev-sda2.device                                      
10.193s udisks2.service                                      
 9.942s accounts-daemon.service                              
 7.864s NetworkManager.service                               
 7.050s snapd.service                                        

Go to Source
Author: Hades

Ubuntu specific RAM issues – chrome crashing and memtest86 freezing

G’day,

I’m running 4x8GB sticks of corsair vengeance LPX RAM, a 5700xt and an r5 3600x.

I just installed ubuntu 20.04 a week ago to dual-boot with windows and I’ve been having RAM-related problems. Google chrome pages have been crashing with the aw, snap error: SIGSEGV. Chrome will also completely crash if I have too many tabs open. I ran memtest86 from the ubuntu boot menu and it freezes at 16% on the first pass when I have all my ram in and 35% when only 2 sticks are in (doesn’t seem to matter which two sticks or which DIMM slots, either). I’ve yet to be able to get past 2 seconds into a memtest86 test.

I don’t have these issues when I run windows as the OS and the Windows Memory Diagnostic didn’t return any errors. It seems like the issues come when I try to access more than a certain amount of RAM in Ubuntu but I’m not sure.

The command free -m shows the amount of memory i’d expect.

Does anyone have any thoughts? I’ve tried installing PPA drivers for my GPU and had a look at the latency timings for my RAM in the UEFI but no luck.

Cheers.

Go to Source
Author: RuddyDev

Displaying Full Storage Capacity after removing Wndows 10 after a dual boot

I’m not able to access the available storage list. It only shows a partial section of the memory leaving out the former memory which had Windows 10 installed in it. I’m sending a screenshot just for clarification.
MY hard-disk contains 500GiB but it says only 135GiB left
Kindly help pls.the image shows the partitions and the notification about only showing 135GiB leaving out the rest of the memory

Go to Source
Author: Kelvin

Black screen after uninstalled python 2.7

Black screen after uninstalled python 2.7

I’ve uninstalled python 2.7 completely from my Linux Mint Cinnamon. After reboot, the system didn’t turn on. It shows me the screensaver with my account and the space to insert the password. But after the access, all I can see is a black screen with no possibility of access to the terminal.
I’ve tried CTRL+ALT+F1, but nothing happens.

How can I access to the terminal? Should I reinstall Linux from Windows, since my computer has a dual boot with the two systems?

Go to Source
Author: Aurora Blackwood

Rotate touchscreen in CLI mode

Rotate touchscreen in CLI mode

I’m asking for the help with my problem. I’m developing a Qt GUI application, that will run on Raspberry Pi 4 as an embedded device. I need to run my app at boot without showing the desktop to the user. My main goal is: when the device is booting, it should display my custom splash screen until my Qt application shows on’ the screen. No desktop visible or any boot text in the process, users doesn’t need to even know it’s a linux and Raspberry Pi that everthing’s running on. So I managed to get rid of all boot messages and logos I don’t need by replacing drivers/video/logo/logo_linux_clut224.ppm in my kernel to my own custom logo graphic, recompiling it and modifying the /boot/cmdline.txt. As I need to prevent the user from interacting the desktop and doesn’t really need it in my project I was advised to run my Qt app in CLI mode, rendering it directly in the framebuffer. So I switched my Raspberry to boot in CLI autologin in raspi-config and add a service which runs my app at boot with a -platform linuxfb option. Everything works as expected, my custom splash screen is displayed for the entire boot until my app shows.

The problem is I need the app to run in portrait mode. Rotating the display was easy, as I only needed to add display_rotate=1 in /boot/config.txt. But the touchscreen stayed in landscape mode and I can’t find a way to rotate it. All the solutions I can find use xinput to rotate the touchscreen or add the Option "TransformationMatrix" to the /usr/share/X11/xorg.conf.d/40-libinput.conf which I can’t use because I don’t have a X server running.

Can anyone tell me how can I rotate the touchscreen without X server?

Thanks.

Go to Source
Author: Piotr

Double win10 installs – both bitlocker protected and isolated

Double win10 installs – both bitlocker protected and isolated

Hardware:

  • AMD Ryzen processor, ASUS Crosshair Hero VI mb, no TPM installed
  • M.2 Samsung 960 PRO SSD
  • SATA Samsung 840 PRO SSD

I would like to have latest win10 2004 on both SSDs and isolated from one another for privacy reasons.

  • 1st SSD is for work and part of AzureAD
  • 2nd SSD should be private

M.2 is already installed, with bitlocker and working. Asking for PIN on boot (before OS menu).

When I tried to setup bitlocker on 2nd SSD bitlocker setup crashed and cannot boot to 2nd OS anymore.
TrueCrypt is also an alternative for 2nd SSD, but seems I will have same problems with bootloaders?

Any suggestions how to set this up?
If really necessary I will reinstall everything.

Go to Source
Author: PeroR