LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 04-03-2005, 12:03 PM   #1
matthewa
Member
 
Registered: Mar 2005
Distribution: Slackware 10.1
Posts: 123

Rep: Reputation: 15
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!!!
 
Old 04-03-2005, 12:53 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,387

Rep: Reputation: 581Reputation: 581Reputation: 581Reputation: 581Reputation: 581Reputation: 581
"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
 
Old 04-03-2005, 02:00 PM   #3
matthewa
Member
 
Registered: Mar 2005
Distribution: Slackware 10.1
Posts: 123

Original Poster
Rep: Reputation: 15
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?
 
Old 04-04-2005, 02:12 PM   #4
shotokan
Member
 
Registered: Mar 2005
Distribution: slackware, LFS
Posts: 204

Rep: Reputation: 30
Well, this might help http://www.linuxquestions.org/questi...hreadid=309437
 
Old 04-04-2005, 02:45 PM   #5
matthewa
Member
 
Registered: Mar 2005
Distribution: Slackware 10.1
Posts: 123

Original Poster
Rep: Reputation: 15
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
 
  


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
whats the (wd:...) in the table of the jobs command? merlin23 Linux - Newbie 3 08-13-2013 04:15 PM
MEncoder: Whats wrong with this command? flamesrock Linux - Software 1 07-15-2004 07:03 PM
whats the command to start firefox? Wiggy Linux - Software 12 04-28-2004 07:29 PM
whats the open command? zexter Linux - General 17 11-02-2003 12:57 AM
whats the command for this. dkc_ace Linux - General 1 12-20-2002 09:55 PM

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

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