in

ASP.NET Weblogs

Phil Scott's WebLog

Quite exciting this computer magic

Installing Ubuntu on Virtual PC 2004

I decided to give Ubuntu a try in Virtual PC to see how this distro works.  So far, I'm pretty damn impressed.  But getting it up and running in a Virtual PC wasn't quite as obvious as I hoped it would be.  Here are the steps if anyone else wants to try out this distro.  I basically just went through a default install, and when the thing booted up it freaked out on the display.  This is actually quite common with Linux distros that I've tried in Virtual PC.  Keep in mind, I'm not even too terribly sure how to pronounce Linux, so I just kinda faked my way through the steps.  You might know a really cool way to do some of these steps, and that would be great if you let me know

So after booting up in messed up graphics land, I was able to click the giant ass Reboot button on my 160x120 screen.  When it was rebooting, I hit ESC during Grub and booted into the recovery console.  This gave me root access (is this secure?  Sure as hell didn't seem like it to me...).  Once I was in there, I found the configuration file for the graphics card in /etc/X11.  Sso type in cd /etc/X11, although I certainly hope even the most harden of MScentric people can figure that out :).  Once in there I opened up xorg.conf using pico (so type in pico xorg.conf - isn't this fun?).  Browse down to the screen section.  Opps, looks like the defaultDepth property is 24, which VirtualPC doesn't support.  I changed this to 16 and hit CTRL-X to exit (saving when prompted of course).  Typed in reboot and awaaaaaaay we go.

Once I was logged in, I wasn't able to hit the internet but this was an easy enough fix.  Just go to System | Networking and enable the Ethernet connection.  At this point I was good to go.  I don't think I have sound yet, but I really could care less.  But if a wise soul would like to enlighten me, I wouldn't mind either.

So there we go.  I'm impressed with how easy this was to get up and running (besides virtual pc graphics snafu), and it looks great too.  I'm tempted to throw this on my laptop that I keep in my living room just because so many people use it.  You'd be surprised what my friend's girlfriends manage to install while we are watching football.  Stupid yahoo games.  But I digress.  So why all this trouble to post this on an ASP.NET site?  I've been tagged with doing a lot of the design work for my companies new site, and well, the old version didn't exactly work in Linux, i.e. the menus and some content doesn't show up at all.  Remember folks, Verdana isn't installed on everyone's PC.  It looks like the default sans-serif font is pushing some of the content around, which was dumb of me not to anticipate, so I'll have to fix this.  Good times.  Good times.

Comments

 

Shot said:

‘…booted into the recovery console. This gave me root access (is this secure? Sure as hell didn't seem like it to me…)’

If you can boot into ‘recovery console’, it means you have physical access to the machine. Introducing any security at this point doesn’t really makes much sense to me. :o)
October 14, 2005 5:43 AM
 

CoSTa said:

why installing under emu when you can boot with live cd? you can test this distro all the way you want. don't kill it with virtual pc's emulation problems. boot it, see it, love or hate it :)

btw - nice bloggie you have here...
October 14, 2005 6:59 AM
 

Phil Scott said:

Yeah, having physical access is of course the keys to the kingdom. It was just a little odd not to be prompted for a password is all.

And as for the live cd, trying out Linux is about 30% the install process. Can it pass the "will I have to do it for my dad, or can he handle it himself" test is just as important to me as the user interface and the such.

So far, so good.
October 14, 2005 9:30 AM
 

CoSTa said:

oh yeah, you're right - sometimes installing linux (i tried gentoo once) drives you crazy. there are no problems with distros like red hat, fedora, madriva - nice and graphical interface makes installing a snap. ubuntu and debian in general does not have such useful interface. txt based instalations could be a problem novadays. but hey, the hardest thing is partitoning. everything after and before that step is rather easy imo.

i'm glad you liked this distro. it has this little "something" that makes me using it from time to time. i just like it. it's simple enough for me :)

so, good luck with your ubuntu abd warm hello from poland. oh and yes - excuse my english, it sucks :/... i know, i'm working on it.
October 14, 2005 3:07 PM
 

Tig said:

Phil, thanks for the hints. I was wondering what was wrong with Ubantu.
October 17, 2005 1:27 PM
 

friedrice said:

hey bro...thanks for the tip...and god bless google
November 3, 2005 10:13 PM
 

mazuku said:

To get network to work go to the System/Administration/Networking and enable the device. Mine was disabled by default on both VPC 2004 and VS2005.

Thanks for the video fix.

