Welcome to TechNet Blogs Sign in | Join | Help

Fedora 8 (werewolf) on Virtual PC 2007

My "Running Linux in Virtual PC" posts seem to be some of my more popular reading, so let's have a go at the recently released Fedora 8 (It's no longer Fedora Core).

As with most distributions, if you try to install it right off the ISO, you will rapidly hit the "screwed up graphics".  Virtual PC 2007 does not support 24-bit color, and guess what mode is used by most Linux installers?  Good times :)  You could install in text mode, but as it is no longer 1992, let's do this in graphics mode.  Unfortunately, the tricks I list for installing Ubuntu do not work for Fedora.  Oh well...

First off, you will want to download the ISO here: http://fedoraproject.org/get-fedora

Create a new virtual machine, and at the first screen hit "tab" for additional options.  You will want to add "vesa" to the end of the boot parameters to fix the screwed up video problem.  Booting at this point will introduce you to the other problem plaguing recent distros in Virtual PC... a non-functional mouse.  Fortunately, I have the fix for this as well :)  Add "i8042.noloop"

image

Hit enter, and you will end up in Anaconda (the Fedora installer) with functional graphics and a working mouse.  WOOHOO!

image

The next few options (language, keyboard layout, etc) are all quite standard.  It appears that the Fedora team has decided to go with a knock-off of Apple's Aqua glowing orb circles.  Interesting...

image

We get the standard option to choose what packages are installed (Office and Productivity, Software Development, or Web Server).  You can select the checkbox for "Additional Fedora Software" to get packages that were not chosen for inclusion on the DVD. 

If you are not up for an hour of hand-picking which packages are installed, Fedora 7 introduced the concept of "spins" (special ISOs of the distribution with custom package sets).  At the time of this writing, the available spins (http://spins.fedoraproject.org/) are:

  • Fedora 8 Live Games i686
  • Fedora 8 Live Developer i686
  • Fedora 8 Live FEL i686

image

Next comes "grab some coffee" time while Fedora installs. Avoiding a problem that has plagued installers since the beginning of time, Fedora doesn't even bother to estimate how much time is left.

image

When you are done installing, go ahead and reboot.  Graphics will work fine, but the mouse will not work again.  <sigh...>  make sure to stop the reboot at grub, press "e" to edit, and add our hallowed i8040.noloop parameter to the 2nd line (the one that starts with kernel).  After editing the line, hit enter and then "b" to boot.  We'll have to do this one more time later to save the change for good.

image

Now you can finish booting and walk through the first-run setup wizard!

image

After walking through the options, you will finally be at the (somewhat funky looking) Fedora login screen.

image

After logging in, let's fix that mouse problem for once and for all.  Well... until Fedora updates the Kernel, then you'll have to repeat these steps. 

Go to Applications --> System Tools --> Terminal

Normally, I would do the following commands with Sudo, but I get a message that I am not in the sudoers file.  Wierd... feel free to fix that if you'd like and do the following with sudo.  I'm just going to violate security best practices and elevate to root with SU.  So:

  1. "SU"
  2. nano /boot/grub/menu.lst
  3. Arrow down to the line starting with "kernel".  Arrow to the end of the line and add i8042.noloop
  4. ^O to write out
  5. Enter
  6. ^X to exit
  7. Type exit and hit enter (twice).  Once to exit your elevated root prompt, and once to exit the terminal.

Hooray!  You should have a working mouse from now on :)

image

