#StackBounty: #dual-boot #system-installation #uefi #usb-installation Ubuntu installer does not detect Windows 7

Bounty: 50

I’d like to install Ubuntu Focal Fossa onto a new hard drive. On my computer, there is already another hard drive with Windows 7. However, the installer does not detect this installation. I’m pretty sure that I booted in UEFI mode:

$ [ -d /sys/firmware/efi ] && echo UEFI || echo BIOS
UEFI
$ sudo efibootmgr
BootCurrent: 0006
...
Boot0006* UEFI: (FAT) Generic Flash Disk 8.07

I’ve tried different options in Rufus while creating the bootable USB stick, however, this doesn’t help at all. Is there anything else I can do?

Thanks in advance!


Get this bounty!!!

#StackBounty: #mount #windows #dual-boot #elementary-os MS-Windows secondary-storage (disk-drive) not showing up from Elementary OS (2 …

Bounty: 50

I’m running dual-boot Linux and Windows on a laptop with 2 internal drives, specifically Elementary OS on a 500GB SSD and Windows 10 on a 1TB NVME SSD.

I want to make an NTFS partition on the 1TB Windows drive and mount it on Elementary so I can share data between OSs, however the 1TB drive doesn’t show at all under /dev/sda on Elementary, as shown below:

# cat /proc/partitions

major minor  #blocks  name

   8        0  488386584 sda
   8        1     524288 sda1
   8        2  487860224 sda2

---

# fdisk -l /dev/sda

Disk /dev/sda: 465.8 GiB, 500107862016 bytes, 976773168 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: gpt
Disk identifier: 7B0055C1-DE1E-4030-BA1A-7F766ED3190C

Device       Start       End   Sectors   Size Type
/dev/sda1     2048   1050623   1048576   512M EFI System
/dev/sda2  1050624 976771071 975720448 465.3G Linux filesystem

However the Linux drive does show up from Windows Disk Management (albeit inaccessible due to filesystem), Disk 0 is Elementary, Disk 1 is Windows.
Linux top, windows bottom

I want to make sure eOS can see the second drive, then I’ll make the separate NTFS partition on Disk 1 and mount it. I don’t want to go through the hassle of resizing/making partitions before knowing the drive is even accessible.

EDIT: Tried using lspci -nn to find the drives, but I’m not sure how to read it properly. Maybe it’s the Serial Bus Controllers but I’m not sure.

00:00.0 Host bridge [0600]: Intel Corporation Device [8086:3e10] (rev 07)
00:01.0 PCI bridge [0604]: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor PCIe Controller (x16) [8086:1901] (rev 07)
00:02.0 VGA compatible controller [0300]: Intel Corporation Device [8086:3e9b]
00:08.0 System peripheral [0880]: Intel Corporation Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th Gen Core Processor Gaussian Mixture Model [8086:1911]
00:12.0 Signal processing controller [1180]: Intel Corporation Cannon Lake PCH Thermal Controller [8086:a379] (rev 10)
00:14.0 USB controller [0c03]: Intel Corporation Cannon Lake PCH USB 3.1 xHCI Host Controller [8086:a36d] (rev 10)
00:14.2 RAM memory [0500]: Intel Corporation Cannon Lake PCH Shared SRAM [8086:a36f] (rev 10)
00:14.3 Network controller [0280]: Intel Corporation Wireless-AC 9560 [Jefferson Peak] [8086:a370] (rev 10)
00:15.0 Serial bus controller [0c80]: Intel Corporation Device [8086:a368] (rev 10)
00:15.1 Serial bus controller [0c80]: Intel Corporation Device [8086:a369] (rev 10)
00:16.0 Communication controller [0780]: Intel Corporation Cannon Lake PCH HECI Controller [8086:a360] (rev 10)
00:17.0 RAID bus controller [0104]: Intel Corporation 82801 Mobile SATA Controller [RAID mode] [8086:282a] (rev 10)
00:1d.0 PCI bridge [0604]: Intel Corporation Device [8086:a335] (rev f0)
00:1e.0 Communication controller [0780]: Intel Corporation Device [8086:a328] (rev 10)
00:1f.0 ISA bridge [0601]: Intel Corporation Device [8086:a30d] (rev 10)
00:1f.3 Audio device [0403]: Intel Corporation Cannon Lake PCH cAVS [8086:a348] (rev 10)
00:1f.4 SMBus [0c05]: Intel Corporation Cannon Lake PCH SMBus Controller [8086:a323] (rev 10)
00:1f.5 Serial bus controller [0c80]: Intel Corporation Cannon Lake PCH SPI Controller [8086:a324] (rev 10)
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation Device [10de:1c91] (rev a1)
01:00.1 Audio device [0403]: NVIDIA Corporation GP107GL High Definition Audio Controller [10de:0fb9] (rev a1)
06:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 25)


Get this bounty!!!

#StackBounty: #boot #dual-boot #grub2 #lubuntu What should be done with laptop bootlooping iff monitor is attached – Dell laptop with L…

Bounty: 500

I have a Dell Latitude 7480 laptop with preinstalled Windows 10.

I installed Lubuntu 20.04 on it, with dual booting.

Things worked fine until I tried attaching an external monitor (that worked perfectly fine with my ancient Lenovo laptop).

I discovered that with attached screen latop starts bootlooping. GRUB menu appears as usual and starts countdown from 10.

After 2 seconds (when it reaches 8) laptop screen flashes black screen, GRUB appears again but

  • it stops reacting to a keyboard input
  • continues flashing black screen every few seconds
  • countdown freezes
  • neither Linux nor Windows boots

There is no error message at all – so I have no good terms to google for and neither DDG nor Google nor asking on Lubuntu Support telegram channel helped.

As workaround I can remove HDMI cable, select OS in GRUB menu and reattach it (attaching too early freezes boot, but attaching it too late causes Windows to not detect monitor at all).

Using screen after boot:

  1. With Windows 10 it worked fine (except extremely annoying interface to change screen settings)
  2. Screen refused to work at all in Lubuntu until I installed Nvidia Drivers ( How to install Nvidia driver in Ubuntu 18.04? was still mostly applicable )

There is no error message at all – laptop screen flashes black after about 2 seconds of GRUB screen and it stops reacting to a keyboard input.

I am primarily looking for info what is the proper method of diagnosing GRUB issues, how GRUB can be updated safely and how can I get rid of this problem.

To avoid XY problem: yes, I need Windows OS. I need it to file taxes using some insane program distributed as PDF file that is not openable by anything on Linux (and even if I would find workaround for this specific file it will likely happen again).

Workaround: remove HDMI cable as system boots, attach it immediately after GRUB stage. Yes, it is ridiculous and I want to stop this.

More info: I never tried booting with monitor attached before I installed Linux (maybe problem was happening also while it was just Windows?). Problem is not happening with HDMI cable attached and not connected to an external display.


Get this bounty!!!

#StackBounty: #boot #dual-boot #grub2 #mount #20.04 Grub : Ubuntu 20.04 Dual boot with Phoenix OS

Bounty: 100

I’ve downloaded Phoenix OS and extracted it to root folder as per the community guidelines.

I’ve added grub entry as following :

menuentry “PhoenixOS-ROC” {
linux /PhoenixOS-ROC/kernel root=/dev/ram0 androidboot.hardware=android_x86_64 androidboot.selinux=permissive quiet SRC=/PhoenixOS-ROC DATA=/data VGA=788
initrd /PhoenixOS-ROC/initrd.img
}

Everything seems fine as per the community guidelines and I’ve double-checked every step.

But, I am getting the following error while I select "PhoenixOS-ROC" in the grub menu on restart.

The ntfs partitions /dev/block/nvme0 cannot be mounted, error number
is 18. Found at /dev/nvme0n1p1

Following are the fdisk -l result :

Disk /dev/nvme0n1: 476.96 GiB, 512110190592 bytes, 1000215216 sectors
Disk model: SAMSUNG MZVLW512HMJP-000L2              
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 7B54F26C-EFE6-4F95-A87C-CABB2EE1544B

Device             Start        End   Sectors   Size Type
/dev/nvme0n1p1      2048  976777215 976775168 465.8G EFI System
/dev/nvme0n1p2 976777216  978731007   1953792   954M EFI System
/dev/nvme0n1p3 978731008 1000214527  21483520  10.3G Linux swap

No idea what I am missing, Please suggest.


Get this bounty!!!

#StackBounty: #boot #dual-boot #grub2 Ubuntu 20.04 stuck at boot screen

Bounty: 50

I’m running Ubuntu 20.04 dual boot with Windows 10. It worked fine until yesterday when it just got stuck at that black screen with "Ubuntu" written at the bottom. I tried disabling file check during boot, getting into recovery mode, restarting gdm3 service, changing boot config to nomodeset, but nothing seems to work. I also tried this (removing quiet splash from GRUB config) and got this output:

boot screen

There was a lot of stuff passing by, but this is where it got stuck (the only other error I recall having been able to see was that it failed to load the docker service quite a lot of times). Also, the only thing I did that could’ve caused this is systemctl mask tmp.mount (to install tensorflow), and then [probably] forgetting to unmask it, and apparently I can’t unmask it from recovery mode. Is there any way to fix this problem?


Get this bounty!!!

#StackBounty: #dual-boot #partitioning #grub2 GRUB boot loader install fails after apt upgrade Ubuntu 20

Bounty: 50

After running apt upgrade on Ubuntu 20.04. Either choice returns an error below. This is a windows dual boot. I have backups and I am using timeshift. I am learning but still pretty new to this.

Hoping someone can help me figure out what to do next. Should I continue without installing grub?

nvme0n1p1: entire extended partition

nvme0n1p6: mounted at /boot/efi

