Stream music from my iphone to Ubuntu 24.04 via bluetooth https://askubuntu.com/questions/1563491/stream-music-from-my-iphone-to-ubuntu-24-04-via-bluetooth

On Ubuntu 22.04 I followed these steps

https://www.cyberciti.biz/mobile-devices/linux-set-up-bluetooth-speaker-to-stream-audio-from-your-android-ios-mobile-phone

to stream music via bluetooth. That worked well. On Ubuntu 24.04 pulseaudio seemed to be replaced with pipewire-pulse. I'm looking for description how to set it up. My iphone does not seem to be recognized as an input device.

Can Ubuntu 24.04 be installed alongside Bitlocked Windows 11 by just suspending Bitlocker? https://askubuntu.com/questions/1563490/can-ubuntu-24-04-be-installed-alongside-bitlocked-windows-11-by-just-suspending

Although Ubuntu 25.10 has feature to recognise a Bitlocked Windows and install itself alongside it, but this is not the case with 24.04. The LTS version needs unencrypted Windows partition.

Can I just Suspend Bitlocker (not fully decrypt the partition) of my Windows 11 parition and install Ubuntu 24.04 alongside it?

Automatically install security updates only from PPA's https://askubuntu.com/questions/1563488/automatically-install-security-updates-only-from-ppas

The unattended-upgrades package automatically installs security updates on an Ubuntu Server system. By default, it's configured to not install normal feature/bugfix updates automatically. I have noticed that these normal updates can render WordPress websites unusable when installed automatically. They even introduce bugs sometimes. The normal updates should first be tested on a testing server, it's recommended. That is why they are disabled/ignored by default by unattended-upgrades, I suppose.

My question is: will Ubuntu automatically install security updates only from the PPA's I've added and leave the feature/bugfix updates from the PPA's aside for a moment where the system administrator manually runs apt upgrade (after testing)? How can I configure PPA's to behave this way? If the main system behaves this way, I think PPA's should behave the same. They should for sure install security updates automatically, but I think these are not installed automatically by default because the PPA is not added as a source to the 50unattended-upgrades config file. I think they should be added automatically to this file to have automatic security updates from the PPA's.

When adding a PPA to the 50unattended-upgrades sources manually to recieve security updates automatically, I will also recieve the normal feature/bugfix updates automatically I suppose. This means the packages from the PPA are always the bleeding edge, but the system packages are not the bleeding edge and fall behind. This could even introduce new bugs I suppose, because the PPA package would expect the system to be the bleeding edge as well, when it's not...

Ubuntu and thunderobot compability [duplicate] https://askubuntu.com/questions/1563487/ubuntu-and-thunderobot-compability

Is ubuntu well, or, at least, normally compatible with rhunderobot range 17 pro laptop? (GPU -nvidia rtx 4060 laptop), intel wifi, realtek audio, intel motherboard, cpu intel core i7 13620h)

Google drive seems to be no longer integrated with the Nautilus file browser, how to fix? [closed] https://askubuntu.com/questions/1563482/google-drive-seems-to-be-no-longer-integrated-with-the-nautilus-file-browser-ho

Update, I'm not sure what happened, but minutes after posting this question, and after an additional update was done, the problem seemed to have "gone away"! I may consider closing this question if the problem is no longer replicable.


I'm currently using Ubuntu 24.04.3 LTS.

Previously, and likely on a prior version of Ubuntu, I've linked a Google Drive account with Ubuntu via "Settings -> Online Accounts" and it had resulted in my Google Drive files being accessible through the Nautilus file browser of Ubuntu.

However, it recently stopped working despite the Google Drive name still showing up in the file browser. When it gets clicked on, it just stalls and ends up on the home folder.

I've tried removing the account and re-adding it, which was done without problems, but the Google Drive remains unaccessible.

Are there any additional details / steps missing to get it working? Ideally, I'd like it to work with just the built-in default Ubuntu stuff and avoid installing any additional 3rd-party apps.

Booting into Enlightenment results in something like confetti after a while of waiting on frozen boot logo with cursor https://askubuntu.com/questions/1563481/booting-into-enlightenment-results-in-something-like-confetti-after-a-while-of-w

Replaced Gnome with Enlightenment on 24.04, and got past the boot logo, even though it took a while where the throbber stopped spinning but my cursor was on screen, but this doesn't look anything like a desktop at all, so I shut it down.

Took a video and turned it into a gif with ffmpeg:

Video of Screen

journalctl is reporting some red logs, when looking things up, feels like a similar report to this Bug 206225 - nouveau: Screen distortion and lockup on resume, given that I'm seeing well, distortion and the logs are mentioning nouveau, TRAP_MP_EXEC, and INVALID_OPCODE.

Maybe I also deleted the drivers for my NVIDIA GT 220 via apt autoremove?? Because I can't find any nvidia-driver entries in my installed packages. But neither can I install them via apt?

Automate mounting a Truecrypt partition on removable medium with cryptsetup https://askubuntu.com/questions/1563479/automate-mounting-a-truecrypt-partition-on-removable-medium-with-cryptsetup

I have a 3TB Truecrypt partition on a 3,5'' portable USB hard drive. Currently, to mount the partition I have to

  1. plug in the USB drive

  2. run veracrypt

  3. select the right volume

  4. tick "truecrypt mode"

  5. click "mount"

  6. enter the Truecrypt passphrase

  7. enter my user's password

  8. double-click on the mounted volume, which opens a new Nautilus (Files) window showing my files.

I read somewhere that TCRYPT support (for TrueCrypt or VeraCrypt volumes) may be compiled into cryptsetup, the software that also handles LUKS volumes. So I wonder, why doesn't Ubuntu (25.10 in my case) automatically attempt to mount TC volumes? (mine is not hidden, just a regular old TC partition).

And, corollary, how can I setup my system so that it does offer to mount TC volumes? I'd like the workflow to be:

  1. plug in the USB drive

  2. I get prompted to enter the Truecrypt passphrase

  3. Nautilus (Files) window opens with the contents

...i.e. exactly what happens with LUKS volumes.

Do I need to put something in /etc/fstab? Or write a script that does sudo cryptsetup --type tcrypt open /dev/sdX1 myvolume, make it executable and create a shortcut to it?

Trying to get 5.1 sound to work correctly https://askubuntu.com/questions/1563244/trying-to-get-5-1-sound-to-work-correctly

Hello askUbuntu community! I'm in the process of switching to Linux since I want to get away from Microslop. I have now tried for literally hours to get my 5.1 sound system (which works fine on windows) to work on Ubuntu 24.04.3 LTS, reading many posts on here and on the wider web, with only superficial success so far. Here are the details:

I'm using a SoundBlaster Audigy FX v2 card, my sound system is connected via 3 x 3.5mm jacks. Ubuntu recognizes it, and I have set it as the default device in the system sound settings:

Sound settings

When I click "test", all six channels function correctly and I can hear the correct output through all six speakers. Same thing when doing a speaker-test in the console:

speaker-test

But everything other than the system settings test and the speaker-test only outputs a stereo signal. Can't get any other application to use all six channels. For instance, when I try to use VLC player to play an mp3 file, I get only stereo through the front left & right speakers. I get the same thing with sound output of Firefox. And since the system uses a subwoofer on a different channel, the front speakers are terribly feeble in the lower frequencies. In VLC, I tried both Pulseaudio and ALSA as output and activated "Force detection of Dolby Surround" as well as setting the ALSA output channels to 5.1.