So what is new in Fedora 8?  Ars has a great writeup here, and the official feature list can be found here: http://fedoraproject.org/wiki/Releases/8/FeatureList.

  • New PulseAudio sound daemon (which allows users to set the volume for each application individually, just like Vista
  • New Codeina utility that allows users to purchase proprietary codecs
  • New PolicyKit authentication system
  • New Look/Feel (I much prefer it to Ubuntu)
  • Compiz (although it is not enabled by default, and which likely does not work on Virtual PC's anemic emulated video card, although I have not tried it)

Taking a look through the UI, I see that only FireFox and Evolution are in the quicklaunch.  OpenOffice has been relegated to a menu, where even the OpenOffice branding has been removed.  I wonder if there's a story behind that?

image

In any case, once you get the mouse and video working, Fedora 8 works like a champ and runs great.  It sure would be nice if they did a bit of testing on Virtual PC (as that is a platform that is baked) so that we did not have to diddle around with the video and mouse, but unfortunately that is a bar that only Novell/Suse seems to be able to hit.  All in all, great distro!

Published Tuesday, November 13, 2007 2:13 AM by smearp

Comments

# Linux Code and More &raquo; Blog Archive &raquo; Fedora 8 (werewolf) on Virtual PC 2007

# re: Fedora 8 (werewolf) on Virtual PC 2007

Hello Sean!!!

Thanks to your intructions Fedora 8 is running inside my Virtual PC.

All is working perfectly but when I switch to Virtual PC full screen mode, the screen area is not used completely, do you know how to correct this issue?

Thanks in advance!!

Rodrigo Corral

Saturday, December 01, 2007 12:00 PM by rcorral

# re: Fedora 8 (werewolf) on Virtual PC 2007

Thanks for the instructions! I was on the verge of giving up on Linux again.

Sunday, December 02, 2007 5:41 PM by Zian

# re: Fedora 8 (werewolf) on Virtual PC 2007

Hey Rodrigo-

That is because you likely have your Fedora resolution set to 800x600, and your monitor set to something higher.  When you go full screen, you would need to set your Fedora Resolution to whatever your native Windows resolution is.  

You would normally do this in Fedora under System --> Preferences --> Hardware --> Screen Resolution.  Unfortunately, there don't seem to any other screen resolutions to change to.  You will want to play around with your /etc/X11/xorg.conf file to adjust the screen resolution.

Monday, December 03, 2007 2:00 PM by smearp

# re: Fedora 8 (werewolf) on Virtual PC 2007

you the "man" sean, thx a million.

this is the best community i've been in yet.

Friday, December 07, 2007 12:10 AM by jtranok

# re: Fedora 8 (werewolf) on Virtual PC 2007

thanks for the help, but now everytime i start fedora i have to do the i8042no.loop after the kernel entry, is there a way around that?

Friday, December 07, 2007 7:44 PM by jtranok

# re: Fedora 8 (werewolf) on Virtual PC 2007

@jtranok-

Scroll about 2/3 the way through my post until you find the part that says "After logging in, let's fix that mouse problem for once and for all. "

What follows is the instructions for solving the problem so you don't need to type it in each time you boot :)

Monday, December 10, 2007 6:41 PM by smearp

# re: Fedora 8 (werewolf) on Virtual PC 2007

Great tip emailed to me by reader Rainer:

Just a hint to simplify the installation: When the installation asks where to install GRUB there is an option to enter additional kernel parameters. Adding the i8042.noloop parameter there works also, so there is no need to interrupt the restart and to manually edit the boot options.

Monday, December 10, 2007 6:42 PM by smearp

# Fedora 8 on Virtual PC 2007

One thing about Fedora 8 I have noticed is that if you try to install it in Virtual PC 2007 the video display will be messed up if you use the GUI install. At the boot screen hit "tab" for additiona...

Thursday, December 20, 2007 4:07 AM by Web White Noise

# re: Fedora 8 (werewolf) on Virtual PC 2007

Thank you very much for your tutorials on running Fedora 8 in Microsoft Virtual PC. I recently got Fedora 8 on the cover of my APC Magazine disc and I wanted to try it out and now I can :).

Andrew

Sunday, December 23, 2007 10:59 PM by andrewtechelp

# re: Fedora 8 (werewolf) on Virtual PC 2007

Sean,

To the best set of instructions. Thank you.

Ron

Thursday, January 03, 2008 7:26 PM by ronrysanek

# re: Fedora 8 (werewolf) on Virtual PC 2007

Sean,

To the best set of instructions. Thank you.

Ron

Thursday, January 03, 2008 7:26 PM by ronrysanek

# re: Fedora 8 (werewolf) on Virtual PC 2007

Thanks for the instructions.

I installed under Virtual PS 2007 and encounterted the mouse issues. But thanks to your blog, I got around this.

Friday, January 04, 2008 8:10 PM by rremedios

# re: Fedora 8 (werewolf) on Virtual PC 2007

How to solve the entering the WEP key for the wirless network USB key?

Friday, January 04, 2008 8:12 PM by rremedios

# re: Fedora 8 (werewolf) on Virtual PC 2007

strike the question on the wep key. VP2007 reconized the wirless network key.

A question on using the daemon tools lite and accessing 1 or more drives in VP2007. Is this possible?

Friday, January 04, 2008 9:35 PM by rremedios

# re: Fedora 8 (werewolf) on Virtual PC 2007

I followed the instructions but it seems i have some problem.

Installing process hangs at 3.0.8-44.fc8.noarch package(Installing SElinux policy)-package 545(870)

Any ideas what can be wrong?

Thanks in advance.

Monday, January 07, 2008 1:54 PM by alek_p

# re: Fedora 8 (werewolf) on Virtual PC 2007

I have finally installed fedora 8,but not on Virtual pc 2007,but on 2004.Maybe that was the problem-I don't know.

Anyway,

Thank you very much for the instructions.

Everything works just like you said

Thanks again:)

