Monday, July 31, 2017

nvidia - Multiple monitor on laptop incorrect resolution

I have a laptop running Ubuntu 16.04 with a monitor connected to HDMI port.
The graphic card is a NVIDIA GeForge GTX 960M.


My problem is the output is correctly rendered just if I configure monitors in mirror screen mode.
When the mirror mode is not enable, both monitors render in incorrect resolution (icons, and windows are too big) and you cannot press the controles in screen, it seems the mouse input is shifted.


In not mirror mode, executing xrandr -q, outputs correct information:


Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 16384 x 16384
HDMI-0 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 480mm
x 268mm
1920x1080 60.00*+
1680x1050 59.95
1440x900 74.98 59.89
....
eDP-1-1 connected primary 1920x1080+0+0 344mm x 194mm
1920x1080 60.01*+ 59.93 40.01
1680x1050 59.95 59.88
....

The output if I disable mirror mode.


Screen 0: minimum 8 x 8, current 3840 x 1080, maximum 16384 x 16384
HDMI-0 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 480mm
x 268mm
1920x1080 60.00*+
1680x1050 59.95
....
eDP-1-1 connected primary 1920x1080+1920+0 344mm x 194mm
1920x1080 60.01*+ 59.93 40.01
1680x1050 59.95 59.88
....

The monitors appear to be in the correct resolution, but the "screen-0 " shows current 3840x1080.


I have updated my nvidia drivers (currently using NVIDIA binary driver -version 375.26)
Ubuntu 16.04LTS extended display not working


Tried to delete xorg.conf as mention here
Getting screen resolution correct with nvidia drivers


But didn't work.


Any suggestions in what's wrong?


EDIT:
Well my question is basically duplicated with these others, I keep to register what worked for me.


Finally editing the compiz settings worked for me:


nvidia-prime extended desktop stopped working

lightdm - How to enable numlock at boot time for login screen in Ubuntu 18.04?




I have a fresh 18.04 install and would like to enable the numlock key for login, without switching to the older lightDM. I saw this, this and this, but when trying the gdm approach I get: Command 'gdm' not found
but as said above I would like to achieve this small task, without having to switch to lightDM or do some other major changes.



Do the following:



xhost +SI:localuser:gdm

sudo su gdm -s /bin/bash



Now, you need to use gsettings or dconf #or dconf-edit if you have it



Go to /org/gnome/settings-daemon/peripherals/keyboard/numlock-state and change it to on



or simply after the two lines do this



dconf write /org/gnome/settings-daemon/peripherals/keyboard/numlock-state "'on'"



or



gsettings set org.gnome.settings-daemon.peripherals.keyboard numlock-state 'on'


Now reboot


package management - How can I start my own Repository


I'm an avid developer but I never actually gotten around to setting up my own PPA - how would someone go about this? Common issues encountered? How do I get my source code to be compiled into packages on the PPA?



Register on Launchpad like txwikinger said, then you need to generate a GPG key


gpg --gen-key

and upload it to Ubuntu's keyserver


gpg --keyserver keyserver.ubuntu.com --publish-keys $KEYID

Replacing $KEYID with the number after the slash on the "sec" line of:


gpg -K --fingerprint

Click the green + next to the GPG key part of your profile, and give it the key fingerprint from the earlier command. You'll receive an encrypted email. Decrypt it (setup your GPG key in your mail client to make this easier), then click the link inside to verify that you own the key.


Click on your launchpad.net page to create a new PPA


Follow the packaging guides Source Lab linked, but unlike what Txwikinger said, you will not upload a deb. That's because a deb is a binary package, and PPAs take source packages. After you've got the 4 necessary files (/debian/rules /debian/changelog /debian/control and /debian/copyright) in your source directory and an original tarball of the source outside it, run


debuild -S -sa

A source package will be generated consisting of a .debian.tar.gz (if using source format 3.0) or .diff.tar.gz along with a .dsc and a .changes file. The .dsc and .changes will need to be signed, so you will need to enter your GPG passphrase twice. The -sa is only needed the first time you upload that package to the PPA. Later revisions, you can live it off.


Then you will run:


dput ppa:youruser/ppa *.changes

Obviously filling in your own username, and if you chose a custom name for the PPA, put that after the slash. The PPA's page on Launchpad will tell you the exact ppa: syntax.


grub2 - Unable to boot into windows after installing ubuntu 12.04




I have Windows on my machine and then installed Ubuntu 12.04 using USB. I was not getting the option to boot into windows, so I ran boot-repair but still I am not getting option to boot into windows. What can be the issue ?



Edit: I have deleted my recovery partition (some 20GB) and installed Ubuntu on it.



I've gone through your log file posted there, and It seems unfortunately the Other OS searcher script isn't working or missing executable bit.




  1. Boot to Ubuntu and open a terminal with Ctrl-Alt-T shortcut.


  2. Execute this command:




     sudo chmod +x /etc/grub.d/30_os-prober

  3. Then run this command:



     sudo update-grub



OP says, this doesn't work.




If it doesn't work, I think grub is failing to detect Windows boot files. The most possible cause of this failing is losing Windows. (It was indeed the case as OP confirmed in a comment).



I suggest to use Window 7 disk to repair Windows boot issue and then use the Live CD to fix grub



Hope this will fix the problem.


networking - Trouble with WPA wifi connection - can connect to wireless networks

Good afternoon,



I'm trying to set up wireless on a new install of Ubuntu Desktop 12.10.



I am able to connect to "open" wireless networks (I am connected to my house "guest" wifi network right now) - therefore the problem is not with the wireless card or firmware (I've done b43-fwcutter & firmware installs).



The issue is just when trying to connect to my WPA2 secure "normal" wifi network ("bkhouse"). It just won't seem to go... It appears that I can connect to the SSID, but it won't complete the connection.



Help would be appreciated!!




brandon@linux-desktop:/etc/wpa_supplicant$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:25:64:db:89:16
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:1517 errors:0 dropped:0 overruns:0 frame:0
TX packets:944 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1802381 (1.8 MB) TX bytes:95348 (95.3 KB)
Interrupt:17


lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:8926 errors:0 dropped:0 overruns:0 frame:0
TX packets:8926 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:737296 (737.2 KB) TX bytes:737296 (737.2 KB)

wlan0 Link encap:Ethernet HWaddr 00:0f:66:6f:19:2c

inet6 addr: fd63:da35:957a:0:20f:66ff:fe6f:192c/64 Scope:Global
inet6 addr: fe80::20f:66ff:fe6f:192c/64 Scope:Link
inet6 addr: fd63:da35:957a:0:cc16:dc3c:c7f5:e400/64 Scope:Global
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:4397 errors:0 dropped:0 overruns:0 frame:0
TX packets:3964 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2716198 (2.7 MB) TX bytes:827754 (827.7 KB)



brandon@linux-desktop:/etc/wpa_supplicant$ iwconfig
eth0 no wireless extensions.

lo no wireless extensions.

wlan0 IEEE 802.11bg ESSID:"bkhouse"
Mode:Managed Frequency:2.462 GHz Access Point: 58:6D:8F:28:26:69
Bit Rate=48 Mb/s Tx-Power=20 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Power Management:off

Link Quality=63/70 Signal level=-47 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:40 Missed beacon:0


P.S. I've tried all kinds of different configurations with wpa_supplicant but haven't been able to sort anything out!

command line - Ubuntu 13.04 server cant install centrifydc apt package E: Unable to locate package centrifydc


I get an unable to locate package error when i try to install centrifydc using apt-get.


Steps taken:


I sudo nano'd /etc/apt/sources.list and uncommented the two partner urls.
Then i performed a sudo apt-get update.
Then i performed a sudo apt-get install centrifydc.


...stumped.



That's because centrifydc package is not anymore available in repositories starting with Ubuntu 12.10. It is only available in 12.04.


You can try to install manually from here (it's a .tar.gz file):


https://launchpad.net/ubuntu/+source/centrifydc/5.1.1-831-0ubuntu1

but I can not guarantee it will work in Ubuntu 13.04.


environment variables - lock var lib folder



Hi I installed a program ant between install it disconnected from internet and when I want to install program i can not and give this error what shoud I do?



Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)



Remove the lock file and try again



rm /var/lib/dpkg/lock



then



apt-get install 

Sunday, July 30, 2017

dual boot - Ubuntu doesn't appear in choice menu

After installing Ubuntu , the menu to choice between Windows an Ubuntu doesn't appear and it goes to windows as Ubuntu hasn't installed .
how can I solve this problem???
thank you.

Saturday, July 29, 2017

login - I can't boot into a usable system after updates. What should I do?


Since some system updates, my machine can no longer boot properly. I am no Ubuntu guru. I do not have a week to spare diagnosing the issue. I just want to retrieve important data from this machine's hard drive and get a working computer again ASAP.


What should I do?



Don't panic!


The chances are great that your personal data is fine. Please try the steps below. If anything doesn't work or seem right, you can bail with no risk of data loss.



  1. Obtain an Ubuntu installation medium. (LiveCD or LiveUSB)


  2. Turn off your system, insert the installation medium, and boot it, selecting "Try Ubuntu" when the option comes up.


    Screenshot of


  3. Click "Home Folder" in the Unity launcher. In the window that then appears, you will see a "Devices" section, under which are images of storage devices (both in your computer, and attached).


    Screenshot of mouse opening


  4. Select each device, in turn, until you find one that contains folders like bin, boot, cdrom, dev, etc, and home. Select home.


    Screenshot shows the last window. Now *SYSTEM* is mounted and the above folders are included there.


  5. In this folder, you will find the home folders of all users of your unbootable system. Copy all important data in these folders onto the internet, onto a portable usb drive, onto another hard drive, or even onto Ubuntu One. After you are done, click the arrow button next to your hard drive to unmount it.


    Screenshot shows mouse hovering over arrow to the left of the *SYSTEM* device.


  6. Click the Install Ubuntu button to begin reinstalling onto your machine.


    Screenshot shows



partitioning - Trying to recover deleted Ubuntu partition

I made a mistake in logging into my 200 GB Ubuntu partition. I could not access Grub after that. Using a live CD I then ran Boot_Repair and apparently deleted the partition, I guess because I ran it from my 70 GB Windows partition. I can send the results of boot_info before that and of Boot_Repair. Then I ran TestDisk, which apparently only found dev/sda/ -320GB / 298 / GiB - WDC - WD3200BEVT-22A23T0.



Was there any more I could have done with TestDisk? I looked at the TestDisk_Step_By_Step example and found no way forward given that no other partitions turned up



I have run gpart and found this:



/sda1 - 15 GB
/sda2 - system reserved
/sda3 - 70.15 GB

/sda4 - extended 212.84
unallocated - 209.10
/sda5 - unknown 3.74 .


I have been told I can recover the partition using gparted's Rescue start end command, but I don't know what to enter for start and end.



EDIT: TestDisk Deeper Search stated that "the following partitions can't be recovered" and listed a 220-GB Linux partition 6 times. Then it stated that "The current number of heads per cylinder is 255 but the correct value may be 128" and I could try to change it in the Geometry menu (because apparently these are overlapping partitions)
So should I do that?

drivers - Installing AMD Catalyst 13.12 64 bit

I have an AMD E1-1200 processor on my computer. After trying to install the current AMD Catalyst (13.12) drivers, my computer's display wouldn't work and I would boot into command prompt.



I of course had to uninstall the drivers, and I managed to get back up and running. This is apparently, a common issue with Catalyst 13.12.




If you want to see my error log you can find it HERE.



I went on here to look for tutorials of how to install Catalyst 13.12 (64 bit) on Ubuntu and couldn't find any solution that I could understand (I'm a noob) to my problem. Can anyone give me some advice to installing Catalyst 13.12 properly? Thanks!

apt - Terminal cannot install anything


I hav been using Ubuntu for quite sum time. yesterday i accidentally deleted the ubuntu partition (from windows) and again installed it.
im having the following problems
I tried 2 install Google chrome using deb file(through PPA)
It had dependency errors so i ran


sudo apt-get install -f

it deletd chrome. i again ran


sudo dpkg -i .deb

it again had dependency problems.
i again ran


sudo apt-get install -f

it again deleted chrome


I also cannot install gksu or anything. when i try to install respiratory using


deb http://us.archive.ubuntu.com/ubuntu vivid main universe

it says command 'deb' is not recognised.


It was not like this before. only after i installed Ubuntu this time, these things are happening. What 2 do? Should i delete and install Ubuntu again???



Install the missing dependencies first, otherwise dpkg and apt-get will get into a race condition in which the first will install a package without the needed dependencies and the second will remove it in order to fix the broken dependencies problem:


sudo apt-get update && sudo apt-get install libappindicator1 libcurl3

Then install Google Chrome:


sudo dpkg -i ~/Downloads/google-chrome-stable_current_xxxxx.deb

live cd - How can I check the integrity of a downloaded Ubuntu CD?


I've just downloaded a CD image of Ubuntu. I know the installer has a check CD option, but how can I check that the image is good before burning it to CD?



First look up the hash of the ISO you download here:


(or in general find your Ubuntu release here)


Then check the hash by following this video or these instructions:


After checking the hash it's safe to burn the image to CD/DVD.


dual boot - Splitting one partition into three

I bought a new laptop which had ubuntu installed in it and now I want to install windows8 on it along side ubuntu with dual boot, so I need separate partitions for windows, ubuntu and my data. I want to split my 443.76GB drive in to three drives, one for win8 OS and two equal size drives for data.


But before that I dont know what drive does the ubuntu OS is using for its files (i guess the 3GB drive ), should I increase its size ? Will I be able to use the ubuntu OS without any storage problems?


Please help me in a but of detail as I am new to linux, ubuntu.


Here is the current state of my HD...



  1. Partition = /dev/sda1, File System = fat 32, Mount Point = , Label = Dell Utility, Size = 300MB, Used = 4.12MB, flag = diag


  2. Partition = /dev/sda2, File System = fat 32, Mount Point = , Label = OS, Size = 3GB, Used = 1.84GB, flag = lba


  3. Partition = /dev/sda3, File System = ext4, Mount Point = / , Label = , Size = 454.71GB, Used = 10.96GB, flag = boot


  4. Partition = /dev/sda4, File System = extented, Mount Point = , Label = , Size = 7.75GB, Used = --, flag = --


  5. Partition = /dev/sda5, File System = linux-swap, Mount Point = , Label = , Size = 7.75GB, Used = -- , flag = --



sudo fdisk -l
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x12c561d1
Device Boot Start End Blocks Id System
/dev/sda1 2048 616447 307200 de Dell Utility
/dev/sda2 616448 6907903 3145728 c W95 FAT32 (LBA)
/dev/sda3 * 6907904 960507903 476800000 83 Linux
/dev/sda4 960509950 976771071 8130561 5 Extended
Partition 4 does not start on physical sector boundary.
/dev/sda5 960509952 976771071 8130560 82 Linux swap / Solaris

Thank you.

Friday, July 28, 2017

mount - Unable to access External HDD in Ubuntu

I have bought a new laptop Lenevo G500 and installed Ubuntu 13.0, I have taken out my previous laptop's HDD and trying to access it by connecting to USB port, however it has detected only once and after a restart it is not detecting it any more and saying unable to mount, I have checked other answers but none worked for me.


Can any one help please, I am getting the following error.