Here are screenshots of my pavucontrol and alsamixer:

pavucontrol

alsamixer

What really confuses me is that many other posts suggest editing /etc/pulse/daemon.conf, but that doesn't seem to exist on my system for some reason.

directory contents of etc/pulse/

I tried creating it, but it doesn't seem to do anything and even disappears once I reboot the system. Since I'm new to Linux in general, the fact that the config file isn't even there makes me worry that I might have set it up wrong somehow. Other posts suggest setting the channel number in alsamixer to 6, but it doesn't even offer me that choice, as you can see in the screenshot.

Could anyone give me any other tips on what I might try next?

Android Debug Bridge installation - error: undefined symbol: libusb_hotplug_register_callback https://askubuntu.com/questions/1563214/android-debug-bridge-installation-error-undefined-symbol-libusb-hotplug-regi

I tried installing the Android Debug Bridge on Ubuntu 24.04 via sudo apt install adb. The install was seemingly successful, but adb --version produced the following error: adb: symbol lookup error: adb: undefined symbol: libusb_hotplug_register_callback.

From what I've seen on the web, I haven't found any cases quite like mine. This question seems possibly related, but not sure.

My libusb packages as shown by dpkg -l | grep libusb are:

ii  libusb-1.0-0:amd64                                 2:1.0.27-1                               amd64        userspace USB programming library
ii  libusb-1.0-doc                                     2:1.0.27-1                               all          documentation for userspace USB programming
ii  libusbmuxd6:amd64                                  2.0.2-4build3                            amd64        USB multiplexor daemon for iPhone and iPod Touch devices - library

I tried combinations of installing libusb-1.0-0-dev and installing android-tools-adb with the same result.

Checking the dependencies with ldd $(which adb) produces:

linux-vdso.so.1 (0x000079d6706df000)
libbase.so.0 => /usr/lib/x86_64-linux-gnu/android/libbase.so.0 (0x000079d6705e7000)
libbrotlidec.so.1 => /lib/x86_64-linux-gnu/libbrotlidec.so.1 (0x000079d6705c3000)
libbrotlienc.so.1 => /lib/x86_64-linux-gnu/libbrotlienc.so.1 (0x000079d670524000)
libcrypto.so.0 => /usr/lib/x86_64-linux-gnu/android/libcrypto.so.0 (0x000079d67038b000)
libcutils.so.0 => /usr/lib/x86_64-linux-gnu/android/libcutils.so.0 (0x000079d67037a000)
liblog.so.0 => /usr/lib/x86_64-linux-gnu/android/liblog.so.0 (0x000079d670369000)
liblz4.so.1 => /lib/x86_64-linux-gnu/liblz4.so.1 (0x000079d670347000)
libprotobuf.so.32 => /lib/x86_64-linux-gnu/libprotobuf.so.32 (0x000079d670000000)
libssl.so.0 => /usr/lib/x86_64-linux-gnu/android/libssl.so.0 (0x000079d66ff97000)
libusb-1.0.so.0 => /opt/14.7/ISE_DS/ISE/lib/lin64/libusb-1.0.so.0 (0x000079d66fc00000)
libziparchive.so.0 => /usr/lib/x86_64-linux-gnu/android/libziparchive.so.0 (0x000079d670330000)
libzstd.so.1 => /lib/x86_64-linux-gnu/libzstd.so.1 (0x000079d66fedd000)
libstdc++.so.6 => /lib/x86_64-linux-gnu/libstdc++.so.6 (0x000079d66f800000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x000079d66fb17000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x000079d670300000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x000079d66f400000)
/lib64/ld-linux-x86-64.so.2 (0x000079d6706e1000)
libbrotlicommon.so.1 => /lib/x86_64-linux-gnu/libbrotlicommon.so.1 (0x000079d66feba000)
libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x000079d66fe9e000)
librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x000079d6702f9000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x000079d6702f4000)

The line libusb-1.0.so.0 => /opt/14.7/ISE_DS/ISE/lib/lin64/libusb-1.0.so.0 (0x000079d66fc00000) makes me think it has to do with an installation of Xilinx ISE where I followed this installation tutorial which manually modifies some symlinks for libstdc++.so. But I see nothing in that tutorial which might have to do with libusb. I'm not sure how to interpret this. Did Xilinx ISE maybe bring its own version of libusb to which adb is being redirected because some symlinks were created during the ISE installation?

How can I proceed on fixing the "undefined symbol" error?

Edits in response to steeldriver's comments:

From what I can see, there's no LD_LIBRARY_PATH variable in my PATH. I'm not quite sure what you meant with "environment", I checked echo $PATH and my .bashrc file. But I found what should be the .xsetup for my platform and that contains LD_LIBRARY_PATH. It looks like this:

XLNX_DIR_NAME=$(cd `dirname $0` && pwd)

XLNX_LIB_PATH=${XLNX_DIR_NAME}
XLNX_LIB_PATH=`dirname ${XLNX_LIB_PATH}`
XLNX_LIB_PATH=`dirname ${XLNX_LIB_PATH}`

XLNX_LIB_PATH=${XLNX_LIB_PATH}/lib/lin64

if [ -n ${LD_LIBRARY_PATH} ]; then
    export LD_LIBRARY_PATH=.:${XLNX_LIB_PATH}:${LD_LIBRARY_PATH}
else
    export LD_LIBRARY_PATH=.:${XLNX_LIB_PATH}
fi

${XLNX_DIR_NAME}/_xsetup "$@"

The output of diff /etc/skel/.bashrc ~/.bashrc is:

source /opt/14.7/ISE_DS/settings64.sh

export JAVA_HOME=/usr/lib/jvm/java-21-openjdk-amd64
. "$HOME/.cargo/env"

export PATH=$HOME/.local/bin:$PATH

(And the output of echo $LD_LIBRARY_PATH is /opt/14.7/ISE_DS/ISE/lib/lin64:/opt/14.7/ISE_DS/EDK/lib/lin64:/opt/14.7/ISE_DS/common/lib/lin64.)

keepassxc - enlarge font size https://askubuntu.com/questions/1514911/keepassxc-enlarge-font-size

I am using keepassxc on ubuntu. The font size is very small, very difficult to read for me. Please let me know how to scale up the fonts. Thank you

I get nginx.service: Failed with result 'exit-code' when i want to install nginx on a ubuntu server [closed] https://askubuntu.com/questions/1484147/i-get-nginx-service-failed-with-result-exit-code-when-i-want-to-install-nginx

I use: sudo apt update, sudo apt install nginx but i get this:

Preconfiguring packages ...
Selecting previously unselected package libdeflate0:amd64.
(Reading database ... 27812 files and directories currently installed.)
Preparing to unpack .../00-libdeflate0_1.10-2_amd64.deb ...
Unpacking libdeflate0:amd64 (1.10-2) ...
Selecting previously unselected package libjbig0:amd64.
Preparing to unpack .../01-libjbig0_2.1-3.1ubuntu0.22.04.1_amd64.deb ...
Unpacking libjbig0:amd64 (2.1-3.1ubuntu0.22.04.1) ...
Selecting previously unselected package libwebp7:amd64.
Preparing to unpack .../02-libwebp7_1.2.2-2ubuntu0.22.04.1_amd64.deb ...
Unpacking libwebp7:amd64 (1.2.2-2ubuntu0.22.04.1) ...
Selecting previously unselected package libtiff5:amd64.
Preparing to unpack .../03-libtiff5_4.3.0-6ubuntu0.5_amd64.deb ...
Unpacking libtiff5:amd64 (4.3.0-6ubuntu0.5) ...
Selecting previously unselected package libgd3:amd64.
Preparing to unpack .../04-libgd3_2.3.0-2ubuntu2_amd64.deb ...
Unpacking libgd3:amd64 (2.3.0-2ubuntu2) ...
Selecting previously unselected package nginx-common.
Preparing to unpack .../05-nginx-common_1.18.0-6ubuntu14.4_all.deb ...
Unpacking nginx-common (1.18.0-6ubuntu14.4) ...
Selecting previously unselected package libnginx-mod-http-geoip2.
Preparing to unpack .../06-libnginx-mod-http-geoip2_1.18.0-6ubuntu14.4_amd64.deb                                                                                                                    ...
Unpacking libnginx-mod-http-geoip2 (1.18.0-6ubuntu14.4) ...
Selecting previously unselected package libnginx-mod-http-image-filter.
Preparing to unpack .../07-libnginx-mod-http-image-filter_1.18.0-6ubuntu14.4_amd                                                                                                                    64.deb ...
Unpacking libnginx-mod-http-image-filter (1.18.0-6ubuntu14.4) ...
Selecting previously unselected package libxslt1.1:amd64.
Preparing to unpack .../08-libxslt1.1_1.1.34-4ubuntu0.22.04.1_amd64.deb ...
Unpacking libxslt1.1:amd64 (1.1.34-4ubuntu0.22.04.1) ...
Selecting previously unselected package libnginx-mod-http-xslt-filter.
Preparing to unpack .../09-libnginx-mod-http-xslt-filter_1.18.0-6ubuntu14.4_amd6                                                                                                              4.deb ...
Unpacking libnginx-mod-http-xslt-filter (1.18.0-6ubuntu14.4) ...
Selecting previously unselected package libnginx-mod-mail.
Preparing to unpack .../10-libnginx-mod-mail_1.18.0-6ubuntu14.4_amd64.deb ...
Unpacking libnginx-mod-mail (1.18.0-6ubuntu14.4) ...
Selecting previously unselected package libnginx-mod-stream.
Preparing to unpack .../11-libnginx-mod-stream_1.18.0-6ubuntu14.4_amd64.deb ...
Unpacking libnginx-mod-stream (1.18.0-6ubuntu14.4) ...
Selecting previously unselected package libnginx-mod-stream-geoip2.
Preparing to unpack .../12-libnginx-mod-stream-geoip2_1.18.0-6ubuntu14.4_amd64.d                                                                                                              eb ...
Unpacking libnginx-mod-stream-geoip2 (1.18.0-6ubuntu14.4) ...
Selecting previously unselected package nginx-core.
Preparing to unpack .../13-nginx-core_1.18.0-6ubuntu14.4_amd64.deb ...
Unpacking nginx-core (1.18.0-6ubuntu14.4) ...
Selecting previously unselected package nginx.
Preparing to unpack .../14-nginx_1.18.0-6ubuntu14.4_amd64.deb ...
Unpacking nginx (1.18.0-6ubuntu14.4) ...
Setting up libdeflate0:amd64 (1.10-2) ...
Setting up nginx-common (1.18.0-6ubuntu14.4) ...
Could not execute systemctl:  at /usr/bin/deb-systemd-invoke line 142.
Setting up libjbig0:amd64 (2.1-3.1ubuntu0.22.04.1) ...
Setting up libwebp7:amd64 (1.2.2-2ubuntu0.22.04.1) ...
Setting up libxslt1.1:amd64 (1.1.34-4ubuntu0.22.04.1) ...
Setting up libtiff5:amd64 (4.3.0-6ubuntu0.5) ...
Setting up libnginx-mod-http-geoip2 (1.18.0-6ubuntu14.4) ...
Setting up libnginx-mod-mail (1.18.0-6ubuntu14.4) ...
Setting up libnginx-mod-stream (1.18.0-6ubuntu14.4) ...
Setting up libnginx-mod-http-xslt-filter (1.18.0-6ubuntu14.4) ...
Setting up libgd3:amd64 (2.3.0-2ubuntu2) ...
Setting up libnginx-mod-stream-geoip2 (1.18.0-6ubuntu14.4) ...
Setting up libnginx-mod-http-image-filter (1.18.0-6ubuntu14.4) ...
Setting up nginx-core (1.18.0-6ubuntu14.4) ...
Job for nginx.service failed because the control process exited with error code.
See "systemctl status nginx.service" and "journalctl -xeu nginx.service" for det                                                                                                              ails.
invoke-rc.d: initscript nginx, action "start" failed.
x nginx.service - A high performance web server and a reverse proxy server
Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset:                                                                                                               enabled)
Active: failed (Result: exit-code) since Wed 2023-08-30 11:07:00 UTC; 8ms a                                                                                                             go
   Docs: man:nginx(8)
Process: 2394907 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_pro                                                                                                             cess on; (code=exited, status=1/FAILURE)
    CPU: 5ms

Aug 30 11:07:00 Eduson systemd[1]: Starting A high performance web server and a                                                                                                               reverse proxy server...
Aug 30 11:07:00 Eduson nginx[2394907]: nginx: [emerg] no "events" section in con                                                                                                              figuration
Aug 30 11:07:00 Eduson nginx[2394907]: nginx: configuration file /etc/nginx/ngin                                                                                                              x.conf test failed
Aug 30 11:07:00 Eduson systemd[1]: nginx.service: Control process exited, code=e                                                                                                                 xited, status=1/FAILURE
Aug 30 11:07:00 Eduson systemd[1]: nginx.service: Failed with result 'exit-code'                                                                                                             .
Aug 30 11:07:00 Eduson systemd[1]: Failed to start A high performance web server                                                                                                               and a reverse proxy server.
dpkg: error processing package nginx-core (--configure):
installed nginx-core package post-installation script subprocess returned error                                                                                                               exit status 1
dpkg: dependency problems prevent configuration of nginx:
nginx depends on nginx-core (<< 1.18.0-6ubuntu14.4.1~) | nginx-full (<< 1.18.0-                                                                                                                6ubuntu14.4.1~) | nginx-light (<< 1.18.0-6ubuntu14.4.1~) | nginx-extras (<< 1.18                                                                                                              .0-6ubuntu14.4.1~); however:
Package nginx-core is not configured yet.
Package nginx-full is not installed.
Package nginx-light is not installed.
Package nginx-extras is not installed.
nginx depends on nginx-core (>= 1.18.0-6ubuntu14.4) | nginx-full (>= 1.18.0-6ub                                                                                                              untu14.4) | nginx-light (>= 1.18.0-6ubuntu14.4) | nginx-extras (>= 1.18.0-6ubunt                                                                                                              u14.4); however:
Package nginx-core is not configured yet.
Package nginx-full is not installed.
Package nginx-light is not installed.
Package nginx-extras is not installed.

