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

[SOLVED] ARM Ubuntu Desktop

$
0
0
Can I install & run Ubuntu desktop 21.10 on an ARM computer without any issues?

Installer 20.04.3 boots and installs--installer 20.04.4 does not boot.

$
0
0
With installer 20.04.4, grub menu is the only thing to be displayed. I have tried all grub menu selections for 20.04.4. I do not know where to begin to troubleshoot this.

Problem with a remote repository

$
0
0
Hello All, I built a local Ubuntu 20 repository using apt-mirror on a server that is in our DMZ network. That server gets updated every day by running apt-mirror in the cron. I also built a Ubuntu server in our Production network. That server has apache2 running and we rsync the contents of /var/www/html/ from the DMZ server to the Production server every day. I have also updates the sources.list file to have the changes for the server in productions. The issues is when I do an apt update , I get some errors, but not all and there are no updates to be had. I know that there are definitely updates available. Anyone have any ideas on what I am doing wrong ???

Thx Steve

[ubuntu] A Little Help With Partitioning On Fresh Install Please :D

$
0
0
Hello all !

(For TL;DR version, please skip to the part below the image)

I'm about to perform a clean ubuntu install on a new drive. The last time I did it was ~6 years ago, and the partitions hadn't turned out as intended since I was a n00b (still am:grin:)


Also, it was all kinds of wrong, owing to having ubuntu installed first, and then try add win 10 alongside. Oh and it was in Master Boot Record partitioning, which had made things even more difficult to the best of my recollection, but I had made it work somehow.

I've been using it ever since, and this is what it looks like(I know, I know:lol:):




Now I'll do it in UEFI mode only(something I've never done before) in the BIOS (instead of uefi+legacy), and the installation drive in GUID Table Partition.

I'd like to first have the win 10 partition for X gigabytes (since I'll install windows first, and then have ubuntu alongside), and then the ubuntu partition for Y gigabytes, and then a separate partition for media and stuff for Z gigabytes. And finally a swap partition. I want to do it all manually in GParted before i start installing windows. How should my partition table look like to yield the desired result ? Oh and I'd probably want /home, should it be under "/" (root?) ? Although I have /home in my current install, can't see it in the partition table up above. Can the root partition actually come after the windows partition ??

Any help is much appreciated ! Very many thanks in advance ! :D

[ubuntu] unattended ubuntu system install to client

$
0
0
hi,
whats the solution for ubuntu desktop system unattended installed on to laptops ?
whats the easiest way.
thanks,

[ubuntu] Mysql installation on ubuntu 18.04: unInstalled and reinstalled

$
0
0
Hi,

I uninstall and then reintall mysql on ubuntu 18.04, and after that I tried the following:

Code:

$ sudo service mysql start
~$ sudo /etc/init.d/mysql start
[ ok ] Starting mysql (via systemctl): mysql.service.
~$ sudo systemctl start mysqld

Failed to start mysqld.service: Unit mysqld.service not found. I used the following command for removing mysql and its out is also given below:

Code:

