Thanks Brains for your comprehensive reply.
Quote:
Originally Posted by Brains
You can either boot the Ubuntu Live, or Lubuntu Live and easily access both Ubuntu installed and Windows 10 installed to retrieve data through the graphical file manager. To open directories that require root access, you right click on that directory and select "Open as root". Since you also mention you have also installed Lubuntu, same thing applies from this installation. But reinstalling Ubuntu should not affect the Windows 10 partitions unless you direct the Ubuntu installer to install automatic, when it comes to the partitioning stage you simply select "Custom partitioning" or similar where you can highlight only the Ubuntu partitions and designate their mount points and file system format. Ubuntu 18.04 does not create a separate swap partition, so there should only be a root partition (/) that you need to select and designate as root with desired file system which should default to ext4.
The quote above would lead one to believe you installed both Windows 10 and Ubuntu in legacy BIOS mode, which means there should not be a EFI system partition which would be required for a UEFI system, whatever the case, if there is a EFI partition, you don't need to instruct the installer to use it, it should use it automatically if you are installing in UEFI mode. Only the existing Ubuntu root partition should be selected to use and designated as root for the new install, the new install should not affect anything Windows related.
Which Nvidia driver did you install?
1: The .run installer from Nvidia downloads (latest but not necessarily greatest)
2: The PPA version by enabling PPA repositories and installing "latest but not necessarily greatest"
In the past this option worked, but not this time
3: The recommend stable version through "Software & Update/Additional Drivers"
Windows 10 update should not affect Ubuntu on a separate drive. Perhaps some clarification can shed better light.
And last but not least, you can also boot the Ubuntu Live, chroot into the installed Ubuntu and attempt to revert damages and or apply updates and roll back whatever kernel is giving you issues. The .run Nvidia driver installer will always pump out a error "Taints kernel", but this usually has no ill effect if the driver installation completed successfully.
From while running Ubuntu in live mode, run command: sudo fdisk -l to find the Ubuntu root partition device, perhaps based on the information you provided so far, /dev/sdc1. Replace the xxxx in the first command in the code below with the appropriate device and continue issuing the commands listed, after the sudo chroot /mnt command, you will be able to execute commands in the installed Ubuntu as root, such as apt update, apt upgrade, uname -a to see kernel version installed, apt reinstall linux-image-4.15.0-45-generic to reinstall the current kernel, if this is not the version produced by the uname -a command, change the version number to match the output of uname -a command.
My version of apt does not have reinstall as an option, instead I could only use apt install
Once you are done, continue on with the rest of the commands to exit the chroot and unmount everything.
Code:
sudo mount /dev/xxxx /mnt
sudo mount --bind /dev /mnt/dev
sudo mount --bind /dev/pts /mnt/dev/pts
sudo mount --bind /proc /mnt/proc
sudo mount --bind /sys /mnt/sys
sudo mount -o bind /run /mnt/run
sudo chroot /mnt
exit
sudo umount /mnt/run
sudo umount /mnt/sys
sudo umount /mnt/proc
sudo umount /mnt/dev/pts
sudo umount /mnt/dev
sudo umount /mnt
|
I ran all the above code and it fell over again with the same core messages.
Below I've included the output from attempting to reinstall
Reading package lists...
Building dependency tree...
Reading state information...
linux-image-4.15.0-45-generic is already the newest version (4.15.0-45.48).
The following packages were automatically installed and are no longer required:
dkms lib32gcc1 libc6-i386 libcuda1-340 libxnvctrl0 screen-resolution-extra
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
4 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] Setting up linux-firmware (1.173.3) ...
update-initramfs: Generating /boot/initrd.img-uname
WARNING: missing /lib/modules/uname
Ensure all necessary drivers are built into the linux image!
depmod: ERROR: Bad version passed uname
dpkg: warning: version 'uname' has bad syntax: version number does not start with digit
dpkg: warning: version 'uname' has bad syntax: version number does not start with digit
dpkg: warning: version 'uname' has bad syntax: version number does not start with digit
dpkg: warning: version 'uname' has bad syntax: version number does not start with digit
depmod: ERROR: Bad version passed uname
update-initramfs: Generating /boot/initrd.img-uname
WARNING: missing /lib/modules/uname
Ensure all necessary drivers are built into the linux image!
depmod: ERROR: Bad version passed uname
dpkg: warning: version 'uname' has bad syntax: version number does not start with digit
dpkg: warning: version 'uname' has bad syntax: version number does not start with digit
dpkg: warning: version 'uname' has bad syntax: version number does not start with digit
dpkg: warning: version 'uname' has bad syntax: version number does not start with digit
depmod: ERROR: Bad version passed uname
update-initramfs: Generating /boot/initrd.img--r
/usr/sbin/mkinitramfs: option requires an argument -- 'r'
W: non-GNU getopt
update-initramfs: failed for /boot/initrd.img--r with 1.
dpkg: error processing package linux-firmware (--configure):
installed linux-firmware package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of linux-image-generic:
linux-image-generic depends on linux-firmware; however:
Package linux-firmware is not configured yet.
dpkg: error processing package linux-image-generic (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-generic:
linux-generic depends on linux-image-generic (= 4.15.0.45.47); however:
Package linux-image-generic is not configured yet.
dpkg: error processing package linux-generic (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-signed-generic:
linux-signed-generic depends on linux-generic; however:
Package linux-generic is not configured yet.
dpkg: error processing package linux-signed-generic (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
linux-firmware
linux-image-generic
linux-generic
linux-signed-generic
any suggestions?
Thanks