LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 04-21-2004, 09:28 AM   #1
thinusp
LQ Newbie
 
Registered: Sep 2003
Location: Netherlands
Distribution: Suse 9.2 Professional
Posts: 3

Rep: Reputation: 0
LinuxFromSCratch inside vmware


Hallo there

I have built a linuxfromscratch system within vmware running on my WinXP Dell Inspiron 5150 notebook.

Everything went well and the system is bootable.

Has anyone else done this? My question is how the kernel should be configured. As I am brand new to vmware, I'm in doubt as to the type of hardware available to the system.

Any pointers would be greatly appreciated

Thinus
 
Old 04-22-2004, 06:18 AM   #2
thinusp
LQ Newbie
 
Registered: Sep 2003
Location: Netherlands
Distribution: Suse 9.2 Professional
Posts: 3

Original Poster
Rep: Reputation: 0
hmmm, no takers I see.

No worries, I found the documentation and it lists all the hardware that is provided to the virtual machine.

The nice thing is it's actaully working as expected. And it's not slow either

Now on to X....

T
 
Old 04-24-2004, 05:04 AM   #3
Cerbere
Member
 
Registered: Dec 2002
Location: California
Distribution: Slackware & LFS
Posts: 799

Rep: Reputation: 33
Wow! That's a really interesting idea. Now that the Stanley Cup playoffs are down to eight teams, maybe I'll give it a shot this weekend.

My best advice for planning your kernel would be to go through the output of dmesg with a fine-tooth comb. You should find most of the info you need there.

Or if you've installed pciutils, you can use lspci.

Or just 'cat /proc/pci'.

Or ...

Enjoy!
--- Cerbere
 
Old 04-29-2004, 11:11 PM   #4
Punkie
LQ Newbie
 
Registered: Apr 2003
Location: Montreal, Canada
Distribution: CLFS 1.0.0
Posts: 24

Rep: Reputation: 15
The manual and online help should give you all the information you need regarding the virtual hardware.
 
Old 05-03-2004, 01:58 AM   #5
ParticleHunter
Member
 
Registered: Apr 2004
Location: Malaga, Spain
Distribution: LFS
Posts: 129

Rep: Reputation: 15
Hi,

You really managed to do it? wow... I tried to do it 6 times before actually going for a partition redefine on my HDD for real disk space allocation... it said didn't recognized my virtual PCI devices, hanged several times during kernel loading and it was only KNOPPIX, not LFS... so I did quit my attemps to try it virtually

So, no luck for me, but hey, at least I tried

Congratulations

Julio
 
Old 05-11-2004, 09:37 AM   #6
EThitop
Member
 
Registered: May 2004
Distribution: Slackware 10
Posts: 146

Rep: Reputation: 15
Quote:
Originally posted by Cerbere
Wow! That's a really interesting idea. Now that the Stanley Cup playoffs are down to eight teams, maybe I'll give it a shot this weekend.
--- Cerbere
What is a good idea?
 
Old 05-11-2004, 09:40 AM   #7
EThitop
Member
 
Registered: May 2004
Distribution: Slackware 10
Posts: 146

Rep: Reputation: 15
VMware is very easy to use, at least I know that it works great for me. All I do is tell it to create a new virtual machine. Then it goes through, and if you leave the default settings for the machine then that is usually good enough to get your system running at the least. It will create a "virtual partition" and when you are installing the OS in VMware just tell it to format the partition automatically and it won't mess with your hdd, it will only mess with your virtual partition.
 
Old 05-11-2004, 10:00 PM   #8
Cerbere
Member
 
Registered: Dec 2002
Location: California
Distribution: Slackware & LFS
Posts: 799

Rep: Reputation: 33
I found the idea of compiling an LFS system within VMware to be pretty interesting (but not necessarily 'good').

I've never had any troubles installing Slack to a virtual machine, though I usually change the virtual disk to IDE rather than SCSI. However, I couldn't get LFS to compile in the virtual machine. It always gives me too many errors during the first glibc compile.

Oh well, I've found a new pet project: I'm building LFS on an old box I rescued from the thrift store. It's got dual Pentium 90 MHz CPUs and 64 MB RAM. Seems like it'll be a pretty long process. I'm about four days into the build and right now I'm compiling GCC in chapter 6. I didn't time my SBU, but it was about an hour.

Hmm, I don't recall any point in the build process where I could 'tell it to format the partition automatically' :-)

Enjoy!
--- Cerbere
 
Old 05-11-2004, 10:03 PM   #9
EThitop
Member
 
Registered: May 2004
Distribution: Slackware 10
Posts: 146

Rep: Reputation: 15
Oh, yeah I guess your earlier response would have made more sense to me if I knew that you could only compile your own version of Linux from LFS only after installing LFS itself. I thought that you could go through a big list and choose what you wanted etc, download that and then configure it using config files.

Oh, and for the "format automatically" option doesn't appear in all distros of Linux, but for some like SuSE and Redhat, when you are installing linux, there is an option that says something like "format all drives and configure automatically" and I was just saying that when you are doing that within VMware then you don't have to worry about it messing up your actual hard drive. It will only mess with your virtual partition.

Last edited by EThitop; 05-11-2004 at 10:07 PM.
 
  


Reply



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
Booting Windows from inside Linux using VMWare moistTowelette Linux - Software 1 09-06-2005 07:52 PM
running Linux inside windowXP using vmware cpu General 8 08-19-2004 09:10 AM
Need Help getting Red Hat 9 Internet working, inside of Vmware 4.5. Host=Xp Pro Izonic Linux - Networking 1 06-25-2004 03:22 PM
VMWare from Inside Windoze???? shooter Linux - General 2 12-11-2002 12:05 PM
No X-Windows in linux inside VMware lubu Linux - Newbie 1 03-12-2002 04:57 AM

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

All times are GMT -5. The time now is 02:32 PM.

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