dpkg: error processing package nginx (--configure):
dependency problems - leaving unconfigured
Processing triggers for man-db (2.10.2-1) ...
Processing triggers for libc-bin (2.35-0ubuntu3.1) ...
Errors were encountered while processing:
nginx-core
nginx
E: Sub-process /usr/bin/dpkg returned an error code (1)

I tried to purge the nginx but i still get this.

From journalctl -xeu nginx.service i get this:

Aug 30 11:07:00 Eduson nginx[2394907]: nginx: configuration file /etc/nginx/ngi>
Aug 30 11:07:00 Eduson systemd[1]: nginx.service: Control process exited, code=>
-- Subject: Unit process exited
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- An ExecStartPre= process belonging to unit nginx.service has exited.
--
-- The process' exit code is 'exited' and its exit status is 1.
Aug 30 11:07:00 Eduson systemd[1]: nginx.service: Failed with result 'exit-code>
-- Subject: Unit failed
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- The unit nginx.service has entered the 'failed' state with result 'exit-code>
Aug 30 11:07:00 Eduson systemd[1]: Failed to start A high performance web serve>
-- Subject: A start job for unit nginx.service has failed
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- A start job for unit nginx.service has finished with a failure.
--
-- The job identifier is 488958 and the job result is failed.
lines 1834-1856/1856 (END)
Aug 30 11:07:00 Eduson nginx[2394907]: nginx: configuration file /etc/nginx/nginx.conf test    failed
Aug 30 11:07:00 Eduson systemd[1]: nginx.service: Control process exited, code=exited,  status=1/FAILURE
-- Subject: Unit process exited
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- An ExecStartPre= process belonging to unit nginx.service has exited.
--
-- The process' exit code is 'exited' and its exit status is 1.
Aug 30 11:07:00 Eduson systemd[1]: nginx.service: Failed with result 'exit-code'.
-- Subject: Unit failed
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- The unit nginx.service has entered the 'failed' state with result 'exit-code'.
Aug 30 11:07:00 Eduson systemd[1]: Failed to start A high performance web server and a reverse   proxy server.
-- Subject: A start job for unit nginx.service has failed
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- A start job for unit nginx.service has finished with a failure.
--
-- The job identifier is 488958 and the job result is failed.

Thanks for any help.

Squares instead of letters at BusyBox https://askubuntu.com/questions/1470183/squares-instead-of-letters-at-busybox

Instead of booting, the computer goes to BusyBox, I can only type capital letters in BusyBox. Small letters come out as squares. I cannot send any commands.


BusyBox v1.30.1 (Ubuntu 1:1.30.1-7ubuntu3) built-in shell (ash)
Enter 'help' for a list of built-in commands.

(initramfs) LC_ALL
sh: LC_ALL: not found
(initramfs) LANGUAGE
sh: LANGUAGE: not found
(initramfs) ■■■■ - ■ /■■■/■■■1
sh: ■■■■: not found
(initramfs) ■■■■
sh: ■■■■: not found
(initramfs) ■■■■
sh: ■■■■: not found
(initramfs) D
sh: D: not found
(initramfs) ■■■■
sh: ■■■■: not found
(initramfs) ■■■■LANG
sh: ■■■■LANG: not found
(initramfs) LANG
sh: LANG: not found
(initramfs) EN
sh: EN: not found
(initramfs) BD
sh: ■■BD: not found
(initramfs) BD
sh: BD: not found
(initramfs) ■■
sh: ■■: not found
(initramfs) LC_ALL=C

Hypnotix on Ubuntu 23.04 https://askubuntu.com/questions/1464744/hypnotix-on-ubuntu-23-04

Im trying to install the IPTV program Hypnotix on Ubuntu 23.04. But i have not succeeded. I have googled around a bit and im starting to think the problem is that Ubuntu 23.04 is very new and for some reason doesnt support Hypnotix yet? Does anyone know what the problem might be? Best regards Ubuntu newcomer Emil

Barrier does not work for Linux to Windows connection https://askubuntu.com/questions/1409533/barrier-does-not-work-for-linux-to-windows-connection

I have been trying for a while to connect my mouse and keyboard using barrier between Ubuntu and Windows.

  1. I tried different way to connect. for example changing port, disable enabling SSL, putting same device name and so on, but nothing is working.
  2. I tried Windows as a server and also tried Ubuntu as a server, but could not connect.

In server's log it shows: "waiting for clients" \n "server status : active" In client's log it shows:

[2022-05-20T00:51:46] WARNING: failed to connect to server: Timed out
[2022-05-20T00:51:47] NOTE: connecting to '192.168.0.37': 192.168.0.37:24801
[2022-05-20T00:51:47] INFO: OpenSSL 1.1.1  11 Sep 2018
[2022-05-20T00:52:02] WARNING: failed to connect to server: Timed out

My question is am I only one who is facing this issue? or It is not possible for Ubuntu and Windows to connect using Barrier. If so, what free software or way (hardware) do you recommend me to solve this issue?

Unable to set up timedatectl to sync from a specific NTP server https://askubuntu.com/questions/1388954/unable-to-set-up-timedatectl-to-sync-from-a-specific-ntp-server

I am using my college's LAN and need my timedate to synchronize to the college's ntp server.

