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 |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
04-03-2005, 12:03 PM
|
#1
|
Member
Registered: Mar 2005
Distribution: Slackware 10.1
Posts: 123
Rep:
|
whats the first command?
Ok.......so ive downloaded and built parted on my system and it works just fine. Now im not familiar with this gram, so I have been reading the man pages and the little online parted manual for info. It all makes sense, but..............
What do I need to do first?!!!
Im running a seperate home partition on my system of about 71 gigs, so I have room to spare! I would like to use some of that space for the new lfs parititons and that is my goal.
Do I resize that partition? Or do I just run the command to mkfs first? or do I need to run mklabel first to specify a swap partition of a linux native?
Man! We are in diar need of a good site with concise instructions on how to do these things.......Which is my next project. If I can just figure out how to run all this stuff I promise I will create a site that will take these things to a learning level!
Anyway, for now........HELP!!!
|
|
|
04-03-2005, 12:53 PM
|
#2
|
LQ Guru
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,387
|
"Do I resize that partition? Or do I just run the command to mkfs first? or do I need to run mklabel first to specify a swap partition of a linux native?"
The first thing to do is to set up your partitions the way that you want. If you do not already have a swap partition then divide the existing empty partition into a small swap partition (512M) and a large / partition.
After your partitions are set up then run mkfs to create a file system in the / partition. If you create a new swap partition then you need to format the swap partition with mkswap.
-------------------------
Steve Stites
|
|
|
04-03-2005, 02:00 PM
|
#3
|
Member
Registered: Mar 2005
Distribution: Slackware 10.1
Posts: 123
Original Poster
Rep:
|
Ok.......I understand that. What Im trying to ask is how do I go about setting up my partitions the way I want? Thats what I need to know, the parted documentation is not very specific about this. I need to know my first steps.
I am going to need to take space from an existing home partition of an existing linux distro, so what do I need to do first? I obviously need to strip this space from the existing partition, so does that mean that I need to resize the partition first?
I mean how do I get this new partition set up off of the existing partition?
|
|
|
04-04-2005, 02:12 PM
|
#4
|
Member
Registered: Mar 2005
Distribution: slackware, LFS
Posts: 204
Rep:
|
|
|
|
04-04-2005, 02:45 PM
|
#5
|
Member
Registered: Mar 2005
Distribution: Slackware 10.1
Posts: 123
Original Poster
Rep:
|
thanks, shotokan!
I finally figured it out and your posts have been very helpful. I actually booted my copy of SystemRescueLinux and ran Parted to resize the partition and then cfdisk to create the new partition for the build.
That was probably the long way around, but I got the job done and kept a tight lease on the process as I did it.
thanks again
|
|
|
All times are GMT -5. The time now is 07:19 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|