A note about Virtual Server 2005: I couldn't get it to boot in the recovery console using the web interface. The pe interface worked fine.

November 5, 2005 12:09 PM
 

Amasan » links for 2006-07-14 said:

July 13, 2006 8:38 PM
 

MicroNetworks Blog » Blog Archive » Microsoft Virtual PC 2004 said:

August 4, 2006 1:05 PM
 

Ji???? Zahradil » Linux ve Virtual PC said:

November 2, 2006 2:58 AM
 

jd said:

well, you can also try an live cd distro in virtual pc, this is the simplest way to tray it without any real risk to your fisical pc.

pd: sry my english, pero yo hablo español jeje.

July 8, 2007 9:05 PM
 

Greg said:

Now I remember why I hate Linux.  I tried this, booted into 'safe graphics mode' or whatever, seemed to work, but I still needed to change the bit depth.

Couldn't figure out how to get a terminal via the keyboard (my mouse wasn't working!), so I hit something like shift+alt+f1 (read about that before) and got a terminal prompt.  Yeah!  But it wasn't root, and Ubuntu never asked me what the root password should be (Windows always prompts during setup- the way it SHOULD BE).

So I couldn't change the config file, and worse, I couldn't get OUT of the prompt - typing 'exit' closed the terminal window but didn't get me back to the ubuntu GUI (typing exit in windows CLOSES the command prompt (as it should))...

Why do I even bother?  Linux is just wasting my time again... I was actually looking forward to trying ubuntu.  Maybe I'll try the "Live CD" route, but honestly, I'm not even sure why I should bother.  Vista works great for me even though I hate the activation spyware crap - although it doesn't waste my time the way Linux does.

Linux is still way too complicated for what it does.  Yes, I'm sure there are great things about it, but it won't run what I use (Office 2007, some PCB engineering applications that I use, my games, Media Center, etc. etc.)

Sorry not sure why I am ranting here guess I wanted to find something as good or better than Vista without the activation... but Linux just doesn't seem to be it yet.  

Going to try LiveCD now...

bye

July 22, 2007 4:39 AM
 

Athan.gr said:

Ubuntu 7.04 on Virtual PC 2007

July 23, 2007 11:27 AM
 

mikko said:

In response to Greg:

I usually don't bother with these, but I just felt I should point a few things out.

You (Greg) are complaining about the same subject as most from-windows-to-linux-users: You want your Linux distro to work the same way as your windows one, when in fact they are based on very different concepts, have completely different target audiences and will, therefore, _always_ perform similar tasks very differently. My favourite article, "Linux is NOT Windows" summarises it up pretty well:

linux.oneandoneis2.org/LNW.htm

Now, to clear some things up (and maybe help you in future), you have stumbled upon a few basic Linux (and Ubuntu) principles.

1) Your Linux distro has many user interfaces, which are running on virtual terminals, VTs (en.wikipedia.org/.../Virtual_console). Switching between them happens with the alt+function-key combination. Alt+f1 gives you VT 1 etc.

Your graphical user interface is nothing but another program that is running in one of the VTs. Number 7, to be exact.

2) Now, your GUI grabs your Alt key, meaning that alt+f1 would yield some functionality related to your GUI. To escape both GUI and the VT 7, you can use the combination ctrl+alt+F-key. To get back, alt+f7. To kill (or restart) the GUI completely, you would use ctrl+alt+backspace.

3) Root password. This is handled differently by every distro. Ubuntu likes to scramble the password by default and hand it out to no one. You, as a user, are supposed to perform administrative tasks with the sudo  (super user do) command, which gives you temporarily administrative rights. For instance, "sudo /etc/init.d/bluetooth restart", would restart your bluetooth service on certain distros.

If you would like to get access to the actual root account on ubuntu, however, all you need to do is to use your administrative rights to switch to root and then set the password. For instance:

# sudo su -

# passwd

Might help you in future.

(sorry about the long comment, I know that Greg will never read this and that all of the information is covered by Wikipedia and Ubuntu FAQ and that it's probably old news to majority of the readers, but it's been a long day and I've had nothing to do)

August 15, 2007 9:13 AM
 

Aditya said:

I Think Linux Holds the future and did hold the past but this windows Came in with is all stolen concepts all from Unix Operating system. Windows may have become dominant Operating system in the home user section but at the end of the day Linux is and will be the most reliable OS.

Ubuntu I guess is among the most versatile one. Remember the first time you sat on the windows interface you had problems too but gradually you did learn it same will happen with Linux also, only thing this time you will realize that you are dealing with a better most powerful and more reliable operating system. Virtual PC utility just gives you the benefit of having windows and not missing playing your windows based favorite games. And also does fiddle with Your MBR. Go Ahead install it and see the difference!!!

September 15, 2007 1:48 PM
 

free myspace codes for music videos by rihanna said:

free myspace codes for music videos by rihanna

September 17, 2007 9:02 AM
 

Calvin said:

Hello I too am having trouble getting pico to load the "xorg.conf" file. I can manage to get into pico, however I cannot navigate to the config file any help?

October 9, 2007 6:02 PM
 

7echno7im said:

I love your "tell it liek it is mentality"  "giant ass reboot button" lol  thanks for the tip...

www.techtronic.us

October 12, 2007 11:21 PM
 

7echno7im said:

If you are trying to enable all of this from command line, to enable network>

nano /etc/network/interfaces

remove the # from the eth0 to uncomment

save, exit

/etc/init.d/networking restart

www.techtronic.us

October 12, 2007 11:51 PM
 

janroos said:

I am new to Ubuntu. Just installed it todau in Virtual Pc 2004. Had quite some diffuculties to make the mouse to work. But ... i cannot make the internet work.

I go to -networktools and activate ethernet etc. and than NOTHING. What can I do HELP

October 22, 2007 3:49 PM
 

Nath’s Blog» Blog Archive » Breezy and Virtual PC 2004 said:

Pingback from  Nath’s Blog» Blog Archive » Breezy and Virtual PC 2004

October 26, 2007 10:28 PM
 

Kenttätesti: Onko Linux valmis syrjäyttämään Windowsin arkikäytössä? « C:\>dir *.* said:

Pingback from  Kenttätesti: Onko Linux valmis syrjäyttämään Windowsin arkikäytössä? « C:\>dir *.*

December 6, 2007 10:45 AM
 

Downloadable Album For Free Music » Blog Archive » Arkik-Alex Calver and Dng said:

Pingback from  Downloadable Album For Free Music  » Blog Archive   » Arkik-Alex Calver and Dng

January 9, 2008 9:46 PM
 

Download Music File » Blog Archive » Arkik-Alex Calver and Dng said:

Pingback from  Download Music File  » Blog Archive   » Arkik-Alex Calver and Dng

February 26, 2008 1:24 AM
 

Lee said:

Hi. I am new to all this malarky.

I am trying to install ubuntu onto virtual pc for my unix processing systems unit...however....i have windows xp home edition on my laptop, and now virtual pc 2007 does not support this.

Is all i have to do is find an old 2004 version of virutal pc, then just run ubuntu without having to partition?

PLEASE SOMEONE HELP!!!!

Thanks.

Lee

March 24, 2008 2:45 PM
 

Chris Clanton said:

Trying to install Ubuntu on virtual PC 2004 which is running on a xp sp2 laptop. I have googled the error message " An unrecoverable processor error has occurred the virtual machine will reset now" The iso image I have does not have the safe graphics selection that I have been reading about. The version is 8.04 any suggestions or a link to any answers would be appreciated.

April 29, 2008 7:48 PM
 

seth said:

@Greg:

how about read reading the intro text just a line or two above the shell prompt that you were so grateful to be dropped into?

It will tell you in a snap to use 'sudo' if you need to exercise root priviliges.

That doesn't warrant a 3page manual, now does it? Also, you cannot be prompted for a root password, until you choose to install. Which, conveniently, you didn't have to do yet, since you are booting *a live-CD*, the way it SHOULD BE (hehehe)

May 22, 2008 7:53 AM
 

how to load pc games on ubuntu 7 04 said:

Pingback from  how to load pc games on ubuntu 7 04

July 8, 2008 3:25 AM
 

madbin said:

Guys, I ought to think that you either should pay that fat ass Microsoft or Ubuntu for all the fucking chaos! Tried installed first time but seem to take about two hour and still is at the main stupid shit screen where the graphics is completely messed up. Second try, nothing. I am so damn mad. When the graphics is completely messed up, the cd is running something but hell do I know what it is running? So mad and so want to kill microsoft and/or ununtu becuase they caused such a pain in the ass for many people. Don't think ubuntu is supported on virtual pc 2004 but I am still trying that fat you know what out. It's one hell of shit if you try to run ubuntu on that damn garbage virtual pc because hell they don't know what to do. The only thing you can ubuntu is on your physical pc and that stinks.

November 1, 2008 4:45 AM

Leave a Comment

(required)  
(optional)
(required)  
Add