Archive

Posts Tagged ‘ubuntu’

Rescue of a broken Parallels VM (Linux guest system)

October 31st, 2013 No comments

Something went terrible wrong. I upgraded form Parallels Desktop 6 to 9 to have my Ubuntu VM in Mac OSX 10.9. After the second boot of the VM I got a popup by Parallels: “your disk 7gb contains lots of unused space, would you like to compress to 2gb” or something like that.

My first thought was “hey, nice, a smart tool, which cares about users”. After lots of I/O and 10min later I had a second thought: “f**king bull**** software, i want my files back”. The VM was “gone”, every time I booted I got messages about missing sata devices. The VM hdd was corrupted (and still 7gb big).

Mounting the VM hdd in another VM didn’t help either, cause it didn’t even show up as a harddrive. And Murphy’s law hit me as always: I deleted a copy of the hdd earlier this day which I used to check a migration to virtualbox 🙁

Luckily Ubuntu (or at least a bunch of Linux tools) and the fact that I had only one etx4 partition helped me to restore the VM:

  1. Boot w/ a Linux live CD in the VM and run “parted /dev/sda” as suggested here
  2. Run “mklabel msdos” and “rescue 0% 100%” in parted (change 100% to something else if you have multiple partitions)
  3. Reoot w/ a Boot-Repair-Disk live CD in the VM to restore MBR, grup, …. as explained here
  4. Reboot w/o live CD and the VM hopefully works again (as it does in my case)

 

Summery:

  • Parallels Desktop 9 WTF???
  • Ubuntu/Linux *thumbs up* 😀
  • This writeup is not a general rescue guide, but worth a try if everything else fails.

Medibuntu is Terminated

October 16th, 2013 No comments
Categories: linux Tags: , , ,

Ubuntu not usable anymore?

October 31st, 2012 No comments

Seems so. From wikipedia:

Version 12.10 also requires users to agree to allow Ubuntu’s parent company Canonical to collect user search data and IP addresses and to disclose this information to third parties including Facebook, Twitter, BBC and Amazon, drawing criticism from privacy advocates[119]. According to the Free Software Foundation, the “adware” introduced in version 12.10 violates users’ privacy and “is one of the rare occasions in which a free software developer persists in keeping a malicious feature in its version of a program.”[120] Citing concerns about data leaks, The Electronic Frontier Foundation has outlined a number of requested improvements for future versions, asking Ubuntu developers to “make sure that you respect your users’ privacy and security.”[121] Responding to criticism of the earlier beta version, in relation to privacy complaints, Shuttleworth said “Your anonymity is preserved because we handle the query on your behalf. Don’t trust us? Erm, we have root. You do trust us with your data already.”[117]

That sounds awful. I mean, that’s the cause why I use free software, because the have usually no indent so sell you. Well, guys, now is the question: what next? Back to Gentoo? Sure not :-/

Categories: linux Tags: , , ,

ubuntu 11.04 and intel compilers

September 7th, 2011 No comments

only work well after gcc-multilib has been installed. An intel dev in the forums wrote that not even the intel 12.x compilers will support ubuntu’s new lib-folder structure so keep in mind to install gcc-multilib on new systems as this is not done per default.

Categories: Uncategorized Tags: ,

NFS Remote I/O error after dist upgrade to Ubuntu 10.10

November 1st, 2010 7 comments

Ubuntu 10.10 uses NFS 4 by default. If you did not update your NFS-Server, while upgrading your client, you’ll receive a Remote I/O error, due to incompatibilities between version 3 and version 4. Change the mount options in your /etc/fstab from defaults to vers=3,defaults to prevent this error.

Categories: linux Tags: , ,

Release upgrade for Ubuntu 10.04

November 1st, 2010 1 comment

If you want to upgrade your Ubuntu 10.04 server to 10.10, and do-release-upgrade tells you No new release found, you might want to check the file /etc/update-manager/release-upgrades and set Prompt=normal.

Categories: linux Tags: , ,

ipod touch and ubuntu 10.04

October 6th, 2010 No comments

At first i was like wow, then i was like wtf, now i am like omg. Thats the short version 😉

I wanted to sync my ipod touch and was really astonished that ubuntu recognized the ipod out of box and i could play songs from the device right away. Trying to sync music from the pc to the pod created a pop-up-box per song stating: Error while getting peer-to-peer dbus connection. After some searching i found out that using gconf (apps->rhythmbox->plugins->ipod) and deactivating the ipod plugin actually makes it work (this, btw, was the wtf moment for me). I’d also like to share the comment of the person posting the solution:

I don’t know how or why it works, but this is true of most things I’ve learned about Linux.

I think there’s nothing more to add to that . . .

Willi

[followup]
Using my bluetooth headset i wanted to listen to music at work without the hassle of coping with cables. Setting up my Nokia BH-103 with a level one MDU-0005USB connected to the USB-port at my monitor worked out of the box. Then i added 2 cool plugins to rhythmbox as i’m rather fond of cover art:

http://code.google.com/p/albumartsearch/

http://nedrebo.org/code/rhythmbox/desktop_art/

This is it.

Categories: linux, software Tags: , ,

“Are you sure …”

September 28th, 2010 1 comment

Seit Ubuntu 10.04 hat das Betriebssytem die (in meinen Augen) Unart, mich zu fragen ob ich wirklich und zu 100% sicher bin mit meiner Entscheidung bezüglich Shutdown/Restart/LogOut.

Ja verflucht ;), ich komm mir langsam vor wie bei Windows. Nur gut dass man es ändern kann, hier die Anleitung.

Categories: linux Tags: , ,

Note’s to self: Ubuntu One

September 28th, 2010 No comments

Ever wanted to get rid of Ubuntu One – here’s a pretty good howto. I had to stop 2 more couchdb processes and most of the folders were absent on my system as i never used ubuntu one. The main reason for getting rid of ubuntu one was that evolution always wanted to store my addresses in the wrong db. Therefore i also removed the package evolution-couchdb.
http://www.howtogeek.com/howto/22881/remove-ubuntu-one-from-ubuntu-10.04/

Categories: software Tags: ,

Compiling Linux 2.6.33 on Ubuntu

February 25th, 2010 5 comments

When trying to compile a 2.6.33 kernel on Ubuntu nowadays, you’ll run into this problem:

The UTS Release version in include/linux/version.h
""
does not match current version:
"2.6.33-<appended-string>"
Please correct this.

This would not be soo bad, if it wouldn’t fail after compiling (and by that wasting a lot of cpu time …).

To avoid this error, fix the file /usr/share/kernel-package/ruleset/misc/version_vars.mk

And replace this code

UTS_RELEASE_HEADER=$(call doit,if [ -f include/linux/utsrelease.h ]; then  \
	                       echo include/linux/utsrelease.h;            \
	                   else                                            \
                               echo include/linux/version.h ;              \
	                   fi)

with this one

UTS_RELEASE_HEADER=$(call doit,if [ -f include/generated/utsrelease.h ]; then \
                               echo include/generated/utsrelease.h;           \
                           elif [ -f include/linux/utsrelease.h ]; then       \
                               echo include/linux/utsrelease.h;               \
                           else                                               \
                               echo include/linux/version.h;                  \
                           fi)

(Source: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=561569 )

Categories: linux Tags: , ,