LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 05-25-2007, 03:51 PM   #1
tompickles
Member
 
Registered: Oct 2006
Location: UK
Distribution: Vista, Gentoo
Posts: 61

Rep: Reputation: 15
VMWare Server + Which Start Distro


I am thinking about having a crack at this, but don't want to muck up a PC doing it. If i install a distro (advice on which one would be appreciated) as a starting point in a Virtual Machine, and the build a LFS in the same machine, will it actually work?!
 
Old 06-11-2007, 03:40 AM   #2
DrMabuse
LQ Newbie
 
Registered: Jun 2007
Posts: 2

Rep: Reputation: 0
LFS and VMWare

Okay, yesterday I started my first VMWare-LFS.

Here are my experiences:

Im using a "normal" PC with Windows XP and downloaded the VMWare-Player.

At my first try I used the vmwarez-livecd-player and the LFS-6.2 LiveCD.
Really very soon I noticed that the vmwarez-livecd-player only ships with a 2GB virtual harddisk, which is - hmmm.... let's say "small".

So I asked how to get an empty vm with even a bigger drive. Yesterday I found "easyvmx.com", where you can build empty virtual machines online. I have chosen my options containing 100GB of virtual drive.

I wanted to start with the LFS LiveCD, but had no CDR for burning the image (bad on sundays). But this it's no problem, just copy the iso-file on to your computer and edit the vmx-file this way:

Find your entry for your CD-Rom drive, which may look like this:
# Settings for physical CDROM drive
ide1:0.present = "TRUE"
ide1:0.deviceType = "cdrom-raw"
ide1:0.startConnected = "TRUE"
ide1:0.fileName = "F:"

Change them looking like this:
# Settings for physical CDROM drive
ide1:0.present = "TRUE"
#ide1:0.deviceType = "cdrom-raw"
ide1:0.deviceType = "cdrom-image"
ide1:0.startConnected = "TRUE"
#ide1:0.fileName = "F:"
ide1:0.fileName = "C:\Documents\LFS\lfslivecd-x86-6.2-5.iso"

Just comment out the originals, after building your LFS you may change them back for easy attaching your physical CD-Rom when you don't need the livecd anymore.

This way is really nice, and you have even not to leave a cd in your tray all the time while building lfs.

Okay, Now let's boot our virtual machine. It should work really fine (it worked wothout any problems on my system) and soon you will see your boot prompt.

I've just startet to install my LFS while reading the book online at my windows, and I hope to bring it to an end today or tommorrow.

Here are some hints, which got the vm working "better" with my machine:
Put your LFS VM files on an empty spare disk if possible. Leaving them on the windows system drive may get your system really slow - at least when you are compilen gcc and other big packages. My vm is really fast, and you will notice a litte performance decrease on the host system only while compiling the bigger packages.

When setting up your virtual harddrives using fdisk, do not write a bootable flag for your future boot-disk. When shutting down the vm for any purposes it will not boot the livecd if you do so. If you have set the boot-flog for your virtual drive, enter the BIOS when booting again your vm and set it up to boot from cd-rom first to workaround this problem.

I have encountered a little problem, not really knowing why it is so. I suspended my vm session one time while going to lunch. After restoring the session (it's a nice feature I think - you don't need to setup your working environment all the time) at first everything worked fine, until I needed to apply a patch to a package. The patch command didn't work complaining the loopback device loop0 produces IO-errors. Not knowing how and why (it may even have nothing to do with the suspendend vm-session) I just rebooted the vm and everything was fine again.

At my oppinion this is a nice way to build a LFS system while you can keep on using your windows computer as usual.

I hope I could help a bit.
 
Old 06-11-2007, 05:38 AM   #3
tompickles
Member
 
Registered: Oct 2006
Location: UK
Distribution: Vista, Gentoo
Posts: 61

Original Poster
Rep: Reputation: 15
Yeh, that is helpfull thanks. So you'd reccommend the LFS Live CD as your starting Distro. Cheers.
 
Old 06-11-2007, 07:53 AM   #4
DrMabuse
LQ Newbie
 
Registered: Jun 2007
Posts: 2

Rep: Reputation: 0
LFS LiveCD

Sorry... urgs...
Long post, short answer: Yes, LFS LiveCD is my choice for building LFS.

For my oppinion LFS LiveCD is the best choice, because it comes configured in all ways needed by the LFS-build (expect -c "spawn ls" will work, etc.) and additionaly contains every package and patch needed in the directory "/lfs-sources", so you don't need to download anything else.
 
Old 06-11-2007, 08:38 AM   #5
tompickles
Member
 
Registered: Oct 2006
Location: UK
Distribution: Vista, Gentoo
Posts: 61

Original Poster
Rep: Reputation: 15
great - thanks for your advice - just downloading the Live CD torrent now. Will no doubt be back on here posting if I get stuck! Will feedback how I get on though.
 
  


Reply

Tags
vmware


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
vmware server install error, The VMware VmPerl Scripting API was not installed. fakie_flip Linux - Software 4 12-28-2008 05:49 AM
Is FreeBSD a server distro or a desktop distro with good server capatabilities? matthew5 *BSD 16 06-06-2006 04:11 PM
LXer: VMware Introduces Free VMware Server LXer Syndicated Linux News 0 02-07-2006 09:46 AM
LXer: VMware cuts VMware Server price to zero LXer Syndicated Linux News 0 02-04-2006 04:31 AM
XIO: fatal IO error 104. X server would not start after problem with Vmware noodle_mee Linux - Newbie 0 07-07-2004 11:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 01:17 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration