Quantcast
Channel: Ubuntu Forums - Installation & Upgrades
Viewing all 26379 articles
Browse latest View live

[ubuntu] GRUB2 bootloader not showing after firmware update

$
0
0
Hi

I recently installed BIOS firmware updates on my Lenovo X1-Carbon, subsequent boot goes straight into a old Windows install i dont use at all (it came with the laptop)

I managed to get back into my Ubuntu install using recovery disk and grub and have tried to grub-mkconfig and grub-install to reinstall GRUB bootloader ,
it says it completes OK with but does not work when you reboot the machine (straight back into windows)

i have also tried using Boot-Repair to fix this but it just tells me to "Please create a ESP partition (FAT32, 100MB~250MB, start of the disk, boot flag)" even though the first partition is a ESP (output of Boot-Repair here http://paste.ubuntu.com/p/KnRfgF9Bgm/)

As it stands, i can get into my Ubuntu install but i have to do it via manually typing grub commands every time

id be happy to loose the windows install (and also the Ubuntu 20.04 install which is just for testing) the 18.04 is the important one

id appreciate any and all help on this

Thanks

N

[ubuntu] 18.04LTS Clean install hangs on boot

$
0
0
When booting system hangs at this line
[ 33.039943] cloud-init[1446] 2020-07-08 00:40:58,979 cc_final_message.py [warning] : used fallback datasource
If I press enter login continues

It's not a problem but I'd like to clean it up. Suggestions?

[ubuntu] Adding mirror to Ubuntu 20.04 ZFS install

$
0
0
I think I have this but am interested in your feedback. Newbie here. Aim was to add mirror to bpool and rpool so as not to brak the snapshotting system used by Ubuntu.

Note: I didn't use the by-id for the drives as the original ubuntu zfs install didn't and the attach was simpler/worked...

I've tested this in a Hyper-V VM in preparation for migrating my home server once LSI HBA controller arrives and is flashed:

1. Created 11 VHDX drives to match my target Dell T620 environment. 2 x 127Gb on SSD (sda, sdb), 8 x 64Gb (sdc-sdj) to match my 6 x 4Tb SAS and 2 x 4Tb SATA HDDs and a 64Gb (sdk) on SSD to match a SATA SSD I also have in the system (currently used for Dell Cachecade).
2. Spooled up VM with the 11 drives attached and installed Ubuntu 20.04 Desktop using ZFS on sda
3. After reboot, copied sda partitions to sdb using sfdisk (sfdisk -d /dev/sda > partitions.txt, sfdisk /dev/sdb < partitions.txt). sda1=EFI, sda2=swap, sda3=boot, sda4=root.
4. Added relevant sbb partitions as mirror to both bpool and rpool (zpool attach bpool /dev/sda3 /dev/sdb3, zpool attach rpool /dev/sda4 /dev/sdb4). zpool status showing all good.
5. Created dpool with 6 drives (sdc-sdh) to simulate my 6 sas drives using raidz2
6. Added last SSD drive (sdk) as cache for dpool (zfs add dpool cache /dev/sdk). Checked with zpool status again - all good
7. Created tpool with last two drives (sdi-sdj) to simulate by two SATA drives I use for temp storage. Status ok.
8. Created two datasets on dpool and one on tpool with mounting point under /mnt (eg zfs add -o mountpoint=/mnt/zfs-fs-01 dpool/zfs-fs-01)
9. Configured smb.conf for three shares pointing at the two datasets and fixed chown and chmod.
10. All shares successfully accessed from windows workstations on network

Have I missed anything? Feedback?

[ubuntu] dpkg : error encountered

$
0
0
Very short backstory before reading the following commands I gave to my CLi.
1- This is a fresh Ubuntu 20.04 Focal Fossa. The ONLY thing I have done before these commands were given was.
Sudo apt get update. Then Sudo apt get upgrade.
After these commands were given I went onto netacad.com website AKA Cisco's Free web classes. And Downloaded PacketTracer 7.3.
https://community.cisco.com/t5/netwo...4/td-p/4074024
I then followed the above tutorial to setup packet tracer. Which it runs well now.

Now I type in the following....

sudo apt upgrade

Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
libjpeg-turbo8 : Breaks: libjpeg-turbo8:i386 (!= 2.0.3-0ubuntu1) but 2.0.3-0ubuntu1.20.04.1 is installed
libjpeg-turbo8:i386 : Breaks: libjpeg-turbo8 (!= 2.0.3-0ubuntu1.20.04.1) but 2.0.3-0ubuntu1 is installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

turdbird@SatelliteDish:~$ sudo apt --fix-broken install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
libjpeg-turbo8
The following packages will be upgraded:
libjpeg-turbo8
1 upgraded, 0 newly installed, 0 to remove and 51 not upgraded.
4 not fully installed or removed.
Need to get 0 B/117 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 196365 files and directories currently installed.)
Preparing to unpack .../libjpeg-turbo8_2.0.3-0ubuntu1.20.04.1_amd64.deb ...
Unpacking libjpeg-turbo8:amd64 (2.0.3-0ubuntu1.20.04.1) over (2.0.3-0ubuntu1) ...
dpkg: error processing archive /var/cache/apt/archives/libjpeg-turbo8_2.0.3-0ubuntu1.20.04.1_amd64.deb (--unpack):
trying to overwrite shared '/usr/share/doc/libjpeg-turbo8/changelog.Debian.gz', which is different from other instances of package libjpeg-t
urbo8:amd64
Errors were encountered while processing:
/var/cache/apt/archives/libjpeg-turbo8_2.0.3-0ubuntu1.20.04.1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

And now when I click on the Software Updater in the GUI to have the OS download updates I get the following....

THE PACKAGE SYSTEM IS BROKEN
Check if you are using third party repositories. If so disable them, since they are a common source of problems.
Furthermore run the following command in a Terminal: apt-get install -f
Transaction failed: The package system is broken
The following packages have unmet dependencies:

libjpeg-turbo8: Depends: libc6 (>= 2.14) but 2.31-0ubuntu9 is installed
libjpeg-turbo8:i386: Depends: libc6 (>= 2.7) but 2.31-0ubuntu9 is installed

Essentially I think I am getting the same error message in 2 different manners. One where I am trying to update through the CLi, the other through the GUI.

Does anybody know how I can fix the issue I am currently having? The only reason I did any of this was to be able to run packet tracer to do some Netacad classes.


Thank you very much in advance!
Also I apologize in advance, because I imagine this is an issue others have encountered before, in which case please just shoot me a link and I will figure it out! Nonetheless, thanks!

Avahi zero config

$
0
0
I went to the following link
https://wiki.debian.org/ZeroConf
and installed avahi per the following instructions
apt-get install avahi-daemon avahi-discover libnss-mdns

Then I noticed the last modified date
ZeroConf (last modified 2017-06-15 10:02:27)
Should I worry or is this ok?

The page lists quite a few to-do's so that gives concern.

Ubuntu 20.04 can't login with correct password - no .Xauthority folder

$
0
0
Hello, this is my first time installing Ubuntu.
I installed it alongside Windows 10 (dual boot).
I got UEFI BIOS, and Nvidia GPU if that matters.

i7 7700k, 16GB ddr4 RAM and gtx 1080

Here is my procedure:

  1. Downloaded Ubuntu 20.04 from official Ubuntu website
  2. Using rufus, I flashed the image to the USB drive of 8GB (FAT32 formated)
  3. Plugged USB in and rebooted my PC. At the boot menu I chose the USB drive and then the file checking process started.
  4. During that checking process 0 errors have been found.
  5. Then the setup wizard showed up. I chose Install Ubuntu and chose the option "Install alongside Windows".
  6. I made an username and password, and chose to option to "Log in automatically".
  7. I dedicated 70GB via the slider to the Ubuntu, and left 150GB to the Windows 10.
  8. The installation proces began, and completed after few minutes.
  9. I was asked to reboot my PC and then to eject the USB drive and press ENTER.
  10. Did that, and then I got automatically booted into Windows 10.
  11. Rebooted my PC again, and in the boot options chose "ubuntu". Booted into Ubuntu and got to the screen where I need to choose a User and then enter a password.
  12. Entered the correct password and then got simply return to the user selection screen. No message came up that the password is incorrect for example.
  13. Just for testing purposes, I entered the wrong password, and then the message came that the password is incorrect, and I stayed on the "enter password" screen.


Online people have told to log in to shell via CTRL + ALT + F3. I did that and I was able to log in then.
During that shell, my screen glitched a bit. I was able to see Ubuntu desktop on some parts of my screen.
People online suggested to look for .Xauthority folder, and I did everything, but it always said "no such file or direcctory".

I have no idea what to do anymore. I even tried installing Ubuntu with custom partitions, and the outcome was the same. It installed without errors, but always unable to login.

[SOLVED] Cannot start apps like gparted from menu

$
0
0
Upgraded Lubuntu on my laptop to 20.04 and noticed that I can no longer run apps such as gparted by selecting in from the menu. When clicked I am asked to provide the password and after that nothing happens. However, I can start gparted from terminal using sudo without any issues.

After searching a lot I found that this is a known bug with Lxqt - essentially you cannot have two users in the sudo group. So the simple workaround is to remove the second (and/or any others) from the sudo group by issuing

deluser <second user> sudo

The problem has been raised by derk here https://answers.launchpad.net/ubuntu/+question/685817

Bug report can be found here..https://bugs.launchpad.net/ubuntu/+s...a/+bug/1828663

Hope this helps anyone else who has come across this issue.

Raspberry Pi - Ubuntu Server 20.04 LTS (64but) won’t boot

$
0
0
I downloaded the latest version of Ubuntu Server 20.04 for Raspberry Pi (64bit) and flashed it to an SD card.
When I insert the card and power on the Raspberry Pi . . . all I get is the following;
C2DCF6D4-F25E-45CC-87E8-46963D80BA86.jpeg3181×763 874 KB

. . . and it simply hangs on the ‘U-Boot>’ prompt.

What am I doing wrong (i have tried this on a 3B and a 3b+ with the same outcome)?

Installing Ubuntu Again

$
0
0
Hi guys, I got a new computer and am trying to install Windows with Ubuntu. Windows 10 is already installed and is working just fine. However my motherboard only supports 6 SATA ports. I'm using 2 SSDs in RAID 1 for the OS installation and 4 spinny HDDs in RAID 10 for all the data/programs etc. So I ran out of SATA ports and bought a PCI RAID controller with 4 SATA ports. I connected another 2 spinny HDDs to this card and got them configured in the web based utility that came with the card. Windows can see the newly created RAID 1 partition (I had to initiliaze it). However BIOS can't see the drives or the RAID card, so the bootloader has to be put somewhere else I think.


Anyway, question is, how should I go about setting up the "Installation Type" window?


I've got the following partitions:

Partitions.jpg

And in the attached image is the available devices for the boot loader installation. How do I install everything without destroying the Windows install?

Device Boot Loader Installation.jpg

Thanks!
Attached Images

[ubuntu] Ubuntu installer shuts down after loading up, before the menu appears

$
0
0
Hi, I'm trying to install Ubuntu with a CD , dual boot with windows 10. Created a 2nd partition, on which I'm trying to install it.
I burnt the ISO via Windows Explorer.
I can't start the Installation, the monitor shuts off, the DVD drive starts to work very hard and loudly for a minute and then everything becomes quiet, but the light on the pc is still on.
during loading, before the installer menu text like these appears:
and then disappears. NOTE: an USB stick is not connected.
I don't have EFI or UEFI on my system. I use IDE , legacy mode supported, did a RAM check with windows and everything is fine.

I met problems also with elementary OS, which I tried to install before. I can get into Elementary OS menu, but it crashes with the same SHUTDOWN phenomenon but without the frantically loud DVD drive but the light on the computer still on. It crashes while selecting on which partition to install, and randomly in the trial mode. I would be very glad if you can help me. I already searched about it a lot.

Unable to create "Persistent" Ubuntu 20.04

$
0
0
I am using Yumi to create persistent (1 GB) Ubuntu 20.04 on a 16 GB USB but unable to make the installation as persistent. casper -rw is created but don't know why it doesn't save the session and once I restart the system, everything resets. Any help?

Using usb stick install doesn't offer guidance

