Welcome to TechNet Blogs Sign in | Join | Help

News



  • Add to Windows Live
    Add to Google
    Add to My Yahoo!
    Subscribe with Bloglines
    Subscribe in NewsGator Online
    Add to Technorati Favorites

    Disclaimer: All postings are provided "AS IS" with no warranties, and confer no rights. This weblog does not represent the thoughts, intentions, plans or strategies of Microsoft. Because a weblog is intended to provide a semi-permanent point-in-time snapshot, you should not consider out of date posts to reflect current thoughts and opinions.

Installing Fedora 9 (Sulphur) in Virtual PC 2007

Fedora 9 was released last week, which you can download here: http://fedoraproject.org/get-fedora.html.  What's new?  Highlights from the release notes include:

  • GNOME 2.22. GNOME now includes a webcam photo and video creation utility called Cheese, improved network filesystem support, a new international clock applet, Google Calendar support and custom email labels in Evolution, a new Remote Desktop Viewer, improved accessibility features, and PolicyKit integration.

  • KDE 4.0.3

  • Xfce 4.4.2

  • NetworkManager 0.7 provides improved mobile broadband support, including GSM and CDMA devices, and now supports multiple devices and ad-hoc networking for sharing connections.

  • The Fedora installer, Anaconda, now supports partition resizing for ext2/3, NTFS filesystems, creating and installing to encrypted file systems, improved Rescue Mode with FirstAidKit, independent locations for the second stage installer and the software packages. A redesigned, larger netboot.iso image now features a second stage installer partly for this reason.

  • PackageKit, a new set of graphical and console tools, with a framework for cross-distribution software management, has replaced Pirut in this release of Fedora. The PackageKit graphical updater is available instead of Pup. Behind PackageKit, the performance of yum has been significantly improved.

  • Ext4, the next version of the mature and stable ext3 filesystem is available as a option in this release. Ext4 features better performance, higher storage capacity and several other new features.

  • This release of Fedora uses Upstart, an event-based replacement for the /sbin/init daemon.

  • Firefox 3 brings a number of major improvements including a native look and feel, desktop integration, the new Places replacement for bookmarks, and a re-worked address bar.

  • OpenOffice.org 2.4, with many new features, is available as part of Fedora 9.

  • Fedora 9 features a 2.6.25 based kernel.

  • Kernel crashes can be more automatically reported to http://www.kerneloops.org/ and diagnosed in a friendly way via the kerneloops package installed by default. Crash signatures are commonly referred to as oopses in Linux.

  • Work on the start-up and shutdown in X has yielded noticeable improvements.

image

Will this be the installation that "Just Works" out of the box?  Nope.  Same problem that Ubuntu 8.04 has within Virtual PC... "An unrecoverable processor error has been encountered.  The virtual machine will reset now."  Good times!

image

Fortunately, from our work with Ubuntu, we know the solution.  On the main boot screen, hit [Tab] to edit the options. Add noreplace-paravirt to the end of the boot parameters, and hit enter.

image

There we go... Fedora is able to boot the kernel and start up anaconda.  The problems I noted in my previous Fedora Posts (Fedora Core 6, Fedora 7, and Fedora 8)  of no mouse and messed up graphics seems to have been fixed.  Very Nice!

image

Stepping through the installer options is relatively plain-jane, until you get to the hard drive partitioning screen.  Is that an "Encrypt system" checkbox I see?  Why, yes it is!  I am guessing that this is a Bitlocker-esque feature, although I can't make heads or tails of how exactly this feature works on the Fedora Encrypted Filesystem Support page. Enabling the feature is easy enough, you just check the box and enter a passphrase twice. 

Does it work with a TPM? Backup to a USB key? Escrow your key into your LDAP directory for safekeeping?  Beats the heck out of me... I wasn't ever prompted for anything relating to those safeguards.  I don't even know what encryption algorithm it uses.

image

After hitting "Next" a few more times, Fedora finishes installing with no problems.  After rebooting, however, unless you are SUPER-quick on the keyboard, you will hit the unrecoverable processor error. You'll need to hit any key, and then "a".  As before, add noreplace-paravirt to the end of the boot parameters, and hit enter to continue booting.

image

As mentioned before, I chose the option to encrypt my boot drive.  The screenshot below is the highly intuitive user interface asking me to enter my passphrase.  What else could "Enter LUKS passphrase for /dev/sda2" possibly mean?

image

Finally... the hallowed Fedora boot screen.  Looks pretty nice!

image