nvme0n1p9: filesystem root

nvme0n1p8: /home

enter image description here

enter image description here

Gparted:

enter image description here


Get this bounty!!!

#StackBounty: #dual-boot #19.10 19.10 freezes at blank purple screen

Bounty: 50

I upgraded to Ubuntu 19.10 yesterday while going to bed and might have fallen asleep while installing. I don’t recall if I interrupted or succesfully installed it.

I dual boot Ubuntu and windows should it be relevant.

When I boot Ubuntu up it does not show the loading bar and logo. It just goes plain blank purple and does not get any further.

Is there a way I can troubleshoot?
If not, Is is possible to reinstall ubuntu keeping my data?
If not, should I nuke it and install fresh with USB?


Get this bounty!!!

#StackBounty: #boot #dual-boot #uefi #20.04 #bootloader boot options disappear after installing windows in UEFI mode?

Bounty: 50

I have ubuntu 19.10 on my system with the Legacy boot. I installed Windows 10 in UEFI mode and now boot options are missing at the startup.

I tried following things to fix the boot:

  • tried boot-repair utility, it failed with following error: ‘Please enable a repository containing the [grub-efi-amd64-signed] packages’
  • created UEFI partition and tried installing grub on it manually. It also didn’t work.
  • logged into windows and tried easyBCD utility. Here in add new entry option, Linux is disabled.

But neither worked. I cannot login into Ubuntu now. However, I have bootable Ubuntu USB handy with me, my home is mounted on a separate partition.

is there a way to fix the boot loader without losing anydata?
If re-install is the only option, If I use re-install ubuntu option instead of “something-else” will it fix the bootloader? Please refer me to the any useful link which I can follow to re-install.


Get this bounty!!!

#StackBounty: #boot #dual-boot #partitioning #hard-drive #windows-10 Ubuntu Failed to install and now I don't know which partition …

Bounty: 100

I tried to install Ubuntu 20.04 LTS on my Windows 10 system as a dual boot. It got all the way to the end and told me that the drive was unclean (Can’t remember exact warning); Research told me that something with the safe boot could have messed it up but I found out that I can achieve what I needed with a Linux subsystem. Now the failed Ubuntu install is holding my other 500 GB hostage because it had partitioned my drive before failing. Since windows is installed on my SSD, would I have to worry about vital stuff getting deleted if I just delete the partition that says “EFI System” since Ubuntu uses EFI?

How can I figure out which partition it took so I can delete it and gain back that space? I worry about deleting a vital partition and completely screwing my computer up. I have two drives, one is a 128GB SSD and the other is a 1TB HDD, it seems to have partitioned my HDD but I don’t know if it installed its self on my SSD too, either way I just need the space back. I should have paid more attention but I’ve never had a problem when doing this before so I just blew through the installation…I’ve learned my lesson. Can anyone give me some advice?

Extra Info: I can boot into Ubuntu but it just takes me to a command line. If I enter ‘exit’ it takes me to a MOK screen where I can supposedly register keys and such. When I exit the MOK screen it defaults to windows because there isn’t anything to boot into. Would I be able to get some sort of identifying information from the command line that could help? The names of the partitions are the exact same except on says “Healthy (EFI System)”

Partition image with windows
Partition image with windows

Ubuntu/Grub command line
Ubuntu/Grub command line


Get this bounty!!!

#StackBounty: #boot #dual-boot #partitioning #hard-drive #windows-10 Ubuntu Failed to install and now I don't know which partition …

Bounty: 100

I tried to install Ubuntu 20.04 LTS on my Windows 10 system as a dual boot. It got all the way to the end and told me that the drive was unclean (Can’t remember exact warning); Research told me that something with the safe boot could have messed it up but I found out that I can achieve what I needed with a Linux subsystem. Now the failed Ubuntu install is holding my other 500 GB hostage because it had partitioned my drive before failing. Since windows is installed on my SSD, would I have to worry about vital stuff getting deleted if I just delete the partition that says “EFI System” since Ubuntu uses EFI?

How can I figure out which partition it took so I can delete it and gain back that space? I worry about deleting a vital partition and completely screwing my computer up. I have two drives, one is a 128GB SSD and the other is a 1TB HDD, it seems to have partitioned my HDD but I don’t know if it installed its self on my SSD too, either way I just need the space back. I should have paid more attention but I’ve never had a problem when doing this before so I just blew through the installation…I’ve learned my lesson. Can anyone give me some advice?

Extra Info: I can boot into Ubuntu but it just takes me to a command line. If I enter ‘exit’ it takes me to a MOK screen where I can supposedly register keys and such. When I exit the MOK screen it defaults to windows because there isn’t anything to boot into. Would I be able to get some sort of identifying information from the command line that could help? The names of the partitions are the exact same except on says “Healthy (EFI System)”

Partition image with windows
Partition image with windows

Ubuntu/Grub command line
Ubuntu/Grub command line


Get this bounty!!!