(Linux) Building a LFS system off of a Live CD?

Praetor

Diamond Member
Oct 14, 1999
4,498
4
81
Has anybody tried to build a linux from scratch while booting from a live CD ala SUSE's or Knoppix' live cd? I've done a quick search through the main website and have not yet come across any references to this.

But in theory, it should be possible, yes?
 

cleverhandle

Diamond Member
Dec 17, 2001
3,566
3
81
Other than being a little slow, I don't see any obvious problems. You'll probably want to create a spot for the source tarballs on the hard drive early on, so as not to eat up your ramdisk.

But it's been a long time since I've built an LFS. I could be missing something in the details.
 

Praetor

Diamond Member
Oct 14, 1999
4,498
4
81
I was thinking about deleting my current / and /usr partitions but keeping my /home partition safe and sound and possibly setting up another partition just for the sources (tarballs and the like) and building everything via that boot CD, rather than having to fight with having two linux systems.

I downloaded the LFS 5.0 book to my pocketpc and have been going over it for the past few days and I'm thinking it might be possible, but just slow like you mentioned.

Good idea or bad? :p
 

cleverhandle

Diamond Member
Dec 17, 2001
3,566
3
81
Originally posted by: Praetor
I was thinking about... possibly setting up another partition just for the sources (tarballs and the like)...
I don't see why another partition beyond the target would be necessary. If you're going to create an LFS on a filesystem mounted at /mnt/lfs, I think you could just create /mnt/lfs/src (or usr/src, or whatever...) and build from there.
Good idea or bad? :p
I guess if you're really short on space and don't want a host system, then it's okay.