Wednesday, April 3, 2019

system installation - Is it possible to install Linux side by side with Windows 7, but on the other drive, part of which is occupied by ntfs partition?


So my situation is this: I have 2 Drives. 1 HDD(1TB) 1 SSD(about 230GB). I use SSD completely for Windows 7(with one partition only). I also use big part of HDD as NTFS storage for that windows(I called it 'Data'). I want to install Ubuntu on whats left. Here is a screenshot:


My Drives:
enter image description here


Is it possible to do it like that? If so, what options I need to select during drive questions in order not to kill MBR and be able to load to both Windows and Linux?



Yes, this is very easy to do.


Now in your question you say:



If so, what options I need to select during drive questions in order
not to kill MBR and be able to load to both Windows and Linux?



You are going to have to install GRUB to the MBR of one of your disks.



  • If you install it to the MBR of your SSD, you won't have to change anything to get the dual-boot working properly.


  • If you install GRUB to the MBR of your HDD, you will have to alter the boot order in your BIOS so that the HDD is booted before the SSD.



Both are perfectly valid options.


Please leave a comment under my answer with which option you want to do, and also with a picture from the "Something Else" installation option, and I'll be more than happy to guide you through the partition setup.


I need you to take a picture of what this screen looks like for you in the installer:


enter image description here


Tuesday, April 2, 2019

software installation - I need help Installing a tar.gz file



I've got Flash 11.2 beta in a tar.gz file. I'm new to Linux and I don't know what I'm doing. How can I install it?




Remove the old flash (if necessary)



sudo apt-get purge flashplugin-installer


Extract the contents



tar xvf flashplayer11-2_p3_install_lin_32_122011.tar.gz 



Copy the library



sudo cp libflashplayer.so /usr/lib/mozilla/plugins/


Restart firefox


offline - Download and install ubuntu packages and dependencies on a server without internet connection

I'm trying to download all packages and needed dependencies on a server with working internet connection and transfer them on server without internet connection and then install them via apt-get.


I have two solutions to download packages:



  1. apt-get --print-uris --yes install pkgspec | grep ^\' | cut -d\' -f2 > downloads.list


Is useless because it works only for packages and dependencies that are not downloaded and installed already on a server with working internet connection.



  1. aptitude download '?reverse-depends(package)'


It downloads all packages and dependencies also if you don't need them.


Anyone knows a better solution to download a package and dependencies needed to be installed on a fresh install of Ubuntu server 16.04?


I want to create a script that goes trough a list of packages and downloads all packages and dependencies automatically.


Then I need a solution to use this packages on a offline computer with apt-get. Idea is to create a local apt repository that allows you to use your local packages via apt-get.


So I use this command to create Packages.gz that contains info about all packages that were download in first step.


dpkg-scanpackages . /dev/null | gzip > Packages.gz

Then I add a new source to /etc/apt/sources.list.d/ and run apt-get update.


deb [trusted=yes] file:///tmp/dpkgs /

Now I have a problem that I can for example install apache (still some errors). But if I want to install php I got the following error.


root@ubuntu:~# apt-get install php
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:
php : Depends: php7.0 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Anyone has a working solution for this problem?
Thanks.

Gnome 3 change system notification to be as unity?



the notification area in the bottom of screen is annoying, can i change the place and look of it to be as in unity? "at the right top and disappears when hover over it"?
and also is there an extension to change the icons of some programs from system tray to the upper panel?



shell extension Shell OSD can place notifications in the upper right hand corner.




See https://extensions.gnome.org/extension/243/shell-osd/


Monday, April 1, 2019

software center - Can't install GIMP on Ubuntu 16.10

I have searched "GIMP" on my Ubuntu 16.10(64bit) Ubuntu Software, but it was not there, so i tried to install it with this simple Command :


sudo apt-get install gimp

and after typing my password the result was :


 The following packages have unmet dependencies:
gimp : Depends: libgegl-0.3-0 (>= 0.3.0) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

so how can i install gimp on my Ubuntu 16.10 ?


Edit : I've treid to install vlc and i got a similar error but about another package and on the last line it mentioned some of my packages are broken , i'm searching to solve that. As it is maybe visible I'm somewhat new to linux , so i mentioned that similar problem , but i don't know is it really related or not.

Ubuntu studio freeze when starting the system

i would to ask that question: why freeze my ubuntu studio when system starting ? anyway ubuntu studio is great i love it only then freeze, and I dont know why ?



EDIT from comments (paraphrased):



I see only ubuntu logo rotate... and after 20 min still nothing (no boot?)

freeze - Why is Ubuntu 12.10 freezing and windows becoming greyed out?

I've been using Ubuntu 12.04 since it was released last April. (I upgraded to 12.10 in October.)



Suddenly it began running very very poorly, acting as if I was using too much RAM or saturating my CPU. The system monitor and top did not seem to confirm this; I was only using about 30% of my RAM and barely any CPU.



Windows began greying out randomly and frequently and the system completely froze a few times. I figured this was some junk I'd been tinkering with over the year, so I backed up my data and formatted, then re-installed. After booting back up, I saw that the problems persisted.




System info:




  • White box pc

  • Intel Core2 Duo e8400

  • 4GB DDR2 800Mhz

  • Nvidia GeForce 8800 GTS

  • Ubuntu 12.10 64bit




Let me know if you need any further information. Any and all help is appreciated.

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 (...