Problem booting after updating from Ubuntu 14.10 to 15.04
I was able to fix this after reading the bug report @Mondane mentioned and several other troubleshooting articles on recovery mode.
- Boot into GRUB menu (pressing shift while starting).
- Choose recovery mode.
- Enable networking.
- Drop to root shell prompt.
-
ifconfig eth0
anddhclient eth0
to get - (Probably unnecessary) I had a some networking issues that were probably unrelated to this (undetermined so far) so I had to edit
/etc/resolv.conf
to include Google DNS8.8.8.8
and8.8.4.4
. - See what drivers are available for the nvidia hardware:
ubuntu-drivers devices
- Install the recommended:
apt-get install nvidia-346
- Reboot normally.
- Go to sleep.
Some resources I found useful:
- https://wiki.ubuntu.com/RecoveryMode#Booting_into_recovery_mode
- How do I boot into a root shell?
- https://help.ubuntu.com/community/BinaryDriverHowto/Nvidia
For reasons I haven't yet determined, my networking was really messed up. I had to unplug and replub the USB-to-ethernet, run dhclient
, then apt-get install nvidia-346
to get about 5% of the update before networking failed. This might be a hardware issue and totally unrelated, but it made troubleshooting and fixing this problem especially difficult.
Related videos on Youtube
jamheadart
Updated on September 18, 2022Comments
-
jamheadart over 1 year
I want to insert some people into a user table using:
INSERT INTO [MyTable] (col2, col3) VALUES ('Jim', 'Bob'), ('Stinky', 'Pete'), ('Old', 'Frank')
I don't want those entries entered if they already exist (there is an ID column, but the uniqueness here should be dictated by a composite of those two columns.
If I was selecting these values from a table I could use (I think):
INSERT INTO [MyTable] (col2, col3) SELECT [Name1], [Name2] FROM [ExistingTable] EXCEPT SELECT [col2], [col3] FROM [MyTable]
So how can I do this
EXCEPT
clause when my data isn't in a table already?-
Mondane about 9 yearsWe might have the same problem, look at this bug report: bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/…
-
dennisobrien about 9 yearsThanks @Mondane So I tried booting into recovery mode and installing a different nvidia driver, but now my problem is that I can't get networking to function in recovery mode. It might be because the Dell Precision m3800 has a USB-to-ethernet adapter. Or it might be I don't know the arcane commands to get networking to work. I have spent several hours trying to get this to work and I'm close to just wiping the machine and installing fresh. I hate to do that because I'm going to lose a day of productivity.
-
JdeBP about 9 yearsA similar question is askubuntu.com/questions/613577 .
-
-
Caustic almost 9 yearsThis worked for me too. Dell XPS15
-
Yogesh Sharma about 4 years@jamheadart. . . Yes.
-
jamheadart about 4 yearsDoesn't like
SELECT 1 FROM TABLE t
- I'm on 2008 here I wonder if that's an issue. -
Yogesh Sharma about 4 years@jamheadart. . . I fixed the table-name & alias. This should work.
-
jamheadart about 4 yearsYes! I knew I'd used something like this last year I just couldn't figure out the danged syntax and was going round in circles. Thanks! And yes col 1 is the primary key Id