Making LFS safe from SuSE?
I'm wanting to learn Linux internals better. As such I'm going to build Linux From Scratch (LFS). However, I'm not sure how to best approach this. LFS must be built from an existing distro. I want to maintain my desktop SuSE 8.1 install as pristine possibly. So naturally I'm a little concerned about installing all the devel packages, doing all the compiling, etc. So I was wondering what eveyone thought of this. Would I be best off creating ANOTHER partition with a SuSE (or other distro) install that I didn't mind breaking if need be? Thoughts on this. Preston
On Tuesday 11 February 2003 07:50, me@prestoncrawford.com wrote:
I'm wanting to learn Linux internals better. As such I'm going to build Linux From Scratch (LFS). However, I'm not sure how to best approach this. LFS must be built from an existing distro. I want to maintain my desktop SuSE 8.1 install as pristine possibly. So naturally I'm a little concerned about installing all the devel packages, doing all the compiling, etc.
So I was wondering what eveyone thought of this. Would I be best off creating ANOTHER partition with a SuSE (or other distro) install that I didn't mind breaking if need be?
Thoughts on this.
Preston
Hi Preston - I've got this setup on my machine. I would certainly want to put LFS in its own partition, but LFS won't break SuSE if this is the case, nor vice versa. You do have to follow the LFS instructions on the chroot environment with care, but they work perfectly. HTH Fergus -- Fergus Wilde Chetham's Library Long Millgate Manchester M3 1SB Tel: +44 161 834 7961 Fax: +44 161 839 5797 http://www.chethams.org.uk
Why not pick up another hard drive, and do everything on the new drive? Then there is almost no possibility of contamination. --doug At 23:50 02/10/2003 -0800, me@prestoncrawford.com wrote:
I'm wanting to learn Linux internals better. As such I'm going to build Linux From Scratch (LFS). However, I'm not sure how to best approach this. LFS must be built from an existing distro. I want to maintain my desktop SuSE 8.1 install as pristine possibly. So naturally I'm a little concerned about installing all the devel packages, doing all the compiling, etc.
So I was wondering what eveyone thought of this. Would I be best off creating ANOTHER partition with a SuSE (or other distro) install that I didn't mind breaking if need be?
Thoughts on this.
Preston
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
On Tue, 11 Feb 2003, Doug McGarrett wrote:
Why not pick up another hard drive, and do everything on the new drive? Then there is almost no possibility of contamination. --doug
Main reason being that I already have a second drive and I use it as a backup drive and a drive for important files. So I really don't have a second drive I can use safely. I could install a 3rd, but that would require adding a PCI card since I have a CDRW and a DVD drive. :-) Preston
You have nothing to worry about. In LFS 3.x you had to do the whole thing as root, and forgetting to put in a --prefix=/mnt/lfs/usr could get you into trouble. But LFS 4.0 uses a "static" directory that belongs to the normal user, and then you chroot and use the binaries in the static dir, so you won't mess anything up. Hans On Tue, 2003-02-11 at 09:50, me@prestoncrawford.com wrote:
I'm wanting to learn Linux internals better. As such I'm going to build Linux From Scratch (LFS). However, I'm not sure how to best approach this. LFS must be built from an existing distro. I want to maintain my desktop SuSE 8.1 install as pristine possibly. So naturally I'm a little concerned about installing all the devel packages, doing all the compiling, etc.
So I was wondering what eveyone thought of this. Would I be best off creating ANOTHER partition with a SuSE (or other distro) install that I didn't mind breaking if need be?
Thoughts on this.
Preston
participants (4)
-
Doug McGarrett
-
Fergus Wilde
-
H du Plooy
-
me@prestoncrawford.com