Quantcast
Channel: Ubuntu Forums - Installation & Upgrades

[ubuntu] Boot-repair pastebin

$
0
0
Hi

I am pasting on this old forum because being a new user at Level 0 I have "access denied" to create a post on the new Discourse system - even though there is are admin messages saying new users should be able to post on "Support and Help"

The issues to discuss.

1. I have problems booting from a Linux disk on Mac Pro 5,1 with OCLP 2.0.2 installed. The boot process was working but "something happened" (TM) and I could no longer boot form the Linux disk on the Mac Pro 5,1. OCLP support states this is not an OCLP problem - but a Linux problem. (see below)

2. I placed the Ubuntu SSD in a USB caddy, plugged it into a PC and that booted into the Ubuntu system no problem

3. I ran Ubuntu boot-repair on the PC and it generated a pastebin diagnosis (follows). https://paste.ubuntu.com/p/MKR8CZ9jks/
I can see that boot repair has detected the Windows 10 installation on the PC. All other drives are data storage such as Windows storage space to "lump together" some old hard drives.


Objective:

To make the Ubuntu Linux disk bootable on the Mac Pro



Original boot problem on Mac Pro 5,1



The error messages I now get when I select the Ubuntu Linux 22.04 drive from the OCLP boot picker are


Could not read /EFI/ : Invalid parameter
Error: could not find boot options: Invalid parameters start_image() returned Invalid Parameter
OC: Boot failed – Invalid parameter
OCB: StartImage failed – Invalid Parameter
The error messages I now get when I select the Ubuntu Linux 22.04 drive from the OCLP boot picker are


Could not read /EFI/ : Invalid parameter
Error: could not find boot options: Invalid parameters start_image() returned Invalid Parameter
OC: Boot failed – Invalid parameter
OCB: StartImage failed – Invalid Parameter

[ubuntu] I can't boot my computer after upgrading to Ubuntu 24.04.

$
0
0
When I upgraded Ubuntu 22.04 to 24.04 two days ago, something went wrong. After rebooting, I got to BIOS, which has no boot options. Maybe GRUB is corrupted. I attached the image. What should I do?
Attached Images

Persistent partition for the full Ubuntu installation

$
0
0
Hey!
I wonder if there's a way to add persistent partition to the full Ubuntu installation?
So all the changes I made should be saved on persistent partition even if I reinstall the whole system.
Sorry if there's such topic but I couldn't google it.

[ubuntu] Packettracert CiscoPacketTracer822_amd64_signed.deb packet fix on ubuntu 4.04.1 LTS

$
0
0
Add this repository
You should be able to use any of the listed mirrors by adding a line to your /etc/apt/sources.list like this:


deb http://cz.archive.ubuntu.com/ubuntu jammy-updates main universe
Replacing cz.archive.ubuntu.com/ubuntu with the mirror in question.


atualizar pacotes comando sudo apt-get update && apt-get upgrade.


install packettracert comand dpkg -i CiscoPacketTracer822_amd64_signed.deb


this fixed the broken packets in the packetracert 822_amd64_signed.deb installation

[ubuntu] Can I get some help configuring xrdp?

$
0
0
I have an ubuntu vps and I am wanting to connect with rdp from a windows 10 machine. I am using ionos hosting and have created a firewall rule for port 3389. I have been locked up 10 years and am rusty on commands. I get no response when I try and connect. It seems to be running correctly and configured for port 3389.
I can provide the login information if someone is willing to help me.
I would appreciate it very much.

[ubuntu] Boot-Repair GRUB is still present. Please try again[

$
0
0
https://paste.ubuntu.com/p/43gZ2HqtCN/ I swapped out my windows 11 hd that was in hibernation mode with my Ubuntu 22.04.1 and this is what started my login issues. Several hours later I have have boot repair installed on a usb thumb drive that I'm able to log into and create the above report....

[ubuntu] Netboot fail due to error on interne GEOIP site : https://geoip.ubuntu.com/lookup

$
0
0
Hello,

we cannot anymore install Ubuntu 20.04 / 22.04 due to subiquity crash I think is cause by a service outage on https://geoip.ubuntu.com/lookup (error 500 )


Subiquity crash :
2024-12-05 13:05:07,612 ERROR subiquity.common.geoip:119 geoip lookup failed
Traceback (most recent call last):
File "/snap/subiquity/3119/lib/python3.8/site-packages/subiquity/server/geoip.py", line 82, in get_response
response.raise_for_status()
File "/snap/subiquity/3119/usr/lib/python3/dist-packages/aiohttp/client_reqrep.py", line 941, in raise_for_status
raise ClientResponseError(
aiohttp.client_exceptions.ClientResponseError: 500, message='Internal Server Error', url=URL('https://geoip.ubuntu.com/lookup')


The above exception was the direct cause of the following exception:


Traceback (most recent call last):
File "/snap/subiquity/3119/lib/python3.8/site-packages/subiquity/server/geoip.py", line 117, in _lookup
self.response_text = await self.strategy.get_response()
File "/snap/subiquity/3119/lib/python3.8/site-packages/subiquity/server/geoip.py", line 85, in get_response
raise LookupError from e
subiquity.server.geoip.LookupError



GEOP internet service return an error 500 , see https://geoip.ubuntu.com/lookup



this happen despite the fact we disable GEOIP in APT section of cloud config

apt:
geoip: false
anyone else get this error using Ubuntu auto install ?

[ubuntu] Update R version running on ubuntu

$
0
0
Hello!

I currently use ubuntu as a linux subsystem on my windows machine.

I run a conda environment (qiime2) which uses R. Recently, I realized that one of the R packages used by qiime2 was built under a newer version compared to what I currently have:
Code:

Warning message:package ‘optparse’ was built under R version 4.2.3
R version 4.2.2 (2022-10-31)

I updated my R version based on the instructions here
HTML Code:

https://gcore.com/learning/how-to-install-r-on-ubuntu/
:

But when I check the R --version it defaults back to the older version:
Code:

(qiime2-amplicon-2023.9) angelica@angelica_xps15:~/GQ_fastq/qiime_gq$ R --versionR version 4.2.2 (2022-10-31) -- "Innocent and Trusting"
Copyright (C) 2022 The R Foundation for Statistical Computing
Platform: x86_64-conda-linux-gnu (64-bit)

I had installed the new R version outside of the conda environment with no issue:
Code:

(base) angelica@angelica_xps15:~/GQ_fastq/qiime_gq$ R --version
R version 4.4.2 (2024-10-31) -- "Pile of Leaves"
Copyright (C) 2024 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu


Any advice on what to do?

Best,
Angelica

[ubuntu] BalenaEtcher not working

$
0
0
I've been working on this 3 times in the last week, After I show BE the ubuntu file in downloads, I can go no further with getting ubuntu on USB. I have actually reinstalled Win10 three times, shut off Bitlocker, each time downloading ubuntu and BE. But keep getting the same error. After I show BE where the ubuntu download is and try to to continue in BE, the Curser turns into a red circle with a line through it. *(I pray someone is still here, the new discourse is a pain, signed in, but not allowed to post, apparently u have to introduce oneself, but go there and no button to create a post)

Ubuntu 24.04.1 LTS or Ubuntu Pro?

$
0
0
Hello everybody,
I am using Ubuntu since 14.04 LST and now I need to install 24.04.1 LTS on a new notebook for personal use only. I would use it for coding with Ruby, browsing the Internet, watching movies and sports.
When I went to the Ubuntu download page, I was informed by Ubuntu that "LTS stands for long-term support — which means five years of free security and maintenance updates, extended up to 12 years with Ubuntu Pro". I did not know of the existence of Ubuntu Pro, but the first impression was that 12 years of support is very interesting. I noticed that a personal subscription for up to 5 machines is free, so I wonder: would be not convenient for end users like me to install Ubuntu Pro instead of Ubuntu 24.04.1 LTS? Is the installation process different (longer or more complicated)? Would its use experience be diverse?
I would appreciate if some of you who know Ubuntu Pro or installed it would share your experience and would give me some advice.

Installation fails on SuperMicro 7049GP-TRT server

$
0
0
I have a brand new SuperMicro 7049gp-trt: dual Xeon processors, 96 GB RAM, WD 770 NVMe, 4×1 TB Kingston SSD.
This system is certified for Ubuntu 18.04 and 20.04 (albeit with different processors).

The BIOS detects the processors, RAM, hard drives, and doesn't report any errors.
The only BIOS change I made was to force UFEI.

I have tried both Desktop and Server versions of Ubuntu 20.04, 22.04, and 24.04 (all just downloaded). These were created using Rufus and Etcher. In all cases, after selecting "Try or Install Ubuntu", the system does a file check, then freezes. Safe graphics mode, same thing. I even pulled the SSD's out to see if that was the problem.
The Server installation outputs more to the screen. All checks are OK. The server installation stops at TTY1.

There are no logs on the installation USB.
For reference, RHEL 9.5 goes through the set-up to installation. (I didn't actually click install as I don't have an account.)

Suggestions?

Thx

Lost Windows dual boot after Ubuntu 24.04 upgrade

$
0
0
Here are the results of boot-repair that I ran just a bit ago. I appreciate any help you can give me on this. I'm not that well versed on the root level of Linux & how things can get mucked up from just upgrading. I don't want to get to far out on my own here without somebody guiding me on how to proceed. Thank You.


boot-repair-4ppa2081 [20241208_0704]

============================== Boot Info Summary ===============================


=> Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector 1 of
the same hard drive for core.img. core.img is at this location and looks
for (,msdos6)/boot/grub. It also embeds following components:

modules
---------------------------------------------------------------------------
fshelp ext2 part_msdos biosdisk
---------------------------------------------------------------------------


sda1: __________________________________________________ ________________________


File system: ntfs
Boot sector type: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /bootmgr /Boot/BCD


sda2: __________________________________________________ ________________________


File system: ntfs
Boot sector type: Windows 7/2008: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System: Windows 10 or 11
Boot files: /Windows/System32/winload.exe


sda3: __________________________________________________ ________________________


File system: ntfs
Boot sector type: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:


sda4: __________________________________________________ ________________________


File system: Extended Partition
Boot sector type: -
Boot sector info:


sda5: __________________________________________________ ________________________


File system: swap
Boot sector type: -
Boot sector info:


sda6: __________________________________________________ ________________________


File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 24.04.1 LTS
Boot files: /boot/grub/grub.cfg /etc/fstab /etc/default/grub
/boot/grub/i386-pc/core.img




================================ 3 OS detected =================================


OS#1 (linux): The OS now in use - Ubuntu 24.04.1 LTS on sda6
OS#2 (windows): Windows 10 (boot) on sda1
OS#3 (windows): Windows 10 or 11 on sda2


================================ Host/Hardware =================================


CPU architecture: 64-bit
Video: RV730 PRO [Radeon HD 4650] from Advanced Micro Devices, Inc. [AMD/ATI]
BOOT_IMAGE of the installed session in use:
/boot/vmlinuz-6.8.0-49-generic root=UUID=6dfe59ef-2f2d-4206-bf83-98bd7bc14a57 ro quiet splash vt.handoff=7
df -Th / : /dev/sda6 ext4 358G 23G 317G 7% /


===================================== UEFI =====================================


BIOS/UEFI firmware: WBIBX10J.86A.0319.2011.0223.2022(0.0) from Intel Corp.
This installed-session is in Legacy/BIOS/CSM mode (not in EFI mode).






============================= Drive/Partition Info =============================


Disks info: __________________________________________________ __________________


sda : notGPT, no-BIOSboot, has-noESP, not-usb, not-mmc, has-os, has-win, 2048 sectors * 512 bytes


Partitions info (1/3): __________________________________________________ _______


sda6 : is-os, 64, apt-get, grub-pc , grub2, grub-install, grubenv-ok, update-grub, end-after-100GB
sda2 : is-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, end-after-100GB
sda3 : no-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, end-after-100GB
sda1 : is-os, 64, nopakmgr, no-docgrub, nogrub, nogrubinstall, no-grubenv, noupdategrub, not-far


Partitions info (2/3): __________________________________________________ _______


sda6 : isnotESP, fstab-without-efi, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, ext4
sda2 : isnotESP, part-has-no-fstab, no-nt, haswinload, no-recov-nor-hid, no-bmgr, notwinboot, ntfs
sda3 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, no-bmgr, notwinboot, ntfs
sda1 : isnotESP, part-has-no-fstab, no-nt, no-winload, no-recov-nor-hid, bootmgr, is-winboot, ntfs


Partitions info (3/3): __________________________________________________ _______


sda6 : not--sepboot, with-boot, fstab-without-boot, not-sep-usr, with--usr, fstab-without-usr, std-grub.d, sda
sda2 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sda
sda3 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sda
sda1 : not--sepboot, no---boot, part-has-no-fstab, not-sep-usr, no---usr, part-has-no-fstab, no--grub.d, sda


fdisk -l (filtered): __________________________________________________ _________


Disk sda: 465.76 GiB, 500107862016 bytes, 976773168 sectors
Disk identifier: 0xf03a5a86
Boot Start End Sectors Size Id Type
sda1 * 2048 206847 204800 100M 7 HPFS/NTFS/exFAT
sda2 206848 203701000 203494153 97G 7 HPFS/NTFS/exFAT
sda3 203702272 204799999 1097728 536M 27 Hidden NTFS WinRE
sda4 204802046 976771071 771969026 368.1G 5 Extended
sda5 968407040 976771071 8364032 4G 82 Linux swap / Solaris
sda6 204802048 968407039 763604992 364.1G 83 Linux
Partition table entries are not in disk order.


parted -lm (filtered): __________________________________________________ _______


sda:500GB:scsi:512:512:msdos:ATA Samsung SSD 850:;
1:1049kB:106MB:105MB:ntfs::boot;
2:106MB:104GB:104GB:ntfs::;
3:104GB:105GB:562MB:ntfs::msftres;
4:105GB:500GB:395GB:::;
6:105GB:496GB:391GB:ext4::;
5:496GB:500GB:4282MB:linux-swap(v1)::swap;


blkid (filtered): __________________________________________________ ____________


NAME FSTYPE UUID PARTUUID LABEL PARTLABEL
sda
├─sda1 ntfs 22020C47020C2301 f03a5a86-01 System Reserved
├─sda2 ntfs 62FC1A5CFC1A2B35 f03a5a86-02
├─sda3 ntfs 1C1AF9B61AF98CD0 f03a5a86-03
├─sda4 f03a5a86-04
├─sda5 swap 0a277204-ff22-4b43-b315-ba339fabea89 f03a5a86-05
└─sda6 ext4 6dfe59ef-2f2d-4206-bf83-98bd7bc14a57 f03a5a86-06


Mount points (filtered): __________________________________________________ _____


Avail Use% Mounted on
/dev/sda1 70.3M 30% /mnt/boot-sav/sda1
/dev/sda2 22.4G 77% /mnt/boot-sav/sda2
/dev/sda3 108.3M 80% /mnt/boot-sav/sda3
/dev/sda6 316.3G 6% /


Mount options (filtered): __________________________________________________ ____


/dev/sda1 fuseblk ro,relatime,user_id=0,group_id=0,allow_other,blksi ze=4096
/dev/sda2 fuseblk ro,relatime,user_id=0,group_id=0,allow_other,blksi ze=4096
/dev/sda3 fuseblk ro,relatime,user_id=0,group_id=0,allow_other,blksi ze=4096
/dev/sda6 ext4 rw,relatime,errors=remount-ro


====================== sda6/boot/grub/grub.cfg (filtered) ======================


Ubuntu 6dfe59ef-2f2d-4206-bf83-98bd7bc14a57
Windows 10 (on sda1) 22020C47020C2301
### END /etc/grub.d/30_os-prober ###
UEFI Firmware Settings uefi-firmware
### END /etc/grub.d/30_uefi-firmware ###


========================== sda6/etc/fstab (filtered) ===========================


# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda6 during installation
UUID=6dfe59ef-2f2d-4206-bf83-98bd7bc14a57 / ext4 errors=remount-ro 0 1
/swapfile none swap sw 0 0


======================= sda6/etc/default/grub (filtered) =======================


GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`( . /etc/os-release; echo ${NAME:-Ubuntu} ) 2>/dev/null || echo Ubuntu`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""


==================== sda6: Location of files loaded by Grub ====================


GiB - GB File Fragment(s)
256.713973999 = 275.644530688 boot/grub/grub.cfg 1
287.844085693 = 309.070233600 boot/grub/i386-pc/core.img 1
161.139904022 = 173.022654464 boot/vmlinuz 2
240.254070282 = 257.970843648 boot/vmlinuz-5.15.0-126-generic 2
161.139904022 = 173.022654464 boot/vmlinuz-6.8.0-49-generic 2
240.254070282 = 257.970843648 boot/vmlinuz.old 2
198.907222748 = 213.575004160 boot/initrd.img 6
109.376651764 = 117.442285568 boot/initrd.img-5.15.0-126-generic 1
198.907222748 = 213.575004160 boot/initrd.img-6.8.0-49-generic 6
109.376651764 = 117.442285568 boot/initrd.img.old 1


===================== sda6: ls -l /etc/grub.d/ (filtered) ======================


-rwxr-xr-x 1 root root 18133 Apr 4 2024 10_linux
-rwxr-xr-x 1 root root 43202 Apr 4 2024 10_linux_zfs
-rwxr-xr-x 1 root root 14513 Apr 4 2024 20_linux_xen
-rwxr-xr-x 1 root root 786 Apr 4 2024 25_bli
-rwxr-xr-x 1 root root 13120 Apr 4 2024 30_os-prober
-rwxr-xr-x 1 root root 1174 Apr 4 2024 30_uefi-firmware
-rwxr-xr-x 1 root root 722 Aug 21 13:39 35_fwupd
-rwxr-xr-x 1 root root 214 Feb 7 2019 40_custom
-rwxr-xr-x 1 root root 215 Dec 18 2022 41_custom






Suggested repair: __________________________________________________ ____________


The default repair of the Boot-Repair utility would reinstall the grub2 of
sda6 into the MBR of sda.
Grub-efi would not be selected by default because no ESP detected.
Additional repair would be performed: unhide-bootmenu-10s win-legacy-basic-fix

How To create: Live USB with auto user-logon to desktop, auto connection to WLAN?

$
0
0
How To create: Live USB with auto user-logon to desktop, auto connection to WLAN and enabled remote desktop?

I have an old laptop where the display is shot.
It still has an eMMC installed which might contain valuable data?
I want to install home assistant onto it and manage it via GUI.

But first I need to get all data of the eMMC before wiping it.

My idea is to boot from a linux live distro. I somehow need to blindly guess the bios setting to start from usb, but I have another HP laptop here which mich have the same bios settings?
What I need is a linux distro which automatically logs in the user and goes to the desktop environment with a connection to my wlan and a remote desktop connection enabled.

The question is about auto-login, auto-wlan connection and remoted desktop auto enabling. I am OK creating the live-USB

Can you please guide me in the right direction?

Upgrade from 22.04 LTS to 24.04 LTS Failure indicating broken packages

$
0
0
Hi again and with a broken 22.04 upgrade failure
This is an AM3+ System that is dual booting Windows 10 Pro and Ubuntu 22.04 LTS on one hard drive!
After upgrade on a NORMALLY RUNNING 22.04 system and advised Firefox needed SNAPS or it would become inoperable and after 5 retries indicating it couldn't connect to download SNAPS I selected abort installation. Ubuntu was fully functioning and I rebooted to a white screen with a monitor picture and had a functioning Terminal during recovery mode but not anymore. How do I get my terminal back so I can attempt repair?
This was last week and I even tried to reinstall using 24.04 LTS USB but I am presented NO OPTION to reinstall without erasing the disk!! Okay my thought was this option has been eliminated and today I see this website:

https://askubuntu.com/questions/1430...iting-home-opt

Look at the picture on this website including the INSTALLATION TYPE window with the RED ARROWS. I downloaded 22.04 LTS and I NOW DO NOT HAVE THIS OPTION! Where is this option? It is not presented booting to USB drive under Install now and it is not presented using Ubuntu 22.04 LTS in Live mode. WHERE IS IT?

NO I never made a backup because I have NEVER had a Ubuntu upgrade failure before so spare me the lectures about this because what is done is done and besides this during my attempts to repair/reinstall I see all the folders still intact but certain system files were indicated as broken and needed repairs. During recover mode on boot loader, for a while I had a fully functioning terminal and now that doesn't seem to present itself. How do I access a working terminal so if I can get proper commands I can hopefully get it to repair itself by downloading system files?

Another question is on my Smartphone I have complete pictures showing exactly what my previously working Terminal was indicating. Why am I not given the option to post pictures for a clearer description of what is going on? Pictures would certainly help, wouldn't they?? If I have this option, how do I post proper pictures?

Upgrading server from ubuntu 20.04 to 24

$
0
0
Hello,

We are facing a problem during the Ubuntu server upgrade.

We have a production server that is a VM. We need to upgrade it from 20.04 -> 22.04 -> 24.04.
We have a cloned to the VM to a another one and profrom upgrade test.
We faced a problem after upgrade to 22.04 and we cannot perform upgrade again with this error:


root@S2:/home/user# apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up grub-efi-amd64-signed (1.187.6+2.06-2ubuntu14.4) ...
mount: /var/lib/grub/esp: special device /dev/disk/by-id/scsi-36000c293f54922f61901ad5bf3a423ae-part1 does not exist.
dpkg: error processing package grub-efi-amd64-signed (--configure):
installed grub-efi-amd64-signed package post-installation script subprocess returned error exit status 32
dpkg: dependency problems prevent configuration of shim-signed:
shim-signed depends on grub-efi-amd64-signed (>= 1.187.2~) | grub-efi-arm64-signed (>= 1.187.2~); however:
Package grub-efi-amd64-signed is not configured yet.
Package grub-efi-arm64-signed is not installed.

dpkg: error processing package shim-signed (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
Errors were encountered while processing:
grub-efi-amd64-signed
shim-signed

We now have no idea how to solve it....would you please help on this?

Thanks



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