$ sudo apt-get remove --purge mysql-\*
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'mysql-workbench' for glob 'mysql-*'
Note, selecting 'mysql-client-5.5' for glob 'mysql-*'
Note, selecting 'mysql-client-5.6' for glob 'mysql-*'
Note, selecting 'mysql-client-5.7' for glob 'mysql-*'
Note, selecting 'mysql-common-5.6' for glob 'mysql-*'
Note, selecting 'mysql-server-5.0' for glob 'mysql-*'
Note, selecting 'mysql-server-5.1' for glob 'mysql-*'
Note, selecting 'mysql-server-5.5' for glob 'mysql-*'
Note, selecting 'mysql-server-5.6' for glob 'mysql-*'
Note, selecting 'mysql-server-5.7' for glob 'mysql-*'
Note, selecting 'mysql-utilities' for glob 'mysql-*'
Note, selecting 'mysql-testsuite' for glob 'mysql-*'
Note, selecting 'mysql-server' for glob 'mysql-*'
Note, selecting 'mysql-client' for glob 'mysql-*'
Note, selecting 'mysql-sandbox' for glob 'mysql-*'
Note, selecting 'mysql-client-core-5.5' for glob 'mysql-*'
Note, selecting 'mysql-client-core-5.6' for glob 'mysql-*'
Note, selecting 'mysql-client-core-5.7' for glob 'mysql-*'
Note, selecting 'mysql-testsuite-5.5' for glob 'mysql-*'
Note, selecting 'mysql-testsuite-5.6' for glob 'mysql-*'
Note, selecting 'mysql-testsuite-5.7' for glob 'mysql-*'
Note, selecting 'mysql-common' for glob 'mysql-*'
Note, selecting 'mysql-workbench-data' for glob 'mysql-*'
Note, selecting 'mysql-server-core-5.1' for glob 'mysql-*'
Note, selecting 'mysql-server-core-5.5' for glob 'mysql-*'
Note, selecting 'mysql-server-core-5.6' for glob 'mysql-*'
Note, selecting 'mysql-server-core-5.7' for glob 'mysql-*'
Note, selecting 'mysql-source-5.7' for glob 'mysql-*'
Package 'mysql-client-5.5' is not installed, so not removed
Package 'mysql-client-5.6' is not installed, so not removed
Package 'mysql-server-core-5.6' is not installed, so not removed
Package 'mysql-client-core-5.5' is not installed, so not removed
Package 'mysql-client-core-5.6' is not installed, so not removed
Note, selecting 'mysql-common' instead of 'mysql-common-5.6'
Package 'mysql-server-5.5' is not installed, so not removed
Package 'mysql-server-5.6' is not installed, so not removed
Package 'mysql-server-core-5.5' is not installed, so not removed
Package 'mysql-testsuite-5.5' is not installed, so not removed
Package 'mysql-testsuite-5.6' is not installed, so not removed
Package 'mysql-server-5.0' is not installed, so not removed
Package 'mysql-server-5.1' is not installed, so not removed
Package 'mysql-server-core-5.1' is not installed, so not removed
Package 'mysql-sandbox' is not installed, so not removed
Package 'mysql-source-5.7' is not installed, so not removed
Package 'mysql-testsuite' is not installed, so not removed
Package 'mysql-testsuite-5.7' is not installed, so not removed
The following packages were automatically installed and are no longer required:
gdal-data libaec0 libarmadillo8 libarpack2 libatkmm-1.6-1v5 libblas3
libcairomm-1.0-1v5 libcoin80v5 libctemplate3 libdap25 libdapclient6v5
libepsilon1 libevent-core-2.1-6 libfreexl1 libfyba0 libgeos-3.6.2
libgeos-c1v5 libgeos-dev libgeotiff2 libglibmm-2.4-1v5
libgnome-keyring-common libgnome-keyring0 libgraphicsmagick-q16-3
libgtkmm-2.4-1v5 libhdf4-0-alt libhdf5-100 libiso9660-10 libkmlbase1
libkmldom1 libkmlengine1 liblapack3 libmad0 libmng2 libnetcdf13 libodbc1
libogdi3.2 libopenthreads-dev libopenthreads20 libpangomm-1.4-1v5 libpq5
libproj12 libqhull7 libspatialite7 libsuperlu5 libsz2 libtinyxml2.6.2v5
liburiparser1 libvcdinfo0 libvsqlitepp3v5 libxerces-c3.2 libxine2
libxine2-bin libxine2-doc libxine2-ffmpeg libxine2-misc-plugins
libxine2-plugins odbcinst odbcinst1debian2 proj-bin proj-data
python-mysql.connector python-paramiko python-pexpect python-ptyprocess
python-pyodbc python-pysqlite2
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
dbconfig-no-thanks
The following packages will be REMOVED:
dbconfig-mysql* libgdal20* libmysqlclient20* libmysqlcppconn7v5*
libopenscenegraph-3.4-131* libopenscenegraph-3.4-dev* libosgearth-dev*
libosgearth5* libosgearthannotation5* libosgearthfeatures5*
libosgearthqt5-5* libosgearthsplat5* libosgearthsymbology5*
libosgearthutil5* mysql-client* mysql-client-5.7* mysql-client-core-5.7*
mysql-common* mysql-server* mysql-server-5.7* mysql-server-core-5.7*
mysql-utilities* mysql-workbench* mysql-workbench-data*
openscenegraph-plugin-osgearth*
The following NEW packages will be installed:
dbconfig-no-thanks
0 upgraded, 1 newly installed, 25 to remove and 12 not upgraded.
2 not fully installed or removed.
Need to get 1,314 B of archives.
After this operation, 337 MB disk space will be freed.
Do you want to continue? [Y/n] Y
Get:1 http://us.archive.ubuntu.com/ubuntu bionic/universe amd64 dbconfig-no-thanks all 2.0.9 [1,314 B]
Fetched 1,314 B in 0s (3,420 B/s)
dpkg: warning: files list file for package 'mysql-common' missing; assuming package has no files currently installed
(Reading database ... 230311 files and directories currently installed.)
Removing mysql-server (5.7.37-0ubuntu0.18.04.1) ...
Removing mysql-server-5.7 (5.7.37-0ubuntu0.18.04.1) ...
dpkg: dbconfig-mysql: dependency problems, but removing anyway as you requested:
phpmyadmin depends on dbconfig-mysql | dbconfig-no-thanks | dbconfig-common (<< 2.0.0); however:
Package dbconfig-mysql is to be removed.
Package dbconfig-no-thanks is not installed.
Version of dbconfig-common on system is 2.0.9.

