LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 07-30-2003, 06:01 AM   #1
kalok_kala
LQ Newbie
 
Registered: Jun 2003
Distribution: linux tle
Posts: 2

Rep: Reputation: 0
installation problem ( beginner Pleazzz help )


pleaz zzz
i'm beginner and i don't understand more .
i try to install LFS ,i down load all package in form .tar.bz2 and document from internet . my hd have 2 partition ,the first has Red Hat and second are space .
i think the instruction maybe like this (pleas recommend)
1 ) unzip all package to hda1 is this correct? & when you
want what package to install you just mount to hda1 ...... ?
2) fdisk second partition and create file system on it
where i got to use command fdisk and create file system ?
cause i can't get command line when i reboot with boot disk

3) Mounting the new partition
How do i get command line between use boot disk to type
the command ?

pleas recomment Thanks Very Mush
 
Old 07-30-2003, 11:12 AM   #2
Dark_Helmet
Senior Member
 
Registered: Jan 2003
Posts: 2,786

Rep: Reputation: 374Reputation: 374Reputation: 374Reputation: 374
My first suggestion: read over the book at least once before you start trying to install the system. You don't have to read all the details, but get an idea of what you'll be doing. Most of what you ask is addressed by the book in detail because the book does everything but type the commands for you. So, just read over it, adn you'll be much better prepared for how to set up your machine the way you want it to be.

That said, I will tell you how I do things. First, you need to create the partition and create the filesystem where you plan to install LFS. From your post, I assume you haven't done either. So, you will need to execute:
fdisk /dev/hda

Then create a partition in the free space on the hard drive. next, you need to make a filesystem. You can use just about any filesystem type you want: ext2, ext3, reiserfs, etc. Assuming you want ext3, you would issue this command:
mkfs.ext3 /dev/hda2

You do not want to uncompress and untar the packages all at once. You can, but that will consume a large amount of disk space. I would suggest keeping the source files on the partition that you will be installing LFS from because you may not have access to your red hat partition later (once you get to chapter 6, it's good to have all the files you need in the LFS partition). Then uncompress and untar them when you need them to compile. That's the way I've always done it. Again, the book will tell you what it intends to do, and once you understand the process, you can decide what will fit your needs best.

I'm afraid I don't understand your third question. All I can say is this: to mount a filesystem, just use the mount command. It doesn't have to be mounted when the machine boots. Create a directory to mount the LFS partition with mkdir. The LFS book suggests mkdir /mnt/lfs. Then mount the LFS partition with mount /dev/hda2 /mnt/lfs. All of the mounting stuff is discussed in chapter 3 or 4...
 
Old 07-31-2003, 03:11 AM   #3
kalok_kala
LQ Newbie
 
Registered: Jun 2003
Distribution: linux tle
Posts: 2

Original Poster
Rep: Reputation: 0
thanks a lot for your recommend Dark_Helmet
 
  


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
Two Beginner questions: Installation and Fuzzy Font treble54 Linux - Newbie 6 08-29-2005 08:03 PM
beginner needs various help. meeep Linux - Software 44 08-21-2005 12:10 AM
Help this beginner weng Linux - Newbie 5 12-20-2003 08:55 AM
can somebody pleazzz help? hyd_lin Linux - Software 6 06-13-2003 11:37 PM
I am THE beginner please help me :( statuszero Linux - General 10 05-26-2002 03:44 PM

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

All times are GMT -5. The time now is 03:44 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