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

iSCSI Boot from SAN on 20.04

$
0
0
Expected Outcome:
Would like to boot from SAN with a Cisco UCS B200 M4 server.

What I actually get:
No support for iSCSI boot appears to be built into the product, and we are trying a number of hacks to get to a working solution. If we see the disk, the network and the user account don't work, otherwise we end up at the initramfs prompt unable to see the partition.

My Ask:
What is the proper way to configure ISCSI boot on 20.04.

Architecture:
Three B200 M4s
  • 1 Management Interface (configured through the installer)
  • 1 data interface intended for K8S after install
  • 2 ISCSI interfaces (Same VLAN - Native VLAN)
  • PureStorage - On the same subnet



What we have tried:

Attempt 1:
  • Boot from ISO and add disk-detect/ibft/enable=true partman-iscsi/iscsi_auto=true for the boot options
  • Enter language and keyboard options
  • Enter a management IP address and then go immediately to shell:
  • Start ISCSI using the following commands (no other option is given anywhere in the install process. If you don't do this now, you see no disks):

    modprobe iscsi_ibft
    iscsistart -N
    iscsistart -b

    Note: At this point ISCSI is operational, and we can see the boot drive and multipath information (We have two storage NICs in this configuration)
  • Enter the proxy and accept the archive path
  • Use the selected ISCSI volume and configure for lvm
  • When install is complete, return to the shell before rebooting.
  • Configure the initramfs using the following commands:

    mount --bind /sys /target/sys
    mount --bind /proc /target/proc
    mount --bind /dev /target/dev
    chroot /target

    echo 'iscsi_ibft' >> /etc/initramfs-tools/modules

    echo '#!/bin/bash' > /etc/initramfs-tools/scripts/local-top/iscsi
    echo 'iscsistart -N' >> /etc/initramfs-tools/scripts/local-top/iscsi
    echo 'sleep 10' >> /etc/initramfs-tools/scripts/local-top/iscsi
    echo 'iscsistart -b' >> /etc/initramfs-tools/scripts/local-top/iscsi
    echo 'exit 0' >> /etc/initramfs-tools/scripts/local-top/iscsi

    update-initramfs -u
  • Exit shell
  • Reboot


NOTE: This worked in earlier versions of Ubuntu. Now it doesn't work at all most attempts. You end up at initramfs prompt. The volume is not seen. I did get this to work one time and have it up and running, but cannot reproduce it, and don't know why.

Attempt 2

  • Same steps as before until you get to the end of the installer, then use the shell and replace the shell commands in option 1 with these:

    mount --bind /sys /target/sys
    mount --bind /proc /target/proc
    mount --bind /dev /target/dev
    chroot /target

    echo 'iscsi_ibft' >> /etc/initramfs-tools/modules

    echo 'ISCSI_AUTO=true' > /etc/iscsi/iscsi.initramfs

    update-initramfs -u
  • Exit shell and reboot


Notes: At this point the system reboots and sees the storage, but you cannot logon to the server with the account that was supposed to be created by the installer, and there is no IP on the management interface. We can see from the cloud-init-output.log that the script is failing because I also make a user account from the shell while I am fixing iSCSI boot, and that account works.

[xubuntu] Same /home from 18.04 to 20.04?

$
0
0
In the past when moving from LTS to LTS by clean install, I have usually managed to keep the same /home partition having had it separate for many years now. Often there are some glitches here and there but the major changes I always make to the default xfce4 desktop layout have been carried over to the new version of the OS.

This time on installing 20.04 my Xubuntu desktop layout, panels etc etc seem to have been ignored much more than usual.

Does anyone know if this is due to some major changes in the jump from xfce-4.12 to xfce-4.14?
Just interested to know; it is not a very long job to adjust everything again to what I want, but it has happened on both my laptop and desktop machines and I am interested to know if other Xubuntu users carrying a home partition across have had the same thing happen to them.

Trying to uninstall update-notifier, I uninstalled update-manager

$
0
0
I had an update-notifier pop up (emerging window) as shown on the screen capture (Captura de pantalla). I don't know how it had been activated. Finding out how to disable it, I have got to https://askubuntu.com/questions/2187...-manager-popup and I have run in the terminal the order apt-get remove update-notifier. Incredibly, also the update-manager has been uninstalled, removed or whatever.
My questions are:
-Will my Ubuntu 18.04.4 LTS update automatically from now on or not?
-If not, how can I reinstall update-manager without update-notifier or at least disable its bothering pop ups?

Incredibly, again has appeared the bothering pop up. Look at the 2nd screen capture (2020-04-30).


Additional comments (not necessary for this thread, but I was angry)
I hope that someone wil answer me, because I asked in another thread about Brasero, SimpleBurn Xfburn..., which didn't work to burn audio CDs, and nobody answered me. Finally I found it myself, watching the codecs needed for Brasero and installing them following terminal orders seen on web pages. But after I installed them, Brasero still didn't work, but Xfburn did. So, I uninstalled Brasero and I let Xfburn installed. Indeed, in most of my previous versions of Linux (all Fedora, until I got tired to update the OS so often and I knew about Ubuntu LTS) I used GnomeBaker instead of Brasero.
This was a few weeks ago, because just a few days ago I found myself how to disable the keyring login on Chromium and Google Chrome. Probably the most specific and safest way is this: adding --password-store=basic after the line order for key shortcut (chromium-browser or google-chrome).

[ubuntu] Laptop fails to boot 5.3.0-46 kernel but will boot 5.3.0-45

$
0
0
I have a laptop from PC specialist, which will happily boot in normal mode using the 5.3.0-45 kernel, but won't boot at all in the 5.3.0-46 kernel (not even in recovery mode).

When 5.3.0-46 attempts to start you can see a black screen with the notification area faded; the normal User selection box and password prompt are not visible.

I am not sure what files might help diagnose the issue
Attached Files

[ubuntu] Problem Force Install 20.04lts from 18.04lts

$
0
0
Hi,

I was using ubuntu 18.04 LTS.

I have forcefully installed ubuntu 20.04 LTS using the command: update-manager -d

when the installation was in midpoint there was an error. I guess it was at the last moment of "installing the upgrades". And lots of pop up windows come up and ask permission manually that replace the file with newer version. I click the replace button all of them.

And at the end of "installing the upgrades", there was a message install can not be complete. And whole process was stop and nothing is running. I have back to my desktop. I tried to restart my laptop. it took long time. I try to update again but no work. My icon's and other thing not seems right. My installation is not complete.

What can i do now? cleaning process is not done! I am not expert. I like to go back my previous version 18.04 LTS or complete my installation 20.04 LTS properly.

Please help me as i am a below average user.

Thank you.

Drivers for a dockingstation?

$
0
0
I have a HP Elite Book 8570w and want to use a HP docking station A7E32AA. That needs some kind of driver in order for the computer to handle the dockingstation and it´s services when it is connected. When I DO connect it´s only the "screen" comming up. No USB (mouse/keyboard), no sound, no nic, no power through the dockingstation among others!
I have Ubuntu 19 as OS.

Anybody know of some program/driver who handle a dockingstation? Other hints?

Xubuntu 20.04 desktop

$
0
0
I have a Dell Inspiron P25T with Xubuntu 19.10.
I installed Xubuntu 20.04 but the desktop looks like 80 character wide trying to display 82 characters.
Rectangular windows are stair-stepped trapezoids.
I had to press and hold the power key to shut down.
I installed Kubuntu and no problems. I would prefer Xubuntu.
Is there some video setting that could correct the problem?
I have searched but have not found anything that matches yet.

[ubuntu] Ubuntu Triple Boot with another version of ubuntu

$
0
0
I am trying to install Ubuntu version 16.04. I already have ubuntu 18.04 and windows 10 installed. I have already freed up some space for this and my live usb is ready. But for some reason the usb never boots up and I always see the grub on opening my laptop. The Boot options also show only windows and the ubuntu grub I have already installed. Any suggestions/fixes?

Passive FTP issue on Ubuntu 20.04 LTS with IPTables and OpenVPN

$
0
0
Hi all

I have a strange issue with FTP. I am trying to SEND a file that's on my Linux box to a FileZilla FTP server using Passive FTP. The Linux box has OpenVPN installed, and also iptables, and not much else. tun0 is the device created by OpenVPN, and device ens3 is the ethernet (it's hosted at a datacentre so it's the equivalent of eth0). ens3 has a public IP address, so no NAT.

Unless I add this line:

-A INPUT -p tcp --sport 20 --dport 1024: -m state --state NEW -j ACCEPT

to my iptables, I cannot send a file to the external FTP site. The connection establishes but then hangs at 0 bytes.

I do have ip_conntrack_ftp in the modules file.

What am I missing?

Full iptables config below.

Many thanks


Jim


# Generated by iptables-save v1.4.4 on Wed Sep 19 20:45:08 2012

*nat
:PREROUTING ACCEPT [832:56386]
:INPUT ACCEPT [21:1092]
:OUTPUT ACCEPT [2:168]
:POSTROUTING ACCEPT [2:168]
-A POSTROUTING -s 10.8.0.0/24 -o tun0 -j MASQUERADE
COMMIT


*filter
:INPUT ACCEPT [46:2718]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [676793:2441881631]

# -------------------------------------------------------------------------------------------
# accept all from localhost
-A INPUT -s 127.0.0.1 -j ACCEPT

# -------------------------------------------------------------------------------------------
# accept all previously established connections
-A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT

# -------------------------------------------------------------------------------------------
# accept https
-A INPUT -p tcp -m state --state NEW -m tcp --dport 443 -j ACCEPT

# -------------------------------------------------------------------------------------------
# accept OpenVPN. See comment at top relating to 'tun'
-A INPUT -i ens3 -p udp -m state --state NEW -m udp --dport 1194 -j ACCEPT
-A INPUT -i tun+ -j ACCEPT
-A FORWARD -i tun+ -j ACCEPT
-A FORWARD -i tun+ -o ens3 -m state --state RELATED,ESTABLISHED -j ACCEPT
-A FORWARD -i ens3 -o tun+ -m state --state RELATED,ESTABLISHED -j ACCEPT

# -------------------------------------------------------------------------------------------
# Allow FTP connections @ port 21
-A INPUT -p tcp --dport 21 -m state --state NEW -j ACCEPT

# Allow Passive FTP Connections
-A INPUT -p tcp --sport 1024: --dport 1024: -m state --state ESTABLISHED -j ACCEPT

# THIS LINE - needed to allow PassiveFTP to work properly
-A INPUT -p tcp --sport 20 --dport 1024: -m state --state NEW -j ACCEPT


# -------------------------------------------------------------------------------------------
# reject all other packets coming into the computer, even from other computers in the local area network
-A INPUT -j REJECT --reject-with icmp-port-unreachable

-N LOGGING

-A INPUT -j LOGGING

-A LOGGING -m limit --limit 2/min -j LOG --log-prefix "IPTables-Dropped: " --log-level 4
-A LOGGING -j DROP

COMMIT

[UbuntuGnome] Missing Dependencies Prevent Install

$
0
0
I've been getting frustrating dependency errors. How do I resolve these?
When I try to install the missing packages they do not install. I seem to be going in circles.

Code:

$ sudo apt-get -f install picard
Reading package lists... Done
Building dependency tree     
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 fahcontrol : Depends: python-support (>= 0.90.0) but it is not installable
              Depends: python-gnome2 but it is not going to be installed
 picard : Depends: python-mutagen (>= 1.20) but it is not going to be installed
          Depends: python-libdiscid but it is not going to be installed
          Depends: libchromaprint-tools but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

$ sudo apt-get -f install python-support
Reading package lists... Done
Building dependency tree     
Reading state information... Done
Package python-support is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source


E: Package 'python-support' has no installation candidate

$ sudo apt-get -f install python-gnome2
Reading package lists... Done
Building dependency tree     
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 fahcontrol : Depends: python-support (>= 0.90.0) but it is not installable
 python-gnome2 : Depends: python-gconf (= 2.28.1+dfsg-1.1) but it is not going to be installed
                Depends: python-pyorbit (>= 2.0.1-4) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

[ubuntu] Ubuntu 20.04 - No shutting down or restarting

$
0
0
I upgraded from 19.10 and I have everything running on 20.04 except shutting down or restarting Ubuntu. The machine stops and I have to force the exit. Any tips?
Thanks

External monitor down after recommended routine update

$
0
0
Hi all,

This morning on firing up, my external monitor said "Check signal cable" and no longer worked. Yesterday it had been working perfectly till shutdown. In between the setup remained untouched by anyone or anything. The signal cable remains firmly in place.
The last thing I had done before shutting down was running one of these update pop-ups as I have done countless times before. So it looks very much like that update knocked out a video driver. What may be the best way to locate and fix the problem? The setup: Dell Latitude E6530, Ubuntu 18.04 LTS, Samsung monitor ~30". Thanks for any help.

Frederic

[SOLVED] Where is 20.04 upgrade message

$
0
0
A question. I am at 19.10 and I have been doing "updates" every day the past two weeks with the software updater and have "for any new version" selected for "notify me of a new Ubuntu version". I have not gotten any notification from the software updater that a 20.04 upgrade is available. Is there some kind of problem(s) holding up things? I can install it via the terminal but want to make sure their isn't some major issue in background holding up 20.04. Can anyone tell me if it is safe to g to 20.04? ....just being cautious. And if it is ok to install, can I do it via the updater rather than the terminal. If so, how do I get the updater to do the upgrade? Many thanks for the answers to my questions!

[xubuntu] recent update broke samba/cifs/thunar

$
0
0
I just noticed after a reboot that smb/cifs no longer works. When I use thunar to connect to a drive it shows "0 items". On a non updated machine (not updated in 2 days) it works just fine. I have this problem on both xubuntu 18.04.4 / 20.04 machines.

Installing to laptop with RST enabled

$
0
0
Today I wanted to install a dualboot system to my new Lenovo Ideapad C340. It came with Windows installed and I wanted to install Ubuntu next to it. During the installation process I got the message that RST was enabled on this laptop and that I had to follow this tutorial.
I followed it closely but despite making the changes in the windows register Windows had to be recovered. So I'm in the command prompt, and commands lik this are not working:
Quote:

bcdedit /deletevalue {default} safeboot

So I need to dive into the bootpartition. The bootpartition had no assigned letter, so I first did that (don't know if this was a good idea). In that partition I can reach the /BOOT folder but the following command
Quote:

ren BCD BCD.bak

doesn't work.

What should I do? Is a dual boot impossible? Should I install Ubuntu alone, and will this work, now that RST is disabled in the bios? Or is it still possible to dual boot?
I also posted this problem in the dutch ubuntuforum, but got no reaction.

[lubuntu] Exclamation marks on icons after fresh Lubuntu 20.04 install

$
0
0
Exclamation marks on icons after fresh 20.04 install.

Any reason for this?

Installed on a couple of machines but have the the same issue. All works okay - just don't want the exclamation marks.

[lubuntu] Freeze at first boot

$
0
0
Hello
I try to install Lubuntu 19.04 on Intel Joule. It runs smooth Ubuntu 18.04 from SD card. Lubuntu installation from usb goes through, but at first boot it stops after USB devices enumeration. When I remove all usb devices it stops after

ttyS2 - failed to request DMA
Freeing unused kernel memory :1268K (some address here)
random: udevd urandom read with 11 bits of entropy available

During installation I created 2 partitions: 1GB Fat32 at /efi/boot and 13GB ext4 at /

Thanks in advance for your support
Thanks
Jacek

[lubuntu] Lubuntu 20.04 installation warns ESP flag missing despite an existing ESP

$
0
0
Problem
Lubuntu 20.04 installation warns that the ESP flag is missing even though 19.04 can boot with ESP /boot/efi without its ESP flag is set. Following message is shown by the installation:
Code:

A partition was configured with mount point /boot/efi but its esp flag is not set.
To set the flag, go back and edit the partition.

You can continue without setting the flag but your system may fail to start.

However, the partition editor in the installation does not show esp flag, but the flags boot and bios-grub. Clicking former (boot flag) did not solve the problem. The latter (bios-grub) cannot be used, because the computer has an existing UEFI/GPT partitioning scheme with ESP on /dev/sda1.

Setup
The Computer has Lubuntu 19.04 with the following partition layout. As it can be seen below, the esp flag is not set. But the system could boot.
Code:

$ sudo parted /dev/sda -l
Model: ATA SAMSUNG SSD PM85 (scsi)
Disk /dev/sda: 256GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:

Number  Start  End    Size    File system    Name  Flags
 1      17,4kB  1075MB  1075MB  fat32                msftdata
 2      1075MB  9665MB  8590MB  linux-swap(v1)
 3      26,8GB  44,0GB  17,2GB  ext4
 5      68,7GB  137GB  68,7GB  btrfs

1st partition is ESP:
Code:

$ df -h /dev/sda1
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda1      1023M  7,7M 1016M  1% /boot/efi

Questions
  1. The reason why Lubuntu 19.04 can be booted by an ESP without its ESP flag ist set is described in https://www.rodsbooks.com/efi-bootlo...rinciples.html : “and a redundant "esp flag".. Why does Lubuntu 20.04 installation not ignore a redundant flag, but 19.04 does?
  2. Is it a good practice to manipulate the ESP flag with parted, before I install 20.04? Is there anything I have to pay attention to?

[ubuntu] Ubuntu 20.04 hang & no Sound detected

$
0
0
I have Dell Inspiron I5 7000, with configuration:
System Model Inspiron 7591
Audio NVIDIA Virtual Audio Device (Wave Extensible) (WDM)

In my Ubuntu 18.04 LTS suddenly sound was stopped working, i tried all the troubleshooting mentioned ubuntu help forum, and finally i Installed Ubuntu 20.04 LTS, but as i install, while boot it hang, i tried two three time to reboot the system, some time it boots but hang after and some time it hang on loging screen. once it loaded and when i check for sound setting again it hang as i opened the sound setting.

I am using Windows 10 side by and there is no issue with sound card/sound, it happens only with Ubuntu 18.04 and 20.04 LTS versions, i never tried earlier non LTS versions.

[UbuntuGnome] problem with onscreen Keyboard since 20.04 (Yoga 720)

$
0
0
Hardware: Lenovo Yoga 720

on 19.10 the onscreen keyboard appears in tablet mode on each input-field. after upgrade to 20.04 somebody has stolen the onscreen keyboard.
Please give it back. :-)
Viewing all 26379 articles
Browse latest View live


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