Monday, January 07, 2008 11:24 PM by alek_p

# re: Fedora 8 (werewolf) on Virtual PC 2007

Your instructions work great.  One question however.  When I use the Ctrl-Alt combination to switch to another termnal, all I receive is light (dimmed) text, with graphical bards running across the screen.  The page works, but I can only see a portion of the screen, and it isn't a nice clean screen.  Any ideas.

Scott

Tuesday, January 08, 2008 11:05 AM by sgoethals

# re: Fedora 8 (werewolf) on Virtual PC 2007

to clean remaining screen problem use following boot params :

"vesa i8042.noloop psmouse.proto=imps clock=pit vga=771"

Tuesday, January 22, 2008 12:06 PM by franck.bonin

# re: Fedora 8 (werewolf) on Virtual PC 2007

This final tweak did fix my remaining screen problems. But I have to enter the vga=771 parameter each time I boot. How can I make it permanent?

frank.bonin wrote:

to clean remaining screen problem use following boot params :

"vesa i8042.noloop psmouse.proto=imps clock=pit vga=771"

Friday, February 01, 2008 9:52 PM by JayZee

# re: Fedora 8 (werewolf) on Virtual PC 2007

Scroll up a bit in the post and find the section that says "After logging in, let's fix that mouse problem for once and for all"

Instead of just adding the i8042.noloop, add Frank's entire line.  That should do it! :)

Saturday, February 02, 2008 8:43 AM by smearp

# re: Fedora 8 (werewolf) on Virtual PC 2007

Hi,

I tried to make it perminant by following every step, but it is not making it perminant.

any ideas?

Wednesday, February 06, 2008 5:27 PM by bsamuel

# re: Fedora 8 (werewolf) on Virtual PC 2007

I had the same problem, but mine had a simple explanation - the text editor saw fit to split the line with a carraige return, so the part with the i8042 bit on was no longer on the same line as the kernel.

Once I removed the carraige return the parameters worked perfect

Thanks Sean

P.s. I'm new to the whole linux thing, is there another excelent tutorial anywhere showing a beginner how to set up the prepackaged FTP server and a seperate one for setting up the prepackaged Mail server?

cheers

Saturday, February 09, 2008 5:37 AM by JasonJ387

# re: Fedora 8 (werewolf) on Virtual PC 2007

These instructions worked great for me. The only problem is I can't change my resolution to 1280x1024. I have editted the xorg.conf to no avail and system-config-display will not run. Plus, everytime I try to shut down X to go into text mode, the screen looks terrible. I'm wondering if, and where, I should add that "vesa i8042.noloop psmouse.proto=imps clock=pit vga=771" comment from above. To the boot options in the grub loader for the kernel? Thanks.

Monday, February 18, 2008 9:21 PM by aj59

# re: Fedora 8 (werewolf) on Virtual PC 2007

how to set up resolution 1024x768

Tuesday, February 26, 2008 11:57 AM by chaban

# re: Fedora 8 (werewolf) on Virtual PC 2007

I have problem when switching to full screen the resolution is not match

please help me

Wednesday, February 27, 2008 12:10 PM by chaban

# Fedora 8 under Virtual PC 2007

So this is a bit old - but somehow I missed this great post by my colleague, Sean Earp, on how to install

Tuesday, March 04, 2008 4:19 PM by Noticias externas

# Linux u Virtual PC-u

U zadnje vrijeme blago sam zapostavio konkurenciju, pa zelim ovim i slijedecim postovima to ispraviti

Wednesday, March 05, 2008 4:40 AM by Virtualization

# Linux dans Virtual PC

Le blog de Sean Earp contient des articles tr&#232;s complets sur un sujet qui en int&#233;resse plus

Saturday, March 08, 2008 8:30 PM by pascals.blog

