Monday, September 30, 2019

grub2 - Stuck in GRUB Rescue Mode

I messed up my new laptop while trying to set up a dual-boot with Ubuntu and Windows 8.I did a whole bunch of stuff trying to get it to work and now when I try to boot I get stuck in GRUB's recovery mode with no errors.

My question is: Can I boot from Ubuntu on a USB drive to erase both Windows 8 and Ubuntu to just install Ubuntu? Will this get ride of the GRUB rescue mode problem.

software installation - How to install Midori browser on Ubuntu using PPA?




How to install Midori browser from PPA on Ubuntu 14.04.



Open terminal by pressing Ctrl+Alt+T and run the following commands,



sudo apt-add-repository ppa:midori/ppa
sudo apt-get update
sudo apt-get install midori

login - Ubuntu 12.04, forced into low graphics mode, "Server is already active for display 0"


Since upgrading to Ubuntu 12.04, the disk checker has run approx. half of the times I powered on my laptop. Sometimes I let it complete, but if I'm in a rush I skip it. Some of the times that it runs it comes out fine, some other times it comes up with an error, I ask it to fix, then it says that it can't mount /tmp/.


Anyway, after a disk check like that (which 'fixed' something, but couldn't find /tmp/), the laptop rebooted, and I got the dialog about running in low-graphics mode.


I had a look around the menus, the restoring to default and restoring to backup neither seemed to do anything (I clicked on them and the menu just reappeared), and editing the config file did nothing either.


From there, I went into low graphics mode to find ways to fix this.


The first thing I came across was entering sudo apt-get install ubuntu-desktop, after hitting Ctrl+Alt+F1. Ctrl+Alt+F1 did nothing for me, but I opened the terminal, entered the command and it ran, saying that there were no packages that needed installing.


(as an aside note, from the first menu that asks whether I'd like to use low-graphics mode, try to fix this, terminal, etc, if I select terminal I don't actually get to the terminal login, just some progress reports about stuff loading).


Next I tried dpkg-reconfigure -phigh -a, which ran for about half an hour, outputting nothing. I rebooted and the problem persisted.


From the would you like to use low-graphics mode menu, I looked at the log files. On the Server (or xserver, can't remember) file, it said


Fatal server error:
Server is already active for display 0
If this server is no longer running, remove /tmp/.X0-lock
and start again.

So I went, found and deleted /tmp/.X0-lock, (there was also a /tmp/.X1-lock alongside it). That didn't work, but after I rebooted, I found that /tmp/.X0-lock was there again.


Any help would be greatly appreciated.


EDIT: Having looked at Xorg.failsafe.log, I found a lot of lines of:


(EE) FBDEV(0): FBIOPUTCMAP: Invalid argument

I have a Dell Inspiron 1545, according to sysinfo I have:


Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07) (prog-if 00 [VGA controller])

lspci gives me the same info:


00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
00:02.1 Display controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)

I am using the i915 graphics driver.



Unfortunately I was forced to just reinstall Ubuntu, it took a couple of hours, but reinstalling everything was easy, and it works fine now.


Anyone reading this with the same problem, make sure you backup everything, and look at this:


http://syslog.tv/2010/07/02/using-dpkg-selections-to-backup-and-install-packages/


to reinstall your programs easily.


mysql service can not start automatically at boot up




For whatever reason my MySQL server crashed (all databases were corrupted) and I had to use mysql_install_db initialise mysql data directory. This installation worked. However I have to start the server manually every time it reboots. I have tried to run sudo update-rc.d mysql defaults so that it should start automatically at boot time but the MySQL server does not start. One thing I can remember is that after finishing installation using mysql_install_db there was this generic message




"To start mysqld at boot time you have to copy
support-files/mysql.server to the right place for your system"




According to some quarters the right place for the system (Ubuntu 14.04.2 LTS (GNU/Linux 3.16.0-77-generic x86_64)) is
/etc/init.d/




but the problem at hand is the location of support-files/mysql.server. I have tried




$ sudo find / -name mysql.server




and outputs nothing. Where is support-files/mysql.server located so that I should copy it to /etc/init.d/.



MySQL version is mysql Ver 14.14 Distrib 5.5.50, for debian-linux-gnu (x86_64). Initially I used installation DVD to install LAMP. Your help will be greatly appreciated.




A thousand ways to kill a rat.The mysql server can be started manually by running the following commands:



sudo service mysql stop
sudo /etc/init.d/mysql stop
sudo killall -KILL mysql mysqld_safe mysqld
sudo /etc/init.d/mysql start
sudo service mysql start


Automate these series of commands by putting them in Ubuntu rc.local file. A crontab at boot up may execute the commands prematurely.



command line - Will Ubuntu Phone and Tablet have Bash?

Will the Ubuntu for phone and tablet have the staple software suite installed, such as the Terminal etc? Will updates be possible using apt-get? In short will Ubuntu be Ubuntu?

Ubuntu 14.04 Nvidia driver fail



i have bought a new Dell inspiron 15 - 3542 that has Nvidia (GM108M [GeForce 840M]). every time i install the Nvidia driver i have a black screen at the next boot, so i need to format again ! which causes me a huge pain ! this is what i get from (sudo lshw -C video)



 *-display               
description: VGA compatible controller
product: Haswell-ULT Integrated Graphics Controller
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0

version: 0b
width: 64 bits
clock: 33MHz
capabilities: msi pm vga_controller bus_master cap_list rom
configuration: driver=i915 latency=0
resources: irq:60 memory:f7400000-f77fffff memory:d0000000-dfffffff ioport:f000(size=64)


*-display UNCLAIMED
description: 3D controller

product: GM108M [GeForce 840M]
vendor: NVIDIA Corporation
physical id: 0
bus info: pci@0000:08:00.0
version: a2
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress cap_list
configuration: latency=0
resources: memory:f6000000-f6ffffff memory:e0000000-efffffff memory:f0000000-f1ffffff ioport:d000(size=128) memory:f7000000-f707ffff



And this is what i get when i run lspci | egrep 'VGA|3D'



00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 0b)
08:00.0 3D controller: NVIDIA Corporation GM108M [GeForce 840M] (rev a2)


Any idea how to get this Nvidia card work without getting the black screen again? Please help me this is urgent !! i appreciate it !




Finally i could figure this out !!



the answer is here http://www.noobslab.com/2014/12/use-nvidia-graphics-drivers-in.html



Thank you all for participating !! Love you all !


Sunday, September 29, 2019

bug reporting - Where to report issues of snaps?



I don't seem to find any information where to report issues with snaps, i.e. applications which are installed through snap install instead of the system package manager apt-get.



Since most bug reports on launchpad.net are simply ignored, but still make sense to be filed, I'd like to make sure that I'm not doing something even more hopeless when filing bugs with ubuntu-bug or manually on launchpad.net.



The fact that apport says that a package isn't installed shouldn't say too much because it usually takes years until this tool is upgraded to reflect changes in the requirements.



When you run $ snap info you will see a contact field. This will tell you how to talk to the developer, or where can you find that information.




$ snap info parity
name: ...
summary: ...
publisher: ...
contact: https://parity.io
[...]

installation - Will installing Ubuntu using the "erase entire disk" option remove and erase all currently existing partitions?

I'm considering ditching Windows 8 and doing a fully clean install of Ubuntu. However, I'm concerned because my computer came with a built-in 16 GB recovery partition that would need to be erased as well.



If I pick the "erase entire disk" option during installation, will it wipe out this recovery partition too?

UEFI dual boot Ubuntu 14.04 and Windows 8.1

I recently purchased an Acer Aspire V15 notebook (model V3-572G-76EM) which came with Windows 8.1 preinstalled. My goal is to be able to dual-boot Windows and Ubuntu. However, I am stymied at this point.




I have managed to create a partition on the disk and install Ubuntu 14.04 LTS to it. However, the only way I could find to get the computer to recognize the Ubuntu live CD at startup was to disable UEFI. I can boot into Ubuntu if I go into the BIOS and disable UEFI. However, when I boot in this way, the GRUB does not display, so I don't have the option of booting into Windows. I can boot into Windows if I go into the BIOS and re-enable UEFI. However, if I do this with boot media selection enabled in the BIOS, and press F12 at system startup, the only available option is Windows Boot Loader. I don't find this to be a satisfactory solution for the long term.



I have read Dual boot Win 8 / Ubuntu loads only Win, Installing Ubuntu Alongside a Pre-Installed Windows with UEFI as well as a few other articles from askubuntu.com and the Ubuntu documentation site.



I have downloaded and run the Ubuntu Boot-Repair utility. It recognized the UEFI partition even when Ubuntu is running (necessarily) in Legacy mode, but cannot convert my existing (BIOS-based) Ubuntu installation to a UEFI installation unless Ubuntu is already running in UEFI mode, which doesn't help. What must I do to correct this and have a truly dual-boot system?

Update all packages of 11.04, then upgrade to 11.10 or upgrade to 11.10 without updating packages?




NOTE - Title should be changed to something more into what am asking...



There are 2 cases I have seen when upgrading someone from the previous version of Ubuntu to the latest.




  1. When the user has not even done an update for a while so now he/she has the updates for that version of Ubuntu and also the Distribution upgrade pending.


  2. The user is up to date with all the updates for that particular version of Ubuntu and only needs to upgrade to the new distribution version.




I always recommend updating every package and THEN upgrading to the new distribution (Just in case, maybe it's me but I feel safer this way. It is more logical I guess). But what would happened or if it possible to upgrade to the latest distribution without first updating the packages for the version of Ubuntu used in that case. Let us put a scenario:




Sam has 11.04 updated until August. After that he simply decided not to keep updating the 11.04 packages. 11.10 arrives and now the big NEW 11.10 DISTRIBUTION VERSION AVAILABLE!!! DOWNLOAD NOW!! FREE WITH 2 BEERS FROM BRUNO PEREIRA!. So now Sam has 2 options, either update all packages of 11.04 and the upgrade to 11.10 or just upgrade to 11.10. What positive/negative feedback can Sam get with using one of the 2 forms.



Well, as you probably know, upgrades of any OS should not be done lightly and you want them to go as smooth as possible.



Honestly my advice is :




  1. Back up your data first. This includes making a list of all installed packages, $HOME, and any configuration files you manually edited in /etc/ or elsewhere. Server side it is going to include backing up databases and configuration files. See this link for details on generating a package list


  2. Read the release notes. The release notes list known problems and give advice. Oneiric Release Notes



  3. I always boot the new version as a live CD first. I want to identify any potential problems with my hardware BEFORE I upgrade.


  4. To answer your question, yes I always upgrade all the packages installed on the system first, then upgrade the distribution. sudo apt-get update && sudo apt-get dist-upgrade -> reboot -> then upgrade to new release.




If all those steps seem like too much hassle, it is often easier to make a separate /home partition, back up /home, test the new version, and do a fresh install.



Skipping any of the above steps is, IMO, asking for problems.


Operating system not found; can't dual-boot

Been using Ubuntu since 2012, dual booting Win7 on my Aspire 4750G. But in early 2014, Ubuntu 13.04 started booting slow (was not able to list down error messages), until it simply would not boot. I could still boot into Win7 though. Re-installed Ubuntu - using version 13.10 last Feb but mistakenly chose "Erase disc and install Ubuntu".



Tried to fix it with Boot Repair and tried reinstalling Win7 but kept getting errors. Used Testdisk to try to recover partitions/files -- it found something, either boot or patition files, which i tried to restore (probably another mistake). Used "FixParts", Tried "fdisk" and "gdisk" but still got errors when trying to partition and format.




After all the tinkering, my laptop ended up with an error on boot, then says "Operating System not found". Pressing F2 during boot, i only get to the Phoenix Secure Core Tiano Setup.



Decided to replace and upgrade to a new HDD and additional DDR3 RAM in August. Installed Ubuntu 14.04 but still get “OS not found” error on startup, although pressing F12 brings me to Boot Menu where I can choose Ubuntu. Upgrade to 14.10 did not fix problem. If I install Win 8.1 instead, it boots up fine but won't let me install Ubuntu because I cant go to live USB :(



Recently tried Boot-repair again, eventually got "Boot successfully repaired" message (see "http://paste.ubuntu.com/9622340/" ) with reminder to “make your BIOS boot on sda1/EFI/ubuntu/shimx64.efi file”. I don't know what it means or how to do that. Only difference is that now I get "Booting in insecure mode" message after choosing Ubuntu from Boot Menu (F12).



Help would be really appreciated

command line - Unable to install mailutils

I'm trying to install mailutils in Ubuntu. I'm getting this error:



$ sudo apt-get install mailtuils
Reading package lists... Done
Building dependency tree
Reading state information... Done

E: Unable to locate package mailtuils

dual boot - How can I remove ALL grub2 files and reinstall them? In other words, reset grub2?

I have been using Grub-Customizer ever since I've had Ubuntu, but I've noticed it having more and more issues lately.


About two weeks ago, I reordered the grub entries and put them in sub-menus using grub customizer and saved. It saved like it normally does and reported no errors.


I rebooted to see what it looked like. When my computer boots, it shows me the hardware details before it boots the default EFI. I saw the details, then the screen went black and I saw the details again! It seems to me grub kept rebooting the PC!


I went into the boot menu to load Windows and that worked normally. I created a live Ubuntu USB and booted from it, except, when I saw the grub screen form the USB, I pressed C for a command line. I have Ubuntu installed on sda9, so I typed:


set root=(hd1,9)
linux /vmlinuz root=/dev/sda9
initrd /initrd.img
boot

And yes, I know how the (hd1,9) works, when booting from a USB, the USB is temporarily assigned to sda. Ubuntu booted normally so I logged in and tried several things. I tried restoring backups from /ect/grub.d/backup/, then tried sudo update-grub and got:


Syntax Error in Grub.cfg. Please ensure that there are no errors in /ect/grub.d/* and /default/grub.

Finally, I tried sudo grub-install /dev/sda, and now I can see grub when I start the machine. Now I have another problem. It still shows the same error as before when I type sudo update-grub. I would like to reset grub somehow, is there a way to do this? If not, is there a way to even fix this without losing all my programs (again)? Thanks!


Edit: I just realized that the whole grub.d folder and the grub default file is GONE! What's going on!?!?!

windows 7 - 4 primary partition problem

I am trying to install Ubuntu 15.04 on my Windows 7 HP pavilion g6. Since it already has 4 partitions even if a create a new unallocated partition the Ubuntu installer shows it as "unusable".

The 4 partitions are as follows



1 system 
2 (c:)
3 recovery
4 hp_tools


How can I add and use an extra partition?

Ubuntu 13.04 won't boot past splash screen after installing graphics driver



I've been running Ubuntu 13.04 for a while now, and everything has been running fine, but now it won't boot past the splash screen. I was using it, shut it down, and when I turned it back on, it would go from the splash screen to a black screen with a cursor at the top left. I ran the boot repair program on the recommended settings and it still doesn't boot after restart.



The problem was with the graphics drivers I downloaded. I went into the recovery console and removed them through the terminal. I needed to use bumblebee to get my graphics card up and running.


dual boot - Installing Linux OS on wndows 10

I'm a little bored of Windows 10 and as of yesterday I could no longer access my desktop so it was time to change! Does anyone has any experience with getting a Dual boot with windows 10 / installing Linux with windows 10 in general? If so, is there any articular settings etc. that needs changing in order for it to run smoothly?



Thanks,
Z

Saturday, September 28, 2019

grub2 - Dual booting Ubuntu 14.04 and Windows 8.1



Yet another question on this topic. Sorry.




I've bought a new HP Pavilion 15-p239sa with Windows 8.1 installed, and I'm trying to dual boot Ubuntu 14.04. The problem is that after installation of Ubuntu, it still just boots to Windows without displaying the GRUB menu for me to pick Ubuntu. Here is the sequence of events:




  1. Download Ubuntu 14.04 from the Ubuntu web site and burn to DVD

  2. Install Ubuntu as directed and reboot: laptop boots to Windows only

  3. Install and run boot-repair from live disk as instructed. Boot-repair says to disable secure boot

  4. Disable secure boot and reboot. No change.

  5. Install and run boot-repair again from live disk. No errors reported.

  6. Re-boot. Still can only access Windows.


  7. Ran bcdedit /set {bootmgr} path \EFI\ubuntu\shimx64.efi. Ran OK and reported no errors.

  8. Re-boot. Still can only boot Windows. GRUB menu still not showing.



The report from boot-repair is at: http://paste.ubuntu.com/10826849/



I'd really appreciate it if anyone could help.



Peter




Here's how the issue was resolved in my case, with the help of the volunteers at Boot-Repair:




  1. Do a normal install of Ubuntu alongside Windows following the well-known instructions (turn off secure boot, turn off fast boot etc etc). In other words do the stuff I'd done before posting this question.

  2. If Ubuntu is inaccessible, run Boot Repair from a live disc and try again. If Ubuntu is still inaccessible, try the following.

  3. Boot on your Ubuntu live-disc and choose "Try Ubuntu". Then open a terminal when you're in Ubuntu and type the following commands:
    sudo mount /dev/sda2 /mnt
    sudo mv /mnt/EFI/HP /mnt/EFI/HPbkp
    sudo mv /mnt/EFI/Microsoft /mnt/EFI/Microsoftbkp



For me, this made the machine boot into Ubuntu instead of Windows, but still did not show the GRUB menu. This being the case, I then had to do the following





  1. Open a terminal in Ubuntu and type: gksudo gedit /etc/grub.d/25_custom

  2. Edit the text 25_custom text file, replacing: /EFI/Microsoft/Boot/bootmgfw.efi with
    /EFI/Microsoftbkp/Boot/bootmgfw.efi

  3. Reboot and select Windows UEFI bootmgfw.efi from the GRUB menu (which now did appear), to get into Windows. Select Ubuntu to get into Ubuntu, obviously.



Obviously the names of partitions (e.g. sda2) and text files (e.g. 25_custom) may well be unique to a particular installation. There are also some things here that are clearly specific to HP, like /mnt/EFI/HP.



I hope this gives some pointers to other people struggling with this and kudos to the Boot-Repair team.



partitions - is there any way of data recovery. my hard drive is formatted







i recently installed Ubuntu 12 on my system but during installation it deleted all my partitions and made only one partition in which Ubuntu is installed. i want to recover my data. please help me because i really need that data

Friday, September 27, 2019

Ubuntu 14.10 dual boot with preinstalled Windows 8

I wanted to install Ubuntu with my VAIO laptop with preinstalled Windows 8. So I downloaded the ISO image of ubuntu-14.10-desktop-amd64 and extracted to my USB drive with Universal USB installer. I allocated 50gb from my HDD for Ubuntu by partitioning it as a new volume. Then I turned off Secure Boot in my BIOS and changed the mode from UEFI to LEGACY mode. Then I installed Ubuntu in that 50Gb drive successfully and it said INSTALLATION COMPLETED. PLEASE RESTART.




I restarted my laptop and it said OPERATING SYSTEM NOT FOUND !!! I tried changing Secure Boot, UEFI/LEGACY mode and nothing worked. Only Windows 8 boots up in my laptop. Ubuntu didn't even showed up in my boot menu. What did I do wrong here? IS there any possibility that I will get to use Windows 8 and Ubuntu along side? Please help me

nodejs - Getting error while `npm run build`



What may be the issue ?



> @ build /home/mafia/repo
> npm run build:src && npm run build:test



> @ build:src /home/mafia/repo
> babel src/main/webapp/js/ -x ".es6" -d src/main/webapp/js/

Error: Cannot find module 'electron-to-chromium' (While processing preset: "/home/mafia/repo/node_modules/babel-preset-env/lib/index.js")
at Function.Module._resolveFilename (module.js:470:15)
at Function.Module._load (module.js:418:25)
at Module.require (module.js:498:17)
at require (internal/module.js:20:19)
at Object. (/home/mafia/repo/node_modules/babel-preset-env/lib/normalize-options.js:11:27)

at Module._compile (module.js:571:32)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
at Function.Module._load (module.js:439:3)

npm ERR! Linux 4.4.0-71-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "run" "build:src"
npm ERR! node v7.8.0
npm ERR! npm v4.2.0

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @ build:src: `babel src/main/webapp/js/ -x ".es6" -d src/main/webapp/js/`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @ build:src script 'babel src/main/webapp/js/ -x ".es6" -d src/main/webapp/js/'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:

npm ERR! babel src/main/webapp/js/ -x ".es6" -d src/main/webapp/js/
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! /home/mafia/.npm/_logs/2017-04-09T18_06_55_612Z-debug.log


npm ERR! Linux 4.4.0-71-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "run" "build"
npm ERR! node v7.8.0
npm ERR! npm v4.2.0
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @ build: `npm run build:src && npm run build:test`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @ build script 'npm run build:src && npm run build:test'.

npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! npm run build:src && npm run build:test
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls
npm ERR! There is likely additional logging output above.


npm ERR! Please include the following file with any support request:
npm ERR! /home/mafia/.npm/_logs/2017-04-09T18_06_55_684Z-debug.log


Your question seems not to be about Ubuntu, but is rather a general programming question.



However, if you actually looked at the output, you would have spotted the line Cannot find module 'electron-to-chromium' in there, which clearly indicates that your project is missing the module electron-to-chromium as dependency.



You should be able to install it by running the command below inside your project directory, which also adds the module to the list of dependencies in your package.json:




npm install --save electron-to-chromium

Ubuntu Touch -Adding photos to Instragram



My son has an Instragram account and can see photos from his instragram Scope. I have had a look but it does not seem possible to add photos to your account in Ubuntu Touch. Has this changed and is there a way my son can add photos to his instragram account from his Ubuntu Touch tablet?




For the last few weeks, I have been using the new Instagram app for Touch (Instagraph).This has allowed me to add photos to my Instergram account via the device galary. As yet, I have been unable to take a photo directly and then load it up my account. For now, this is a great step forward and means that Ubuntu Touch can be used with Instagram accounts.


Wubi ubuntu 12.04 install upgrade to full



I used Wubi to install Ubuntu 12.04 on my desktop. It had Windows XP on it and the DVD drive died. And I would like to migrate to Ubuntu. So I used Wubi. But it seems that wubi installs ubuntu on a virtual hard drive.
So I tried a reinstall with Unetbootin on my 8gb USB drive. But the machine is so old that it cannot boot from USB.




So that is my current scenario, and I would like to know if I can upgrade my Wubi install to a full install. No dual boot. Format the whole drive etc.
All resources on the net use a CD or DVD drive. Which does not work for me. I have an USB Wifi dongle which I used to download and install Wubi from within Win XP. I also have a windows bootloader and afterwards grub bootloader :S



p.s. I have found this guide, is this the recommended option for me?



Yes this seems like it could do the trick for you. Just make sure to change directory to your 'Downloads' folder before doing the wget command. Otherwise you won't be able to run the script as explained in the walkthrough. To do this type



cd ~/Downloads



after that just follow the steps in the instruction.


Thursday, September 26, 2019

Kubuntu upgrade from 15.10 to 16.04 failed


Some time ago I triggered upgrade from Kubuntu 15.10 to 16.04 and it failed (I forgot why and with what message). When I issued sudo do-release-upgrade it failed with message:


E: The value 'wily' is invalid for APT::Default-Release as such a release is not available in the sources


Full log-output (with errors): -> paste.ubuntu.com


Then I tried sudo apt-get autoclean but it failed with similar message. So I decided to revert /etc/apt/sources.list with command sudo cp /etc/apt/sources.list.distUpgrade /etc/apt/sources.list, then I did sudo apt-get update and repeated release upgrade. Unfortunately it failed with the same result...


How should I fix this?



Error E: The value 'wily' is invalid for APT::Default-Release as such a release is not available in the sources occured during repositories reconfiguration. It was caused by content of /etc/apt/apt.conf where wily was set instead of xenial.


I changed this file's content to APT::Default-Release "xenial"; and next upgrade attempt finished successfully.


Which key combination would allow me to pass parameters to kernel during boot



I want to pass some parameters like the runlevel, nomodeset to kernel during the booting process.



Which key combination would allow me to pass the parameters to the kernel, in redhat it used to just an arrow key to get to the kernel options.




I had tried pressing and holding the shift key during the boot process to go the kernel options according to other posts but they didn't seem to help.



Thanks



hold shift to get to the grub menu, then select the entry you want using up and down, then hit e to the edit mode. It has instructions after that on the bottom of the screen.


How do i install another ubuntu 12.04 , while one exists inside Windows 7 through Wubi

I am trying to install one more instance of ubuntu 12.04 on my machine so that i can play around with its drivers. I want the already installed version ( done through wubi on my windows 7) , to be untouched. So overall , my computer currently has 2 operating systems.One being windows 7 , and the other being ubuntu 12.04 installed through wubi. What would be the least invasive way to install another ubuntu 12.04 ? Can i do it using a bootup disk/flash just like i do a normal install, or do it through wubi itself?


PS : i do not want to lose any data. There is a lot of stuff on my Laptop.

apt - How do I report a bug when Launchpad fails?

I'm installing xubuntu 18.04.1 fresh, less than 15 minutes after the install finished I had a problem with vim-nox (a.k.a /usr/bin/vim.nox). I tried "ubuntu-bug vim-nox" and things got weird very fast. Almost immediately I saw a message like this:
(apport-gtk:13898) dbind-WARNING: ...
reporting a problem with "accessability bus". It was repeated. It did not ask for anything so I ignored it.



A firefox window opened, and it asked if I wanted to proceed. I did. Then it said Ooops! Something went wrong in Launchpad............



I'm reporting this using an older system, so I'm not copying all the details.



What I'm asking for is some channel to report this, or find a fix. I think the Launchpad problem is much more important than the original vim-nox thing. So that's what I'd like to solve.




I'm not going to try much with 18.04 until bug reporting works at the very least.

Wednesday, September 25, 2019

How can I (de)activate a PPA from the command-line with a single command?



Ubuntu offers an easy GUI interface that allows you to edit, (de-)activate and remove PPAs.



But going through all the GUI dialogs and menus can sometimes be tedious, especially if you have a lot of PPAs added to your system.



That's why I was wondering if there was a way to disable (and enable) a PPA from the command-line.







Note: I am not talking about adding/removing the PPA (that's quite easy to do: sudo add-apt-repository ppa / sudo add-apt-repository --remove ppa). What I am looking for is a way to temporarily disable a PPA and reenable it at will - all from within the CLI.






Edit:



Sushantp606 and Davidson Chua's answers were a good starting point and made me change the scope of my question. It's certainly good to know that repositories can be managed with the sources.list files but this still looks like a very tedious task to me. I would love to know if there is a way to automate this in the same manner the Software Properties window does.



Ideally I would like to find a command that will make it possible to quickly enable and disable a PPA by its PPA address, e.g.:




ppa_activate ppa:synapse-core/ppa


and



ppa_deactivate ppa:synapse-core/ppa


Even a simpler script to toggle between activating or deactivating a particular ppa. Save the code given below in a file, for instance toggle_ppa.sh.




#!/bin/bash
#
# toggle_ppa.sh
#
# created by souravc (https://askubuntu.com/users/127327/)
# modified by Glutanimate (https://askubuntu.com/users/81372/)
#
# originally released at https://askubuntu.com/q/383605/81372
#
# DESCRIPTION: Detects if a PPA is active/inactive and deactivates/activates it

# on user confirmation.
#
# USAGE: toggle_ppa.sh ppa:launchpaduser/ppaname

### VARIABLES

SOURCEDIRECTORY=/etc/apt/sources.list.d
PPA="$1"

### USAGE CHECKS


## Arguments

if [ -z "$PPA" ]
then
echo "Error: Please provide a PPA name to toggle between activation/deactivation"
echo "The PPA name should be formatted as it appears on launchpad, e.g.:
"$0" ppa:webupd8team/y-ppa-manager"
exit 1
fi


## Root privileges

if [ "$(whoami)" != "root" ]; then
echo "Error: This script needs root privileges. Restarting..."
sudo "$0" "$1"
exit
fi

### MAIN


SOURCELIST_NOPFX="${PPA#*:}" #remove 'ppa:' prefix
SOURCELIST="${SOURCELIST_NOPFX////-}"-$(lsb_release -cs) #replace all slashes with dashes, include release
SOURCEFILE="$SOURCEDIRECTORY"/"$SOURCELIST".list #compose sources list path

if [ -e "$SOURCEFILE" ]
then
echo "Processing $SOURCEFILE..."
SOURCE_COMMENTED=$(grep "^\#deb\ " "$SOURCEFILE") #check if sources line is commented
if [ -z "$SOURCE_COMMENTED" ]

then
echo "$PPA is active. Going to deactivate. Proceed? [ y/n ]"
read ANSWER
if [ $ANSWER == "y" ]
then
sed -i "s/^deb\-src/\#deb\-src/" $SOURCEFILE
sed -i "s/^deb\ http/\#deb\ http/" $SOURCEFILE
echo "Updating package index files..."
sudo apt-get update
echo "Done."

else
echo "Aborted."
exit 0
fi
else
echo "$PPA is inactive. Going to activate. Proceed? [ y/n ]"
read ANSWER
if [ $ANSWER == "y" ]
then
sed -i "s/^\#deb\-src/deb\-src/" $SOURCEFILE

sed -i "s/^\#deb\ http/deb\ http/" $SOURCEFILE
echo "Updating package index files..."
sudo apt-get update
echo "Done."
else
echo "Aborted."
exit 0
fi
fi
else

echo "Error: Source file at $SOURCEFILE for $PPA does not exist. Please check PPA name."
exit 0
fi


Follow the procedure given at the other answer to keep file in PATH and make it executable.



Usage



sudo toggle_ppa.sh 



Example



sudo toggle_ppa.sh ppa:webupd8team/java


How it works



The working principle of this code is the same as in my other answer. The code acts in a very interactive manner. When someone runs this along with ppa name as its argument, it will display the PPA's current status and what the code is going to do on successful execution. Then it will ask permission of the user. Only if the user inputs 'y' to confirm the code will change the status of the PPA and activate/deactivate it. It will immediately abort if the user puts an 'n' for no.



/usr/lib/apt/methods/http eating my bandwidth!

I've noticed (using nethogs), that /usr/lib/apt/methods/http has multiple processes, which consume ALL of my bandwidth. I want to disable the process(es).



I've tried everything: trickle, killall, etc., but nothing has worked.



How can I solve this problem?

Why doesn't the new version of Ubuntu 10.10 show up in Update Manager?


I am currently using Ubuntu 10.04 LTS and when I run the update manager it doesn't show the new release.



  • I have checked the "Software Sources" update tab to make sure "release upgrade" is set to Normal.

  • I'm receiving updates from the "Main Server".

  • I've tried running update-manager and checking a few times to make sure there's nothing to update to

  • I've run "update-manager -c"

  • I've run "update-manager -d"


but it still doesn't show, and I can't find an answer on Google.


I turn to you, Help!



Have you refreshed the update manager? Normally it checks every day for new releases, but it sometimes doesn't, so make sure you have clicked the Check.


If this still doesnt work, make sure that you have installed all updates to 10.04, and then click Check again.


If these don't work, check that the software sources made the release upgrade check to normal, by checking the /etc/update-manager/release-upgrades file and making sure it says Prompt=normal.


If after these you still can't see it, try doing this on the command line:


"sudo apt-get update && sudo apt-get upgrade"
"sudo do-release-upgrade"

That should work.


If it still doesn't work, then edit your /etc/apt/sources.list file, editing all occurences of lucid with maverick and then sudo apt-get update && sudo apt-get dist-upgrade


If after all this, it still doesn't work, I have no idea what else to do :-P


networking - Getting an IP address with Ubuntu client from Windows Server 2016 DHCP in VirtualBox

So we have a task in university which is basically about 3 parts.
We have a Ubuntu 18.04 client and a Windows 2016 Server, both in VirtualBox.
We should do, so that:





  1. The Ubuntu client should get an IP address AUTOMATICALLY from the Windows 2016 Server's DHCP. ((The Win2016 Server DHCP is already configured, but Ubuntu does not connect to it somehow)). Our Ubuntu has 2 IPs currently, one starting with 127.x.x.x and one starting with 10.x.x.x. So it is not good (our DHCP is giving out addressess between 192.168.1.65 and 192.168.1.70)


  2. There is also an IIS installed on the Win2016 server. Typing in the server's IP in the browser (192.168.1.1), it should bring up a "webpage". This does not work on Ubuntu neither, but we can access the webpage when we type in the server's IP on the server. So it SHOULD work.


  3. We should install ProFTP on Ubuntu and connect with it to the server's FTP domain. [[This task should work easily after the two former tasks are done. I THINK. So I do not need help with the 3rd task I THINK.]]




Any help on how to do this is welcome, since we did not learn this and it would be a really big help since I am not familiar with linux-based OP systems.
Have a nice day!

Update Ubuntu 14.04 to 15.04


Currently I have Ubuntu 14.04 in my laptop and now I want to update it to 15.04. I have Windows 8 and Kali Linux along with my Ubuntu. How should I update my Ubuntu to 15.04 without losing my other operating systems. I was thinking of downloading Ubuntu 15.04 and then installing it over Ubuntu 14.04, instead of updating Ubuntu 14.04 via terminal or update manager. Will that be a good option?


(Moreover I cannot update my Ubuntu via terminal or update manager as I use internet through a proxy server which requires authentication. I asked about it in my previous question and none of the techniques given by others worked)


Thanks in advance :)



Directly upgrade to Ubuntu 15.04 from 14.04 is not possible, but this does not mean that you can't do this. No USB sticks etc. needed. I do the update through SSH from remote PC :)


Note:



Please keep in mind, that all operations below should be completed under root permissions or sudo, as you are modifying system settings.



Before you upgrade, you need to install these upgrade helpers:


sudo apt-get install update-manager update-manager-core

After that, go to /etc/update-manager/release-upgrades file and change Prompt=lts to Prompt=normal. Make sure that meta-release file in same folder looks like this. If it isn't there, add it at the bottom of the file:


[METARELEASE]
URI = http://changelogs.ubuntu.com/meta-release
URI_LTS = http://changelogs.ubuntu.com/meta-release-lts
URI_UNSTABLE_POSTFIX = -development
URI_PROPOSED_POSTFIX = -proposed

Upgrading from 14.04 to 15.04 will looks like this: 14.04 -> 14.10 -> reboot -> 15.04 -> reboot -> done


Here are the next steps:



  • execute do-release-upgrade -d in terminal

  • [follow screen instructions], reboot at the end. 14.10 will be installed

  • execute do-release-upgrade -d in terminal

  • [follow screen instructions], reboot at the end. 15.04 will be installed


Enjoy! :)


P.S. All data and software will be preserved. Also after the upgrade don't forget to update custom apt repositories, as they probably will be disabled for the upgrade period.


Tuesday, September 24, 2019

npm can't be installed



shubham@shubham$ npm
The program 'npm' is currently not installed. You can install it by typing:
sudo apt-get install npm





shubham@shubham$ sudo apt-get install npm
Reading package lists... Done
Building dependency tree
Reading state information... Done
npm is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 9 not upgraded.





shubham@shubham$ npm
The program 'npm' is currently not installed. You can install it by typing:
sudo apt-get install npm





shubham@shubham$ ls
Desktop examples.desktop Music Pictures tmp
Documents firstProject nohup.out Public Videos
Downloads goibibo_ugc npm Templates WebstormProjects


Based to all comments above, try this:



sudo apt-get autoclean
sudo apt-get update

sudo apt-get dist-upgrade
sudo apt-get install npm

intel - How do I install HD3000 drivers on ubuntu 12.04?



I have a Dell XPS 15 L502x. In ubuntu 12.04 it is not using the intel graphics and therefore, it is eating a lot of battery. any suggestions on how to get my intel graphics to work instead of nvidia gt 540m would be appreciated.
System Specs
Core i7-2860
Ram- 8gb
Intel HD 3000
Nvidia gt540m



P.S. I am totally new to linux so detailed instructions would be really appreciated.

thanks.



This system has nvidia optimus techonology enabled. Nvidia driver doesn't support optimus in linux. So in linux both graphics card are on which lead to high battery consumption and overheat.



In optimus tech, the intel graphics is always on. When you use Nvidia 540m, images generated by GT540m actully transported through intel grphics card.



options available



Turn off nvidia 540m and use intel only. Use Nvidia card with special command only when required. Also never install nvidia-drivers alone.




Instruction for installing Bumblebee to turn off discrete GPU and enable only when required




  1. Type the following in terminal,



    sudo add-apt-repository ppa:bumblebee/stable



    then



    sudo apt-get update



  2. To install Bumblebee using the proprietary nvidia driver:



    sudo apt-get install bumblebee bumblebee-nvidia


  3. Run following



    sudo usermod -a -G bumblebee $USER


  4. Reboot.








If you just want to disable nvidia card, no need to learn followings



Usage Instruction :



To run a program with nvidia card, use optirun command prefixed in terminal.
Like to run glxspheres with nvidia card type



optirun glxspheres




To run firefox type : optirun firefox &



Note: If you intend to run 32-bit programs like Wine and using Ubuntu 11.10 Oneiric or later, install 32-bit libraries with:



sudo apt-get install virtualgl-libs:i386 libgl1-mesa-glx:i386 libc6:i386



Linked Questions:



How well will Nvidia Optimus cards be supported in 12.04?




Is a NVIDIA GeForce with Optimus Technology supported by Ubuntu?



Can't use nvidia card/driver on optimus notebook


Can't find Windows 10 in GRUB boot menu after installing Ubuntu, Boot Repair failed


I have a Lenovo e570 laptop. I can't find Windows in the GRUB boot menu after installing Ubuntu, and I am interested in booting Windows 10 again.


I had the usual problem of not seeing Windows 10 in the boot option after installing Ubuntu. I tried sudo update-grub and boot repair (with different options), but it didn't work.
Here's the Boot Repair Boot Info Script.


This is a screenshot from the GParted screen showing unexpectedly that a boot flag is on the FREE_DOS partition. Is there a problem with the flags?


enter image description here


I also tried using a Windows USB stick to fix the startup issues, but it didn't work.


The partition with Windows 10 exists and is mountable with everything in it.


I ran Boot Repair again and this was the result. Also the Repair Windows boot files option is still grayed out.


Is there any specific option for Boot Repair when it is the efi/legacy problem? I tried the separate efi partition option.


Also, what should the BIOS options be for UEFI/Legacy booting?



You have mixed UEFI & BIOS. They are not compatible, but just different boot options in UEFI. And Windows in BIOS boot mode must use MBR partitioning.
And normally UEFI installs use gpt partitioning.


It looks like you have a BIOS/CSM/Legacy install of Windows on MBR partitioned drive. But installed Ubuntu in UEFI mode, but still on MBR drive which is unusual as UEFI normally is gpt partitioned. But Windows in BIOS mode must use MBR.


Boot Ubuntu installer in BIOS mode, install Boot-Repair and in Boot-Repair's advanced options run the full uninstall/reinstall of grub. That should uninstall grub-efi-amd64 (UEFI) and install grub-pc (BIOS). You want to convert Ubuntu to BIOS boot.


Since Windows is BIOS, you need to always boot in BIOS mode.
But since hardware is newer UEFI with newest SSD, you may want to consider reinstalling Windows in UEFI mode.


How you boot install media, UEFI or BIOS is then how it installs for both Ubuntu & Windows.


Separately your p2 partition is full. NTFS really likes 30% free to work well. At 20% free it slows and at 10% free you have no working room to run a defrag.


After trying to make grub the default, boots into blank screen

after running the follwing command to set grub as the default using the following command,

bcdedit /set "{bootmgr}" path\EFI\ubuntu\grubx64.efi
I know just boot into a blank screen.
How might I fix this?
Thank you

12.10 - Mouse clicks suddenly stops working



Lately, I've been experiencing issues with my USB wireless mouse. While working on something, or even sometimes while the system is idle, the mouse buttons will stop working. I can move the mouse around all I want, and the cursor will move on-screen, but I cannot click on anything. When this occurs, sometimes I can scroll, other times not. Throughout, the keyboard still continues to function. The only way to get the mouse to start working properly again is to either restart the computer or restart the X server by pressing CTRL+ALT+BACKSPACE. There is nothing wrong with the mouse, it works fine while plugged into other machines. I have all the latest updates according to the Software Updater. Any ideas?



EDIT: Also thought I'd note that when another mouse is plugged in while the mouse is not functioning, it is unable to click as well. The strange thing is, though, Firefox still works with the mouse as it should, while other applications do not.




System Specs:




  • Compaq Presario SR2170NX

  • Dual Intel Pentium 4 Processor

  • 2 GB RAM, 2.4 GB swap

  • iHome USB wireless mouse

  • Ubuntu 12.10 (This is a clean install, about 2-3 weeks old.)




This is not an answer, per se, although it does have an easier workaround to recover.



I started having this same (I believe) problem with 14.04. It seems like the current active window works OK, but won't close or move, and other windows won't work at all with the mouse. Keyboard works fine.



If I close the working window, and reopen, it no longer works.



No clue as to cause, but my quick, non-destructive workaround is to switch to a VT and back: For example, Alt + Ctrl + F5, then when you get the login prompt, simply press Alt + F7 to switch back to the GUI, and everything is back to normal, with all windows still open.



Let me know if this works for you (or anyone else reading this).


software installation - How do I install a .tar.gz (or .tar.bz2) file?



I have downloaded tar.gz files. But I don't know how to install it. How do I install this kind of file?



The first thing you need to do is extract the files from inside the tar archive to a folder. Let's copy the files to your desktop. You can extract an archive by right-clicking the archive file's icon inside your file browser and pressing the appropriate entry in the context menu.

Extracting the archive should create a new folder with a similar name. e.g. program-1.2.3.
Now you need to open your terminal and navigate to that directory using the following command:



cd /home/yourusername/Desktop/program-1.2.3


Make sure you read a file called INSTALL, INSTALL.txt, README, or something similar if one was extracted. You can check if such a file exists from the terminal by using the ls command. The file can be opened and read with the command:



xdg-open INSTALL



Where INSTALL is the name of your file.
This file will contain the right steps to follow to continue the installation process. Usually, the three "classical" steps are:



./configure
make
sudo make install


You may also need to install some dependencies if, for example, running configure prompted you with an error listing which dependencies you are missing.




You can also use checkinstall instead of make install.



Remember that your mileage may vary.


Monday, September 23, 2019

12.04 - low graphics mode error only during shutdown

I'm getting the message: "The system is running in low graphics mode. Your screen, graphics card and input device settings could not be detected correctly. You will need to configure these yourself." ...



... but only during shutdown.



It doesn't impact use in any way, but it's confusing to people who see it while the machine is shutting down.



The system is NOT running in low graphics mode - it's working perfectly and at the correct (high) resolution.



How can I prevent this message from showing for 5 seconds every single time I reboot or shut down? The message ONLY appears during shutdown.




Graphics: i915.



Yes, I have a SSD. I've already put the sleep 2 in my /etc/init/lightdm.conf.

Sunday, September 22, 2019

12.04 - Lock Screen Blank

I have recently upgraded to ubuntu 12.04. I have been having some trouble with lock screen lately. While the system is locked, I sometimes get blank screen without the lock screen. So I am unable to log back in. I have to shut down the system & restart once again. While this does not happen every-time, it nevertheless keeps happening from time to time. This usually happens when I leave the system running leaving the system to lock on its own. Can anyone suggest some measure. My keyboard shortcuts or manual lock screen are both working perfectly fine.

Saturday, September 21, 2019

usb drive - Why isn't Ubuntu delivering USB images instead of ISO ones?



So far Ubuntu (and derivatives) has been delivering ISO images to be burned onto optical media.
Then there's a tool (usb-creator) to "burn" those ISOs onto USB drives.
I could be wrong, but I think that nowadays the majority of users don't use optical media to install Ubuntu (as well as other OSs) also because optical drives are not any more standard.



A "USB image" is usually "burnt" with a standard dd which is readily available within whatever OS you already have. While if you are not coming from Ubuntu it's likely your conversion tool is different from Ubuntu's and it won't work flawlessly.



What is the advantage for Ubuntu to keep the ISO instead of a "dd-able" image?




The current iso image is ddable and the images have been ddable for quite some time now as far as I know.



sudo dd if=./ubuntu.iso of=/dev/sdx bs=16M


Where ./ubuntu.iso is the path to the actual file and /dev/sdx is the target USB drive.



Alternatively, you can use cat instead of dd which is arguably faster like so:




sudo -i
cat ./ubuntu.iso > /dev/sdx
exit


Again, ./ubuntu.iso represents the full path to the actual iso file and /dev/sdx is the actual USB device.



Even if the image were not ddable, it would simply take a couple of syslinux commands to convert the image to ddable form.







Hypothetically, if the Ubuntu iso images were not ddable, you would just have to run the following commands:



sudo apt-get install syslinux syslinux-utils
isohybrid ./ubuntu.iso --entry 4 --type 0x1c
dd if=./ubuntu.iso of=/dev/sdx bs=16M


Again, where ./ubuntu.iso is the path to the actual iso file and /dev/sdx is the actual USB device.




source


drivers - Brightness on laptop MSI GT72VR in Ubuntu 18.04 with NVIDIA GTX 1060 Mobile doesn't work

I can't adjust brightness



I've got a MSI GT72VR laptop with ONLY 1 graphic card, a NVIDIA GeForce GTX 1060 Mobile and 2 audio card, a NVIDIA GP106 and a Intel CM238.




The problem is that I can't adjust the brightness of my screen. Always is 100%. I've got Ubuntu 18.04 clean install and nouveau drivers (Xorg.org)
enter image description here



There aren't brightness slider at the top of bar:



brightness slider



Also, the keys Fn + Bright Up and Fn + Bright Down doesn't do anything




Things I've already tried that don't work [1 May 2018]




  • Change driver to NVIDIA driver 390

  • Install and use redshift, xbacklight Link

  • Edit with sudo vi /etc/default/grub


    • GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_backlight=vendor"

    • GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_backlight=native"


    • GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_backlight=video"

    • GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi=off"


  • And then update-grub and reboot Link Link



Output for some commands



lspc | grep NVIDIA:




01:00.0 VGA compatible controller: NVIDIA Corporation GP106M [GeForce GTX 1060 Mobile] (rev a1) 
01:00.1 Audio device: NVIDIA Corporation GP106 High Definition Audio Controller (rev a1)


ll /sys/class/backlight:



total 0
drwxr-xr-x 2 root root 0 may 1 12:32 ./
drwxr-xr-x 67 root root 0 may 1 12:10 ../



dmesg | grep -i vga:



[    0.148024] pci 0000:01:00.0: vgaarb: setting as boot VGA device
[ 0.148024] pci 0000:01:00.0: vgaarb: VGA device added: decodes=io+mem,owns=io+mem,locks=none
[ 0.148024] pci 0000:01:00.0: vgaarb: bridge control possible
[ 0.148024] vgaarb: loaded
[ 0.969601] fb0: EFI VGA frame buffer device
[ 1.349219] fb: switching to nouveaufb from EFI VGA
[ 543.049571] snd_hda_intel 0000:01:00.1: Handle vga_switcheroo audio client



uname -a:



Linux laptop 4.15.0-20-generic #21-Ubuntu SMP Tue Apr 24 06:16:15 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux


journalctl -b | grep -i nvidia:



may 01 12:19:27 laptop kernel: nouveau 0000:01:00.0: NVIDIA GP106 (136000a1)

may 01 12:19:28 laptop kernel: input: HDA NVidia HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input16
may 01 12:19:28 laptop kernel: input: HDA NVidia HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card1/input17
may 01 12:19:33 laptop /usr/lib/gdm3/gdm-x-session[1171]: (II) NOUVEAU driver for NVIDIA chipset families :
may 01 12:19:33 laptop /usr/lib/gdm3/gdm-x-session[1171]: (--) NOUVEAU(0): Chipset: "NVIDIA NV136"
may 01 12:19:38 laptop /usr/lib/gdm3/gdm-x-session[1171]: (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=3 (/dev/input/event15)
may 01 12:19:38 laptop /usr/lib/gdm3/gdm-x-session[1171]: (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=7 (/dev/input/event16)


inxi -SMCGAx:




System:    Host: laptop Kernel: 4.15.0-20-generic x86_64 bits: 64 gcc: 7.3.0
Desktop: Gnome 3.28.1 (Gtk 3.22.30-1ubuntu1) Distro: Ubuntu 18.04 LTS
Machine: Device: laptop System: Micro-Star product: GT72VR 7RD v: REV:1.0 serial: N/A
Mobo: Micro-Star model: MS-1785 v: REV:1.0 serial: N/A
UEFI: American Megatrends v: E1785IMS.30E date: 10/27/2017
CPU: Quad core Intel Core i7-7700HQ (-MT-MCP-) arch: Skylake rev.9 cache: 6144 KB
flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 22464
clock speeds: max: 3800 MHz 1: 1046 MHz 2: 3165 MHz 3: 3164 MHz 4: 3139 MHz 5: 3093 MHz 6: 3190 MHz
7: 3056 MHz 8: 3046 MHz
Graphics: Card: NVIDIA GP106M [GeForce GTX 1060 Mobile] bus-ID: 01:00.0

Display Server: x11 (X.Org 1.19.6 ) drivers: fbdev,nouveau (unloaded: modesetting,vesa)
Resolution: 1920x1080@120.00hz
OpenGL: renderer: NV136 version: 4.3 Mesa 18.0.0-rc5 Direct Render: Yes
Audio: Card-1 Intel CM238 HD Audio Controller driver: snd_hda_intel bus-ID: 00:1f.3
Card-2 NVIDIA GP106 High Definition Audio Controller driver: snd_hda_intel bus-ID: 01:00.1
Sound: Advanced Linux Sound Architecture v: k4.15.0-20-generic


sudo lshw -C display:




  *-display                 
description: VGA compatible controller
product: GP106M [GeForce GTX 1060 Mobile]
vendor: NVIDIA Corporation
physical id: 0
bus info: pci@0000:01:00.0
version: a1
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress vga_controller bus_master cap_list rom

configuration: driver=nouveau latency=0
resources: irq:131 memory:de000000-deffffff memory:c0000000-cfffffff memory:d0000000-d1ffffff ioport:e000(size=128) memory:c0000-dffff

wireless - Network Card Atheros problem Ubuntu 12.10



I installed ubuntu 12.10 and my wireless card seem to have a lower performance compared to linux mint (any edition) - I mean it worked fine there.
For example it cannot connect to a router placed in a room next to mine (1 wall) and it could do it in mint or windows.
My wireless card is:

02:00.0 Network controller: Atheros Communications Inc. AR9485 Wireless Network Adapter (rev 01)
Are there any known issues for this card?



This is the solution for the problem



It's the old hwcrypt problem. In case you upgrade the kernel, and have no access to the web, don't blame network manager or wpasupplicant, create a file named



/etc/modprobe.d/ath9k.conf 



with the contents



options ath9k nohwcrypt=1


and reboot


Friday, September 20, 2019

software recommendation - Back up the whole ubuntu system or system image creation



In windows back is very easy with Norton ghost. Run it and forget it,
What is the same type of software for backing up the Ubuntu system? I tried DUP back up but it failed to restore when I really needed it.


Can you suggest anything regarding system back up for Linux systems?

system installation - How to reinstall Ubuntu in dual boot with Windows 10?

I have Ubuntu 15.10 and Windows 10 dual-booted, but I want to reinstall Ubuntu in the same partition without making any changes or causing problems in the dual boot option and without removing Windows. Is it possible? Any guide on how to do it?

partitioning - Ubuntu Dual boot with Win 8.1 help!

Total newbie here. I want to install Ubuntu 14.04.3 alongside Win 8.1 that's already there. I'm getting the same error no matter what - "The attempt to mount a file system with type vfat in SCSI1 (0,0,0), partition #1 (sda) at /boot/efi failed.
I tried all of the following:





  1. Selected "install ubuntu alongside windows..." - result is that
    installation stalls.

  2. Selected "something else" and tried creating 3 manual partitions:
    ~45GB for root ("/") as ext4, ~17GB for swap, ~30GB as ext4 for
    "/home". Result - the above error message.

  3. Somebody had suggested partitioning using GParted and then running
    installer.. Tried this too, but GParted doesn't let me partition as
    "Logical".. I only see "primary".. But, even then in GParted, I
    don't see an option to set "/" or "/home" etc.. So I got to do this

    in the installer? If yes, then what's the point in partitioning
    beforehand?



Any help is greatly appreciated! Thanks!

filesystem - Files copied to a NTFS partition in Ubuntu 12.04 missing

I had recently downloaded an .iso file in Ubuntu. I decided to burn it in Windows as I am well acquainted (I am using an evaluation copy of Windows 8). So I copied it over to one of the NTFS partitions (D:\ being the directory under Windows). But when I booted into Windows, I could not find the specified .iso file. Booting back into Ubuntu, I mounted the NTFS partition, but alas! The file was gone from there too!
It was a fairly large .iso file and I do not want to download it all over again. Please help me out.

software installation - On 18.04, package "virtualbox-guest-utils" does not exist


In the past, I've managed to get the virtual box shared folder via the command on trusty and xenial boxes.


$ sudo apt-get install virtualbox-guest-utils

But now on the bionic version - the packages does not even exist yet.


So my question is, how do we share the folder on ubuntu 18.04?



virtualbox-guest-utils exists on bionic in the multiverse repo. Simply ensure you have this repository enabled.


om:~$ apt policy virtualbox-guest-utils
virtualbox-guest-utils:
Installed: (none)
Candidate: 5.2.10-dfsg-6ubuntu18.04.1
Version table:
5.2.10-dfsg-6ubuntu18.04.1 500
500 ssh://[my-server]/apt-mirror/mirror/us.archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 Packages
5.2.10-dfsg-6 500
500 ssh://[my-server]/apt-mirror/mirror/us.archive.ubuntu.com/ubuntu bionic/multiverse amd64 Packages

package management - Ubuntu 16.04: libclang 6 cannot be installed

I am currently trying to install doxygen, which has an unmet dependency libclang.so.6. I followed these instructions for installing this package, but it has its own dependencies.


The following packages have unmet dependencies:
clang-6.0 : Depends: libjsoncpp1 (>= 1.7.4) but 1.7.2-1 is to be installed
Depends: libstdc++-7-dev but it is not installable
Depends: libgcc-7-dev but it is not installable
Depends: libobjc-7-dev but it is not installable
Depends: libclang-common-6.0-dev (= 1:6.0.1~svn331815-1~exp1~20180509123840.80) but 1:6.0.1~svn331722-1~exp1~20180508135726.78 is to be installed
Depends: libclang1-6.0 (= 1:6.0.1~svn331815-1~exp1~20180509123840.80) but 1:6.0.1~svn331722-1~exp1~20180508135726.78 is to be installed
E: Unable to correct problems, you have held broken packages.

I have tried installing each of these, both using apt-get and synaptic, but they all are either unavailable or not available in the correct version. How can I find and install the correct versions of each of these dependencies?

unity - My quest to find the fastest search app for Linux



I miss "everything search" and "listary " of Windows - they are super quick to find and launch. Time for them to index my whole harddisk is 0.2 seconds[i guess they use the NTFS journal database]. They are automatically re-index instantly if some new files are created.




I want to locate a file in Linux by just its filename NOT its content. everything does the same in windows.



In Linux i have found two options that works for me. Time for them to index my whole harddisk using:




  • 1st option: sudo updatedb (mlocate) 3 minutes to reindex the database.

  • 2nd option: everything via wine ... roughly 5 minutes [it index even ext4 ].




Now I am a desktop user so i prefer a nice gui to search them quickly.





everything search running with wine



Honourable mentions:




  1. krunner does the job.. but i hate the fact that baloo indexing takes forever. I guess it search for content inside file as well. If only it would give us to index just the filename.


  2. unity dash can find the files you touched. But it doesnot locate outside the files/folder which you have touched.



So my question . Does anybody knows how i can index quickly and search the indexed filename with a gui?



another BEST is albert. It is best keyboard launcher out there in linux community. And it has files extension that monitors your filesystem very quick and periodically.



enter image description here


Thursday, September 19, 2019

upgrade - Trouble upgrading ubuntu 11.10 to 12.04 LTS after upgrading from 10.04

So first I tried to upgrade from 10.04 to 11.10 and now I don't have access to the many features of ubuntu (since the upgrade did not complete successfully) so when I try to update the system with sudo apt-get upgrade (after updating) I get the following:



"Please report this as a bug and include the files /var/log/dist-upgrade/main.log and /var/log/dist-upgrade/apt.log in your report.
The upgrade has aborted.
Your original source list was saved in /etc/apt/sources/list.distUpgrade
SystemError: E : Sub-process /usr/bin/dpkg returned an error code (2)
Could not install the upgrade

The upgrade has aborted.
Your system could be in an unusable state. A recovery will run now (dpkg--configure-a)
Upgrade complete
The upgrade has completed but there were some errors in the upgrade processing"



How does anyone recommend I tackle this problem? I do not really want to re-install ubuntu since it could erase all my data (most recent, but not recently saved in backup) ; moreover the following make things much weirder. For example, the system is somehow not capable of doing a backup, saving files in another usb or hard drive (saves them as 0 bytes). Please help, ubuntu one does not upload my files either (fyi). Thanks for your help.

12.04 - How to fix the boot set up?

I got two OSes in my PC, Ubuntu and Windows 7.



Until yesterday Windows 7 was on top of my dual-boot menu list, but I wanted to change it, so I went inside Windows configurations and put Ubuntu first, but I also set the time to 0 because I thought I could access Windows through Grub.



But what happens is that after I upgraded Ubuntu to 11.10, that screen with boot options don't show Windows 7 anymore.




I went online searching for a solution to my problem, most of them told me to configure some Grub options and others to use programs to do it. I've done them all and still can't access Windows 7.



Just in case my problem is not clear yet, this is how was my boot order before I messed it all up:



Windows 7
Ubuntu


with a time of 10 secs to choose between both.




This is how I wanted it to be:



Ubuntu
Windows 7


with 0 time to choose, but, inside Ubuntu I could access Windows through that Grub screen.



But this is what happens:




Ubuntu
Windows 7


0 time, so it don't let me choose anything and jumps inside Ubuntu then inside Ubuntu grub doesn't show up anymore (black screen) and it starts Ubuntu normally.



I tried to fix this many times from different ways inside Ubuntu but nothing worked, also when I try do something and then upgrade my grub with sudo upgrade-grub it shows this message:



Generating grub.cfg ...

Found Windows 7 (loader) on /dev/sda1
Skipping Windows 7 (loader) on Wubi system
Found linux image: /boot/vmlinuz-3.0.0-12-generic
Found initrd image: /boot/initrd.img-3.0.0-12-generic
Found linux image: /boot/vmlinuz-2.6.38-12-generic
Found initrd image: /boot/initrd.img-2.6.38-12-generic
done


Thats why in the title I said it could probably be my WUBI messing all up.




Anyone heave a solution for this? Do you need more information?



I have a netbook so I cannot use the Windows Repair CD.

Install Ubuntu in UEFI mode (unable to boot from USB)

I recently bought a Dell Inspiron 15R SE with Windows 8 (64 bit) pre-installed (UEFI supported). I want to install Ubuntu in dual boot with Windows 8. I tried to follow all these instruction and these instructions too.



  • So, I set Secure Boot to "off" into BIOS and I disable Fast Startup as described here.


  • I created a bootable USB key for Ubuntu (Ubuntu 13.10 64bits international Edition) with Unetbootin.



The problem is I am unable to boot from the USB key. The computer tries to boot into infinite loop (when the USB key is plugged in, the computer starts and the Dell logo appears. The little blue progress bar is growing normally. When it is complete, the computer restarts and does the same thing).
I also tried to boot from USB with "Legacy Boot" option instead of UEFI. In this case, the computer freezes at Dell logo.


Of course, I tried to boot from my USB key on an other computer having normal BIOS and it works perfectly.


Have you ideas about what I need to do to be able to boot from USB?




UPDATE:


What I have tried:



  • With UEFI Boot mode:



    • Secure option: Disabled

    • "Intel speed step": Disabled

    • Windows 8 FastStartup: Disabled


    Using bootable USB key for Ubuntu (Ubuntu 13.10 64bits international Edition) with either Unetbootin or Linux dd utility.


    Result : Unable to boot from the USB key. The computer tries to boot into infinite loop.



    • With "Legacy Boot" option:


    Using bootable USB key for Ubuntu (Ubuntu 13.10 64bits international Edition) with either Unetbootin or Linux dd utility.


    Result: Unable to boot from the USB key. The computer freezes at Dell logo.
    If I press F12, the computer freezes instantaneously.


What is the checksum value for kubuntu-16.04.3-desktop-amd64.iso?

Running WinMD5Free v1.20 said it's not matching current 8d8413fe8d7ca81bdab86180e8d5386e



What is the checksum value for kubuntu-16.04.3-desktop-amd64.iso?

Upgrade from 11.10 to 12.04 failed

I upgraded from Ubuntu 11.10 to 12.04 using the update manager. At the end of the upgrade the console said the upgrade had failed and it forced me to restart.


After a restart I am not able to do anything other than logging in. I just see a blue screen with the Ubuntu one icon. I can open applications, but nothing beyond that. I opened the terminal but after that I cannot enter anything - no keyboard input works.


Basically the laptop has been rendered useless. Any pointers on how to recover?


This is on a Dell Inspiron 1501 laptop with a 64 bit AMD Sempron Processor.

ati - confused about which graphics driver is loaded



Using Ubuntu 12.10, and I have 2 graphics card, Intel and ATI, and I finally get proprietary ATI driver to work -version 13.1-, but when I check lshw and lsmod, I get confused.



Here's the output of lshw -the confusing part is the driver property-:



*-display
description: VGA compatible controller
product: Cape Verde [Radeon HD 7700M Series]
...

configuration: driver=fglrx_pci latency=0
...

*-display
description: VGA compatible controller
product: 3rd Gen Core processor Graphics Controller
...
configuration: driver=i915 latency=0
...



and Here's lsmod output:



lsmod | grep radeon > returns nothing after I installed the ATI driver

lsmod | grep fglrx
fglrx 5196783 116

lsmod | grep video
video 19335 1 i915



I expected the video value to be fglrx_pci or fglrx not i915,
am I missing something here?



lshw shows you the hardware that is installed in your PC. Two times display is ok, when you have two graphiccards.



lsmod shows you the loaded modules. You have two graphiccards, so I think it is no problem that the modules for both are loaded.



Both commands doesen't show you which driver is loaded or used.




EDIT: You can try this: glxinfo | grep render


Upgrade Ubuntu 12.10 >>> Ubuntu 13.04 Black Screen Boot Failed with Nvidia Geforce Gt630 WHY?

1) I downloaded the iso of ubuntu desktop 64bit.
2) I burned the iso.
3) I tried to start the installation of ubuntu 13.04 from DVD




Black screen Black screen Black screen



4) http://www.ashwinraon.com/2012/08/how-to-solve-ubuntu-blank-screen-boot/
or http://ubuntuguide.net/no-input-signal-and-boots-into-blank-screen-after-ubuntu-installation
“Press and hold down Shift key from Bios screen until see the Grub menu. Highlight the first entry, press “e” to edit it. Navigate to words “quiet splash”, delete them and type “nomodeset” in their place (without quotes). Press Ctrl + X to continue boot.”



5) I ran the installation but after rebooting >>>> Black Screen



6) “Press and hold down Shift key from Bios screen until see the Grub menu. Highlight the first entry, press “e” to edit it. Navigate to words “quiet splash”, delete them and type “nomodeset” in their place (without quotes). Press Ctrl + X to continue boot.”




7) Boot ok. Ubuntu 13.04 started.
8) I installed drivers Nvidia 313.30 certified with Synaptic.
9) I created the file / etc/X11/xorg.conf for resolution 1980x1020 (Samsung SyncMaster PX2370)



With Ubuntu 12.04 & Ubuntu 12.10 installation no boot problem no Black Screen.
Also directly upgrading Ubuntu 12.10 (sudo apt-get update sudo apt-get upgrade
sudo update-manager -d) I had the same problem



Someone can explain why all this is happening?



Thank You!

Wednesday, September 18, 2019

boot - Running Ubuntu from a USB: Failed to load ldlinux.c32


I'm trying to run Ubuntu off of a USB. The exact error message read as follows:


SYSLINUX 6.03 EDD 2014-10-06 Copyright (C) 1994-2014 H. Peter Anvin et al
Failed to load ldlinux.c32
Boot failed: please change disks and press a key to continue.

I followed these instructions (multiple times, same result) to create the USB stick: https://tutorials.ubuntu.com/tutorial/tutorial-create-a-usb-stick-on-windows#0


I followed these instructions for booting the computer: https://tutorials.ubuntu.com/tutorial/try-ubuntu-before-you-install?backURL=%2F#0


I used a brand-new 16GB USB 3.0 from PNY. I installed it using a Windows 7 Dell laptop (BIOS), which was unable to boot it from the USB. I tried booting it on a Windows 10 Dell desktop (BIOS) with the same result. I was using the latest LTS ISO from Ubuntu.com (ubuntu-16.04.3-desktop-amd64).


I tried writing in the ISO image mode multiple times with the same result before trying the DD image mode, which threw a "corrupt file" error and then wiped the USB entirely blank, so I slow-formatted it in FAT32 on my next attempt (instead of the instruction's usual "quick format" option).


Some people said they had success copying ldlinux.c32, libcom32.c32, and libutil.c32 to the root directory, but that didn't change a thing for me. I tried formatting the USB as NTFS as well as FAT32. Same result. Some people said that FAT16 fixed it for them, but that wasn't an option in Rufus.


I'm totally lost! Here I was, trying to learn Linux, and I'm unable to even boot it! Help, please?


EDIT: Not sure why it's being marked as duplicate. The questions it's supposedly identical to have nothing to do with this specific error message.



Thank you, Android Dev! I used the Universal USB Installer instead of Rufus. It threw an error on the first boot-up attempt ("vesamenu.c32: not a COM32R image") which was easily solved by pressing Tab and then typing "live" to select the proper image. I'm now typing this edit on my USB live version of Ubuntu!


wireless - wlan0 not showing up in ifconfig/iwconfig

ive tried all the other threads and nothing is working. im very new and need help. im trying to use reaver and when i attempt it says [-] Failed to retrieve a MAC address for interface 'wlan0'! so i do ifconfig and get (running internet off phone)eth1: flags=4163 mtu 1500
inet 172.20.10.3 netmask 255.255.255.240 broadcast 172.20.10.15
inet6 fe80::250d:ea01:c7e:b2f5 prefixlen 64 scopeid 0x0
ether de:0c:5c:ab:f3:29 (Ethernet)

RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0



eth2: flags=4163 mtu 1500
inet 100.120.168.140 netmask 255.255.248.0 broadcast 100.120.175.255
inet6 fe80::51e1:4e13:b623:444b prefixlen 64 scopeid 0x0
ether 00:ff:ca:58:32:ea (Ethernet)
RX packets 0 bytes 0 (0.0 B)

RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0



lo: flags=73 mtu 1500
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x0
loop (Local Loopback)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0

TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0



iwconfig



eth0 no wireless extensions.



eth1 no wireless extensions.



eth2 no wireless extensions.




lo no wireless extensions.



wifi0 no wireless extensions.



wifi1 no wireless extensions.



wifi2 no wireless extensions.



PLEASE HELP ME GET MY WLAN0 BACK

system installation - Install Ubuntu on second hard drive without CD/DVD



I'm trying to install Ubuntu but I don't have a CD/DVD burner or large flash drive. I do have access to a second computer and I've hooked up the hard drive to it. How can I install Ubuntu on that hard drive? It seems that this should be easy but I can't find a way to do it.



I've worked out some way which might work for you:



On your Vista computer:




  1. Download and install UNetBootin


  2. Download a Super GRUB2 Disk ISO file. Choose [coreboot] if you aren't sure which ISO you need.

  3. Install the SG2D ISO to your 1GB USB stick usign UNetBootin.

  4. Put the Ubuntu ISO in the root of your USB drive, so you can find it easily afterwards.

  5. Edit the file (usb stick)/boot/grub/grub.cfg

  6. Paste the following at the end of the file:



    menuentry "Ubuntu ISO" {
    iso_path=/ubuntu.iso #Replace with ISO name
    export iso_path
    search --set --file $iso_path

    loopback loop $iso_path
    root=(loop)
    configfile /boot/grub/loopback.cfg
    loopback --delete loop
    }

  7. Save and eject the USB stick.



On your installation machine (With reinserted HDD):





  1. Boot from USB stick.

  2. You should see the menu option "Ubuntu ISO" in the appearing menu.

  3. Select it and ensure it boots (Try without installing)

  4. Install Ubuntu on the HDD.


"System running in low-graphics mode" after installing Ubuntu 12.04



I have a serious problem with my first try of Ubuntu. Today I booted my windows10 pc to Ubuntu with bootable usb pendrive. I am getting this at first start



THE SYSTEM IS RUNNING IN LOW-GRAPHICS MODE



I can skip this and go to terminal window, then I tried startx command. messages appear and on the left side all are shown [OK]. But after that everything stops...



Then I tried updating the driver as explained in a related post. But due to no internet it didn't happen. Finally I tried to turn on the wifi and that also failed not happen. It says



Operation not permitted


I am stuck in this terminal.




My laptop is lenovo g-40 , 2GB RAM, higher then 2ghZ, 500gb harddisk.



What can I do?



Ubuntu 12.04 is a very old release approaching its end of life and it does not have updated drivers about anything. Install either 16.04 which is the latest LTS release or 14.04 which is the previous LTS release and might work on your system.


dual boot - How do I install Ubuntu alongside a pre-installed Windows with UEFI?

I'm absolutely new to Linux. I would like to know how to install Ubuntu alongside the pre-installed Windows 8+ OS.



Should I do it with Wubi, or through the Live USB/DVD?



What steps do I need to take to correctly install Ubuntu?

installation - Ubuntu from USB stick won't work

I'm relatively new to linux and am trying to put linux my HP netbook. Since I'm trying to install it on a netbook I have to use the USB method of partitioning my hard drive.


So I have downloaded Ubuntu 12.04 and put it on to my USB drive with various different live USB creators, LinuxLive USB creator, and unetbootin for example and all arrive at the same issue. After the live USB has been created I power down and then start up my computer and go to BIOS and tell it to load from the USB instead of the hard drive and it displays about two lines that seem like copyright information, but it's hard to tell they are on screen for about 2 seconds and then the screen goes blank and a flashing cursor (_) is in the upper left corner. I've left it here for about an hour thinking it might be slow but nothing has changed.


I thought it might be the USB that was the issue so I put it in another computer (laptop but not netbook) and that booted up and loaded the Ubuntu menu just fine, so my thought is that the problem stems from it being a netbook.


I don't get to any ubuntu menu at all so I can't change any settings, so I am at a loss for what to do. Any ideas?


EDIT: some System Specs: Model: HP Mini 210-2000, Processor: Intel Atom CPU N550, 2 gb RAM Display adapter: Intel Graphics Media Accelerator 3150.


Thanks,
Ian

Tuesday, September 17, 2019

command line - Install Popcorn-Time on Ubuntu 14.04



Hi guys I found a guide for install PopCorn Time on my notebook via ppa but entering the first command I have this error..can someone help me? I diden't found anything on web for the error!



sudo add-apt-repository ppa:webupd8team/popcorntime

sudo apt-get update

sudo apt-get install popcorn-time



on first command I obtain



Cannot add PPA: 'ppa:webupd8team/popcorntime'.
Please check that the PPA name or format is correct.


The PPA does not work, so I downloaded the x64 .tar.xz. 32bit version here.


18.04 - gnome-shell freezes and then after a minute crashes

I have been having a lot of issues with Ubuntu such as hangs, crashes, refuses to load my account etc. I have eliminated hardware being the issue as I have checked all my hardware. Some of these issues were fixed by trying different combinations of kernel versions and bios versions. But I still have some gnome-shell crashes that I can't fix. Checking my logs reveals a lot of error messages I don't know how many of them or normal. I will attach 2 logs one from gnome-logs google drive to log 1 with only important events showed and another google drive to log 2from journal showing all that plus warnings



I have already said I eliminated hardware being the issue but I am including my specs here



CPU: AMD Ryzen 2700x



Motherboard: Gigabyte Arous GAMING x470




Bios V.: F42A



RAM: XPG Z1 DDR4 3000MHz (PC4 24000) 16GB (2x8GB) Gaming Memory Modules,
Silver (AX4U300038G16-DSZ1)



Video Card: Gigabyte GeForce GTX 1080 Windforce OC GV-N1080WF3OC-8GD
Graphics Cards)



Power Supply: Corsair TXM Gold 550 W 80+ Gold Certified Semi-modular ATX




DRIVES: M.2 drives 1 Samsung EVO 970(Linux) && 1 Samsung EVO 960 (Windows)
1 SEAGATE 2TB SSHD(games and user files)
1TB SEAGATE Drive HDD (Backups)



here are my gnome extensions
I tried removing some extensions I'll add the word del in front of the extensions I removed.



ls -al ~/.local/share/gnome-shell/extensions
total 104
drwxrwxr-x 26 zany130 zany130 4096 Oct 8 14:38 .
drwx------ 3 zany130 zany130 4096 Oct 9 10:19 ..

drwxrwxr-x 4 zany130 zany130 4096 May 4 17:33 activityAppLauncher@rastersoft.com
**del drwxrwxr-x 6 zany130 zany130 4096 Oct 8 14:38 arc-menu@linxgem33.com**
**del drwxrwxr-x 8 zany130 zany130 4096 Sep 5 20:11 cast-to-tv@rafostar.github.com**
drwxrwxr-x 4 zany130 zany130 4096 Jan 22 2019 clipboard-indicator@tudmotu.com
drwxrwxr-x 4 zany130 zany130 4096 Jan 22 2019 CoverflowAltTab@palatis.blogspot.com
drwxrwxr-x 6 zany130 zany130 4096 Jul 23 18:52 cpufreq@konkor
drwxrwxr-x 4 zany130 zany130 4096 Aug 16 16:09 donotdisturb-button@nls1729
drwxrwxr-x 3 zany130 zany130 4096 Oct 3 19:59 drive-menu@gnome-shell-extensions.gcampax.github.com
**del drwxrwxr-x 2 zany130 zany130 4096 Jan 22 2019 drop-down-terminal@gs-**extensions.zzrough.org
**del drwxrwxr-x 4 zany130 zany130 4096 Oct 3 19:58 extensions@abteil.org**

drwxrwxr-x 7 zany130 zany130 4096 Sep 10 23:49 gsconnect@andyholmes.github.io
drwxrwxr-x 4 zany130 zany130 4096 Sep 17 00:33 hidetopbar@mathieu.bidon.ca
drwxrwxr-x 5 zany130 zany130 4096 May 4 16:40 no-title-bar@franglais125.gmail.com
**del drwxrwxr-x 4 zany130 zany130 4096 May 24 20:30 nvidiautil@ethanwharris**
**del drwxrwxr-x 4 zany130 zany130 4096 Jan 22 2019 openweather-extension@jenslody.de**
drwxrwxr-x 5 zany130 zany130 4096 Sep 21 14:19 places-and-files-on-desktop@maestroschan.fr
**del drwxrwxr-x 3 zany130 zany130 4096 May 24 20:36 places-menu@gnome-shell-extensions.gcampax.github.com**
**del drwxrwxr-x 2 zany130 zany130 4096 Jan 22 2019 refresh-wifi@kgshank.net**
drwxrwxr-x 4 zany130 zany130 4096 Sep 5 20:11 ShellTile@emasab.it
drwxrwxr-x 5 zany130 zany130 4096 Aug 30 14:54 sound-output-device-chooser@kgshank.net

**del drwxrwxr-x 3 zany130 zany130 4096 May 18 10:44 transparent-window-moving@noobsai.github.com**
drwxrwxr-x 4 zany130 zany130 4096 May 4 16:36 update-extensions@franglais125.gmail.com
drwxrwxr-x 3 zany130 zany130 4096 May 4 16:04 user-theme@gnome-shell-extensions.gcampax.github.com
drwxrwxr-x 3 zany130 zany130 4096 May 4 16:37 windowIsReady_Remover@nunofarruca@gmail.com


zany130  zany130-X470-AORUS-ULTRA-GAMING  ~  ls -al /usr/share/gnome-shell/extensions
total 32
drwxr-xr-x 8 root root 4096 Aug 16 18:50 .
drwxr-xr-x 6 root root 4096 Oct 3 19:44 ..

drwxr-xr-x 2 root root 4096 Aug 16 15:18 drive-menu@gnome-shell-extensions.gcampax.github.com
**del drwxr-xr-x 2 root root 4096 Aug 16 15:18 places-menu@gnome-shell-extensions.gcampax.github.com**
**del drwxr-xr-x 2 root root 4096 Aug 16 16:23 pomodoro@arun.codito.in**
drwxr-xr-x 3 root root 4096 Aug 5 15:01 ubuntu-appindicators@ubuntu.com
drwxr-xr-x 3 root root 4096 Aug 5 15:01 ubuntu-dock@ubuntu.com
drwxr-xr-x 2 root root 4096 Aug 16 15:18 user-theme@gnome-shell-extensions.gcampax.github.com





on top of the errors in the logs above, I am now getting the fail whale error gnome-session-b: CRITICAL: We failed, but the fail whale is dead. Sorry....



Update: now Ubuntu won't boot at all I just get a black screen with a mouse



Update: okay I got the system to boot but it's a 50/50 chance it will boot from a reboot a full shutdown and then power up seems to work but now all my chrome based browsers won't open websites, Firefox works fine though and another new issue I can't launch steam



Update: ok so I seemed to finally get most things under control no more secureboot related errors. I guess its been a combination of updating to the 5.3.6 kernel and reinstalling my Nvidia drivers and removing some extensions anyway, I found out the gnome-shell freeze is due to a memory leak in gnome as I checked when the freeze happed gnome would be using 5GB of ram. I am also still randomly getting stuck in the Plymouth boot logo maybe I should just uninstall it?

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...