I tried editing the /etc/systemd/timesyncd.conf appropriately (by change the value after NTP= but it keeps trying to synchronize from ntp.ubuntu.com (which won't work on lan)

Please advise

UPDATE: I have installed chrony and it seems to be working fine with this.

How to turn off or reboot at (initramfs) prompts/BusyBox? https://askubuntu.com/questions/1366197/how-to-turn-off-or-reboot-at-initramfs-prompts-busybox

I get the (initramfs) prompts/busybox occasionally in Ubuntu 20.04.

BusyBox v1.18.5 (Ubuntu 1:1.18.5-1ubuntu4) built-in shell (ash) 
Enter 'help' for a list of built-in commands.

(initramfs)

A manual fsck solves the problem, but I need to know which partition got corrupted. Sometimes when I get the BusyBox, neither the reboot command nor the exit command works. (I suppose the exit command works, but we are still in the BusyBox because the file system errors persists). I need to turno ff or reboot to see which partition has the problem.

How to turn off or reboot when you get BusyBox (and reboot and exit commands have no effect)?

systemd-journald[290]: Failed to rewrite entry(22 items, 735 bytes); ignoring: Read-only file system https://askubuntu.com/questions/1330936/systemd-journald290-failed-to-rewrite-entry22-items-735-bytes-ignoring-r

I am on dual boot Ubuntu 20.04. After I login (enter password and press enter key), a blank screen flashes followed by a black screen with the non-stop chain of the following message scrolling.

systemd-journald[290]: Failed to rewrite entry(22 items, 735 bytes); ignoring: Read-only file system
systemd-journald[290]: Failed to rewrite entry(22 items, 746 bytes); ignoring: Read-only file system

The story of what I did before the error popped up goes like this:

  1. I installed the Oracle Virtual box, and added an application(SAS) to run on it.

    To do that(install SAS), the following steps were performed:

    A. downloaded and installed virtualization software Oracle VirtualBox for Linux.

    B. Created a folder named 'SASUniversityEdition' (no spaces) on /home, and another subfolder named 'myfolders' inside the folder 'SASUniversityEdition'.

    C. Downloaded the SAS University Edition vApp.

    D. Launched VirtualBox and select File > Import Appliance. In the Import Virtual Appliance window, clicked the folder icon to the right of the field. In the file browser window, selected the SAS University Edition .ova file, and clicked Open. Clicked Next. Then clicked Import in the Appliance Settings window. Shared the "myfolders" folder with VirtualBox.

    E. In VirtualBox, selected the SAS University Edition vApp, and then selected Machine -> Settings. In the navigation pane, selected Shared Folders, and then clicked the Add Folder icon (+) in the upper right of the Settings window. In the Add Share window, selected Other as the folder path. In the file browser window, opened the SASUniversityEdition folder, and selected the myfolders subfolder that I created in step 1. Clicked Select Folder. Then clicked OK.

    In the Add Share window, confirmed that Read-only is selected(actual instruction is: Confirm Read-only not selected). Selected the Auto-mount option, and clicked OK. Clicked OK again to close the Settings window.

    F. In VirtualBox, selected the SAS University Edition vApp in the left column, and then click Start. In a web browser on my computer, entered http://localhost:10080 to open the SAS University Edition: Information Center From the SAS University Edition: Information Center, clicked Start SAS Studio.

    Here's the link to the webpage where you can see those instructions I followed.

  2. I used the SAS for some time but then the system started hanging, and as usual I force shutdown the system (long press-hold down the power button).

  3. On switching on system, as usual, the selection screen appeared (Windows or Ubuntu). It is a dual boot system.

  4. After selecting Ubuntu, the screen showed some error. I don't recall it entirely, but some of the error is this:

    /dev/sda5: Inodes that were part of a corrupted orphan linked list found
    acpi error thread cannot release mutex
    fsck error on boot: /dev/sda5: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY
    
  5. Then I performed the following operation:

    fsck /dev/sda5 and entered Yes (y) to for each error. entered exit rebooted system

  6. Now it will take me to the login page after I select Ubuntu at boot option, but after I login the following error message keeps scrolling:

    systemd-journald[290]: Failed to rewrite entry(22 items, 735 bytes); ignoring: Read-only file system
    systemd-journald[290]: Failed to rewrite entry(22 items, 746 bytes); ignoring: Read-only file system
    
Unable to boot Ubuntu cloned from USB to SSD using Clonezilla https://askubuntu.com/questions/1275054/unable-to-boot-ubuntu-cloned-from-usb-to-ssd-using-clonezilla

I'm trying to clone Ubuntu 16.04 from USB stick (Sandisk 128GB installed with Ubuntu 16.04 - /sdc) to an external SSD (a brand new WD SN550 250GB - /sdd) on my Windows machine.

Following this tutorial, I made a Clonezilla USB, then boot to it, connect my Ubuntu USB (Sandisk - /sdc) and external SSD (WD - /sdd), choose source and target as Sandisk and WD respectively, then finish the clone. Then remove Ubuntu USB (Sandisk) and Clonezilla USB, then reboot.

Until now, my BIOS setup is EFI, but when I reboot, my WD SSD doesn't show up when I press F12. Also there's something different running in the background during cloning. Here are some outputs from screens, saying the boot loader on /dev/xxx is not grub skip running grub-install and some other strange stuff.

****************************************************.
Are you sure you want to continue? (y/n) y
OK, let's do it!!
****************************************************.
Let me ask you again.
WARNING!!! WARNING!!! WARNING!!!
WARNING! THE EXISTING DATA IN THIS HARDDISK/PARTITION(S) WILL BE OVERWRITTEN! ALL EXISTING DATA WILL
BE LOST: sdd
Are you sure you want to continue? (y/n) y
OK, let's do it!!
****************************************************.
Do you want to clone the boot loader (executable code area, the first 446 bytes) to: sdd ?
[Y/n] y
The first partition of disk /dev/sdc starts at 2048.
Saving the hidden data between MBR (1st sector, i.e. 512 bytes) and 1st partition, which might be us
eful for some recovery tool, by:
dd if=/dev/sdc of=/tmp/ocs_onthefly_local.gPb9z9/src-hidden-data.img skip=1 bs=512 count=2047
2047+0 records in
2047+0 records out
1048064 bytes (1.0 MB, 1.0 MiB) copied, 0.0159501 s, 65.7 MB/s
****************************************************.
Collecting partition /dev/sdc1 info...
Collecting partition /dev/sdc2 info...
Collecting partition /dev/sdc3 info...
Collecting partition /dev/sdc5 info...
Outputting swap UUID/LABEL of sdc5...
Saving swap /dev/sdc5 info in /tmp/ocs_onthefly_local.gPb9z9/swappt-sdd5.info...
****************************************************.
Non-grub boot loader found on /tmp/ocs_onthefly_local.gPb9z9/sdd-mbr...
The CHS value of hard drive from EDD will be used for sfdisk.
Sfdisk >= 2.26 does not support C/H/S option. Skip using C/H/S option.
****************************************************.
Will create the partition on the target machine...
Shutting down the Logical Volume Manager
Finished Shutting down the Logical Volume Manager
Trying to clean the MBR and GPT partition table on the destination disk first: /dev/sdd
_
Pass 5: Checking group summary information
/dev/sdd2: 460256/6788016 files (0.3% non-contiguous), 11311537/27099136 blocks
resize2fs 1.45.6 (20-Mar-2020)
Resizing the filesystem on /dev/sdd2 to 27099392 (4k) blocks.
The filesystem on /dev/sdd2 is now 27099136 (4k) blocks long.
****************************************************.
Creating the swap partition if exists...
Found the swap partition /dev/sdd5, create it by:
mkswap -U 41bf69e3-c492-4b9a-99f9-1d87d1ccf378 /dev/sdd5
mkswap: /dev/sdd5: warning: wiping old swap signature.
Setting up swapspace version 1, size = 9.3 GiB (9998168064 bytes)
no label, UUID=41bf69e3-c492-4b9a-99f9-1d87d1ccf378
****************************************************.
Trying to remove udev hardware record in the restored OS...
The specified destination device: sdd1 sdd2
Trying to remove udev persistent files. The devices to be searched: sdd1 sdd2...
Skip /dev/sdd1 (vfat).
Now searching possible device /dev/sdd2...
removed '/tmp/hd_img.LGRE3s/var/lib/dbus/machine-id'
removed '/tmp/hd_img.LGRE3s/etc/machine-id'
Found the file system and mount point to re-generate machine id: /dev/sdd2, /tmp/hd_img.LGRE3s
Initializing machine ID from random generator.
chcon: failed to get security context of '/tmp/hd_img.LGRE3s/etc/issue': No data available
chcon: can't apply partial context to unlabeled file '/tmp/hd_img.LGRE3s/etc/machine-id'
done!
****************************************************.
Device /dev/sdd2 is not a FAT partition.
Skip updating syslinux on that.
****************************************************.
Running: ocs-install-grub -s sdd auto
Found grub partition: /dev/sdd2
The boot loader on /dev/sdd is not grub. Skip running grub-install.
****************************************************.
Running: ocs-update-initrd -s "sdd" auto
_
no label, UUID=41bf69e3-c492-4b9a-99f9-1d87d1ccf378
****************************************************.
Trying to remove udev hardware record in the restored OS...
The specified destination device: sdd1 sdd2
Trying to remove udev persistent files. The devices to be searched: sdd1 sdd2...
Skip /dev/sdd1 (vfat).
Now searching possible device /dev/sdd2...
removed '/tmp/hd_img.LGRE3s/var/lib/dbus/machine-id'
removed '/tmp/hd_img.LGRE3s/etc/machine-id'
Found the file system and mount point to re-generate machine id: /dev/sdd2, /tmp/hd_img.LGRE3s
Initializing machine ID from random generator.
chcon: failed to get security context of '/tmp/hd_img.LGRE3s/etc/issue': No data available
chcon: can't apply partial context to unlabeled file '/tmp/hd_img.LGRE3s/etc/machine-id'
done!
****************************************************.
Device /dev/sdd2 is not a FAT partition.
Skip updating syslinux on that.
****************************************************.
Running: ocs-install-grub -s sdd auto
Found grub partition: /dev/sdd2
The boot loader on /dev/sdd is not grub. Skip running grub-install.
****************************************************.
Running: ocs-update-initrd -s "sdd" auto
Found boot and grub partition: /dev/sdd2
Re-creating initrd on boot dir in partition /dev/sdd2 and root partition /dev/sdd2...
Test if we can chroot the restored OS partition /dev/sdd2...
Yes, we are able to chroot the restored OS partition /dev/sdd2.
Running the command in the restored GNU/Linux chroot env:
update-initramfs -u -k all
This might take a few minutes...
update-initramfs: Generating /boot/initrd.img-4.15.0-112-generic
W: Possible missing firmware /lib/firmware/i915/kbl_guc_ver9_14.bin for module i915
W: Possible missing firmware /lib/firmware/i915/bxt_guc_ver8_7.bin for module i915
update-initramfs: Generating /boot/initrd.img-4.15.0-45-generic
W: Possible missing firmware /lib/firmware/i915/kbl_guc_ver9_14.bin for module i915
W: Possible missing firmware /lib/firmware/i915/bxt_guc_ver8_7.bin for module i915
_

How do I fix it to boot to Ubuntu SSD? Should I have done something to the WD SSD prior of cloning?

Disable keyboard lock key https://askubuntu.com/questions/1267784/disable-keyboard-lock-key

My keyboard has a LockScreen key positioned where I often inadvertently hit it. I want to disable or remap that button.

I have looked in

/usr/share/X11/xkb/symbols/pc

and in

/usr/share/X11/xkb/keycodes/evdev

but don't see anything in either file that is clearly mapped to locking the display.

xev

spits out many lines that are immediately obscured by the lock screen, and then further obscured by all the input required to unlock the lock screen.

After comment from @UnKNOWn

 xmodmap -pke | grep keycode and then from the list try to see anything related to lock? – UnKNOWn 53 mins ago

Looking at the xmodmap output from the lockkey press I notice Super_L NoSymbol Super_L map. Super_L is another key press to lock the screen.

From the spew of output I notice this :

 KeyPress event, serial 38, synthetic NO, window 0x7a00001,
     root 0x26e, subw 0x0, time 518379537, (580,793), root:(582,908),
     state 0x0, keycode 133 (keysym 0xffeb, Super_L), same_screen YES,
     XLookupString gives 0 bytes: 
     XmbLookupString gives 0 bytes: 
     XFilterEvent returns: False
     

As if the special Lock key on this keyboard activates the process mapped to Super_L

what's going on?

How can I get Ubuntu 20.04 to boot on Threadripper 3990X? https://askubuntu.com/questions/1240114/how-can-i-get-ubuntu-20-04-to-boot-on-threadripper-3990x

I tried to upgrade my installation of Ubuntu 19.10 to 20.04 today. After restarting, it could not boot into kernel 5.4.0-29-generic, not even in recovery mode. I could no longer boot into 5.3.0-51-generic, but I could boot into its recovery mode.

This machine has a Threadripper 3990X, and I had trouble booting into 19.10 months ago when I first installed it. I forget what measures I had to take to get it working, but I remember it involved some boot parameters (I think mce=off), and the new GRUB entry has the same parameters.

I have an encrypted disk. When booting into 5.3.0-51-generic in recovery mode, it pauses to prompt me for the key to decrypt my disk, but when booting into 5.4.0-29-generic, it doesn't.

Here are the last messages that appear on my screen.

[    0.541618] ACPI BIOS Error (bug): Failure creating named object [\_SB.I2CD.M
T2D], AE_ALREADY_EXISTS (20190816/dswload2-323)
[    0.541621] ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (201908
16/psobject-220)
[    0.541624] ACPI BIOS Error (bug): Failure creating named object [\_SB.I2CD.W
T3D], AE_ALREADY_EXISTS (20190816/dswload2-323)
[    0.541627] ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (201908
16/psobject-220)
[    0.541630] ACPI BIOS Error (bug): Failure creating named object [\_SB.I2CD.M
T3D], AE_ALREADY_EXISTS (20190816/dswload2-323)
[    0.541632] ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (201908
16/psobject-220)
[    0.541635] ACPI BIOS Error (bug): Failure creating named object [\_SB.I2CD.W
T4D], AE_ALREADY_EXISTS (20190816/dswload2-323)
[    0.541638] ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (201908
16/psobject-220)
[    0.541641] ACPI BIOS Error (bug): Failure creating named object [\_SB.I2CD.M
T4D], AE_ALREADY_EXISTS (20190816/dswload2-323)
[    0.541643] ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (201908
16/psobject-220)
[    0.541646] ACPI BIOS Error (bug): Failure creating named object [\_SB.I2CD.M
T5D], AE_ALREADY_EXISTS (20190816/dswload2-323)
[    0.541649] ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (201908
16/psobject-220)
[    0.815332] mce: Unable to init MCE device (rc: -5)
[    0.830657] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[    0.830733] CPU: 2 PID: 1 Comm: swapper/0 Not tainted 5.4.0-29-generic #33-Ubuntu
[    0.830797] Hardware name: Micro-Star International Co., Ltd. MS-7C59/Creator TRX40 (MS-7C59), BIOS 1.20 01/07/2020
[    0.830887] Call Trace:
[    0.830913]  dump_stack+0x6d/0x9a
[    0.830943]  panic+0x101/0x2e3
[    0.830971]  mount_block_root+0x23f/0x2e8
[    0.831008]  mount_root+0x38/0x3a
[    0.831036]  prepare_namespace+0x13f/0x194
[    0.831073]  kernel_init_freeable+0x231/0x255
[    0.831111]  ? rest_init+0xb0/0xb0
[    0.831142]  kernel_init+0xe/0x100
[    0.831171]  ret_from_fork+0x22/0x40
[    0.831884] Kernel Offset: 0x32200000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff)
[    0.831997] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0) ]---
mce: Unable to init MCE device (rc: -5)
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
CPU: 2 PID: 1 Comm: swapper/0 Not tainted 5.4.0-29-generic #33-Ubuntu
Hardware name: Micro-Star International Co., Ltd. MS-7C59/Creator TRX40 (MS-7C59), BIOS 1.20 01/07/2020
How to return to the decryption request https://askubuntu.com/questions/1209623/how-to-return-to-the-decryption-request