After a final few questions (creating user, re-confirming my time preferences), I am asked to send my Hardware Profile to Fedora.  This is actually a great idea!  Perhaps if enough people send a profile showing that they are running on Virtual PC/Virtual Server, some of these silly bugs requiring workarounds (such as Fedora 8 requiring "i8042.noloop" and Fedora 9 requiring "noreplace-paravirt") could be fixed before the OS releases.  Heck, Virtual PC is free.  No incremental cost is involved in adding it to the test matrix!

image

After logging into the desktop, and checked for updates.  A mere 5 days after release, there are already 22 bug fixes and 4 security updates, including a network-exploitable remote memory leak in the kernel.  Good times.

image

Looking around, it seems that I must have missed the option during the initial install of the OS to include KDE, which I prefer to Gnome.  To be honest, I have absolutely NO idea where to install KDE once Fedora is up and running.  I went into Administration --> Add/Remove Software, but it finds no software at all to install.  You would think it has something to do with the Repository Sources, but my only options there are various Fedora ones. (Fedora 9 - i386, Updates, etc). 

According to the Software sources help, "At this time, PackageKit does not offer a way to add new repositories to your system.  It only allows you to enable or disable known repositories".

Oh well.  No KDE for me.

image image

image

Other than that, Fedora seems quite plain-jane (as I mentioned earlier with the installer).  The simplicity is nice, but nothing really stands out that would make anyone want to switch from Vista (or Ubuntu, or Mac OS X).  I wonder if this is a side effect of the fact that Red Hat is leaving the desktop Linux business.

One final reminder... to make sure that you do not have to enter the noreplace-paravirt each time you boot up, go edit your /etc/grub.conf file to add that parameter at the end of the line that looks something like kernel /vmlinuz-2.6.25.3-18.fc9.i686 ro root=dev/VolGroup00/LogVol00 rhgb quiet.  If you ever update your kernel, you'll have to do it again.  Oh well... maybe Fedora 10 will fix this issue.  I'll keep my fingers crossed...

Posted: Monday, May 19, 2008 4:10 AM by smearp

Comments

vitai.lampada said:

Unfortunately, this is not a complete solution for the LiveCD - graphics-glitch city!

Will repost if I find a solution...

# May 20, 2008 8:30 AM

xatnet said:

For the LiveCD I had to add vga=0x32D to the end of the boot paramaters to change the vesa mode to 16bit to get rid of the graphics "glitch".

# May 21, 2008 6:43 AM

Shaun Cassells at MyITForum.com said:

I have been playing with Linux distribution Fedora 9. However, I cannot get it to install in my Microsoft

# June 3, 2008 10:03 AM

Virtual PC Guy's WebLog said:

# June 4, 2008 2:59 AM

jscan1 said:

Thanks a mill Sean - that parameter was JUST what i was looking for for an updated kernel on fedora 8

# June 4, 2008 9:09 AM

JobGuru1337 said:

Just fyi, This fix works for Windows Virt Srv as well.  Thanks again!!

# June 10, 2008 12:20 PM

gusac said:

my fedora installation was in reboot loop after the screen where it gves  option to select installation.

after following your suggestion, i ws able to go beyond that, but not it doesnt detect the CD rom or the hdd.it asks for the drivers.

so its a dead end again for me. :|

BTW, im installing FC9 on VS 2005 R2

# June 11, 2008 10:37 PM

Bambi535 said:

Hi,

The wheel on my wheel mouse will not work.

To remedy one can add this:

   psmouse.proto=imps

to the end of the kernel boot options.

