Tuesday, March 1, 2016

system installation - can't make bootable usb on mac

I've been trying to do this since yesterday, following the instructions given on ubuntu.com's official page here:



http://www.ubuntu.com/download/help/create-a-usb-stick-on-mac-osx



I can complete every step without error. However, when restarting the mac, the flash drive simply reports 'missing operating system, press any key...'. From there, there's nothing I can do except a hard reset.



I've tried Unetbootin, but that won't create a usb that's bootable from a mac.




edit: I've also fixed the partition tables with rEFIt, but still no joy.



Any suggestions?

apt - How to install a downloaded .deb file along with its dependencies in a system with an internet connection


I thought when I executed apt install pkg, a deb file would be downloaded and put into /var/cache/apt/archives. But today after executing apt install python2.7 python-pip, I can't find any deb file in var/cache/apt/archives. I don't know why. Is it because I write sudo apt install pkg into a bash script and didn't execute the script with sudo?


For some reason, I need to be able to install some package from deb files, meaning that I should be able to execute dpkg -i pkg.deb, instead of apt install pkg to do the installation.


I've tried the command apt download pkg and it did download a deb file but it is a tiny file. When I execute dpkg -i pkg.deb, there are many errors about dependencies and I have to execute apt install -f to solve them.


My system has a working internet connection. How can I get a complete .deb package?



You need to run a command that automatically resolves all the .deb file's dependencies and installs the .deb file and its missing dependencies with the same command. You will need a working internet connection and your installed software to be updated with sudo apt update && sudo apt upgrade to download any missing dependencies. Open the terminal, change directories using cd to the directory containing package-name.deb, and type:


sudo apt-get install ./package-name.deb

where package-name.deb should be replaced by the name of the .deb file that you are trying to install.


12.10 - Compiz/Unity doesn't start at login

Out of a sudden after I logging in to the 'Ubuntu' session Unity or maybe Compiz doesn't start anymore (actually I'm not sure wether it is Compiz or Unity). I can start Unity manually with setsid unity & and put the command as a startup script but that's not how it should be.


I also tried a lot of "solutions" but none of them helped:



  • checked for activated 'Unity' module in ccsm

  • reinstalled lightdm

  • reset Compiz and Unity

  • reinstalled all Compiz/Unity packages

  • many more...


The question now is, how do I get Compiz/Unity to be started propperly at login again?


I'm on 12.10 with Intel graphics.

networking - HP G72 Ubuntu 12.10 - Wireless Broken

I've had this HP G72 notebook for about a year now. Yesterday I installed Ubuntu on it. (12.04, but it installed 12.10) When I had the install disc in the computer when I clicked try Ubuntu and whilst it was installing, the WiFi worked fine. Now that I don't have the disc in, it doesn't even show any networks to connect to. I've tried looking around for fixes but everything is for older Ubuntu versions and don't seem to work.


Output of lspci | grep -i Network:


03:00.0 Network controller: Broadcom Corporation BCM4313 802.11b/g/n Wireless LAN Controller (rev 01)

Easy backup/restore of installed system?



Is there any easy and open source backup/restore solution for installed (after clear install) Ubuntu system, like Acronis Home backup ?



Yes you can use remastersys for that.You can see a complete tutorial here



The best way is always make a seperate /home partition.See the posts below you can find a better and easy way to backup/restore your system.



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




http://www.debianadmin.com/backup-and-restore-your-ubuntu-system-using-sbackup.html


dual boot - GParted merge unallocated space to ext4 partition

enter image description here


Here I want to merge unallocated space to ext4 partition. But during running in Ubuntu it is not allowed. Am I right? It has key picture. I must do that Ubuntu DVD booting from it and selecting try Ubuntu there with GParted, I must merge this unallocated part by right clicking on ext4 partition and then selecting shrink. Am I right?


Then for swap area I want to take 5GB from extended partition (which is now called D on Windows). Can I format this partition in Windows or should I use GParted? But in GParted it has key picture. Or in the same way should I do this during trying Ubuntu to merge unallocated space to ext4? Thank you for your answers.

boot - Unable to get back Windows 7 partition entry in Grub2 Ubuntu 12.04

I had Ubuntu 12.04 installed on my system along with Windows 7, running perfectly. Then I upgraded to 14.04 and many things in many things went wrong so I decided to format just my Ubuntu partition (deleted it and set it as root /) and install 12.04 once again, on that partition. This time, the grub disappeared. I tried grub-update, I got it back but without the Windows partition, even though it does exist.


I ran boot-repair disk, it said everything went fine, but still not getting my Windows partition entry in grub yet.


Here is a LINK of the execution trace from boot-repair. It says in the end that /mnt/boot-sav/sda3/ may need repair, which is the partition of Windows.


I already tried to run a repair with Windows bootable disk but it says that the automatic repair can't be performed.


I'm still not getting what needs to be done.


How to solve 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 (...