Error mounting /dev/sdc3 at /media/rinky/Dharam New: Command-line `mount -t "ntfs" -o "uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000,dmask=0077,fmask=0177" "/dev/sdc3" "/media/rinky/Dharam New"' exited with non-zero exit status 13: ntfs_mst_post_read_fixup_warn: magic: 0x43425355 size: 4096 usa_ofs: 7197 usa_count: 65535: Invalid argument
Actual VCN (0x800006009443600) of index buffer is different from expected VCN (0x0).
Failed to mount '/dev/sdc3': Input/output error
NTFS is either inconsistent, or there is a hardware fault, or it's a
SoftRAID/FakeRAID hardware. In the first case run chkdsk /f on Windows
then reboot into Windows twice. The usage of the /f parameter is very
important! If the device is a SoftRAID/FakeRAID then first activate
it and mount a different device under the /dev/mapper/ directory, (e.g.
/dev/mapper/nvidia_eahaabcc1). Please see the 'dmraid' documentation
for more details.

updates - Stuck at point-release 14.04.4 (HWE upgrade path issue for 14.04.5 ?)



[ Ubuntu 14.04.4 desktop LTS with automatic updates enabled - boot with BIOS ]




When running:



$ sudo apt-get update
[normal output - no error]

$ sudo apt-get -y upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done

Calculating upgrade... Done
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.

$ sudo apt-get dist-upgrade
[same as above]


For reference:



$ uname -a

Linux HOSTNAME 3.16.0-50-generic #67~14.04.1-Ubuntu SMP
Fri Oct 2 22:07:51 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
$ lsb_release -a | grep -i descript
Description: Ubuntu 14.04.4 LTS


I remain stuck at 14.04.4, the 2016-02-18 Trusty point-release.
My system is stable, but it won't budge from point-release version 14.04.4, and it's been weeks since I last got even a security update. Updates are installed from:





  • Important security updates (trusty-security)

  • Recommended updates (trusty-updates)

  • Unsupported updates (trusty-backports)



"trusty-proposed" is off.



Packages are downloaded from the internet via:





  • Canonical-supported free and open-source software (main)

  • Community-maintained free and open-source software (universe)

  • Proprietary drivers for devices (restricted)

  • Software-restricted by copyright or legal issues (multiverse)



Mining the web for answers, I did find one instance of the same issue. I eventually got to one of the Trusty release-notes page. Quote:




By default, the 14.04.5 point release will ship with a newer 4.4 Linux

kernel from Ubuntu 16.04, and a matching X.org stack. This is based on
the 4.4.0 Extended Upstream Stable Kernel Release. The purpose of
providing a newer kernel in the 14.04.5 point release is for hardware
enablement.




and also:




Anyone wishing to opt into the hardware enablement stack for Trusty

may do so by running following command which will install the
linux-generic-lts-xenial and xserver-xorg-lts-xenial packages:



$ sudo apt-get install --install-recommends linux-generic-lts-xenial
xserver-xorg-core-lts-xenial xserver-xorg-lts-xenial
xserver-xorg-video-all-lts-xenial xserver-xorg-input-all-lts-xenial
libwayland-egl1-mesa-lts-xenial

and





The cmd yields:



Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package linux-generic-lts-xenial
E: Unable to locate package xserver-xorg-core-lts-xenial
E: Unable to locate package xserver-xorg-lts-xenial
E: Unable to locate package xserver-xorg-video-all-lts-xenial
E: Unable to locate package xserver-xorg-input-all-lts-xenial

E: Unable to locate package libwayland-egl1-mesa-lts-xenial


Posts [3],[4] (...) on the subject were not helpful, although in the latter @minerz029 recommends going to packages.ubuntu.com with a web browser to "Search package directories". Packages' availability results are:




  • Package linux-generic-lts-xenial
    Exact hits:
    trusty-updates (kernel): Complete Generic Linux kernel and headers
    4.4.0.36.26: amd64 arm64 armhf i386 ppc64el


  • Package xserver-xorg-core-lts-xenial
    Exact hits:
    trusty-updates (x11): Xorg X server - core server
    2:1.18.3-1ubuntu2.2~trusty3: amd64 arm64 armhf i386 powerpc ppc64el


  • Package xserver-xorg-lts-xenial
    Exact hits:
    trusty-updates (x11): X.Org X server
    1:7.7+13ubuntu3~trusty2: amd64 arm64 armhf i386 powerpc ppc64el


  • Package xserver-xorg-video-all-lts-xenial
    Exact hits:
    trusty-updates (x11): X.Org X server -- output driver metapackage
    1:7.7+13ubuntu3~trusty2: amd64 arm64 armhf i386 powerpc ppc64el



  • Package xserver-xorg-input-all-lts-xenial
    Exact hits:
    trusty-updates (x11): X.Org X server -- input driver metapackage
    1:7.7+13ubuntu3~trusty2: amd64 arm64 armhf i386 powerpc ppc64el


  • Package libwayland-egl1-mesa-lts-xenial
    Exact hits:
    trusty-updates (libs): implementation of the Wayland EGL platform -- runtime
    11.2.0-1ubuntu2~trusty1: amd64 arm64 armhf i386 powerpc ppc64el




All packages are available. And I am still stuck. I'd like to understand.



EDIT:
I also found ubuntu kernel release schedule



Not sure but it may point to one inconsistency in my setup. I run on kernel 3.16.0-50-generic which seems to correspond to release 14.10 and not to 14.04. Is this an upgrade path issue ? If so, how do I correct that ?




I change mirrors for package updates. Suddenly I had a pending update of 350 packages accumulated over the past 12 months.



An few minutes after completion of that first round I had several security update and about an hour later a point-release update to 14.04.5.



It looks like my old mirror had not been updating its vault in the past year or so.


boot - Ubuntu 14.04 booting stuck at loading screen


I have been using Ubuntu 14.04 for 6 months. Suddenly when I boot up the machine,
the booting process get stuck at Ubuntu's loading splash screen.


Loading screen img


I opened the terminal (Ctrl+Alt+F2) and commented out the GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" line from the grub and updated it,
so that I could see the booting process instead of the Ubuntu Splash screen.
From there, I found out that the booting process stops after the following
command:


* Restoring resolver state....       [OK]
* Stopping anac(h)ronistic crom [OK]

Any kind of help will be appreciated, many thanks!


EDIT:


After rebooting several times, it is seen that the boot does not stops at Stoopping anac(h)ronistic crom everytime. Sometimes it stops at


saned disabled; edit /etc/default/saned
* Restoring resolver state... [OK]
* Starting ACPI daemon [OK]
* Staring regular background processing daemon [OK]
* Starting CPU interrupts balancing daemon [OK]
* Stopping System V runlevel compatibility [OK]

and sometimes at:


saned disabled; edit /etc/default/saned
* Restoring resolver state... [OK]
* Starting ACPI daemon [OK]
* Staring regular background processing daemon [OK]
* Starting CPU interrupts balancing daemon [OK]
* Stopping System V runlevel compatibility [OK]
* Stopping network connection manager [OK]
* Starting SMB/CIFS File and Active Directory Server [OK]


I solved the problem by logging in ( Ctrl+Alt+F2 ) and then upgrading, via sudo apt-get upgrade.


I would assume that some of the files somehow got corrupted previously because of some incomplete update or something similar, and upgrading it properly makes everything work as it should.


networking - WiFi for HP 17-y020ca under Ubuntu 16.04 always either disabled or "not ready"



I recently purchased an HP Notebook 17-y020ca and installed XUbuntu 16.04. This notebook has a Broadcom Corporation BCM43142 wireless card.



This wireless card was not originally detected (but the ethernet card worked fine), and I followed the instructions at:



Is it possible to use Broadcom BCM43142 wifi in Ubuntu 16.04?



and now the card appears to be generally detected, and "Enable WiFi" is given as an active (non-greyed-out) option in my Networking menu in XFCE.




When I DO click "Enable WiFi" this menu will often change the status to indicate that it is enabled via a checkmark next to "Enable WiFi". However, when this happens, one of two things happen further up in the menu. Either it says:



"Wi-Fi is disabled"
or
"Wi-Fi not ready"



I ran the wireless-info.bash script and include below.



I would be truly grateful for any suggestions that anyone could give. I much appreciate your consideration!




Sincerely, Nathaniel Osgood



########## wireless info START ##########

Report from: 27 Jun 2016 11:59 CST -0600
Booted last: 27 Jun 2016 00:00 CST -0600
Script from: 26 May 2016 21:56 UTC +0000

##### release ###########################


Distributor ID: Ubuntu
Description: Ubuntu 16.04 LTS
Release: 16.04
Codename: xenial

##### kernel ############################

Linux 4.4.0-21-generic #37-Ubuntu SMP Mon Apr 18 18:33:37 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

Parameters: ro, quiet, splash, vt.handoff=7


##### desktop ###########################

Xubuntu (from ~/.dmrc)

##### lspci #############################

01:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller [10ec:8136] (rev 07)
DeviceName: RTL8166 Lan Connection
Subsystem: Hewlett-Packard Company RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller [103c:8221]


02:00.0 Network controller [0280]: Broadcom Corporation BCM43142 802.11b/g/n [14e4:4365] (rev 01)
DeviceName: WLAN Broadcom 43142 bgn 1x1
Subsystem: Hewlett-Packard Company BCM43142 802.11b/g/n [103c:804a]

##### lsusb #############################

Bus 001 Device 002: ID 0438:7900 Advanced Micro Devices, Inc.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub

Bus 002 Device 003: ID 05c8:038f Cheng Uei Precision Industry Co., Ltd (Foxlink)
Bus 002 Device 002: ID 0a5c:216d Broadcom Corp.
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

##### PCMCIA card info ##################

##### rfkill ############################

0: hci0: Bluetooth
Soft blocked: no

Hard blocked: no
1: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
2: brcmwl-0: Wireless LAN
Soft blocked: no
Hard blocked: no
3: acer-wireless: Wireless LAN
Soft blocked: yes
Hard blocked: no


##### lsmod #############################

acer_wmi 20480 0
hp_wmi 16384 0
sparse_keymap 16384 2 acer_wmi,hp_wmi
wl 6365184 0
cfg80211 565248 1 wl
wmi 20480 2 acer_wmi,hp_wmi
video 40960 1 acer_wmi


##### interfaces ########################

auto lo
iface lo inet loopback

##### ifconfig ##########################

eno1 Link encap:Ethernet HWaddr
UP BROADCAST MULTICAST MTU:1500 Metric:1

RX packets:1554 errors:0 dropped:0 overruns:0 frame:0
TX packets:1545 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:634941 (634.9 KB) TX bytes:364653 (364.6 KB)

wlo1 Link encap:Ethernet HWaddr
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000

RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:228

##### iwconfig ##########################

eno1 no wireless extensions.

lo no wireless extensions.

wlo1 IEEE 802.11abg ESSID:off/any

Mode:Managed Access Point: Not-Associated Tx-Power=200 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off


##### route #############################

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface


##### resolv.conf #######################

nameserver 127.0.1.1

##### network managers ##################

Installed:

NetworkManager


Running:

root 793 1 0 11:49 ? 00:00:00 /usr/sbin/NetworkManager --no-daemon

##### NetworkManager info ###############

GENERAL.DEVICE: eno1
GENERAL.TYPE: ethernet
GENERAL.NM-TYPE: NMDeviceEthernet

GENERAL.VENDOR: Realtek Semiconductor Co., Ltd.
GENERAL.PRODUCT: RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller
GENERAL.DRIVER: r8169
GENERAL.DRIVER-VERSION: 2.3LK-NAPI
GENERAL.FIRMWARE-VERSION:
GENERAL.HWADDR:
GENERAL.MTU: 1500
GENERAL.STATE: 20 (unavailable)
GENERAL.REASON: 40 (Carrier/link changed)
GENERAL.UDI: /sys/devices/pci0000:00/0000:00:02.2/0000:01:00.0/net/eno1

GENERAL.IP-IFACE:
GENERAL.IS-SOFTWARE: no
GENERAL.NM-MANAGED: yes
GENERAL.AUTOCONNECT: yes
GENERAL.FIRMWARE-MISSING: no
GENERAL.NM-PLUGIN-MISSING: no
GENERAL.PHYS-PORT-ID: --
GENERAL.CONNECTION: --
GENERAL.CON-UUID: --
GENERAL.CON-PATH: --

GENERAL.METERED: unknown
CAPABILITIES.CARRIER-DETECT: yes
CAPABILITIES.SPEED: 100 Mb/s
CAPABILITIES.IS-SOFTWARE: no
WIRED-PROPERTIES.CARRIER: off
CONNECTIONS.AVAILABLE-CONNECTION-PATHS:

GENERAL.DEVICE: wlo1
GENERAL.TYPE: wifi
GENERAL.NM-TYPE: NMDeviceWifi

GENERAL.VENDOR: Broadcom Corporation
GENERAL.PRODUCT: BCM43142 802.11b/g/n
GENERAL.DRIVER: wl
GENERAL.DRIVER-VERSION: 6.30.223.248 (r487574)
GENERAL.FIRMWARE-VERSION:
GENERAL.HWADDR:
GENERAL.MTU: 1500
GENERAL.STATE: 20 (unavailable)
GENERAL.REASON: 0 (No reason given)
GENERAL.UDI: /sys/devices/pci0000:00/0000:00:02.3/0000:02:00.0/net/wlo1

GENERAL.IP-IFACE:
GENERAL.IS-SOFTWARE: no
GENERAL.NM-MANAGED: yes
GENERAL.AUTOCONNECT: yes
GENERAL.FIRMWARE-MISSING: no
GENERAL.NM-PLUGIN-MISSING: no
GENERAL.PHYS-PORT-ID: --
GENERAL.CONNECTION: --
GENERAL.CON-UUID: --
GENERAL.CON-PATH: --

GENERAL.METERED: unknown
CAPABILITIES.CARRIER-DETECT: no
CAPABILITIES.SPEED: unknown
CAPABILITIES.IS-SOFTWARE: no
WIFI-PROPERTIES.WEP: yes
WIFI-PROPERTIES.WPA: yes
WIFI-PROPERTIES.WPA2: yes
WIFI-PROPERTIES.TKIP: yes
WIFI-PROPERTIES.CCMP: yes
WIFI-PROPERTIES.AP: no

WIFI-PROPERTIES.ADHOC: yes
WIFI-PROPERTIES.2GHZ: yes
WIFI-PROPERTIES.5GHZ: yes
CONNECTIONS.AVAILABLE-CONNECTION-PATHS:

SSID BSSID MODE CHAN FREQ RATE SIGNAL BARS SECURITY ACTIVE *

##### NetworkManager.state ##############

[main]

NetworkingEnabled=true
WirelessEnabled=true
WWANEnabled=true

##### NetworkManager.conf ###############

[main]
plugins=ifupdown,keyfile,ofono
dns=dnsmasq


[ifupdown]
managed=false

##### NetworkManager profiles ###########

##### iw reg get ########################

Region: America/Regina (based on set time zone)

country 00: DFS-UNSET

(2402 - 2472 @ 40), (N/A, 20), (N/A)
(2457 - 2482 @ 40), (N/A, 20), (N/A), NO-IR
(2474 - 2494 @ 20), (N/A, 20), (N/A), NO-OFDM, NO-IR
(5170 - 5250 @ 80), (N/A, 20), (N/A), NO-IR
(5250 - 5330 @ 80), (N/A, 20), (0 ms), DFS, NO-IR
(5490 - 5730 @ 160), (N/A, 20), (0 ms), DFS, NO-IR
(5735 - 5835 @ 80), (N/A, 20), (N/A), NO-IR
(57240 - 63720 @ 2160), (N/A, 0), (N/A)

##### iwlist channels ###################


eno1 no frequency information.

lo no frequency information.

wlo1 32 channels in total; available frequencies :
Channel 01 : 2.412 GHz
Channel 02 : 2.417 GHz
Channel 03 : 2.422 GHz
Channel 04 : 2.427 GHz

Channel 05 : 2.432 GHz
Channel 06 : 2.437 GHz
Channel 07 : 2.442 GHz
Channel 08 : 2.447 GHz
Channel 09 : 2.452 GHz
Channel 10 : 2.457 GHz
Channel 11 : 2.462 GHz
Channel 12 : 2.467 GHz
Channel 13 : 2.472 GHz
Channel 14 : 2.484 GHz

Channel 36 : 5.18 GHz
Channel 38 : 5.19 GHz
Channel 40 : 5.2 GHz
Channel 42 : 5.21 GHz
Channel 44 : 5.22 GHz
Channel 46 : 5.23 GHz
Channel 48 : 5.24 GHz
Channel 52 : 5.26 GHz
Channel 56 : 5.28 GHz
Channel 60 : 5.3 GHz

Channel 64 : 5.32 GHz
Channel 100 : 5.5 GHz
Channel 104 : 5.52 GHz
Channel 108 : 5.54 GHz
Channel 112 : 5.56 GHz
Channel 116 : 5.58 GHz
Channel 120 : 5.6 GHz
Channel 124 : 5.62 GHz

##### iwlist scan #######################


wlo1 Interface doesn't support scanning : Network is down

eno1 Interface doesn't support scanning.

lo Interface doesn't support scanning.

##### module infos ######################

[wl]

filename: /lib/modules/4.4.0-21-generic/updates/dkms/wl.ko
license: MIXED/Proprietary
srcversion: 4DDC5FCDB1E30F7DFDCA530
depends: cfg80211
vermagic: 4.4.0-21-generic SMP mod_unload modversions
parm: passivemode:int
parm: wl_txq_thresh:int
parm: oneonly:int
parm: piomode:int
parm: instance_base:int

parm: nompc:int
parm: intf_name:string

[cfg80211]
filename: /lib/modules/4.4.0-21-generic/kernel/net/wireless/cfg80211.ko
description: wireless configuration support
license: GPL
author: Johannes Berg
srcversion: 00D8DA6D3B739DDD31FFF50
depends:

intree: Y
vermagic: 4.4.0-21-generic SMP mod_unload modversions
parm: ieee80211_regdom:IEEE 802.11 regulatory domain code (charp)
parm: cfg80211_disable_40mhz_24ghz:Disable 40MHz support in the 2.4GHz band (bool)

##### module parameters #################

[cfg80211]
cfg80211_disable_40mhz_24ghz: N
ieee80211_regdom: 00


##### /etc/modules ######################

##### modprobe options ##################

[/etc/modprobe.d/blacklist-ath_pci.conf]
blacklist ath_pci

[/etc/modprobe.d/blacklist-bcm43.conf]
blacklist b43

blacklist b43legacy
blacklist ssb
blacklist bcm43xx
blacklist brcm80211
blacklist brcmfmac
blacklist brcmsmac
blacklist bcma

[/etc/modprobe.d/blacklist.conf]
blacklist evbug

blacklist usbmouse
blacklist usbkbd
blacklist eepro100
blacklist de4x5
blacklist eth1394
blacklist snd_intel8x0m
blacklist snd_aw2
blacklist i2c_i801
blacklist prism54
blacklist bcm43xx

blacklist garmin_gps
blacklist asus_acpi
blacklist snd_pcsp
blacklist pcspkr
blacklist amd76x_edac

[/etc/modprobe.d/blacklist-rare-network.conf]
alias net-pf-3 off
alias net-pf-6 off
alias net-pf-9 off

alias net-pf-11 off
alias net-pf-12 off
alias net-pf-19 off
alias net-pf-21 off
alias net-pf-36 off

[/etc/modprobe.d/iwlwifi.conf]
remove iwlwifi \
(/sbin/lsmod | grep -o -e ^iwlmvm -e ^iwldvm -e ^iwlwifi | xargs /sbin/rmmod) \
&& /sbin/modprobe -r mac80211


[/etc/modprobe.d/mlx4.conf]
softdep mlx4_core post: mlx4_en

##### rc.local ##########################

exit 0

##### pm-utils ##########################


##### udev rules ########################

##### dmesg #############################

[ 12.989617] bluetooth hci0: Direct firmware load for brcm/BCM.hcd failed with error -2
[ 12.989627] Bluetooth: hci0: BCM: Patch brcm/BCM.hcd not found
[ 13.010399] wl: module license 'MIXED/Proprietary' taints kernel.
[ 13.015143] wl: module verification failed: signature and/or required key missing - tainting kernel
[ 13.372937] wlan0: Broadcom BCM4365 802.11 Hybrid Wireless Controller 6.30.223.248 (r487574)
[ 14.585653] wl 0000:02:00.0 wlo1: renamed from wlan0

[ 15.477355] IPv6: ADDRCONF(NETDEV_UP): wlo1: link is not ready
[ 15.483048] IPv6: ADDRCONF(NETDEV_UP): eno1: link is not ready
[ 15.665397] r8169 0000:01:00.0 eno1: link down (repeated 2 times)
[ 15.665478] IPv6: ADDRCONF(NETDEV_UP): eno1: link is not ready
[ 17.272949] r8169 0000:01:00.0 eno1: link up
[ 17.273002] IPv6: ADDRCONF(NETDEV_CHANGE): eno1: link becomes ready
[ 134.246145] r8169 0000:01:00.0 eno1: link down
[ 210.833497] r8169 0000:01:00.0 eno1: link up
[ 536.696508] r8169 0000:01:00.0 eno1: link down


########## wireless info END ############


This can be fixed by a terminal command



sudo tee /etc/modprobe.d/blacklist_acer.conf <<< "blacklist acer_wmi"


Wi-Fi should work after a reboot.


10.10 - Dual booting on separate hard drives

I have windows XP professional installed on 1 hard drive and Ubuntu 10.10 on my second hard drive.
On start up the computer completely skips the grub menu and boots straight into 10.10.


I have tried running os-prober with the windows hard drive mounted and then updating grub but it didnt work.


Any ideas?


I have changed the boot order so that the HDD with xp on it is first however the computer still booted into linux.


I tried running grub-install /dev/sda and got this


/usr/sbin/grub-setup: warn: Sector 32 is already in use by FlexNet; avoiding it.  This software may cause boot or other problems in future.  Please ask its authors not to store data in the boot track..
/usr/sbin/grub-setup: warn: Sector 33 is already in use by FlexNet; avoiding it. This software may cause boot or other problems in future. Please ask its authors not to store data in the boot track..
Installation finished. No error reported

I checked using disk utility and the code for my xp hard drive is sdb so i ran the camand grub-install /dev/sdb shich gave me this


Installation finished. No error reported.

So i rebooted but it still didnt work.


Any other ideas?


Additional info


gedit /boot/grub/grub.cfg:


#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
set have_grubenv=true
load_env
fi
set default="0"
if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi
function savedefault {
if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
}
function recordfail {
set recordfail=1
if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
}
function load_video {
insmod vbe
insmod vga
}
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set d682c9bd-dd89-4827-9802-a1f921ebe21c
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=640x480
load_video
insmod gfxterm
fi
terminal_output gfxterm
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set d682c9bd-dd89-4827-9802-a1f921ebe21c
set locale_dir=($root)/boot/grub/locale
set lang=en
insmod gettext
if [ "${recordfail}" = 1 ]; then
set timeout=-1
else
set timeout=10
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
### END /etc/grub.d/05_debian_theme ###
### BEGIN /etc/grub.d/10_linux ###
menuentry 'Ubuntu, with Linux 2.6.35-28-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set d682c9bd-dd89-4827-9802-a1f921ebe21c
linux /boot/vmlinuz-2.6.35-28-generic root=UUID=d682c9bd-dd89-4827-9802-a1f921ebe21c ro quiet splash
initrd /boot/initrd.img-2.6.35-28-generic
}
menuentry 'Ubuntu, with Linux 2.6.35-28-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set d682c9bd-dd89-4827-9802-a1f921ebe21c
echo 'Loading Linux 2.6.35-28-generic ...'
linux /boot/vmlinuz-2.6.35-28-generic root=UUID=d682c9bd-dd89-4827-9802-a1f921ebe21c ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.35-28-generic
}
menuentry 'Ubuntu, with Linux 2.6.35-22-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set d682c9bd-dd89-4827-9802-a1f921ebe21c
linux /boot/vmlinuz-2.6.35-22-generic root=UUID=d682c9bd-dd89-4827-9802-a1f921ebe21c ro quiet splash
initrd /boot/initrd.img-2.6.35-22-generic
}
menuentry 'Ubuntu, with Linux 2.6.35-22-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set d682c9bd-dd89-4827-9802-a1f921ebe21c
echo 'Loading Linux 2.6.35-22-generic ...'
linux /boot/vmlinuz-2.6.35-22-generic root=UUID=d682c9bd-dd89-4827-9802-a1f921ebe21c ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.35-22-generic
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set d682c9bd-dd89-4827-9802-a1f921ebe21c
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set d682c9bd-dd89-4827-9802-a1f921ebe21c
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/30_os-prober ###
if [ "x${timeout}" != "x-1" ]; then
if keystatus; then
if keystatus --shift; then
set timeout=-1
else
set timeout=0
fi
else
if sleep --interruptible 3 ; then
set timeout=0
fi
fi
fi
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###
### BEGIN /etc/grub.d/41_custom ###
if [ -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###

sudo fdisk -l:


Disk /dev/sda: 80.1 GB, 80060424192 bytes
255 heads, 63 sectors/track, 9733 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0008a483
Device Boot Start End Blocks Id System
/dev/sda1 * 1 9352 75112448 83 Linux
/dev/sda2 9352 9734 3068929 5 Extended
/dev/sda5 9352 9734 3068928 82 Linux swap / Solaris
Disk /dev/sdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xc5d6c5d6
Device Boot Start End Blocks Id System
/dev/sdb1 1 60800 488375968+ 7 HPFS/NTFS

sudo blkid


/dev/sda1: UUID="d682c9bd-dd89-4827-9802-a1f921ebe21c" TYPE="ext4"
/dev/sda5: UUID="09e9c2cb-d903-4f0b-a181-536951845231" TYPE="swap"
/dev/sdb1: UUID="B21844EB1844AFE1" TYPE="ntfs"

sudo os-prober


(nothing)


  Boot Info Script 0.55    dated February 15th, 2010
============================= Boot Info Summary: ==============================
=> Grub 2 is installed in the MBR of /dev/sda and looks on the same drive in
partition #1 for (,msdos1)/boot/grub.
=> Grub 2 is installed in the MBR of /dev/sdb and looks on the same drive in
partition #1 for (,msdos1)/boot/grub.
sda1: _________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 10.10
Boot files/dirs: /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img
sda2: _________________________________________________________________________
File system: Extended Partition
Boot sector type: Unknown
Boot sector info:
sda5: _________________________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:
sdb1: _________________________________________________________________________
File system: ntfs
Boot sector type: Windows XP
Boot sector info: No errors found in the Boot Parameter Block.
Operating System: Windows XP
Boot files/dirs:
=========================== Drive/Partition Info: =============================
Drive: sda ___________________ _____________________________________________________
Disk /dev/sda: 80.1 GB, 80060424192 bytes
255 heads, 63 sectors/track, 9733 cylinders, total 156368016 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
Partition Boot Start End Size Id System
/dev/sda1 * 2,048 150,226,943 150,224,896 83 Linux
/dev/sda2 150,228,990 156,366,847 6,137,858 5 Extended
/dev/sda5 150,228,992 156,366,847 6,137,856 82 Linux swap / Solaris
Drive: sdb ___________________ _____________________________________________________
Disk /dev/sdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
Partition Boot Start End Size Id System
/dev/sdb1 * 63 976,751,999 976,751,937 7 HPFS/NTFS
blkid -c /dev/null: ____________________________________________________________
Device UUID TYPE LABEL
/dev/sda1 d682c9bd-dd89-4827-9802-a1f921ebe21c ext4
/dev/sda2: PTTYPE="dos"
/dev/sda5 09e9c2cb-d903-4f0b-a181-536951845231 swap
/dev/sda: PTTYPE="dos"
/dev/sdb1 B21844EB1844AFE1 ntfs
/dev/sdb: PTTYPE="dos"
============================ "mount | grep ^/dev output: ===========================
Device Mount_Point Type Options
/dev/sda1 / ext4 (rw,errors=remount-ro,commit=0)
=========================== sda1/boot/grub/grub.cfg: ===========================
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
set have_grubenv=true
load_env
fi
set default="0"
if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi
function savedefault {
if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
}
function recordfail {
set recordfail=1
if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
}
function load_video {
insmod vbe
insmod vga
}
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set d682c9bd-dd89-4827-9802-a1f921ebe21c
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=640x480
load_video
insmod gfxterm
fi
terminal_output gfxterm
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set d682c9bd-dd89-4827-9802-a1f921ebe21c
set locale_dir=($root)/boot/grub/locale
set lang=en
insmod gettext
if [ "${recordfail}" = 1 ]; then
set timeout=-1
else
set timeout=10
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
### END /etc/grub.d/05_debian_theme ###
### BEGIN /etc/grub.d/10_linux ###
menuentry 'Ubuntu, with Linux 2.6.35-28-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set d682c9bd-dd89-4827-9802-a1f921ebe21c
linux /boot/vmlinuz-2.6.35-28-generic root=UUID=d682c9bd-dd89-4827-9802-a1f921ebe21c ro quiet splash
initrd /boot/initrd.img-2.6.35-28-generic
}
menuentry 'Ubuntu, with Linux 2.6.35-28-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set d682c9bd-dd89-4827-9802-a1f921ebe21c
echo 'Loading Linux 2.6.35-28-generic ...'
linux /boot/vmlinuz-2.6.35-28-generic root=UUID=d682c9bd-dd89-4827-9802-a1f921ebe21c ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.35-28-generic
}
menuentry 'Ubuntu, with Linux 2.6.35-22-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set d682c9bd-dd89-4827-9802-a1f921ebe21c
linux /boot/vmlinuz-2.6.35-22-generic root=UUID=d682c9bd-dd89-4827-9802-a1f921ebe21c ro quiet splash
initrd /boot/initrd.img-2.6.35-22-generic
}
menuentry 'Ubuntu, with Linux 2.6.35-22-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set d682c9bd-dd89-4827-9802-a1f921ebe21c
echo 'Loading Linux 2.6.35-22-generic ...'
linux /boot/vmlinuz-2.6.35-22-generic root=UUID=d682c9bd-dd89-4827-9802-a1f921ebe21c ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.35-22-generic
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set d682c9bd-dd89-4827-9802-a1f921ebe21c
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set d682c9bd-dd89-4827-9802-a1f921ebe21c
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/30_os-prober ###
if [ "x${timeout}" != "x-1" ]; then
if keystatus; then
if keystatus --shift; then
set timeout=-1
else
set timeout=0
fi
else
if sleep --interruptible 3 ; then
set timeout=0
fi
fi
fi
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
menuentry "Windows XP" {
set root=(hd1,1)
chainloader (hd1,1)+1
}
### END /etc/grub.d/40_custom ###
### BEGIN /etc/grub.d/41_custom ###
if [ -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
=============================== sda1/etc/fstab: ===============================
# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
#
proc /proc proc nodev,noexec,nosuid 0 0
/dev/sda1 / ext4 errors=remount-ro 0 1
# swap was on /dev/sda5 during installation
UUID=09e9c2cb-d903-4f0b-a181-536951845231 none swap sw 0 0
=================== sda1: Location of files loaded by Grub: ===================
51.7GB: boot/grub/core.img
58.5GB: boot/grub/grub.cfg
1.2GB: boot/initrd.img-2.6.35-22-generic
1.3GB: boot/initrd.img-2.6.35-28-generic
58.2GB: boot/vmlinuz-2.6.35-22-generic
51.7GB: boot/vmlinuz-2.6.35-28-generic
1.3GB: initrd.img
1.2GB: initrd.img.old
51.7GB: vmlinuz
58.2GB: vmlinuz.old
=========================== Unknown MBRs/Boot Sectors/etc =======================
Unknown BootLoader on sda2
00000000 d9 ed 13 ab ff a8 33 8c 01 b2 47 99 e1 4a b1 f1 |......3...G..J..|
00000010 69 5f a7 29 a4 1a 03 9e 31 b9 45 02 71 e6 58 78 |i_.)....1.E.q.Xx|
00000020 3d f6 ee 7b 3e 33 1b 82 c6 7d cf 1a c8 e7 bc 2f |=..{>3...}...../|
00000030 b9 e1 70 75 cf 18 aa e7 d5 7e 3c f1 b4 e7 9e 3a |..pu.....~<....:|
00000040 55 38 f1 b4 ee 78 59 0b 5e f7 3c 4c 57 73 9c 2a |U8...xY.^.00000050 28 f1 19 ed 11 9c b2 19 e2 80 92 1c 7b 84 ee 0b |(...........{...|
00000060 e2 c0 ac af 0a 50 42 b9 cf 0c dc 2c 20 77 85 dc |.....PB...., w..|
00000070 8f 70 5f 7b 84 9b a1 f7 8c 2d ee 70 5c ae f7 39 |.p_{.....-.p\..9|
00000080 63 f7 09 8a ec 79 4c ed 9f cc ad 3c f8 1b 47 7d |c....yL....<..G}|
00000090 3f 97 d5 16 cb 29 45 38 25 61 36 08 de 10 93 0f |?....)E8%a6.....|
000000a0 95 4f ea 54 f9 89 ff f1 bf 9a cc bb fd b6 22 b1 |.O.T..........".|
000000b0 65 08 05 21 78 19 46 b0 24 7e fb de d4 b3 ba d6 |e..!x.F.$~......|
000000c0 ec 11 65 82 ee 10 1d 12 04 91 da 6d 67 47 ea 9b |..e........mgG..|
000000d0 6f b0 aa fb cb 67 10 64 86 e8 26 85 fb f9 50 77 |o....g.d..&...Pw|
000000e0 9d 13 9b 9e d9 11 f3 a1 50 1b 11 b7 93 79 9f ab |........P....y..|
000000f0 c1 b6 86 0f 35 ed d4 9f dc f8 db bd ed 45 3a 68 |....5........E:h|
00000100 54 68 4a 1d d1 fc b8 c9 72 b4 d7 7b 60 e7 39 2f |ThJ.....r..{`.9/|
00000110 2a 0a 4e 52 72 52 c6 e2 2a 55 6a 2a e1 82 40 71 |*.NRrR..*Uj*..@q|
00000120 11 11 e0 53 d6 ff 1b a9 c6 65 df 1e b7 15 6f a2 |...S.....e....o.|
00000130 15 02 a4 6d 19 b7 78 57 a6 ee 9e 36 08 7d 6f 7c |...m..xW...6.}o||
00000140 fd f7 7c d5 40 ff 0f c7 97 dc aa 00 ce 8b bb dc |..|.@...........|
00000150 e2 eb 1c 50 74 d8 14 cc 9a d6 5c a2 ab f2 67 f9 |...Pt.....\...g.|
00000160 58 ed 43 79 0e 78 7a 5c a6 f8 7b e8 05 4e 62 8a |X.Cy.xz\..{..Nb.|
00000170 0a 5f 22 ee a6 38 b9 e1 32 45 97 08 cc 75 66 c6 |._"..8..2E...uf.|
00000180 b3 a2 2d 89 a1 e9 95 21 28 53 fd dd be b1 b2 a2 |..-....!(S......|
00000190 78 3f a3 c9 3d e3 31 54 88 cf 78 0d e1 21 a8 74 |x?..=.1T..x..!.t|
000001a0 06 60 9d 21 c6 7a 24 e1 cc 28 f8 98 e0 99 e3 fc |.`.!.z$..(......|
000001b0 fa 8b eb d5 56 03 20 b8 54 ba c6 ee 9f 57 00 fe |....V. .T....W..|
000001c0 ff ff 82 fe ff ff 02 00 00 00 00 a8 5d 00 00 00 |............]...|
000001d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
00000200

Thursday, July 27, 2017

ubuntu live-usb doesn't save settings

When I boot my laptop using my live-usb, and then change the settings (e.g. desktop wallpaper) and then reboot, the settings go back to default. How do I make the live-usb save the settings?

Read command line arguments from a file



Directory structure:



/home
---ubuntu

------projects
---------project1
---------project2
---------project3
------.ignore


.ignore:



*project1* *project2*



If I run:



zip -r zipush.zip projects -x "$(< .ignore)"


Then it creates a zip containting all three projects - which is a wrong result. I want it to ignore project1 and project2.



However, it does work well when I write the arguments explicitly:




zip -r zipush.zip projects -x *project1* *project2*


But I don't understand why, because "$(< .ignore)" seems to work well when I type for example:



echo "$(< .ignore)"


Output:




 *project1* *project2*


First, change your .ignore file to this:



project1/*
project2/*



Second, change your -x switch to -x@.ignore.


release management - Is it possible to skip an LTS upgrade?



If you want to upgrade from 10.10 to 12.04, then you'll need to follow the upgrade path; 10.10 > 11.04 > 11.10 > 12.04. However, with LTS versions, you can upgrade directly, so that you can upgrade from 10.04LTS to 12.04LTS directly.



But now, LTS versions are supported for five years while there's still a new LTS every two years. That means you can choose to skip an LTS. So the question is; will I be able to upgrade from 12.04LTS to 16.04LTS directly, or will I then have to follow the LTS upgrade path; 12.04 > 14.04 > 16.04?




I decided to drop Mark Shuttleworth a comment on his blog.



My Question:




Mark – its not clear what the LTS upgrade strategy is beyond 12.04.



i.e. – could a 12.04 business jump to 16.04 directly – i.e. plan to
upgrade in 4 years time?





and Mark's response:




We support LTS-to-LTS upgrades, so yes, you could stay on 12.04 LTS,
then move to 16.04 LTS (in our current testing plan we would test the
migration from 12.04 to 14.04 and then to 16.04, not directly).




Thus, any business on 12.04 LTS staying for 4 to 5 years, their upgrade plan would be first 14.04 LTS and staying with that for the 3-4 years that LTS gives, or to plan a double upgrade - 14.04 and then 16.04.



nvidia - Can't login after installing graphics driver?

After updating the bios and installing Ubuntu 16.04 I went to install the Nvidia 375 graphics driver for my Nvidia Geforce GTX 1080 graphics card. Everything appeared to install correctly so I went to restart the computer to complete installation.



On reaching the login screen I attempt to login but am displayed with this message:

"/dev/sda2: clean, 223731/20229632 files, 3079056/112906752 blocks"



The message appears for less than a second before I am returned to the login screen.



I found the following questions with the same issue:
My Ubuntu is running fsck on every bootup
/dev/sda1: clean, 220240/30269440 file, 2971359/121076736 blocks
Startup problem in 16.04?



I failed to identify a conclusive solution regarding these problems however. I am probably just being dumb though. I am new to Ubuntu so please try to explain simply if possible. Thank you ^-^

grub2 - Unable to boot Windows 7 after Ubuntu 12.10 update

I have a Dell Vostro 3360 with 500GB+32GB SSD and I've installed dual boot Windows 7/Ubuntu 12.10. Everything worked fine till I upgraded the kernel version as I noticed that Windows 7 from GRUB menu disappeared.



I've tried several ways and hours to solve it but, I cannot make Windows 7 boot again.



Boot-repair (from Ubunutu or LiveCD) didn't solve the issue as it seems it doesn't see the Windows installation. Here it is the pastebin:




http://paste.ubuntu.com/1669486/



I even added manually the entries using Grub Customizer to boot directly from /sda3, but the error returned is "bootmngr is missing". Using a windows 7 recovery disk, the Startup Recovery option doesn't solve anything. Also, it doesn't see the previous Windows installation. The windows partition is already active (marked as boot) as I tried the solution from other posts.



Restoring MBR using Boot-repair for the first time, I was able to resume Windows (hibernation), but after shutdown I was no more able to boot in Windows. In that case, I think the Intel Rapid Start it was used as it for hibernation. Thus, I'm pretty sure that this technology is messing up the grub and booting as Boot-repair reports:



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

=> Grub2 (v2.00) is installed in the MBR of /dev/sda and looks at sector 1 of

the same hard drive for core.img. core.img is at this location and looks
in partition 1 for (,msdos5)/boot/grub.
=> Windows 7/8/2012 is installed in the MBR of /dev/sdb.

(sdb is the 32GB SSD).


As a last chance, I've even tried restoring the Dell factory image, but besides wiping my Windows, it didn't help at all.



Right now, I am out of solutions. If somebody has other ideas to try, it will be much appreciated.




Thank you!

wine - Running Age of Empires 2 in Linux

I've been recently trying to play Age of Empires 2 on my Linux Ubuntu 12.04 LTS computer. However, I can't seem to get it to work with any method i found on the computer. I've tried Playonlinux, however, when i try to play it, a message comes up saying that there has been an internal error. I've also tried doing it though virtualbox and installing it onto a virtual version of windows xp. However, after it completes the install, it tell me that there is no CD in the disk drive and that I should insert it and restart the application. If anyone has a way I haven't tried yet or something that I could have missed please let me know. Thanks.

16.04 - How can I create my own OS by customizing Ubuntu?

I tried customizing by using different customization tools and by removing different packages at different trials, but none of it worked properly!



The tools that I tried are Cubic, PinguyBuilder, optimizer, UCK, OS Builder.



What I want to do is to remove all packages given by Ubuntu and make a clean ISO image and what I tried is removed some packages like libreoffice related packages, firefox and then I generated an ISO image.




After that I installed it in Virtual-Machine but, it's not installing properly (sometimes saying installer crashed when libreOffice packages removed, sometimes blank-screen is appearing when any other packages removed, sometimes not even generating ISO).



is there any need of modifying some predefined files after removing/deleting some packages?



How can I create/generate that clean ISO image by removing all unwanted packages provided by Ubuntu?

login - Ubuntu logs out immediately after logs in

Today when i try to login to my ubuntu main user(not guest),Emad Helmi,after i typed my password it logged in and immediately logged out back to the login page, i try several times,but the same result,finally i hit ctrl + alt + F6 and then typed emadhelmi and the my password after that i run this code, without and chaging directory:



sudo rm -v .Xauthority


and after that:



sudo service lightdm restart



i tried again to logging in to my account but the same problem.How can i fixed it?

grub2 - How to remove graphical noise at ThinkPad boot splash?




I have installed KDE Neon (Ubuntu 18.04 with newer KDE backport ).
It works fine, but I have one small problem:



When I boot, I get the Thinkpad BIOS bootscreen:
Thinkpad Bios



And right afterwards, I get the below for a few seconds



bootsplash




Afterwards, the Plymouth slash screen appears, and everything boots as expected.



Now my question:



I want to know what the problem is.
I looked in dmesg, and found nothing extraordinary.



This seems to be in place of the kernel splash screen with the Tux icon, I presume.




  • A) What is causing this screen ?


  • B) Is this a kernel/driver or a plymouth malfunction ?

  • C) Is there a proper name for this pixel noise ?

  • D) If the log is not in dmesg, where is it ?

  • E) How can I get rid of it ?



Ah, figured it out myselfs.
For some hardware, it's necessary to set some kernel parameters, in order for the boot process to work correctly.



In this case, nomodeset.
It's called a corrupted splash screen.




To fix it, open /etc/default/grub, and add nomodeset to GRUB_CMDLINE_LINUX_DEFAULT:



GRUB_DEFAULT=0
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nomodeset"
GRUB_CMDLINE_LINUX=""



and then, run:



sudo update-grub


If nomodeset creates bootup problems, alternatively just remove splash from GRUB_CMDLINE_LINUX_DEFAULT.


Wednesday, July 26, 2017

installation - Can I install Ubuntu Desktop 12.10 on laptop Samsung NP300E5X-S01AE?


I've tried to install Ubuntu 12.04 64 bit, but I have problem
after I tried to install it the laptop stop working and no BIOS screen
I get back to warranty center and they changed the motherboard :(
What should I do to make the install work?


Specifications


Processor :
Brand/Family : Intel Core i5-3210M
CPU Speed : 2.5GHz
Cache Memory : 3MB
Turbo Boost : 3.1GHz


"RAM" Memory :
RAM Type : DDR3
Installed RAM : 4Gb
RAM FSB speed : 1600MHz
RAM Up to : 8GB


Drives :
Hard Drive Type : HDD
Hard Drive Capacity : 500Gb
Rotational speed(RPM) : 5400RPM
Hard Drive Connection : SATA
CD/DVD Drive : DVD Super Multi DL
Memory card reader : SD, SDHC, SDXC Card Reader


Graphic Card :
VGA Brand : NVIDIA
VGA Model : GeForce GT 610M
VGA Dedicated Memory : 1GB
VGA Memory Type : DDR3


Screen :
Screen Type : LED backlight
Screen Resolution : 1366x768Px
Screen Size : 15.6inch
High Definition : HD


Internet :
Bluetooth : Bluetooth v 4.0
LAN : 10/100/1000 BASE-T Ethernet
WiFi : WiFi 802.11 b/g/n


Interface :
USB : 3xUSB 2.0
HDMI : 1xHDMI
VGA/Out : Yes
Audio Ports : Yes


Multimedia :
Speaker : Yes
Web Camera : 1.3MP
Microphone : Yes
Touch Pad : Yes


Software :
Operating System : FreeDOS


Battery :
Battery tech/cells : 6-cell Lithium-Ion
charger : AC Power Adapter



Well, if it really had a motherboard hardware problem, then it seems unlikely that its failure had anything to do with your installation of ubuntu. My suggestion would be to boot into ubuntu via a livecd or a liveusb. This way you can see how ubuntu works without actually going through the full install. You will be able to see if are any hardware compatibility issues and such. It will boot slower and may run slower from CD/USB than a harddrive install will, but it will give you an idea of what a full install will look like.


Also, are you sure you should use a 64bit version? 32bit works on 64s but not vice versa (as far as I know...)


Good luck!


package management - Why should I regularly run 'apt-get update' and similar commands?

I am completely new to Ubuntu. A friend recommended me to frequently run the following commands:



sudo apt-get upgrade

sudo apt-get update
sudo apt-get autoremove
sudo apt-get autoclean


He said that this will somehow keep my system clean and updated. I do not know what exactly these commands do. Is it really useful to run them regularly?

partitioning - how to extend main partition with gparted live cd



I booted with gparted and it shows my main partition and an extended, wiht linux-swap inside(I do not know what this is) and I have about 17.00 GB of free space on a new partition but I cant seem to merge. When I click on the main partition and put resize it does not give me any options to merge, resize, etc.



enter image description here



update




enter image description here



First, you need to delete the partition (New Partition #1)
Then you will be able to resize sda1


Installing ubuntu 16.04 without losing data

Currently , I am running ubuntu 15.10 on my Dell laptop (ram-4GB) . I want to install ubuntu 16.04 LTS on my laptop as ubuntu 15.10 is no more supported. I don't want to lose my data while changing os , can I install 16.04 without losing data .


Thanx for helping in advance

apt - Apache2 installation failed on Ubuntu 12.04


Hi i am trying to install Apache2 server on my Ubuntu 12.04, but when i enter this command


sudo apt-get install apache2

i am getting this error -


Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed.

This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:


The following packages have unmet dependencies:


 apache2 : Depends: apache2-bin (= 2.4.12-1+deb.sury.org~precise+5) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

How do i fix this problem??



Run this command:


sudo apt-get update
sudo apt-get install --reinstall apache2 apache2-bin

dual boot - Ubuntu 14.04 and AMD Radeon HD 7670M overheat problem



I had earlier been running on Ubuntu 13.04 with the AMD Radeon HD 7670M graphics driver with the driver installed as given in What is the correct way to install proprietary ATI Catalyst Video Drivers (fglrx) directly from AMD?.



Recently i installed Ubuntu 14.04. The AMD support website "http://support.amd.com/en-us/download/desktop?os=Linux%20x86_64#amd-catalyst-packages" shows 2 drivers - their beta driver and the catalyst 14.4 and both show my Radeon HD 7600M series as being supported in the release notes. But when i tried installing either , i am getting an error that my graphics card is not supported.




I even tried the driver i was earlier running on in ubuntu 13.04, but that too is now giving the same error.



Finally i installed a proprietary driver found under Additional Hardware and selected the Intel graphics card under switchable graphics in the catalyst centre. My current laptop temperature is around 61 C and even slightest computations are taking the temp to as high as 72 C .



I donot care about performance - all i care is somehow to reduce my laptop temperature - anyhow - even i tried switching the AMD card off using vgaswitcheroo , but i found that since kernel 3.12 there is dynamic power management and no way to switch the card completely off.



The output of my



lspci | grep VGA



is as follows now



00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Thames [Radeon HD 7500M/7600M Series] (rev ff)


I donot want to switch back to 13.04 as 14.04 is much better. Also in windows [yes , my laptop is dual booted with windows 8] , the core temp is around 54 .



Please suggest if there is a workaround to somehow control the heating.




Update: I recently got my laptop cleaned by a professional. By cleaning , i mean he took out the fan and manually cleaned it by opening it .. and to my utter surprise the whole fan was almost blocked with dust .. after the cleaning , now the temperature of my laptop is very stable and around 50 C .. i guess the overheating due to radeon drivers was not the root cause ...



Sorry for the late answer , but I was finally able to install the beta version catalyst 14.6 .. I followed the procedure given here : https://help.ubuntu.com/community/BinaryDriverHowto/AMD#Latest_upstream_beta_and_stable_driver_downloaded_directly_from_AMD.27s_website .. i did get some hiccups about dependency problems and DKMS modules ..but i manually took care of them .. now my laptop's temp. is somewhere around 60-65 .. but thats okay .. Thanks for the help!



UPDATE : few months have passed since i installed the latest beta version catalyst 14.6 .. and the temperature is perfectly normal .. around 55-60 C.


software installation - Has anyone successfully installed CUDA 5.5 on Ubuntu 13.10 64-bit?

I tried to install a CUDA 5.5, following the steps on the Nvidia website, using the deb file for Ubuntu 12.10 (the latest version I could find on Nvidia website), but the installer fail to begin, telling me there are some dependency issues:




The following packages have unmet dependencies. 
cuda : Depends: cuda-5-5 (= 5.5-22) but it is not going to be installed.
E: Unable to correct problems, you have held broken packages.

Upgrade to 12.04 does not boot







I have upgraded to 12.04 via upgrade mamager.

I cannot get the image to boot (blank screen) after the grub menu.
grub seems OK.
I can get the previous unix version to run in recovery mode (rahter shaky).



Booting 12.04 in recovery mode displayes very early the message
firewire_ohci: Failed to set link Power Status



There is no firewire installed on this acer travelmate 8210 to my knowledge....



Is it possible to disable firewire for booting?




Is it possible to downgrade again to the previosu version of Ubuntu?



Any help appreciated!

Tuesday, July 25, 2017

java - JDK/JRE explanation of comands for install

Maybe this is a simple question.


I don't find the explanation of the commands for install Java JDK and JRE


I downloaded the jdk-7u5-linux-x64.tar.gz and jre-7u5-linux-x64.tar.gz,
I extracted these files and then moved to /usr/lib/jvm/. Whell I guess that the name /jvm (I created that beacause I don't had it) is not important beacause the installation is by link.


Most webs tell me that I have write that but they not explain why.


I guess that this create a java's link in /usr/bin/


/usr/bin/java -> /etc/alternatives/java -> /usr/lib/jvm/jdk1.7.0_05/bin/java


sudo update-alternatives --install /usr/bin/java java /usr/lib/jvm/jdk1.7.0/bin/java 1

/usr/bin/java ==================> is the final link


java ========================> I don't understand why I have to write that


/usr/lib/jvm/jdk1.7.0_05/bin/java ==> original file


1 ===========================> why 1? some people write 2, 3 or I saw 2000!


the same in java, javac and javaws. And the same in JRE, but when I install JRE, th link is replaced


sudo update-alternatives --install /usr/bin/java java /usr/lib/jvm/jre1.7.0/bin/java 2

and when I choose sudo update-alternatives --config java I can only choose one, so what is the difference between jdk/bin/java and jre/bin/java (they are the same version)


Can anyone explain me that in a simple way? because I'm beginner in that, I don't know nothing of java, I only need these javas for other program that use it


Can anyone send me a good page for the correct installation of both, please.


Thanks

command line - How do I confirm that I have found the correct package name?

I appear to be experiencing a bug with 'Backups' and wish to report it. To do so, I must find the package name. However, given a list of possible options, how do I know which one it is?



Namely, I surmise in this case it is 'deja-dup', but I wish to confirm before filing the bug report. How do I so?




$ sudo apt-cache search backups
[sudo] password for user:
backuppc - high-performance, enterprise-grade system for backing up PCs
deja-dup - Back up your files
rsync - fast, versatile, remote (and local) file-copying tool
tar - GNU version of the tar archiving utility
[roughly one hundred other options are listed]



Trying a different search method:



$ apt search backups | grep installed | cat -b

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

1 deja-dup/xenial-updates,now 34.2-0ubuntu1.1 amd64 [installed]
2 rsync/xenial-updates,xenial-security,now 3.1.1-3ubuntu1.1 amd64 [installed]
3 tar/xenial-updates,xenial-security,now 1.28-2.1ubuntu0.1 amd64 [installed]



My only guess on how to confirm is to try executing the command hoping to open the same 'Backups' Graphical User Interface, but it appears dangerous or poor practice to execute commands without knowing what they will do.

grub2 - Just installed ubuntu 14.04 but after restart it wont boot


I used a live USB to install Ubuntu 14.04 and completely erase windows 8.1, the installation went fine but when I restarted the computer Ubuntu wouldn't boot from my HDD, instead it came up with try Ubuntu or install Ubuntu so I restarted without the live usb plugged in and I got an error message Reboot and select a proper boot device or insert boot media in selected boot device and press any key.


I read a lot of posts about people that had similar problems but so far none of the solutions that worked for them have worked for me.


I also ran boot-repair but that didn't fix the problem either.


Here is the link from boot-repair http://paste.ubuntu.com/7763898/


Please any help would be appreciated.


My laptop is a Toshiba Satellite U50D-A notebook with AMD A6-5200 processor



At the very top of boot repair info you posted it says you have two disks



  1. /dev/sda (apparently your hard drive)

  2. /dev/sdb (apparently your USB stick)


/dev/sda has an EFI boot partition and /dev/sdb has an MBR boot loader.


Check boot device


Boot your computer and go to BIOS by pressing one of:



  • F1

  • F2

  • DEL

  • ESC

  • F10


And make sure you are booting from your hard disk.


Check EFI partition


According to
Ubuntu UEFI documentation, the EFI System partition should have a 'boot' flag. According to the boot repair info you posted, your partition does not have it.


To fix: boot from Live USB and run gparted. From there you can edit your partition table and add the 'boot' flag.


boot - Help with Plymouth script please! :)

I am attempting to work around this problem:



http://ubuntuforums.org/showthread.php?t=1997417



on the hypothesis that the problem is a race condition between the boot sequence and '/' and my raid0 disks being available [I don't know that it is, but would like to see if that the case.]



I read this: https://wiki.ubuntu.com/Plymouth, and have:

* played with plymouth-x11 [very nice]
* installed plymouth-theme-script



I would like to do something like this in my boot process, so Plymouth waits for the user's input before continuing:



Code:



Show the splash screen



sudo plymouth show-splash 



Stop the graphical progress indicator



sudo plymouth pause-progress 


Display a message



sudo plymouth message --text="pausing boot - press 'c' or space bar to continue" 



Wait for the user to type either 'c', 'C' or space (no return required)



sudo plymouth watch-keystroke --keys="cC " --command="tee /tmp/c_key_pressed" 


Change the on-screen message



sudo plymouth message --text="resuming boot" 



Resume the graphical progress indicator



sudo plymouth unpause-progress


But I don't really know how to proceed safely.



I'm an IDOIT, so would appreciate an IDIOT-proof guide




Thanks in advance

distro recommendation - What version of Ubuntu can I run on an old desktop?

What version of Ubuntu can I run on an old desktop?
Also, can I revert to old style navigation in 11.10?


I have a P4 3ghz
1 gb ram
160 gb HDD
graphics: VESA: 6330


I installed 11.10, but it is slow.

Monday, July 24, 2017

After Ubuntu 12.04 LTS update, Only Unity 2D ... bug?



I have no clue why this happened, but I would really like to fix it.
I ran a bunch of updates (25+...I hadn't updated in a while) and for some reason after I restarted to install the updates, I could only log in using Unity 2D (Ubuntu 2D) and GNOME Classic (no effects.)I could select the options on the login screen for Unity 3D (Ubuntu) and GNOME 3, but they have no effect, it just reverts to 2D and Classic..??




My computer is a Toshiba Satellite A105 S4284 with an Intel Centrino Duo Chip.



Here is some info I gathered that might help:



This command:
lspci -nnk | grep -A3 VGA
gave this output:



00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller [8086:27a2] (rev 03)
Subsystem: Toshiba America Info Systems Device [1179:ff10]

Kernel modules: intelfb, i915
00:02.1 Display controller [0380]: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller [8086:27a6] (rev 03)



I ran unity --version and it said unity 5.18.0



Any other things that would help solve this problem?



uname -r provided this info: 3.2.0-38-generic



EDIT 2/28/2013 - 9:49PM: (Updated Info ^)

After using the commands described by fossfreedom I can now use the /usr/lib/nux/unity_support_test -p command again???
Anyways, here is the output:



nate@texno-Satellite-A105:~$ /usr/lib/nux/unity_support_test -p
OpenGL vendor string: VMware, Inc.
OpenGL renderer string: Gallium 0.4 on llvmpipe (LLVM 3.2, 128 bits)
OpenGL version string: 2.1 Mesa 9.2-devel (git-533dc3b precise-oibaf-ppa)

Not software rendered: no
Not blacklisted: yes
GLX fbconfig: yes

GLX texture from pixmap: yes
GL npot or rect textures: yes
GL vertex program: yes
GL fragment program: yes
GL vertex buffer object: yes
GL framebuffer object: yes
GL version is 1.4+: yes

Unity 3D supported: no



EDIT 3/1/2013 - 8:53AM: (More Info)
Here is the output of

lspci | grep VGA ; lsmod | grep "kms\|drm" ; find /dev -group video ; \


cat /proc/cmdline ; find /etc/modprobe.d/; cat /etc/modprobe.d/kms ; \
ls /etc/X11/xorg.conf ; glxinfo | grep -i "vendor\|rendering" ; \
grep LoadModule /var/log/Xorg.0.log






00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03)
drm_kms_helper 45466 1 i915
drm 197641 2 i915,drm_kms_helper
/dev/fb0
/dev/dri/card0
/dev/agpgart
BOOT_IMAGE=/boot/vmlinuz-3.2.0-38-generic root=UUID=be971ef2-bac7-468b-826c-32c5f9f179cc ro quiet splash nomodeset video=uvesafb:mode_option=1280x800,mtrr=3,scroll=ywrap vt.handoff=7
/etc/modprobe.d/
/etc/modprobe.d/blacklist-firewire.conf
/etc/modprobe.d/oss-compat.conf

/etc/modprobe.d/alsa-base.conf
/etc/modprobe.d/blacklist.conf
/etc/modprobe.d/blacklist-oss.conf
/etc/modprobe.d/blacklist-framebuffer.conf
/etc/modprobe.d/blacklist-rare-network.conf
/etc/modprobe.d/vmwgfx-fbdev.conf
/etc/modprobe.d/blacklist-watchdog.conf
/etc/modprobe.d/dkms.conf
/etc/modprobe.d/blacklist-ath_pci.conf
/etc/modprobe.d/blacklist-modem.conf

# modprobe information used for DKMS modules
#
# This is a stub file, should be edited when needed,
# used by default by DKMS.
ls: cannot access /etc/X11/xorg.conf: No such file or directory
direct rendering: Yes
server glx vendor string: SGI
client glx vendor string: Mesa Project and SGI
OpenGL vendor string: VMware, Inc.
[ 2079.438] (II) LoadModule: "extmod"

[ 2079.441] (II) LoadModule: "dbe"
[ 2079.442] (II) LoadModule: "glx"
[ 2079.443] (II) LoadModule: "record"
[ 2079.444] (II) LoadModule: "dri"
[ 2079.445] (II) LoadModule: "dri2"
[ 2079.446] (II) LoadModule: "intel"
[ 2079.446] (II) LoadModule: "vesa"
[ 2079.447] (II) LoadModule: "fbdev"
[ 2079.478] (II) LoadModule: "fbdevhw"
[ 2079.479] (II) LoadModule: "vbe"

[ 2079.480] (II) LoadModule: "int10"
[ 2079.506] (II) LoadModule: "ddc"
[ 2079.562] (II) LoadModule: "shadow"
[ 2079.562] (II) LoadModule: "fb"
[ 2079.563] (II) LoadModule: "int10"
[ 2079.655] (II) LoadModule: "evdev"
[ 2079.682] (II) LoadModule: "synaptics"


I think you have a problem with your graphic card driver and not Unity. Try to update your video driver first, If it was fixed then bingo! Else try to fully remove it and download the .bin file and install that one.




Edit: Same problem has been solved here http://ubuntuforums.org/showthread.php?t=1741783


11.10 - Can&#39;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 (...