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

How to partition hard drive in Ubuntu 20.04

I’m literally brand-new to Linux and Ubuntu, so please forgive my ignorance and bear with me here. I purchased a Dell Inspiron 5593 recently and immediately installed Ubuntu 20.04 on it. Long story short, the keyboard is screwed up, and the place I bought it from won’t service Linux OS. Gotta be Windows/Mac OSX for some stupid reason.

So now I’m trying to partition the hard drive and reinstall Windows on the the partition. I’ve checked out GParted, but I haven’t been able to follow the documentation. For example, I don’t see any unallocated space on my disk, and I’m not willing to unmount my main disk without knowing what that will do to my computer.

Honestly at this point I’m ripping my hair out and would just appreciate some clear instructions on how to partition a hard drive in Ubuntu 20.04 because I’m clearly too technically illiterate to understand GParted’s documentation.

Go to Source
Author: Yehuda

How can I recover files that have dissapeared?

I’m honestly in tears, I’ve just lost 60GB of music I’ve been collecting for over 15 years.

I mounted a drive to /mnt and moved all the music files over to it. When it finished I checked that the files were all there and then shut down my computer and rebooted it into Windows. The files were not there, shut down again and booted back into Linux and they’ve all vanished. I have no idea what to do. Have they actually been deleted?

Any help is hugely appreciated 🙁

Go to Source
Author: Shaun Wild

No display (only) during GRUB menu

I installed Ubuntu 20.04.1 LTS yesterday on my three year old or so Ryzen powered Lenovo desktop, which has an LG TV connected to it in a dual booting with Windows 10 configuration, but when GRUB loads up, everything about my TV goes dark (no backlight either.) I have BIOS, and I get the Ubuntu loading screen as it boots to desktop. Haven’t messed with Linux heavily since the days of Mandrake 7.2 and have been looking to get back into it, though I have been using it as a desktop for lower powered machines the entire time. (I also used LILO then, as GRUB had compatibility issues. I keep hearing this has not changed and is likely an issue here.) I have followed a few tutorials I found here and there in attempt to get a fairly basic text display or something, so that I can see what option I am selecting, should I hope to go into Windows, though I’ve realized no change in the situation thus far. What are some things I can look for to restore sight to GRUB?

Go to Source
Author: Roger Gilbert

No ethernet connection available in Ubuntu 20.04

I just installed Ubuntu 20.04 on a clean SSD alongside windows to do C development and when I first booted, there was no internet connection yet my ethernet worked perfectly in windows.

My network controller is the realtek RTL8125 2.5 gb and is labelled “UNCLAIMED” when I run the lshw -C network command. I can access the internet using a USB tether to my phone but nothing I have tried so far has fixed the problem.

Would appreciate any help

Go to Source
Author: Liam Doughty

Easy way to bypass password on my computer

I was not able to formule a question so maybe this was already solved, and if that’s the case, sorry.
But I found a huge vulnerability on my computer. It’s a portable computer with a Win10/Ubuntu 20.04 dual boot.
When I’m logged in, and that I lock my session, this sends me to the login screen, okay. But then, if I do Ctrl+Alt+F3 to go to the terminal mode, and then do Ctrl+Alt+F7 to leave terminal mode, this simply unlocks my session !
It doesn’t work at computer start though, the session must be started and locked.
Note that when I close my computer this doesn’t lock my session even if it’s activated in the settings.
This is a critical vulnerability but it’s doesn’t work at all on my friend’s computer which is also a Win10/Ubuntu 20 dual boot.
I don’t know why this happens to me, any idea of solving this ?

Thanks for you time

Go to Source
Author: Double Vé

ANSWER

This does not seem to be a normal behavior from what I’ve experienced at all as far as I can remember. I know before I was fond of having my Linux desktop auto-login on startup. I think I also opted to have it login automatically after sleep/suspend. Perhaps the switch to a different TTY/console constitutes as the same behavior. This looks a lot like buggy behavior to me.

I would go so far as to document on how to replicate it, and report it as a bug. Call the attention of the developers so this can be looked into and fixed if necessary.

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

Ubuntu 20.04 Does Not Boot

ANSWER

Looks like this one just needs to have their GRUB re-written to MBR again. It’s not so hard. But given that I did something like this 8 years ago… The concept should still be the same. Steps of what I did to fix it here.

I originally had Ubuntu 18.04 installed on my dell xps 13 (2017). A couple days ago, I replaced it with Ubuntu 20.04 due to constant error messages. Until today, I was able to use it without any trouble.
However, I had to use Windows earlier today, and now when I was trying to boot Ubuntu back, I am unable to do so.

First error message

Unexpected return from initial read: Volume Corrupt buffersize 1000 Failed to load image EFIubuntugrubefi: Volume Corrupt start_image() returned Volume Corrupt

and then windows booted automatically.

In trying to resolve the issue,

  1. Tried reinstalling Ubuntu 20.04 using LiveUSB, but got the error saying the system doesn’t have EFI System Partition
  2. Consulted the forum https://ubuntu.forumming.com/question/5394/unexpected-return-from-initial-read-volume-corrupt.
    In running Boot Repair, I received an error message, sayin EFI System Partition is needed.
  3. Used GPart to try to tweak disk settings (changing the disk partition that holds Ubuntu File System from ext4 to fat32… I didn’t document this process very well)
  4. Followed a tutorial that used Windows command prompt and diskpart, creating an ESP.
  5. Reran Boot Repair (successfully this time)

However, now I encountered a GRUB error

“Minimal BASH like line editing is supported. For the first word, TAB lists possible command completions. anywhere else TAB lists possible device or file completions.”

I’ve been looking up different solutions, but I am having trouble understanding them, and afraid I am messing my disk more and more.

Thank you in advance.

Go to Source
Author: Amanda Jeong

Boot Freezes and “Loading initial Ramdisk”

Boot Freezes and “Loading initial Ramdisk”

I upgraded from Ubuntu 19 to Ubuntu 20.04 yesterday and then on restart my Laptop (Alienware 17r4 , Nvidea GTX1070) freezez at “Loading initial Ramdisk”

i googled a lot and applied couple of workarounds but didnt help
– Adding nomodeset – Didnt help .
– Updated my Bios Firmware from Dell – Didnt help
– Updating grub2 – didnt help

The weird thing is that when i enable Secure Boot from Bios , it lets me Boot one time and then it does not let me boot upon restart . I again have disbale Secure boot , then when i boot i boot upto Login screen of Ubuntu but id does not let me pass through even after entering correct password and then when i enable secure boot it lets me boot Normally(very Slow)

i tried to Folloow : Ubuntu 18.04 fails to boot even in recovery mode (stuck on loading initial ram disk) on ASUS UX433FA
but i dont think the mentioned intel drivers are availaible for ubuntu 20.04

-i am using Nvidea Proprietary drivers (nvidea-driver-440)

Any help will be highly appreciated

Go to Source
Author: Yogesh Singh