$
0
0
So... have been running Linux on all of my machines since 1998. I use Linux Mint these days, 18.03 on a Lenovo T500 , and 19.2 on a Lenovo T430.
I hade Mint on a Lenovo T61, but wiped the drive with Dban ( which I've used successfully in the past).
I downloaded the https://ubuntu.com/#download LTS file, used Disks to clean the USB stick, used "Make Bootable USB Stick" and started the T61 with Ubuntu stick in the machine. Started giving me an Ubuntu logo at the bottom of the screen, then watched the stick start running, but NO INTERFACE ON THE SCREEN, a lot of designs on the screen, then the designs disappear, then blank screen for the most part. Every now and the USB stick lights up as though it is loading, but after 2 hours, a blank backlit screen.
Any ideas anyone?
Thanks all.

Just now I'm getting a screen of steplike graphics running from lower left to upper right screen in gray, and black filling the screen.
I have changed the boot options to accept USB hdd, USB FDD, USB CD.

How can i change how my linux computer works

$
0
0
Hi I was wondering if i can do something to make ubuntu change my audio output when i connect HDMI. I'm a linux beginner and i dont know how to really use the console. I hope you understan what im trying to say. Greetings from Argentina.

[ubuntu] can't roll back new kernel

$
0
0
Hi all,

I recently did a fresh install of 20.04, which went ok. The initially installed kernel was 5.4.0-26-generic, but I immediately updated to 5.4.0-40-generic. That hosed it completely: it hangs on the splash screen. I can still boot with the old kernel and I want to stick with it, so I went to try and uninstall the new kernel, but the package manager will only remove it if it can install the 5.4.0-40-unsigned package. If I try to uninstall that, it makes me install the original generic kernel.

How do I actually fully remove this thing and get it out of the GRUB menu so I can let my computer boot up normally?

Thanks for any help.

Mike

[ubuntu] sources

$
0
0
What decides where ubuntu will look for sources -> /etc/apt/sources/ or /etc/apt/sources.list.d/ ? How to prevent double sources same application/program which sudo apt-get update complains about. Should one choose one type of installation over the other? Like sudo apt-get install or dpkg in order to avoid double set of sources?

Laptop won't boot live USB

$
0
0
Hello,

My laptop won't boot 20.04 (or any other version I've tried) from a live USB stick made according to the official Ubuntu instructions. And it's not just Ubuntu, it's any Linux distro that isn't incredibly stripped down, like TinyCore.

It's an HP Envy m6-p114dx. Its processor is an AMD FX-8800P Radeon R7, which I know causes issues because AMD requires proprietary, non-open drivers that I'm not going to find on a live USB stick.

I get to the GRUB menu just fine (after turning on Legacy and turning off Secure boot). I tried normal Ubuntu and Ubuntu safe graphics, and they both hang. I've tried editing the launch of both the options in GRUB to ad radeon.modeset=0.

What I end up with is either the word Ubuntu at the bottom of my screen with a progress wheel spinning above it, or the text output of the boot process that just stops and doesn't go any further.

That's not even a start at what I need to supply to get help for my issue, I know. But I don't know how to get logs of the startup, or any other information that is needed. So, I'm not asking for help to diagnose my problem, yet. I'm asking for help gathering information that people need to help diagnose my problem. Specifically, how can I get a log of the boot process? There's got to be something in there that is useful.

I've tried adding debug= to the end of the launch of both GRUB options, by the way, and did not find anything on the USB stick, even with a persistent partition.

Thanks in advance for you understanding and help,

Rick

Dual boot Windows 10 and Ubuntu but with menu choice?

$
0
0
Hi Everyone,

Is this scenario possible? 2 SSD, 1 with Ubuntu and the other with Windows 10. Can they be configured for a dual boot scenario where I can choose which OS rather than having to modify it in the BIOS/UEFI all the time?

I want to take this opportunity to use a spare SSD I own to start learning linux.

Thanks

Unable to authenticate for a software update

$
0
0
UBUNTU 16.04 Software updater will not authenticate with the password I provide. So I created a UBUNTU ONE account, logged in with it and tried the new password using the software updater. It still doesn't work. Any assistance you could provide would be much appreciated!

Rocky3

[ubuntu] Canocal livepatch doesn't working properly?

$
0
0
Canonical livepatch remains ainfunctional for 1-2 hours after the computer is turned. After that it works only. What can I do?

[ubuntu] GPG error for sudo apt update (Focal Fossa)

$
0
0
Getting the following error: Not really sure how to fix. I'm currently using 20.04 (Focal Fossa) and ive tried literally all of the commands I found when googling the error. I should note.. i'm running Ubuntu on Legacy mode... not sure if that matters. Any help is appreciated!


  • GPG error: http://archive.ubuntu.com/ubuntu focal InRelease: The following signatures were invalid: BADSIG 3B4FE6ACC0B21F32 Ubuntu Archive Automatic Signing Key (2012) <ftpmaster@ubuntu.com>
  • E: The repository 'http://archive.ubuntu.com/ubuntu focal InRelease' is not signed.
  • N: Updating from such a repository can't be done securely, and is therefore disabled by default.
  • N: See apt-secure(8) manpage for repository creation and user configuration details.
  • W: GPG error: http://archive.ubuntu.com/ubuntu focal-updates InRelease: The following signatures were invalid: BADSIG 3B4FE6ACC0B21F32 Ubuntu Archive Automatic Signing Key (2012) <ftpmaster@ubuntu.com>
  • E: The repository 'http://archive.ubuntu.com/ubuntu focal-updates InRelease' is not signed.
  • N: Updating from such a repository can't be done securely, and is therefore disabled by default.
  • N: See apt-secure(8) manpage for repository creation and user configuration details.
Viewing all 26379 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>