(source: http://forums.fedoraforum.org/showthread.php?t=100706#post619384)

# June 12, 2008 7:02 AM

Bambi535 said:

The tty (console) will be distorted. It will show three vague lines and then graphics garbage. I found the solution here:

  http://www.linuxquestions.org/questions/slackware-installation-40/slackware-with-virtual-pc-2007-588374/#post3159975

The solution is to edit /etc/modprobe.d/blacklist and add the line:

   blacklist s3fb

Also, edit /etc/X11/xorg.conf and make sure that under

   Section "Device"

ypu have

   Driver "vesa"

(or anything but "s3").

# June 19, 2008 6:33 AM

Bambi535 said:

Next I had a problem with huge screen resolution - way larger than my display permits.

So, I edited /etc/X11/xorg.conf, scrolled down to

   SubSection "Display"

and added this line

   Modes "1024x768"

then rebooted.

# June 21, 2008 4:39 AM

duskos said:

thanks for the post, but without VM Additions it is really hard to play with FC 9. I tried to install them, but failed miserably and gave up (for now). Can you please finish the job and show us how to install VM additions?

Thanks.

# July 2, 2008 7:51 AM

heaths said:

Any suggestions for getting the VM Additions installed? What's available (2.0) on the DC works with the old X11 and doesn't seem to add the kernel mod. In fact, install.sh is clearly only for "RedHat" (specifically) and no Fedora.

# July 30, 2008 1:19 PM

eric.lafnitzegger said:

After looking through your advise and the kernel parameters available, I was able to fix the error above by setting 'clocksource=pit'.

The fix you suggested with kernal parameter 'noreplace-paravirt' also affects the way the clock is implemented. I am wondering if the core to the problem isn't the paravirt fix but just the way the tsc clock, implemented in the core, is interacting with the virtual hardware.

# August 1, 2008 11:55 AM

careyhung said:

I've updated my Guest Fedora 9 with yum update

but now when I restart my guest os

it shows the follwoing error and idled:

kernel panic - not syncing: Attempted to kill the idle task

what should I do??

# October 8, 2008 2:02 AM

tinhead said:

Here's an interesting conundrum with VPC2007 and VS2005 - it seems that the display in the text mode (runlevel 3) for Fedora 7, 8 and 9 is garbled. Anyone have any ideas on how to get rid of that?

Screenshot image is here:

http://raj.jp/wp-content/uploads/2008/10/fedora-virtual-server-problem.jpg

# October 11, 2008 6:02 PM

fraz1019 said:

can u please tell me that is it applicable to x64 bit computers????

# October 14, 2008 3:18 AM

fraz1019 said:

i am trying to install Fedora 9 on HP wx 4300 work station. but error says no boot media??

please help me i am beginner to linux.

# October 14, 2008 3:31 AM

vastheaven said:

I don't why the installation stoped. I've tried many times, the installing always stoped (sometime half installed) and the VM was totaly dead. Before stop there always was a popup says something about VM additons.

Anybody know this problem?!!

# October 14, 2008 4:45 PM

CB's Blog said:

Microsoft Virtual PC 2007,安装Redhat Enterprise Linux AS4 i386版,可以运行。不过,VPC不支持64位的Linux,即便你的CPU支持VT。 下载Xen 3.1.4的源码,编译成功。注意,需要Linux-2.6.18.8的kernel 源码包,�

# October 28, 2008 11:27 AM

dr.fuct said:

the above info for FC9 over vPC07 was great!  i am however still having the message box appear after my installation.  How can this be solved?

Also, I have allocated 16 GB Dynamic space to the drive itself.

After the Grub Boot Loader it continues through the console boot process then fails.  Here's a dump of the data before receiving the error message:

 "an unrecoverable processor error has been encountered.  The virtual machine will reset now."

# November 6, 2008 3:40 PM

dr.fuct said:

the above info for FC9 over vPC07 was great!  i am however still having the message box appear after my installation.  How can this be solved?

Also, I have allocated 16 GB Dynamic space to the drive itself.

After the Grub Boot Loader it continues through the console boot process then fails.  Here's a dump of the data before receiving the error message:

 "an unrecoverable processor error has been encountered.  The virtual machine will reset now."

---------

 Booting 'Fedora (2.6.25-14.fc9.i686)'\

root (hd0,0)

Filesystem type is ext2fs, partition type 0x83

kernal /vmlinuz-2.6.25-14.fc9.i686 ro root=UUID=294037d6-6cc0-4605-b1d1-de0938ce50d3 rhgb quiet

 [Linux-bzImage, setup=0x3000, size=0.1fab60]

intrd /initrd-2.6.25-14.fc9.i686.i686.img

 [Linux-initrd @ 0x1fcba000, 0x325a09 bytes]

Decompressing Linux... done.

Booting the kernel.

# November 6, 2008 3:40 PM

dr.fuct said:

nevermind.. i'm a tard & missed a step

# November 6, 2008 3:51 PM

ashemonster said:

Some older computers and some laptops seem to run into this "no boot media" error because the CD/DVD drive is not being recognized (even though it may with other operating systems). An alternative to resolving this issue is to try the install on a different PC or add a different CD/DVD drive (if possible).

I attempted to do this install on my Dell Inspiron E1705 laptop, it didn't recognized the CD/DVD burner drive, even though other operating systems recognized it just fine. So, I installed it on my desktop, WinZip'd the two files (7GB down to 1GB), copied them to my laptop, unzipped them, ran the vmc file, logged in, modified the grub.conf file**, and finished my updates. (still has video issues during booting but I'll resolve that later) Hope that helps someone...

* Download VPC 2007 sp1, it's free for those using older versions (if your system permits).

** Editting the /etc/grub.conf helped a lot, thanks (especially after updates, I added a comment to remind myself).

# February 15, 2009 8:55 PM
Anonymous comments are disabled
Page view tracker