Linux From ScratchThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
hi everyone .
I have study project : Build LFS and make it boot from USB.
Anyone can answer the questions ?
- Can i build LFS on VitualBox ?
- i create new machine, then i use liveCD LFS to boot GUI xfce4 , so , can i build LFS from this environment ? (GUI xfce4 - from LiveCD)
- anyone have exp build LFS from Vitualbox , shared 2 me ./
Thanks !
You can't use the LiveCD anymore for a modern LFS system. The LiveCD will not build the current and stable releases of LFS.
It's best to work outside of VirtualBox anyway as VirtualBox does have some bugs in the recent version with how the mouse and X11 support works causing mouse and handling instabilities.
I recommend using another distribution to build it in real-time such as Gentoo or Slackware.
I used Virtualbox for my first LFS build, and I don't recommend it.
To get the true principle of what LFS really is, you have to delve in deeper and get your hands dirty.
Also, considering you as a beginner to Linux, its better to get the 'feel' of what Linux is than dive head-first into merely copying and pasting the commands in the book. Use a host distro like Debian if Slackware is too complex.
I had build LFS 6.2 on live CD LFS run on Vmware 2 week ago . Everything is ok ( I have to rebuild 3 times ) until chapter 8.3 , when i run :
make mrproper ( linux-2.6.16.27 ) have error. Cant compile to test kernel . ( the reason is the resolution of Vmware too small : only 640 x 480 ) .
That the reason i change to virtualbox .
I'm amateur in linux os . So , i try to build LFS 6.2 on LiveCD to have exp before build on os real. ( other version later dont support LiveCD )
Anyone plz give me some advices ? ( i've 2 choices )
1/ I still rebuild LFS 6.2 on LiveCD LFS ( build on xfce4 environment ) on virtualbox ?
2/ i'll install one of linux os and use live CD LFS to build (build on os master ) ? ( ofcourse all actions are done on Vmware or Virtualbox )
Actually , after 2 week to build LFS step by step , i study alot of new things about linux . I think , if i have good result about this project, may be in the future, i'll study linux more and more (i'm curious about balancing on linux )
Not only that but VirtualBox also has a huge resource overhead being a Virtual Machine. It takes about 2-3 times longer to build LFS on VirtualBox and any other VM than it does an actual system.
Not only that but VirtualBox also has a huge resource overhead being a Virtual Machine. It takes about 2-3 times longer to build LFS on VirtualBox and any other VM than it does an actual system.
Can i rebuild on Virtualbox like build on Vmware i had done ?
Build on Live CD ( environment xfce4 ? ) ?
plz give me some advices ? ( i only 've 2 choices )
1/ I still rebuild LFS 6.2 on LiveCD LFS ( build on xfce4 environment ) on virtualbox ?
2/ i'll install one of linux os and use live CD LFS to build (build on os master ) ? ( ofcourse all actions are done on Vmware or Virtualbox )
If you want to virtualize it, I'd recommend building with another OS so you can build the modern system. Gentoo and Slackware both work well for this by default. I'd get the Gentoo Live DVD for this however, or Slackware, so you can install the system without too much of a hassle.
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,233
Rep:
Quote:
Originally Posted by muafiu
I had build LFS 6.2 on live CD LFS run on Vmware 2 week ago . Everything is ok ( I have to rebuild 3 times ) until chapter 8.3 , when i run :
make mrproper ( linux-2.6.16.27 ) have error. Cant compile to test kernel . ( the reason is the resolution of Vmware too small : only 640 x 480 ) .
That the reason i change to virtualbox .
i don't think the 640x488 screen resolution is why the kernel won't compile, that wouldn't stop anything from compiling
Quote:
Originally Posted by muafiu
I'm amateur in linux os.
So , i try to build LFS 6.2 on LiveCD to have exp before build on os real. ( other version later dont support LiveCD )
Anyone plz give me some advices ? ( i've 2 choices )
1/ I still rebuild LFS 6.2 on LiveCD LFS ( build on xfce4 environment ) on virtualbox ?
2/ i'll install one of linux os and use live CD LFS to build (build on os master ) ? ( ofcourse all actions are done on Vmware or Virtualbox )
Actually , after 2 week to build LFS step by step , i study alot of new things about linux . I think , if i have good result about this project, may be in the future, i'll study linux more and more (i'm curious about balancing on linux )
lfs isn't really an amateur project, i would take the suggestion of installing and learning a more mainstream distribution and installing software on it from source, then once you understand a bit more of linux, trying to build lfs. that being said, good luck.
as for the virtualbox thing, you've been advised to not use any virtual machine when building LFS system, that being said if you can get it to work, more power to you, if you have a hard time though, you can't say you weren't warned.
lastly, LFS is up to version 7.3, why are you building 6.2?
and no, the live cd won't work with 7.3
p.s.
this is a technical forum, we speak english here, not text speak (please, not plz, experience, not exp etc..)
second, if you're going to ask for help, you're going to need to provide more details, such as compile options used and error messages returned, 'it didn't work' isn't enough to go by.
i don't think the 640x488 screen resolution is why the kernel won't compile, that wouldn't stop anything from compiling
lfs isn't really an amateur project, i would take the suggestion of installing and learning a more mainstream distribution and installing software on it from source, then once you understand a bit more of linux, trying to build lfs. that being said, good luck.
as for the virtualbox thing, you've been advised to not use any virtual machine when building LFS system, that being said if you can get it to work, more power to you, if you have a hard time though, you can't say you weren't warned.
lastly, LFS is up to version 7.3, why are you building 6.2?
and no, the live cd won't work with 7.3
p.s.
this is a technical forum, we speak english here, not text speak (please, not plz, experience, not exp etc..)
second, if you're going to ask for help, you're going to need to provide more details, such as compile options used and error messages returned, 'it didn't work' isn't enough to go by.
i dont know, but actually , that is the error message from VMware ( and i think to increase resolution , i have to install VMware tools ).
That the reason i start again with Virtualbox .
you ask me why dont start with the LFS 7.x ?
I'm beginner . I have to learn to start with LFS 6.2 because i can use LiveCD 6.2 to learn from basic to hard . With LiveCD, i am not looking for a host outside .It provides a known good host for building LFS . I can build direct on LiveCD .
When i success , i'll learn to start with LFS 7.x by os host outside .
And this is my project in class , i cannot get any support from my teacher except have advices like :" try to find on google .." .
I only have 4 week to complete this project and write report .
I'm from Vietnam , so my english is not good , sorry about this.
Now, i'm building in chapter 5.x . I'm hope everything will be good and lucky .
Thanks you. If i have error, i will report here to get some help.
Have nice weekend.
Lfs 6.2 is,nt a beginners disc it,s Old version, 7.3 even 7.4 now is the same but updated.
I have built 7.3 using a Debain live disc there is a link in my signature how to use the disc if thats the way you want to go. You could also build straight onto usb stick as well, making the usb bootable to the installed system.
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,233
Rep:
to be quite honest, any live CD on which you can install compilers can be used to install LFS. the process of installing LFS system
building an lfs system are most simplistically the following steps
----------------------
1) build temporary build system
2) chroot into temporary build system
3) build base system and remove temporary build system
4) reboot into base system
5) build the rest of the system
only steps 1-3 are done on a live cd, and it doesn't have to be the LFS live cd to do so.
It can boot from harddisk now .
1/ How can i copy the source of LFS from hard disk to usb ?
i try to boot from CD by live CD LFS 6.2 and boot to xfce4 , but i dont know where the location of LFS system on HardDisk.
2/ How to make it boot from usb ?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.