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

[ubuntu] php is no longer run after apt upgrade

$
0
0
Hi.

I had PHP on ubuntu 20.04 LTS installed, along with a few other packages like sshd and couchdb, and I was using a custom PPA for PHP.

Along comes apt upgrade, which tells me to run apt autoremove. I see php8 getting removed, and i'm left without any executable php, despite the package 'php' being installed!

What is it with ubuntu getting crippled every 2 years?!

[ubuntu] Trouble Installing From Disc And USB

$
0
0
Hello,
I am trying to install Ubuntu Desktop 21.10 onto my Dell Optiplex 960 but have been having trouble from both disc and USB. When I boot from the DVD I burned, I get to the point before selecting the drive to install on when it tells me there is zero space to install onto and I can't continue. When I use USB, I get to pick the drive but only the USB that has the installer on it shows up in the list so I can't install on the internal reformatted HDD. Does anyone have any ideas please? I have installed many times in the past and never had this issue.
Thank you in advance.

[server] Installing Ubuntu Server 22.04 - boot-menu-choice will modified to a Linux menu

$
0
0
I have a very old HP PC of 2009, installed Windows 10 and Windows 11(bypass restrictions) Home OSs
As a dual boot setup...

Installing Ubuntu Server 22.04 --- with the aim to make a local NextCloud.com File and Media Server, in the end as a Triple-Boot Setup, by doing this the startup the boot-menu-choice will be modified relatively as now is Windows kind:... to a Linux boot-choice-menu?



Attached Images

[ubuntu] Ubuntu 21.10 PHP8 with geoip.so (not working AFTER upgrade)

$
0
0
I did a upgrade from 21.04 (PHP7.4) to 21.10 with PHP8 etc.

Before I always could use the php function geoip_country_code_by_name as mention in the php manual:
https://www.php.net/manual/en/functi...de-by-name.php

But now it seems it's not working and if I test I get:
PHP Warning: PHP Startup: Unable to load dynamic library 'geoip.so' (tried: /usr/lib/php/20200930/geoip.so (/usr/lib/php/20200930/geoip.so: cannot open shared object file: No such file or directory), /usr/lib/php/20200930/geoip.so.so (/usr/lib/php/20200930/geoip.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0

It seems it's looking in wrong directory as I do find it at /usr/lib/php/20160303/geoip.so

I also check PHP and module is there:
/etc/php/8.0/mods-available/geoip.ini, which contains the line: extension=geoip.so

So, what is going on and how do I fix this?

Hmmmm ... could this be the problem?

File list of package php-geoip in focal of architecture amd64
/etc/php/7.4/mods-available/geoip.ini
/usr/lib/php/20190902/geoip.so
/usr/share/doc/php-geoip/README
/usr/share/doc/php-geoip/changelog.Debian.gz
/usr/share/doc/php-geoip/copyright

File list of package php-geoip in impish of architecture amd64
/etc/php/8.0/mods-available/geoip.ini
/usr/share/doc/php-geoip/README
/usr/share/doc/php-geoip/changelog.Debian.gz
/usr/share/doc/php-geoip/copyright

No geoip.so ???

PXE/TFTP server live system booting available for Ubuntu desktop or server?

$
0
0
It has been a while, but I got server w/tftp set up ok, as far as I know (I can use tftp client to get a simple text file).
Server used: Ubuntu Desktop 21.10, with tftp-hpa,

After I configure PXELINUX, what files from the Ubuntu ISO shall I copy to the tftp server directory, and any hints for the pxelinux menu entry would be great.

Going through this, I found it out of date: https://help.ubuntu.com/community/PXEInstallServer

The config and defaults are a bit different now for tftp-hpa, but I got it working ok searching around the web and trying stuff.

Also, if anyone knows how to use a tftp server with pxelinux to load the boot.wim and install.wim for deployment of Windows Server 2012 R2, please let me know.

Thanks.

[ubuntu] Can't boot on my newly added windows disk.

$
0
0
Hi,
Feeling a bit sorry to ask for help but it s been a week of tries so i m out of options.

Here is my boot sum: https://pastebin.ubuntu.com/p/w9m2X7s87h/

I just want to be able to choose to boot on windows or Ubuntu.

Please help...

Thank you in advance if you invest even a little of your time looking at my problem.

Upgrade 16.04 LTS to 18.04 LTS

$
0
0
Hi,

Can I know upgrading the version mention above is available?
I recently have difficulty.

Thanks.

dhcp-Active: failed (Result: exit-code)

$
0
0
Hello
I installed dhcp server. I checked dhcp server status:
#sudo systemctl status isc-dhcp-server.service
it shows me the following:
isc-dhcp-server.service - ISC DHCP IPv4 server
Loaded: loaded (/lib/systemd/system/isc-dhcp-server.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Mon 2022-03-14 10:16:56 CET; 6h ago
Docs: man:dhcpd(8)
Process: 3303 ExecStart=/bin/sh -ec CONFIG_FILE=/etc/dhcp/dhcpd.conf; if [ -f /etc/ltsp/dhcpd.conf ]; then CONFIG_FILE=/etc/lts>
Main PID: 3303 (code=exited, status=1/FAILURE)


Here are my configuration files:
- file isc-dhcp-server :
INTERFACESv4="enp0s3"
-file /etc/dhcp/dhcpd.conf :
authoritative;
subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.101 192.168.1.120;
option domain-name-servers 8.8.8.8;
option subnet-mask 255.255.255.0;
option routers 192.268.1.254;
option broadcast-address 192.168.1.255;
default-lease-time 600;
max-lease-time 7200;
}


Thanks for helping me

Cluster/Datacenter Statistic Packages for Ubuntu?

$
0
0
I have a number of Ubuntu/Debian based network clients. Some based off diskless network boot, some hosting hypervisors.

What I'd like to do is find package software that is relatively simple to use for monitoring the resources available/in use by the cluster.

If that doesn't make sense I'm looking for something similar to what PROXMOX or VMware vCenter use to display online/offline network nodes and cumulative resources like network wide number of CPUs/RAM/Storage/etc.

I'm fine with CLI or WebUI if any packages exist for either. Every node is running Ubuntu/Ubuntu Server so I should be able to install client software to all of them and monitor their status from one location.

Thanks!

[ubuntu] Need to partition an SSD full of /dev/loops

$
0
0
Hello to one and all, I'm stumped.

Trying to install 20.04 on an old MacBook Air for a friend and on her drive I have found something very similar to this;

Code:

sudo fdisk -l

Disk /dev/loop15: 3.7 MiB, 3821568 bytes, 7464 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop16: 54.6 MiB, 57274368 bytes, 111864 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop17: 140.7 MiB, 147501056 bytes, 288088 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop18: 14.8 MiB, 15462400 bytes, 30200 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/loop19: 42.8 MiB, 44879872 bytes, 87656 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

My problem is that using Gparted from a live USB drive I can't see any partitions to work with.

How can I get rid of all these 'loops' and be able partition the SSD so as to install 20.04?

unattended upgrades

$
0
0
hi,
in my kubuntu-18.04 I configured unattended.upgrades, and I set in
/etc/apt/apt.conf.d/20auto-upgrades


Code:

...
APT::Periodic::AutocleanInterval"0";
...



but I dont find pachages upgrade, what I wrong or where should I look
?





thank you

No wi-fi on HP-Stream11, no wired connection alternative

$
0
0
Hi.

Can't install linuxmint-20.3-mate-64bit on my HP-Stream 11.
Love Linux, hate MS, life hell since Win11.


Tried linuxmint-20.3-mate-64bit live disk on a USB key, but couldn't proceed to install as no wi-fi.
The key works well on another computer and has been verified.
Sb suggested Ubuntu 14.10. Couldn't get past GRUB.

Realtek RTL8821CE 802.11ac PCIe Adapter.

No Ethernet connectivity, home not wired at all, living off my smartphone hotspot.

Is there any other way to proceed?
Another distro?
Install the necessary packages from a USB key?
Alternative wi-fi adapter on a USB key? But will that be compatible...?

Used to be an average Linux user years ago. No geek.

HP-Stream 11-ak0xxx
64-bit, Intel(R) Celeron(R) N4000, 4Gb RAM, 64Gb flash storage.


Thank you kindly.
Jackn

[all variants] apt-get upgrade - Errors were encountered while processing linux-image-4.15.0-171-gen

$
0
0
Hi all, getting below error when running apt-get upgrade:
Code:

$ sudo apt-get upgrade
sudo: unable to resolve host m5
Reading package lists... Done
Building dependency tree     
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  netplan.io ubuntu-advantage-tools
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
1 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 linux-image-4.15.0-171-generic (4.15.0-171.180) ...
Processing triggers for linux-image-4.15.0-171-generic (4.15.0-171.180) ...
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-4.15.0-171-generic
Warning: couldn't identify filesystem type for fsck hook, ignoring.
/etc/kernel/postinst.d/x-grub-legacy-ec2:
Searching for GRUB installation directory ... found: /boot/grub
Searching for default file ... found: /boot/grub/default
Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
Found kernel: /boot/vmlinuz-4.15.0-33-generic
Found kernel: /boot/vmlinuz-4.4.0-134-generic
dpkg-query: error: package 'grub-legacy-ec2' is not installed
run-parts: /etc/kernel/postinst.d/x-grub-legacy-ec2 exited with return code 10
dpkg: error processing package linux-image-4.15.0-171-generic (--configure):
 installed linux-image-4.15.0-171-generic package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 linux-image-4.15.0-171-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)

Please advise.

[ubuntu] Problem with script in preseed file

$
0
0
Hi all.

I am working at a university and we look at working with an automatic OEM Ubuntu 20.04.4 iso. So far I got the automatic installation working both with full LUKS encryption and without (have different options available from grub menu).

Now we need a file populated in a local folder with an antitheft tag number (just plain text). I need to run a script that shows some kind of inputbox during the last stage of the installation. I am currently trying with zenity to show that inputbox.

in my seed-file I have this section (only part I have modified from my other seed-files)

Code:

ubiquity ubiquity/success_command string \
        cp /cdrom/asset.sh /target/root; \
        cp /cdrom/post-install.sh /target/root; \
        chmod 0700 /target/root/asset.sh; \
        chmod 0700 /target/root/post-install.sh; \
        in-target /root/asset.sh; \
        in-target /root/post-install.sh;

It seems to skip that asset.sh and don't do anything (no error messages) and just go to the part where it says that installation is complete, please remove installation media. The script asset.sh works perfectly by itself so I don't get it.
Anyone have good experience from this part that can help me?

After Ubuntu 20.04 installed, Windows does boot but not from Grub [closed]

$
0
0
I have installed Ubuntu 20.04 desktop on a Acer TravelMate TMB118 laptop alongside an existing Windows 10 install. After installation, booting the computer allow grub to boot Linux without problem, but every time I choose booting Windows from the grub menu, Windows does not boot and the computer just freeze.


Going to the BIOS to make Windows boot first results in Windows booting without problems.


I tried "update-grub", repairing Windows boot with a live USB, installing boot-repair on Linux, but still nothing changed. I have prepared several identical laptops with Windows/Ubuntu 20.04 dual boot without having this problem before, so I just don't understand what's going on this time.


Here is the content of the boot-repair log after scan :

Code:

boot-repair-4ppa200                                              [20220317_0854]

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

 => Windows 7/8/10/11/2012 is installed in the MBR of /dev/sda.

sda1: __________________________________________________________________________

    File system:      vfat
    Boot sector type:  Windows 8/10/11/2012: FAT32
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System: 
    Boot files:        /efi/Boot/bootx64.efi /efi/Boot/fbx64.efi
                      /efi/Boot/mmx64.efi /efi/ubuntu/grubx64.efi
                      /efi/ubuntu/mmx64.efi /efi/ubuntu/shimx64.efi
                      /efi/ubuntu/grub.cfg /efi/Microsoft/Boot/bootmgfw.efi
                      /efi/Microsoft/Boot/bootmgr.efi /bootmgr

sda2: __________________________________________________________________________

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

sda3: __________________________________________________________________________

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

sda4: __________________________________________________________________________

    File system:      ntfs
    Boot sector type:  Windows 8/10/11/2012: NTFS
    Boot sector info:  No errors found in the Boot Parameter Block.
    Operating System: 
    Boot files:       

sda5: __________________________________________________________________________

    File system:      ext4
    Boot sector type:  -
    Boot sector info:
    Operating System:  Ubuntu 20.04.4 LTS
    Boot files:        /boot/grub/grub.cfg /etc/fstab /etc/default/grub


================================ 2 OS detected =================================

OS#1:  L'OS actuellement utilisé - Ubuntu 20.04.4 LTS CurrentSession on sda5
OS#2:  Windows 10 or 11 on sda3

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

CPU architecture: 64-bit
Video: UHD Graphics 605 from Intel Corporation
BOOT_IMAGE of the installed session in use:
/boot/vmlinuz-5.13.0-35-generic root=UUID=0c46e8ff-f013-4229-a77f-797f9ef428d7 ro quiet splash vt.handoff=7
df -Th / : /dev/sda5        ext4  144G    10G  126G  8% /

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

BIOS/UEFI firmware: V1.22(1.22) from Insyde Corp.
The firmware is EFI-compatible, and is set in EFI-mode for this installed-session.
SecureBoot enabled but mokutil says: SecureBoot enabled - Veuillez indiquer ce message à boot.repair@gmail.com.
BootCurrent: 0002
Timeout: 0 seconds
BootOrder: 0002,0000,0001,2001,2002,2003
Boot0000* Windows Boot Manager  HD(1,GPT,93160ae9-fe7f-4e90-84bc-3416eb250e06,0x800,0x32000)/File(\EFI\Microsoft\Boot\bootmgfw.efi)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}...1................
Boot0001* Ubuntu    PciRoot(0x0)/Pci(0x12,0x0)/Sata(0,0,0)/HD(1,GPT,93160ae9-fe7f-4e90-84bc-3416eb250e06,0x800,0x32000)/File(\EFI\ubuntu\shimx64.efi)A01 ..
Boot0002* ubuntu    HD(1,GPT,93160ae9-fe7f-4e90-84bc-3416eb250e06,0x800,0x32000)/File(\EFI\ubuntu\shimx64.efi)
Boot2001* EFI USB Device    RC
Boot2002* EFI DVD/CDROM RC
Boot2003* EFI Network  RC


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

Disks info: ____________________________________________________________________

sda : is-GPT,  no-BIOSboot,    has---ESP,  not-usb,    not-mmc, has-os,    has-win,    2048 sectors * 512 bytes

Partitions info (1/3): _________________________________________________________

sda5    : is-os,    64, apt-get,    signed grub-pc grub-efi ,  grub2,  grub-install,  grubenv-ok, update-grub,    farbios
sda1    : no-os,    32, nopakmgr,  no-docgrub, nogrub, nogrubinstall,  no-grubenv, noupdategrub,  not-far
sda3    : is-os,    32, nopakmgr,  no-docgrub, nogrub, nogrubinstall,  no-grubenv, noupdategrub,  farbios
sda4    : no-os,    32, nopakmgr,  no-docgrub, nogrub, nogrubinstall,  no-grubenv, noupdategrub,  farbios

Partitions info (2/3): _________________________________________________________

sda5    : isnotESP, fstab-has-goodEFI,  no-nt,  no-winload, no-recov-nor-hid,  no-bmgr,    notwinboot
sda1    : is---ESP, part-has-no-fstab,  no-nt,  no-winload, no-recov-nor-hid,  bootmgr,    notwinboot
sda3    : isnotESP, part-has-no-fstab,  no-nt,  haswinload, no-recov-nor-hid,  bootmgr,    notwinboot
sda4    : isnotESP, part-has-no-fstab,  no-nt,  no-winload, recovery-or-hidden, no-bmgr,    notwinboot

Partitions info (3/3): _________________________________________________________

sda5    : not--sepboot, with-boot,  fstab-without-boot, not-sep-usr,    with--usr,  fstab-without-usr,  std-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
sda3    : not--sepboot, no---boot,  part-has-no-fstab,  not-sep-usr,    no---usr,  part-has-no-fstab,  no--grub.d, sda
sda4    : 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.78 GiB, 500107862016 bytes, 976773168 sectors
Disk identifier: 626B8912-44DE-4AAC-83A0-08661DBB593C
          Start      End  Sectors  Size Type
sda1      2048    206847    204800  100M EFI System
sda2    206848    239615    32768    16M Microsoft reserved
sda3    239616 668520480 668280865 318.7G Microsoft basic data
sda4  975722496 976771071  1048576  512M Windows recovery environment
sda5  668522496 975722495 307200000 146.5G Linux filesystem
Partition table entries are not in disk order.

parted -lm (filtered): _________________________________________________________

sda:500GB:scsi:512:512:gpt:ATA CT500MX500SSD1:;
1:1049kB:106MB:105MB:fat32:EFI system partition:boot, esp;
2:106MB:123MB:16.8MB::Microsoft reserved partition:msftres;
3:123MB:342GB:342GB:ntfs:Basic data partition:msftdata;
5:342GB:500GB:157GB:ext4::;
4:500GB:500GB:537MB:ntfs::hidden, diag;

blkid (filtered): ______________________________________________________________

NAME  FSTYPE  UUID                                PARTUUID                            LABEL PARTLABEL
sda                                                                                           
├─sda1 vfat    A61A-FBBB                            93160ae9-fe7f-4e90-84bc-3416eb250e06      EFI system partition
├─sda2                                              14461110-4e8b-4223-a507-4c5a78efc582      Microsoft reserved partition
├─sda3 ntfs    D62A1C0B2A1BE6F1                    75e20abe-b526-425c-92c1-1f015bc634f2      Basic data partition
├─sda4 ntfs    26D0042BD00403B1                    6633297f-497f-4f32-bac9-d23be151ab90     
└─sda5 ext4    0c46e8ff-f013-4229-a77f-797f9ef428d7 72e838ac-7495-4265-97e6-629958e3d9a5     

Mount points (filtered): _______________________________________________________

                        Avail Use% Mounted on
/dev/sda3              298.4G  6% /mnt/boot-sav/sda3
/dev/sda4                88M  83% /mnt/boot-sav/sda4
/dev/sda5              125.9G  7% /

Mount options (filtered): ______________________________________________________

/dev/sda3              fuseblk        ro,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/sda4              fuseblk        ro,relatime,user_id=0,group_id=0,allow_other,blksize=4096
/dev/sda5              ext4            rw,relatime,errors=remount-ro

===================== sda1/efi/ubuntu/grub.cfg (filtered) ======================

search.fs_uuid 0c46e8ff-f013-4229-a77f-797f9ef428d7 root hd0,gpt5
set prefix=($root)'/boot/grub'
configfile $prefix/grub.cfg

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

Ubuntu  0c46e8ff-f013-4229-a77f-797f9ef428d7
Ubuntu, avec Linux 5.13.0-35-generic  0c46e8ff-f013-4229-a77f-797f9ef428d7
Ubuntu, avec Linux 5.8.0-43-generic  0c46e8ff-f013-4229-a77f-797f9ef428d7
Windows Boot Manager (sur sda1)  osprober-efi-A61A-FBBB
### END /etc/grub.d/30_os-prober ###
UEFI Firmware Settings  uefi-firmware
### END /etc/grub.d/30_uefi-firmware ###

========================== sda5/etc/fstab (filtered) ===========================

# <file system> <mount point>  <type>  <options>      <dump>  <pass>
# / was on /dev/sda5 during installation
UUID=0c46e8ff-f013-4229-a77f-797f9ef428d7 /              ext4    errors=remount-ro 0      1
# /boot/efi was on /dev/sda1 during installation
UUID=A61A-FBBB  /boot/efi      vfat    umask=0077      0      1
/swapfile                                none            swap    sw              0      0

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

GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""
GRUB_DISABLE_OS_PROBER=false

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

          GiB - GB            File                                Fragment(s)
 347,157329559 = 372,757344256  boot/grub/grub.cfg                            2
 464,535839081 = 498,791559168  boot/vmlinuz                                  1
 464,535839081 = 498,791559168  boot/vmlinuz-5.13.0-35-generic                1
 323,495113373 = 347,350233088  boot/vmlinuz-5.8.0-43-generic                  2
 323,495113373 = 347,350233088  boot/vmlinuz.old                              2
 326,604488373 = 350,688899072  boot/initrd.img                                4
 326,604488373 = 350,688899072  boot/initrd.img-5.13.0-35-generic              4
 326,279045105 = 350,339457024  boot/initrd.img-5.8.0-43-generic              2
 326,279045105 = 350,339457024  boot/initrd.img.old                            2

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

-rwxr-xr-x 1 root root 18151 Aug 12  2021 10_linux
-rwxr-xr-x 1 root root 42359 Jan 13  2021 10_linux_zfs
-rwxr-xr-x 1 root root 12894 Jan 13  2021 20_linux_xen
-rwxr-xr-x 1 root root 12059 Jan 13  2021 30_os-prober
-rwxr-xr-x 1 root root  1424 Jan 13  2021 30_uefi-firmware
-rwxr-xr-x 1 root root  700 Feb 21 04:06 35_fwupd
-rwxr-xr-x 1 root root  214 Jan 13  2021 40_custom
-rwxr-xr-x 1 root root  216 Jan 13  2021 41_custom

=========================== sda5/etc/grub.d/35_fwupd ===========================

#! /bin/sh
# SPDX-License-Identifier: LGPL-2.1+
set -e
[ -d ${pkgdatadir:?} ]
# shellcheck source=/dev/null
. "$pkgdatadir/grub-mkconfig_lib"
if [ -f /var/lib/fwupd/uefi_capsule.conf ] &&
  ls /sys/firmware/efi/efivars/fwupd-*-0abba7dc-e516-4167-bbf5-4d9d1c739416 1>/dev/null 2>&1; then
      . /var/lib/fwupd/uefi_capsule.conf
      if [ "${EFI_PATH}" != "" ] && [ "${ESP}" != "" ]; then
      echo "Adding Linux Firmware Updater entry" >&2
cat << EOF
menuentry 'Linux Firmware Updater' \$menuentry_id_option 'fwupd' {
EOF
      ${grub_probe:?}
      prepare_grub_to_access_device '`${grub_probe} --target=device \${ESP}` | sed -e "s/^/\t/"'
cat << EOF
    chainloader ${EFI_PATH}
}
EOF
      fi
fi



Suggested repair: ______________________________________________________________

The default repair of the Boot-Repair utility would reinstall the grub-efi-amd64-signed of
sda5,
using the following options:  sda1/boot/efi
Additional repair would be performed: unhide-bootmenu-10s use-standard-efi-file

Blockers in case of suggested repair: __________________________________________

 Please use this software in a live-session (live-CD or live-USB). This will enable this feature.

Final advice in case of suggested repair: ______________________________________

Please do not forget to make your UEFI firmware boot on the L'OS actuellement utilisé - Ubuntu 20.04.4 LTS CurrentSession entry (sda1/efi/****/shim****.efi (**** will be updated in the final message) file) !
If your computer reboots directly into Windows, try to change the boot order in your UEFI firmware.
If your UEFI firmware does not allow to change the boot order, change the default boot entry of the Windows bootloader.
For example you can boot into Windows, then type the following command in an admin command prompt:
bcdedit /set {bootmgr} path \EFI\****\shim****.efi (**** will be updated in the final message)

Thanks in advance for your help !

[ubuntu] How to Prepare A USB that i can boot on several pc's?

$
0
0
I have dual boot on an ssd storage. Now i want to prepare another live USB External SSD disc, and use it as external OS on several PC's. But having some problem when i unplug this external storage.

  1. First i get 1 USB flash disc with ubuntu iso written with rufus. And get 1 SSD storage which i want to install ubuntu on it.
  2. I pluged in these two USB discs to pc, and boot from the one which iso written with rufus.
  3. Then i install that iso to other USB (sda) port which is my external SSD. I created 1024 mb EFI type partion and other ext4 and fat32 type of partions and tried lots of combinations.
  4. Installations is completed succesfully. And I can choose which ubuntu i want to start on grub screen now.
  5. But when i unplug this external ssd my own ubuntu is not booting. It stuck on the "gnu grub version 2.04 minimal bash-like line editing is supported " screen. To reach my own ubuntu i have to plug in this external ssd.
  6. And this external disc is not listed on the "bios - boot priority panel" neither on my pc nor other pc's.


My aim is to create an external disk and boot it on several pc's, with only editing this "bios - boot - boot priority" on each pc. How can i make it undependent to my pc?

Installation Seems to Fail because of Network Issues

$
0
0
Problem: I have not been able to install Ubuntu 21.04 Server/Desktop on a new Alienware machine. I believe this is because of inability to connect to internet which I see when reading the installation error log / tracebacks. This inhibits certain downloads necessary by grub and python 3.6.

Questions:
1. Is there anything I need to look for on the Grub CLI (currently it only registers one internet card) and cannot be autoconfigured for ipv6; other grub "ls" CLI commands don't list anything.
2. If my machine has both ipv4 and ipv6 cards, do I need to select for it to use one between the two? Right now I only have IPV4 details and the server does seem to successfully register it during setup but still cannot seem to use/find it?
3. Is there a driver I need to setup for Ethernet?
4. Currently the Ethernet box I connect to powers other machines / ubuntu machines successfully but doesn't connect to Internet on my MacOS. Am I missing something? The machines are generally hooked up to some remote server and maybe that is a separate Ethernet cable for remote server related processes, different from regular Internet connectivity?

Thank you for the help!

No Upgrade Path--Groovy to Impish

How to remove Dart SDK?

[xubuntu] planning for 22.04 LTS

$
0
0
i am aiming to upgrade to 22.04 after the Xubuntu flavor comes out. i am currently running Xubuntu 18.04 LTS and have skipped 20.04 LTS. i have installed many packages on 18.04 and want to install as many of these on 22.04 as i can.

the big problem i had with my upgrade from 16.04 to 18.04 was that many package names changed. for 18.04 to 22.04. i want to plan this out better. i am looking for a map of these package name changes so that i can make a script to install all the packages i need to make the new system be like the previous one. maybe 18.04 to 22.04 is too big of a jump for one map. two maps, one for 18.04 to 20.04 and one for 20.04 to 22.04 can be used.

i do not have a separate list of what i have added. i only have a list of what i have now which i get from doing:
Code:

dpkg -l|awk '{if($1=="ii"){print $2,$4,$3;}}'
does anyone know of any such maps and where to get them?
Viewing all 26379 articles
Browse latest View live


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