Removing dbconfig-mysql (2.0.9) ...
Selecting previously unselected package dbconfig-no-thanks.
dpkg: warning: files list file for package 'mysql-common' missing; assuming package has no files currently installed
(Reading database ... 230233 files and directories currently installed.)
Preparing to unpack .../dbconfig-no-thanks_2.0.9_all.deb ...
Unpacking dbconfig-no-thanks (2.0.9) ...
dpkg: warning: files list file for package 'mysql-common' missing; assuming package has no files currently installed
(Reading database ... 230234 files and directories currently installed.)
Removing openscenegraph-plugin-osgearth (2.9.0+dfsg-1) ...
Removing mysql-workbench (6.3.8+dfsg-1build3) ...
Removing libosgearth-dev (2.9.0+dfsg-1) ...
Removing libmysqlcppconn7v5:amd64 (1.1.9-1) ...
Removing libopenscenegraph-3.4-dev (3.4.1+dfsg1-3) ...
Removing libosgearthsplat5 (2.9.0+dfsg-1) ...
Removing libosgearthqt5-5 (2.9.0+dfsg-1) ...
Removing mysql-client (5.7.37-0ubuntu0.18.04.1) ...
Removing mysql-client-5.7 (5.7.37-0ubuntu0.18.04.1) ...
Removing mysql-client-core-5.7 (5.7.37-0ubuntu0.18.04.1) ...
Removing mysql-server-core-5.7 (5.7.37-0ubuntu0.18.04.1) ...
Removing mysql-utilities (1.6.4-1) ...
Removing mysql-workbench-data (6.3.8+dfsg-1build3) ...
Removing libosgearthutil5 (2.9.0+dfsg-1) ...
Removing libosgearthannotation5 (2.9.0+dfsg-1) ...
Removing libosgearthfeatures5 (2.9.0+dfsg-1) ...
Removing libosgearthsymbology5 (2.9.0+dfsg-1) ...
Removing libosgearth5 (2.9.0+dfsg-1) ...
Removing libopenscenegraph-3.4-131:amd64 (3.4.1+dfsg1-3) ...
Removing libgdal20 (2.2.3+dfsg-2) ...
Removing libmysqlclient20:amd64 (5.7.37-0ubuntu0.18.04.1) ...
Removing mysql-common (5.8+1.0.4) ...
Setting up dbconfig-no-thanks (2.0.9) ...
Processing triggers for desktop-file-utils (0.23-1ubuntu3.18.04.2) ...
Processing triggers for libc-bin (2.27-3ubuntu1.4) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Processing triggers for shared-mime-info (1.9-2) ...
Processing triggers for gnome-menus (3.13.3-11ubuntu1.1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for mime-support (3.60ubuntu1) ...
(Reading database ... 227342 files and directories currently installed.)
Purging configuration files for mysql-common (5.8+1.0.4) ...
Purging configuration files for mysql-utilities (1.6.4-1) ...
Purging configuration files for mysql-server-5.7 (5.7.37-0ubuntu0.18.04.1) ...
Processing triggers for systemd (237-3ubuntu10.53) ...
Processing triggers for ureadahead (0.100.0-21) ...
ureadahead will be reprofiled on next reboot and then I tried to reinstall using following command, I got stat file errors:
:~$ sudo apt-get install mysql-server mysql-client
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
gdal-data libaec0 libarmadillo8 libarpack2 libatkmm-1.6-1v5 libblas3
libcairomm-1.0-1v5 libcoin80v5 libctemplate3 libdap25 libdapclient6v5
libepsilon1 libfreexl1 libfyba0 libgeos-3.6.2 libgeos-c1v5 libgeos-dev
libgeotiff2 libglibmm-2.4-1v5 libgnome-keyring-common libgnome-keyring0
libgraphicsmagick-q16-3 libgtkmm-2.4-1v5 libhdf4-0-alt libhdf5-100
libiso9660-10 libkmlbase1 libkmldom1 libkmlengine1 liblapack3 libmad0
libmng2 libnetcdf13 libodbc1 libogdi3.2 libopenthreads-dev libopenthreads20
libpangomm-1.4-1v5 libpq5 libproj12 libqhull7 libspatialite7 libsuperlu5
libsz2 libtinyxml2.6.2v5 liburiparser1 libvcdinfo0 libvsqlitepp3v5
libxerces-c3.2 libxine2 libxine2-bin libxine2-doc libxine2-ffmpeg
libxine2-misc-plugins libxine2-plugins odbcinst odbcinst1debian2 proj-bin
proj-data python-mysql.connector python-paramiko python-pexpect
python-ptyprocess python-pyodbc python-pysqlite2
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
mysql-client-5.7 mysql-client-core-5.7 mysql-common mysql-server-5.7
mysql-server-core-5.7
Suggested packages:
mailx tinyca
The following NEW packages will be installed:
mysql-client mysql-client-5.7 mysql-client-core-5.7 mysql-common
mysql-server mysql-server-5.7 mysql-server-core-5.7
0 upgraded, 7 newly installed, 0 to remove and 12 not upgraded.
Need to get 7,308 B/18.9 MB of archives.
After this operation, 154 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://us.archive.ubuntu.com/ubuntu bionic/main amd64 mysql-common all 5.8+1.0.4 [7,308 B]
Fetched 7,308 B in 0s (23.3 kB/s)
Preconfiguring packages ...
Selecting previously unselected package mysql-common.
(Reading database ... 227329 files and directories currently installed.)
Preparing to unpack .../mysql-common_5.8+1.0.4_all.deb ...
Unpacking mysql-common (5.8+1.0.4) ...
Selecting previously unselected package mysql-client-core-5.7.
Preparing to unpack .../mysql-client-core-5.7_5.7.37-0ubuntu0.18.04.1_amd64.deb ...
Unpacking mysql-client-core-5.7 (5.7.37-0ubuntu0.18.04.1) ...
Selecting previously unselected package mysql-client-5.7.
Preparing to unpack .../mysql-client-5.7_5.7.37-0ubuntu0.18.04.1_amd64.deb ...
Unpacking mysql-client-5.7 (5.7.37-0ubuntu0.18.04.1) ...
Selecting previously unselected package mysql-server-core-5.7.
Preparing to unpack .../mysql-server-core-5.7_5.7.37-0ubuntu0.18.04.1_amd64.deb ...
Unpacking mysql-server-core-5.7 (5.7.37-0ubuntu0.18.04.1) ...
Setting up mysql-common (5.8+1.0.4) ...
update-alternatives: warning: alternative /etc/mysql/mysql.cnf (part of link group my.cnf) doesn't exist; removing from list of alternatives
update-alternatives: warning: /etc/alternatives/my.cnf is dangling; it will be updated with best choice
update-alternatives: using /etc/mysql/my.cnf.fallback to provide /etc/mysql/my.cnf (my.cnf) in auto mode
Selecting previously unselected package mysql-server-5.7.
(Reading database ... 227485 files and directories currently installed.)
Preparing to unpack .../mysql-server-5.7_5.7.37-0ubuntu0.18.04.1_amd64.deb ...
Unpacking mysql-server-5.7 (5.7.37-0ubuntu0.18.04.1) ...
Selecting previously unselected package mysql-client.
Preparing to unpack .../mysql-client_5.7.37-0ubuntu0.18.04.1_all.deb ...
Unpacking mysql-client (5.7.37-0ubuntu0.18.04.1) ...
Selecting previously unselected package mysql-server.
Preparing to unpack .../mysql-server_5.7.37-0ubuntu0.18.04.1_all.deb ...
Unpacking mysql-server (5.7.37-0ubuntu0.18.04.1) ...
Setting up mysql-server-core-5.7 (5.7.37-0ubuntu0.18.04.1) ...
Setting up mysql-client-core-5.7 (5.7.37-0ubuntu0.18.04.1) ...
Setting up mysql-client-5.7 (5.7.37-0ubuntu0.18.04.1) ...
Setting up mysql-client (5.7.37-0ubuntu0.18.04.1) ...
Setting up mysql-server-5.7 (5.7.37-0ubuntu0.18.04.1) ...
update-alternatives: using /etc/mysql/mysql.cnf to provide /etc/mysql/my.cnf (my.cnf) in auto mode
Renaming removed key_buffer and myisam-recover options (if present)
Cannot stat file /proc/10333/fd/4: Permission denied
Cannot stat file /proc/10333/fd/5: Permission denied
Cannot stat file /proc/10333/fd/14: Permission denied
Cannot stat file /proc/10333/fd/15: Permission denied
Cannot stat file /proc/10333/fd/16: Permission denied
Cannot stat file /proc/10333/fd/17: Permission denied
Cannot stat file /proc/10333/fd/48: Permission denied
Cannot stat file /proc/10333/fd/72: Permission denied
Cannot stat file /proc/10333/fd/87: Permission denied
Cannot stat file /proc/10333/fd/90: Permission denied
Cannot stat file /proc/10333/fd/93: Permission denied
Cannot stat file /proc/10333/fd/96: Permission denied
Cannot stat file /proc/10333/fd/1023: Permission denied
Cannot stat file /proc/10341/fd/5: Permission denied
Cannot stat file /proc/10341/fd/6: Permission denied
Cannot stat file /proc/10341/fd/7: Permission denied
Cannot stat file /proc/10341/fd/8: Permission denied
Cannot stat file /proc/10341/fd/9: Permission denied
Cannot stat file /proc/10341/fd/10: Permission denied
Cannot stat file /proc/10363/fd/3: Permission denied
Cannot stat file /proc/10375/fd/3: Permission denied
Cannot stat file /proc/10375/fd/4: Permission denied
Cannot stat file /proc/10375/fd/7: Permission denied
Cannot stat file /proc/10375/fd/8: Permission denied
Cannot stat file /proc/10375/fd/9: Permission denied
Cannot stat file /proc/10375/fd/10: Permission denied
Cannot stat file /proc/10375/fd/103: Permission denied
Cannot stat file /proc/10377/fd/13: Permission denied
Cannot stat file /proc/10377/fd/14: Permission denied
Cannot stat file /proc/10377/fd/15: Permission denied
Cannot stat file /proc/10377/fd/16: Permission denied
Cannot stat file /proc/10377/fd/17: Permission denied
Cannot stat file /proc/10377/fd/18: Permission denied
Cannot stat file /proc/10377/fd/41: Permission denied
Cannot stat file /proc/10377/fd/103: Permission denied
Cannot stat file /proc/10423/fd/4: Permission denied
Cannot stat file /proc/10423/fd/5: Permission denied
Cannot stat file /proc/10423/fd/11: Permission denied
Cannot stat file /proc/10423/fd/14: Permission denied
Cannot stat file /proc/10423/fd/15: Permission denied
Cannot stat file /proc/10423/fd/16: Permission denied
Cannot stat file /proc/10423/fd/17: Permission denied
Cannot stat file /proc/10423/fd/24: Permission denied
Cannot stat file /proc/10423/fd/48: Permission denied
Cannot stat file /proc/10423/fd/72: Permission denied
Cannot stat file /proc/10423/fd/87: Permission denied
Cannot stat file /proc/10423/fd/90: Permission denied
Cannot stat file /proc/10423/fd/93: Permission denied
Cannot stat file /proc/10423/fd/96: Permission denied
Cannot stat file /proc/10423/fd/1023: Permission denied
Cannot stat file /proc/10424/fd/4: Permission denied
Cannot stat file /proc/10424/fd/5: Permission denied
Cannot stat file /proc/10424/fd/11: Permission denied
Cannot stat file /proc/10424/fd/14: Permission denied
Cannot stat file /proc/10424/fd/15: Permission denied
Cannot stat file /proc/10424/fd/16: Permission denied
Cannot stat file /proc/10424/fd/17: Permission denied
Cannot stat file /proc/10424/fd/24: Permission denied
Cannot stat file /proc/10424/fd/48: Permission denied
Cannot stat file /proc/10424/fd/72: Permission denied
Cannot stat file /proc/10424/fd/87: Permission denied
Cannot stat file /proc/10424/fd/90: Permission denied
Cannot stat file /proc/10424/fd/93: Permission denied
Cannot stat file /proc/10424/fd/96: Permission denied
Cannot stat file /proc/10424/fd/1023: Permission denied
AppArmor parser error for /etc/apparmor.d/usr.sbin.mysqld in /etc/apparmor.d/usr.sbin.mysqld at line 9: Could not open 'abstractions/mysql'
Setting up mysql-server (5.7.37-0ubuntu0.18.04.1) ...
Processing triggers for systemd (237-3ubuntu10.53) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Processing triggers for ureadahead (0.100.0-21) …

I found one soluion at:









https://askubuntu.com/questions/1393...sqld-not-found

Is the solution provided by above link good?
Somebody please guide me how to solve the mysqld problem.
Zulfi.

How to keep synchronized in real time two Ubuntu installations?

$
0
0
Hello.

I'm looking for the better tool /method / technique that can help me to keep synchronized in real time two Ubuntu installations. I want that every change I make to one of them will be immediately applied to the other one. Now I'm going to explain how is configured my setup. Let's start saying that my primary OS is FreeBSD and that I'm using bhyve to virtualize Ubuntu,using the following parameters :

Code:

bhyve -S -c sockets=1,cores=2,threads=2 -m 4G -w -H -A \
-s 0,hostbridge \
-s 1,ahci-hd,/mnt/da3p2/bhyve/nvme.img \
-s 2,passthru,1/0/0 \
-s 3:0,passthru,2/0/0 \
-s 3:1,passthru,2/0/1 \
-s 3:2,passthru,2/0/2 \
-s 3:3,passthru,2/0/3 \
-s 8,virtio-net,tap1 \
-s 9,virtio-9p,sharename=/mnt/nvd0p7 \
-s 30,xhci,tablet \
-s 31,lpc \
-s 29,fbuf,tcp=0.0.0.0:5901,w=1440,h=900 \
-l bootrom,/usr/local/share/uefi-firmware/BHYVE_BHF_CODE.fd \
-l com1,stdio \
vm1

Actually I have installed Ubuntu 21.10 physically on my nvme disk and it is partitioned like this :

Code:

root@marietto:/usr/home/marietto # gpart show

=>        34  1953525101  nvd0  GPT  (932G)
          34        2014        - free -  (1.0M)
        2048    1748992    1  efi  (854M)
    1751040  1113507840    2  ms-basic-data  (531G)
  1115258880  833185547    7  ms-basic-data  (397G)
  1948444427        245        - free -  (123K)
  1948444672    1318912    3  ms-recovery  (644M)
  1949763584        2048        - free -  (1.0M)
  1949765632    1310720    4  ms-recovery  (640M)
  1951076352        2048        - free -  (1.0M)
  1951078400    1265657    5  ms-basic-data  (618M)
  1952344057          7        - free -  (3.5K)
  1952344064    1179641    6  ms-basic-data  (576M)
  1953523705        1430        - free -  (715K)

Ubuntu 21.10 is installed on the slot
Code:

/dev/nvd0p7
. What I wanted to do at the beginning was to boot that Ubuntu physical installation directly on bhyve,pointing it to
Code:

/dev/nvd0
but there is a bug and it does not work for the easiest way. So,I found a "workaround" ; I have cloned my nvme disk with dd and I've created an img / raw file called "nvme.img" and I've copied it to my 2 TB size disk. Now,when I want to boot and use Ubuntu 21.10,I can do it directly when I'm running FreeBSD and bhyve. The real Ubuntu installation and its img file are almost identical. Actually when I boot the nvme.img file with bhyve,I have also share the partition where I have mounted the physical installation of Ubuntu in FreeBSD,using this parameter :

Code:

-s 9,virtio-9p,sharename=/mnt/nvd0p7 \
So,the real partition where are all the files of the physical Ubuntu installation is available when I boot the Ubuntu image created with dd while I'm using FreeBSD and bhyve. Good. at this point you have all the elements to understand what I want to do. While I'm using the image of Ubuntu created with dd,some files of this installation will change. What I want to do is to keep them synchronized with the files stored on the physical installation of Ubuntu,mapped at
Code:

/mnt/nvd0p7
; doing this,when,in the future I will boot the physical installation of Ubuntu,I will have all the files updated correctly. If everything will work correctly there will be no need to boot Ubuntu physically,but it could happen. So,which kind of tool / method you suggest me to accomplish this task ? thanks.

Ubuntu with windows 10/11

$
0
0
Hi, I need a little help here.
So I have a new Dell laptop and it came with windows 11. I immediately installed Ubuntu 20.04 and have predominately been using this, however, I have a terrible graphics issue with windows 11 and after much support from Dell and MS, it seems my only option is to try to install windows 10 (which does not have the issue on other laptops similar). Sorry had to explain this first because I have a lot of scientific software on Windows 11 that takes an age to re-install, so what I did was make a new partition to put windows 10 on and try it out first before deleting windows 11, all whilst keeping Ubuntu of course.

Device Start End Sectors Size Type
/dev/nvme0n1p1 2048 493567 491520 240M EFI System
/dev/nvme0n1p2 493568 755711 262144 128M Microsoft reserved
/dev/nvme0n1p3 755712 279291903 278536192 132.8G Microsoft basic data
/dev/nvme0n1p4 495050752 497078271 2027520 990M Windows recovery environment
/dev/nvme0n1p5 497080320 500084735 3004416 1.4G Windows recovery environment
/dev/nvme0n1p6 338804736 495050751 156246016 74.5G Linux filesystem
/dev/nvme0n1p7 279291904 338804735 59512832 28.4G Microsoft basic data


So, one drive, 7 partitions.

P3 is Windows 11
P4 is Winretools (whatever that is)
P6 is Ubuntu
P5 is a dell support partition
P7 is one I made to put windows 10 on.

I boot from a USB install for windows and start the install process in the hope to choose P7 to install to, however, when I get to that bit in Windows install, it can't find any partition at all? What am I doing wrong here?

[ubuntu] archive.linux.duke.edu

$
0
0
For a long time I've used archive.linux.duke.edu as the repository for some of my Ubuntu computers. I started several years ago when I was having issues with the US Ubuntu repositories being erratic. At the time the issue was fairly well known but since seems to have been rectified as Canonical has beef up it servers.. I'm now having issues with archive.linux.duke.edu downloading updates. getting erratic performance and packages timing out. I just ran an upgrade 4 time that failed because linux-firmware kept failing.

I haven't ruled out it being an issue with our ISP (ATT) because we are noticing problems with other applications including Windows 10 workstations timing out more of less randomly when trying to reach some website, including Google and other major websites or downloading email from our remote server.

So I'm asking if anyone can confirm issues with archive.linux.duke.edu, ATT or can recommend a good quality Ubuntu mirror preferably located in the southeastern US.

[ubuntu] dual boot using 2 hdd

$
0
0
hi i have a samsung np700g7c laptop with 2 internal hdd each are 750g. on the first hdd i have windows 11 but want ubuntu 20.04 on the second hdd. When i try install to the second hdd it says no root option. i cant see anywhere to select root storage or anything.

any help appreciated with this... i have done dual boots before but only to the same hdd, never to seperate hdd

[ubuntu] Grub disappeared in dual boot Windows/Ubuntu after BIOS reset to default

$
0
0
Hi,

I unfortunately did a BIOS reset to default in my dual boot Ubuntu/Windows Thinkpad Yoga yesterday, and when booting again, it only boots into Windows, which I have never used, I dont get to grub any more where I could choose ubuntu normally. I found the boot-repair tool, and when using it from a live usb ubuntu from which I had installed ubuntu 2 years ago, I can use it, but it hangs when choosing Recommended Repair. I generated the BootInfoSummary which should be available here

https://paste.ubuntu.com/p/wWYj2r5t7r/

Can anybody see why boot-repair gets stuck and does not finish (I left it running for more than an hour)

Many thanks in advance

Martin Gander

USB not recognized

$
0
0
Ubuntu (dmesg) shows an error upon connecting my external USB hdd

usb usb4-port4: config error
usb 3-4: new high-speed USB device number 5 using xhci_hcd

The port is working with other USB sticks and the external USB hdd is working when connected to a Windows machine.

What can I do to fix this?

freeCAD v0.17 uninstall fail

$
0
0
Hi,
I have to install a newer version of freeCAD (because of bug). Version 0.17 is installed on my ubuntu 20.04. At the package list you can actually found v.018. This cannot simply upgrade v0.17, complete uninstall and install needed.

Code:

$ sudo apt remove/purge freecad

..."freecad" package isn't installed on your system, blah-blah.

I've checked ubuntu repositories, and there is no v0.17. It might cause the problem, I think.

How can I uninstall this app?

Thanks for answers.

ASUS UL30V Bumblebee not working

$
0
0
Hallo there, I'm having issues configuring my ancient lapotop with 20.04. It's an ASUS ul30v with hybrid graphics. I had everything working on 14.04 but it was a wee bit out of date so I upgraded, that didn't go well, so I reinstalled the system.
To disable the intel graphics you can set the sata mode to compatible in the BIOS (don't ask!). However I had it working with bumblebee and now I just can't get bumblebee to start up.
First up the drivers for this nvidia card are not compatible with new kernels I had to download a modified 340 driver from ppa, but that is working now.
If I start the PC up with sata in enhanced mode the system reaches the login screen but when I login the system just blinks me back into the gdm.

I found an error about GLX not being found on device :0


Any help, please.


TIA

[ubuntu] Old laptop and loading or upgrading ubuntu

$
0
0
Hello,
I have an old laptop (Dell Inspiron 3520 intel i3) that is setup to with windows and to boot ubuntu 16.04 from a usb. Can I just create a new usb with ubuntu 20.04 and boot that? Will my old files from Libre and mp3's etc under ubuntu 16.04 still be safe or will they get wiped out? I may be getting a ahead of myself because I don't see Dell Inspiron 3520 as a supported device for 20.04. The hard drive is partitioned already but I still need to boot ubuntu using a usb. I appreciate your input.

Thanks,
Travis

alert! /dev/sda1 does not exist

$
0
0
Hi, after kernel updates I rebooted.

GRUB v2.04 loads as normal -allowing me to select whichever kernel -but regardless of the kernel selected initramfs loads with the message:

`Gave up waiting for root file system device. Common problems: Boot args (cat /proc cmdline) Check rootdelay= did the system wait long enough?) Missing modules (cat /proc/modules; ls /dev) ALERT! /dev/sda1 does not exist. Dropping to a shell BusyBox v1.30.1 (Ubuntu 1:1.30.1-4ubuntu6.4) built-in shell (ash) Enter “help” for a list of built-in commands.`

I initially thought I needed to update-grub, so chrooted and did so. the commands ran without error but on reboot the issue persists.

I'm at a loss and this install is pretty important to me as it serves som samba shares at my office.
The data is intact -I can mount the disk (/dev/sda1/) and browse through the files and I can chroot successfully.

One oddity is that the disk is ZFS -no clue why I did that, it was years ago and hasn't been an issue or required any special care since installation.

I'm linking to boot repair output in case that tells you anything of use.

Boot Repair Output

fstab hasn't changed (so far as I can tell)
the grub entries haven't changed (so far ads I can tell) and appear correct
((...)root=/dev/sda1 (...))

Any help would be appreciated.

[ubuntu] Installed Ubuntu but GRUB menu not showing up on startup

$
0
0
I have a PC with an SSD and HD, Windows 10. I installed Ubuntu using a USB drive. No errors.
However, my PC is still booting straight into Windows.

I am able to access Ubuntu by going into Windows -> Advanced Startup Options -> Advanced Startup -> Ubuntu, and this shows me the GRUB menu and from there I can proceed to either Windows or Ubuntu.

I have tried running boot-repair from the USB drive, which gave no errors but does not resolve the issue: https://paste.ubuntu.com/p/SQzJnpHkCb/

Thank you for any assistance.

BIOS doesn't see hard drive after trying to install 22.04

$
0
0
Perfectly good and working SSD with 20.04 on it. Popped in my bootable Ubuntu 22.04 (live works fine) and it couldn't find the drive. Checked BIOS and poof, no HDD listed. Tried another drive and the same thing happened. Tried slaving drive up using a sata to USB cable, Windows nor linux sees it.

20.04 cyberpanel install error

$
0
0
I am getting this error when trying to install cyberpanel on 20.04

Code:

Hit:1 http://us.archive.ubuntu.com/ubuntu focal InReleaseHit:2 http://us.archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:3 http://us.archive.ubuntu.com/ubuntu focal-security InRelease
Hit:4 https://packagecloud.io/ookla/speedtest-cli/ubuntu focal InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
4 packages can be upgraded. Run 'apt list --upgradable' to see them.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  libbind9-161 libisccc161 libisccfg163 liblwres161
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libmariadbclient-dev
E: Unable to locate package nghttp2
E: Unable to locate package idn2
E: Unable to locate package virtualenv
above command failed...

weird web site problem after apt upgrade - how do i roll back?

$
0
0
First a little history - I am new to ubuntu, less than a year of use. My previous two+ decades of Linux have been CentOS / Red Hat.
For a number of reasons I have left the CentOS distro for my servers (4 HW plus numerous virtual machines spread around the globe) and am now using Ubuntu 20.04 LTS for the servers and 21.10 for workstations.
Overall the migration has been okay, many little differences but I can get them working as needed.

Until this week, I haven't had any issues I have been unable to fix or work around.

So now to the situation at hand. A QEMU/KVM based 20.04 virtual machine on a 16 CPU / 32 Thread HW machine also running 20.04.
This particular VM is running a LAMP stack as a web server. The web site is somewhat complex, scrapes data from a number of other websites each night and serves pages based upon the data and images updated every 24 hours.
So it has been running just fine for a couple of weeks, each evening various scripts are triggered by cron and run the php to do the work. The admin part of the web site allows for manual running of the same php scripts to do "scrapes", "downloads" etc.
So the last time it ran okay was the 8th March. On the 9th of March I ran apt upgrade and the following were "upgraded"
2022-03-09 14:48:01 upgrade motd-news-config:all 11ubuntu5.4 11ubuntu5.5
2022-03-09 14:48:01 upgrade base-files:amd64 11ubuntu5.4 11ubuntu5.5
2022-03-09 14:48:04 upgrade libssl1.1:amd64 1.1.1f-1ubuntu2.10 1.1.1f-1ubuntu2.11
2022-03-09 14:48:05 upgrade openssl:amd64 1.1.1f-1ubuntu2.10 1.1.1f-1ubuntu2.11
2022-03-09 14:48:05 upgrade linux-firmware:all 1.187.26 1.187.27

Since this upgrade happened, the over-night cron triggered jobs fail to complete. Funny thing is, if I run the jobs from the admin portal/browser, all works as expected.
If I manually run the bash scripts that trigger the php - the jobs fail.
There are separate scripts (modules) for each site and the two major sites are both failing, but only if run outside of the apache2 hosted web-site; i.e. manually invoked by bash script.
I have made no other changes to the host or any of the php code.
In my old CentOS world I would now do a yum downgrade to rollback each of the packages that were upgraded, so that I can get back to a previously working system.
I see no such options with Ubuntu.
Yes, taking a snapshot prior to running the apt upgrade would have been a great idea, however I do not yet have all my Ubuntu Sys Admin skills and processes in place.
Looking at the list of packages, the only packages that may have impacted this are the base-files:amd64 (no real idea at this point what they are) and real long shot, the linux-firmware:all.

So, my question is - how do I roll back? Or is it going to be easier to stand up a new VM and setup the LAMP stack and web site from scratch? - that will be about 6 - 8 hours of work, work I don't need.
TIA for your thoughts and suggestions
Viewing all 26379 articles
Browse latest View live


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