# re: Fedora 8 (werewolf) on Virtual PC 2007

The instructions were great, but I couldn't get it to use my wireless or wired ethernet. There was also some wierdness about sound. The detect sound cart function worked and I could hear the test, but the volume control was disabled and the sound preferences pane froze when I clicked the test buttons.

I restarted and modified the configurations in the VPC Networking Panel (one, the other, both, none), but  now when I try and boot up it stalls with "Error 11: Unrecognized Device String". Clicking "any key to continue" brings me to the grub screen, but I don't know where to go from here. Trying to boot the selected option only sends me back to the Error 11 screen.

Here's the whole screen:

Booting 'Fedora (2.6.23.1-42.fc8)'

root (hd0,0)

Filesystem type is ext2fs, partition type 0x03

Kernel /vmlinuz-2.6.23-1-42.fc8 ro

 [Linux-bzimage, setup=0x2c00, size=0x1e0320]

root=/dev/VolGroup00/LogVo100 rhgb quit i8042.noloop

Error 11: Unrecognized device string

Press any key to continue...

Friday, March 14, 2008 11:18 PM by tommcgee57

# re: Fedora 8 (werewolf) on Virtual PC 2007

@chaban

I don't remember the exact steps, but to get a higher screen resolution you need to go into your Monitor settings and pick a Default (or Standard?) Monitor of whatever resolution you want.  Then when you go into the resolution settings you'll have higher options.  The Monitor settings are in System > Admin (or something like that) - just look around, you'll find the monitor settings.

Thursday, April 10, 2008 9:03 PM by tycen

# re: Fedora 8 (werewolf) on Virtual PC 2007

I just found these notes and have been of excellent help. Thank you Sean, thank you all.

Alberto

Monday, April 14, 2008 8:52 AM by ahforero

# re: Fedora 8 (werewolf) on Virtual PC 2007

Hi,

Thanks for this info.

I thought i had the system installed ok but after first install I am now getting the error:

Booting 'Fedora (2.6.23.1-42.fc8)'

root (hd0,0)

Filesystem type is ext2fs, partition type 0x83 kernel /vmlinuz-2.6.23.1-42.fc8 ro root=/dev/VolGroup00/LogVol00 rhgb quiet

Error 15: File not found

Press any key to continue..._

I have googled this issue but cannot find realistic help on it - please bear in mind that i am new to linux

I am starting a second install to see if it will work the second time - but i've stumbled across an error (which may be the cause of the problem) :

The partition table on device sda was unreadable. To create new partitions, it must be initialized, causing the loss of ALL DATA on the drive.

Would you like to initialize this drive?

I have an open query on experts exchange on it - and it appears it might be a sata issue?

Has any body else has this issue or would anyone have any advice?

Regards,

Joe

Tuesday, April 29, 2008 9:19 AM by jscan1

# re: Fedora 8 (werewolf) on Virtual PC 2007

Just to follow up on the above - I got help from Experts Exchange and the soloution was to add this in the boot command:

linux acpi=off libata.dma=0 libata.ignore_hpa=1 noapic vesa i8042.noloop

(all one line)

Thanks again Sean for providing this blog, it's really great to have a working virtual Fedora install

Wednesday, April 30, 2008 6:43 AM by jscan1

# re: Fedora 8 (werewolf) on Virtual PC 2007

I am seeing some trouble with the mouse still.  My file looks just like yours in /boot/grub/menu.lst; however, I still have to manually enter the code at grub load if I want the mouse to function.  What may I have done wrong?

Monday, May 05, 2008 8:22 PM by jamesisin

# re: Fedora 8 (werewolf) on Virtual PC 2007

Virtual PC 2007 is very slow than the other virtualization softwares. Maybe newer version will be better! I hope.

Thursday, May 08, 2008 6:13 AM by gorete

# re: Fedora 8 (werewolf) on Virtual PC 2007

I am just beginning with Linux.  I followed the above instructions, and got to the main screen ok.  I didn't see a "Welcome" screen, so I rebooted, and I guess it came up, but it didn't look right (didn't have the right resolution or something).  I rebooted again, added the line suggested by aj59 (vesa i8042.noloop psmouse.proto=imps clock=pit vga=771), but got the same thing.  Any ideas?

Saturday, May 10, 2008 3:25 PM by berdoggy
Anonymous comments are disabled
 
Page view tracker