I encrypted the hard disk with LUKS.

When I boot the PC, the screen says: please unlock disk sda5_crypt.

Is it possible to return to this screen from the command-line? If the PC can return from the unlocked state, it is OK even if not from the command-line. Is restarting my PC the only way to fix this problem?

I executed the command $ lsblk -a and I paste the output.

NAME                   MAJ:MIN RM   SIZE RO TYPE  MOUNTPOINT
loop0                    7:0    0  88.5M  1 loop  /snap/core/7270
loop1                    7:1    0 160.2M  1 loop  /snap/gnome-3-28-1804/116
loop2                    7:2    0  54.7M  1 loop  /snap/core18/1650
loop3                    7:3    0  89.1M  1 loop  /snap/core/8268
loop4                    7:4    0  44.9M  1 loop  /snap/gtk-common-themes/1440
loop5                    7:5    0   4.2M  1 loop  /snap/gnome-calculator/544
loop6                    7:6    0  54.7M  1 loop  /snap/core18/1668
loop7                    7:7    0  14.8M  1 loop  /snap/gnome-characters/399
loop8                    7:8    0  42.8M  1 loop  /snap/gtk-common-themes/1313
loop9                    7:9    0  14.8M  1 loop  /snap/gnome-characters/375
loop10                   7:10   0   3.7M  1 loop  /snap/gnome-system-monitor/123
loop11                   7:11   0   3.7M  1 loop  /snap/gnome-system-monitor/127
loop12                   7:12   0     4M  1 loop  /snap/gnome-calculator/406
loop13                   7:13   0   956K  1 loop  /snap/gnome-logs/81
loop14                   7:14   0  1008K  1 loop  /snap/gnome-logs/61
loop15                   7:15   0 156.7M  1 loop  /snap/gnome-3-28-1804/110
loop16                   7:16   0         0 loop  
sda                      8:0    0 465.8G  0 disk  
├─sda1                   8:1    0   512M  0 part  /boot/efi
├─sda2                   8:2    0   732M  0 part  /boot
└─sda3                   8:3    0 464.6G  0 part  
  └─sda3_crypt         253:0    0 464.6G  0 crypt 
    ├─ubuntu--vg-root  253:1    0 463.6G  0 lvm   /
    └─ubuntu--vg-swap_1
                       253:2    0   980M  0 lvm   [SWAP]

Screenshots of Disks with detailed info for each partition:

/dev/sda1:

/dev/sda1

/dev/sda2:

/dev/sda2

/dev/sda3:

/dev/sda3

/dev/mapper/sda3_crypt:

/dev/mapper/sda3_crypt

Unallocated space:

unallocated space

/dev/mapper/ubuntu-vg/root:

/dev/mapper/ubuntu-vg/root

/dev/mapper/ubuntu-vg/swap_1:

/dev/mapper/ubuntu-vg/swap_1

I tried the command, but I got the following error.
Failed to hibernate system via logind: Sleep verb not supported
I did a search and it said that disabling Secure Boot is the solution.
Although I tried, it didn't work.
At first, I seem to have to solved the problem of hibernating Ubuntu 18.04.

Install Droidcam pc client for ubuntu 16.04 https://askubuntu.com/questions/845600/install-droidcam-pc-client-for-ubuntu-16-04
sudo apt-get install droidcam
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package droidcam

How to install Droidcam client for Ubuntu 16.04 LTS?

extundelete - failed to read-only open device "/dev/sdb": Error code 2133571347 https://askubuntu.com/questions/552544/extundelete-failed-to-read-only-open-device-dev-sdb-error-code-2133571347

I have a Synology NAS with a RAID 1 setup on which I recently accidentally deleted a shared folder with data I want back. I shut down the NAS and booted into a machine with an Ubuntu Live Cd and attached one of the NAS drives.

I made an image of the drive using DD and now have an oldhd.img file on an external drive.

I then moved to a new machine, booted up with the Live CD attached the external drive and changed to the external drive directory and ran this command

mount -r -o loop oldhd.img /mnt

Then I ran fdisk -l and saw the drive I need to be recovered was /dev/sdb

I changed dir to my computer's hard drive folder and ran:

extundelete /dev/sdb --restore-all

It returns :

extundelete - failed to read-only open device "/dev/sdb": Error code 2133571347

What am I doing wrong? And what should I do instead?

Ubuntu 14.04 BusyBox initramfs error https://askubuntu.com/questions/538115/ubuntu-14-04-busybox-initramfs-error

Suddenly after shutting down Ubuntu and when reopenning, I get prompted to one shell of BusyBox. I only had a set of options in help there.

Gave up waiting for root device.  Common problems:

 - Boot args (cat /proc/cmdline)
   - Check rootdelay= (did the system wait long enough?)
   - Check root= (did the system wait for the right device?)
 - Missing modules (cat /proc/modules; ls /dev)
ALERT!  /dev/disk/by-uuid/2df110c2-f0c7-425b-b727-123bdda03804 does not  
Dropping to a shell!  

BusyBox v1.21.1 (Ubuntu 1:1.21.0-1ubuntu1) built-in shell (ash)  
Enter 'help' for a list of built-in commands.  

(initramfs)

I tried to follow this solution: Boot drops to a (initramfs) prompts/busybox

I got a USB pen drive and it has ISO of Ubuntu. I have selected "Try Ubuntu", however my Ubuntu is installed in an external hard disk (connected to the laptop via another USB port, other than the USB pen drive), and I have Windows 8 installed by default in my laptop (on the internal hard disk).

So when I am running sudo parted -l:

ubuntu@ubuntu:~$ sudo parted -l
Model: ATA ST1000LM024 HN-M (scsi)
Disk /dev/sda: 1000GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt

Number  Start   End     Size    File system  Name                          Flags
 1      1049kB  525MB   524MB   fat32        EFI system partition          boot
 2      525MB   567MB   41.9MB  fat32        Basic data partition          hidden
 3      567MB   701MB   134MB                Microsoft reserved partition  msftres
 4      701MB   2849MB  2147MB  ntfs         Basic data partition          hidden, diag
 5      2849MB  991GB   989GB   ntfs         Basic data partition          msftdata
 6      991GB   1000GB  8853MB  ntfs         Microsoft recovery partition  hidden, diag


Model: SanDisk Cruzer (scsi)
Disk /dev/sdb: 64.0GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start   End     Size    Type     File system  Flags
 1      16.4kB  64.0GB  64.0GB  primary  fat32        boot, lba

None of this is actually my external hard disk in which my Ubuntu 14.04 is installed.

How can I solve this?

Samba share is not accessible with AD user https://askubuntu.com/questions/497245/samba-share-is-not-accessible-with-ad-user

I tried to install a samba server for active directory authentication and shares.

I managed to configure kerberos (kinit klist works) I configured smb.conf.

wbinfo -u<br>
wbinfo -g<br>
getent group *showing all domain groups)<br>
getent users (showing all domain users)<br>
net join was successful

Modifing nsswitch and common-session did work as well. I can log into the machine using AD credentials, locally and over ssh. Even adding domain administrator group to sudoer worked. So I assume the authentication is configured correctly.

I now wanted to create a share. One with [homes] and one with access for an AD group.

If I now connect to the share from a Windows 7 computer I get prompted user/password. If I enter the data from the initial local account that was created during the installation process, I see both shares, the public one and the home directory of the local user.

If I use the AD credentials, I only get access denied.

I even tried to enable guest access and deactivation any access control, but nothing changes. The local user can connect, but the AD user doesn't even get to see the shares.

If I enable logging level 10 I see that the computer is trying to authenticate, but fails.

What am I missing?

Update:

I found the problem. I don't really understand why that caused that effect, but now the share is working nearly as I want it to.

I did use:

idmap uid = 10000-20000<br>
idmap gid = 10000-20000

from the tutorial at http://wiki.ubuntuusers.de/Samba_Winbind I didn't think the warning, that these lines are deprecated will cause problems, as deprecation normally means still supported. That's true for local login, but shares get broken. I replaced these two lines with:

idmap config * : range = 10000-20000

and now the share is working.

The only problem left is in order to connect to the [homes] share I need to use COMPUTERNAME\USERNAME, but I wanted homes to work with DOMAIN\USERNAME?

If anyone knows how to change that it would appreciate it, but as I can just use a normal home share with username subdirectory, I don't consider that to be a real problem.

What is MASQUERADE in the context of iptables? https://askubuntu.com/questions/466445/what-is-masquerade-in-the-context-of-iptables

In iptables many times I see the target MASQUERADE. What is that? I searched and found lots of things. But I need someone to explain to me what MASQUERADE is in an easy to understand way?

An example (taken from this answer) is:

sudo iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
KVM/virt-manager fails to find/load ROMs https://askubuntu.com/questions/291921/kvm-virt-manager-fails-to-find-load-roms

I'm trying to create a Windows 7 KVM guest on Ubuntu 12.04 using virt-manager.

After filling in the various config options, when it goes to begin installation,I get an error box saying:

Unable to complete install: 'Unable to read from monitor: Connection reset by peer'

Further digging reveals log file in /var/log/libvirt/qemu/ indicating several compalaints:

  1. Could not open option rom '/usr/share/qemu/vapic.bin': Permission denied

  2. pci_add_option_rom: failed to find romfile "pxe-virtio.rom"

  3. Could not read keymap file: 'en-us'

I don't understand what the problem with vapic.bin is - it is in the location specified and readable:

ls -la /usr/share/qemu/vapic.bin

-rwxr-xr-x 1 root root 9216 Feb 28 11:01 /usr/share/qemu/vapic.bin*

pxe-virtio.rom is also there:

ls -al /usr/share/qemu-linaro/pxe-virtio.rom 

-rw-r--r-- 1 root root 63488 Feb 10  2012 /usr/share/qemu-linaro/pxe-virtio.rom

ls -al /usr/share/qemu/pxe-virtio.rom

-rw-r--r-- 1 root root 63488 Feb 10  2012 /usr/share/qemu/pxe-virtio.rom

I could use some help fixing the "permission denied" on vapic.bin, and some help understanding where pxe-virtio.rom is expected to be found (assuming it must be expecting someplace other than /usr/share/qemu?), or how to configure that explicitly?

full log:

2013-05-07 06:27:36.780+0000: starting up

LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin 
QEMU_AUDIO_DRV=none 
/usr/bin/kvm -S -M pc-1.0 -enable-kvm -m 8024 -smp 2,sockets=2,cores=1,threads=1 -name Win7 -uuid 88384f67-0c25-62be-d564-5fb6ad182caf -nodefconfig -nodefaults -chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/Win7.monitor,server,nowait -mon chardev=charmonitor,id=monitor,mode=control -rtc base=localtime -no-reboot -no-shutdown -drive file=/var/lib/libvirt/images/Windows7.img,if=none,id=drive-ide0-0-0,format=raw -device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0,bootindex=2 -drive file=/Archive/iso/Win7-x64-sp1.iso,if=none,media=cdrom,id=drive-ide0-1-0,readonly=on,format=raw -device ide-drive,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0,bootindex=1 -netdev tap,fd=18,id=hostnet0 -device virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:00:e6:4a:49,bus=pci.0,addr=0x3 -chardev pty,id=charserial0 -device isa-serial,chardev=charserial0,id=serial0 -usb -device usb-tablet,id=input0 -vnc 0.0.0.0:0 -vga std -device intel-hda,id=sound0,bus=pci.0,addr=0x4 -device hda-duplex,id=sound0-codec0,bus=sound0.0,cad=0 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x5

char device redirected to /dev/pts/1

Could not open option rom '/usr/share/qemu/vapic.bin': Permission denied

kvm: -device virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:00:e6:4a:49,bus=pci.0,addr=0x3: pci_add_option_rom: failed to find romfile "pxe-virtio.rom"

Could not read keymap file: 'en-us'
2013-05-07 06:27:37.413+0000: shutting down
Correct drivers for AMD Radeon HD 7650M https://askubuntu.com/questions/239375/correct-drivers-for-amd-radeon-hd-7650m

I have a Sony Vaio sve15118fg running Ubuntu 12.10 which comes with an AMD Radeon HD 7650M graphics chip.

This was all working fine until some updates (note sure what they were) came through. After installing them my laptop now no longer boots properly, specifically:

  • Upon attempting to boot the screen starts flickering violet striped horizontal lines. This can only be corrected by holding down the power button.
  • Attempting to do anything in recovery - bar dropping to a root shell - runs fsck which ends up hanging (although the system still responds there is no HDD activity). This is remedied via Ctrl+Alt+Delete to restart the system.
  • Running fsck manually from the root shell completes successfully.

I have attempted numerous things including removing all propriety drivers, trying the two installed propriety drivers, installing the latest beta driver from AMD, etc.

These all yield various results, such as the same as above, or a gnome-fallback session, or a gnome-shell session with various flickers and graphical artifacts.

What the heck do I have to do to get this to work? I don't really game, especially in Ubuntu, so I just want a working system! I'm not fussed about 3d acceleration of whatever.

Keyboard and mouse is not working properly https://askubuntu.com/questions/184619/keyboard-and-mouse-is-not-working-properly

I am having some weired problem regarding mouse and keyboard. I am using a laptor with a external mouse. When i scroll my mouse it worked in reverse way. And when i am typing with my keyboard it stop working for few moment. If i typed two later repeatedly it missed to draw the 2nd letter. Backspace is not working properly either. It need 4 stock to remove a letter. Help please

BusyBox error on boot [closed] https://askubuntu.com/questions/44286/busybox-error-on-boot

I have a Windows XP and Ubuntu 10.10 dual boot. It was working fine, then suddenly while booting in GRUB if I select Ubuntu it shows me a stupid BusyBox error the same as this, and Windows XP is still working fine.

This is the error I'm getting:

[ 100.202397] Using IPI No-Shortcut mode
[ 100.202492] registered taskstats version 1
[ 100.202657] Magic number: 8:735:845
[ 100.202830] hash matches device ptyre
[ 100.202939] BIOS EDD facility v0.16 2004-Jun-25, 0 devices found
[ 100.203007] EDD information not available.
[ 100.203329] Freeing unused kernel memory: 364k freed
Loading, please wait...
WARNING: Couldn't open directory /lib/modules/2.6.24-16-generic: No such file or
 directory
FATAL: Could not open /lib/modules/2.6.24-16-generic/modules.dep.temp for writing:
 No such file or directory
[ 100.230044] input: AT Translated Set 2 keyboard as /devices/platform/i8042/se
rio0/input/input1
Begin: Loading essential drivers... ...
Done.
Begin: Running /scripts/init-premount ...
Done.
Begin: Mounting root file system... ...

BusyBox v1.1.3 (Debian 1:1.1.3-5ubuntu12) Built-in shell (ash)
Enter 'help' for a list of built-in commands.

(initramfs) _