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-17-2012, 08:59 AM   #1
kiyoshi7
Member
 
Registered: May 2012
Posts: 37

Rep: Reputation: Disabled
best os to start linux from scratch


hey i've been reading up on linux from scratch and i want to start it with ubuntu but i've read that ubuntu 'generates' many problems can you guys confirm this and give a suggestion for a better os?

btw I've been using ubuntu(installed on my comp.) for the past 2 years but im going to make lfs in a virtual machine.
 
Old 05-17-2012, 09:30 AM   #2
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Centos6.3/Debain
Posts: 1,762
Blog Entries: 1

Rep: Reputation: 245Reputation: 245Reputation: 245
Hi the main thing 2 do is make sure your OS is compliant read host requirements. I have built using Ubuntu I have also used Debain live cd. You will find most OS works
 
Old 05-17-2012, 09:30 AM   #3
towheedm
Member
 
Registered: Sep 2011
Location: Trinidad & Tobago
Distribution: Debian Squeeze
Posts: 585

Rep: Reputation: 119Reputation: 119
LFS does not depend on your native distro. It only uses it to download the required tar archives and build the initial gcc, glibc etc. Once the base system is built you enter a chroot environment where LFS takes over. From that point the native distro becomes irrelevant.

I did LFS on Debian Squeeze without any problems. I plan to redo it before movinf on to CLFS and the others.

I guess if you are going to run it in a VM, then you will have to package the entire build for installation in the VM. This assumes of course that the VM has the exact hardware configuration of your machine. Remember, the LFS build, to a certain extent depends on your physical machine.
 
Old 05-18-2012, 12:09 PM   #4
kiyoshi7
Member
 
Registered: May 2012
Posts: 37

Original Poster
Rep: Reputation: Disabled
ok so the os doesnt matter thanks and about the virtual machine:

the virtual machine is vmplayer i created a new partion on it so i have ubuntu and an empty partition on one "Hard Drive"

if i develope in the vm how portable is it going to be? or do i have to make it compatable with the vm and my real computer?

if i dont do it on a vm is there any risk of me breaking my computer if i do lfs directly on it? cause the only reason im want to do it on a vm is so i dont run that risk.

thanks
 
Old 05-18-2012, 12:56 PM   #5
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Centos6.3/Debain
Posts: 1,762
Blog Entries: 1

Rep: Reputation: 245Reputation: 245Reputation: 245
Hi

I hav'nt used a VM at all and had no problems, if you create a seperate partition there is no reason that it should break anything.
 
Old 05-18-2012, 02:23 PM   #6
kiyoshi7
Member
 
Registered: May 2012
Posts: 37

Original Poster
Rep: Reputation: Disabled
but in lfs dont you mess aroun with kernels and ect? and cant that harm the computer in some way?
 
Old 05-18-2012, 02:27 PM   #7
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Centos6.3/Debain
Posts: 1,762
Blog Entries: 1

Rep: Reputation: 245Reputation: 245Reputation: 245
It will all be on the seperate partition, the only hickup can be with grub but can all be fixed, using a live cd. As how it works with VM I cant help
 
Old 05-18-2012, 02:30 PM   #8
kiyoshi7
Member
 
Registered: May 2012
Posts: 37

Original Poster
Rep: Reputation: Disabled
well if there is no risk of my computer breaking or getting damaged in some way there is really no reason for me to use a vm so i might as well do lfs normally

can you explane the hiccup with grub?
 
Old 05-18-2012, 02:33 PM   #9
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Centos6.3/Debain
Posts: 1,762
Blog Entries: 1

Rep: Reputation: 245Reputation: 245Reputation: 245
It,s just getting it to boot the other OS,s but there is no need to panic about it, plenty of help on here.
 
Old 05-18-2012, 02:37 PM   #10
kiyoshi7
Member
 
Registered: May 2012
Posts: 37

Original Poster
Rep: Reputation: Disabled
ahhh ok then thanks so i need to do lfs is ubuntu and an empty partition to dev the lfs os right?

and somehow make the comp be triple boot (?)
 
Old 05-18-2012, 02:40 PM   #11
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Centos6.3/Debain
Posts: 1,762
Blog Entries: 1

Rep: Reputation: 245Reputation: 245Reputation: 245
Load ubuntu make it compliant herethen read the book and follow it.
 
Old 05-20-2012, 10:13 AM   #12
kiyoshi7
Member
 
Registered: May 2012
Posts: 37

Original Poster
Rep: Reputation: Disabled
thx but i seem to have run into another hiccup im supposed to get md5sum and place it in $lfs/sources and run:

pushd $LFS/sources
md5sum -c md5sums
popd

but when i type the second line it tells me that there is no directory. do you know how to solve this?
 
Old 05-20-2012, 10:45 AM   #13
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Centos6.3/Debain
Posts: 1,762
Blog Entries: 1

Rep: Reputation: 245Reputation: 245Reputation: 245
Hi

I,ve not used that methord I just download the package as I go along then run md5sum "packagename" and check it against where I download it from, The next page gives you the places to download along with the md5sum.
 
Old 05-20-2012, 10:52 AM   #14
kiyoshi7
Member
 
Registered: May 2012
Posts: 37

Original Poster
Rep: Reputation: Disabled
thx so i dont have to download that huge list all at once right? btw i was able to get past the directory problem but then md5 only gave me read errors... :/
 
Old 05-20-2012, 10:58 AM   #15
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Centos6.3/Debain
Posts: 1,762
Blog Entries: 1

Rep: Reputation: 245Reputation: 245Reputation: 245
No I get the packages as I go along run the md5 against the package just to make sure it,s a good file.
 
  


Reply


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
I Want To Start Learning Red Hat Linux From Scratch freebeeinmood Linux - Newbie 5 03-11-2005 10:41 AM
ali aladdin v agp stinks :scratch: :scratch: :scratch: Mr Marmmalade Linux - Hardware 1 07-08-2003 06:11 AM


All times are GMT -5. The time now is 05:39 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration