[SOLVED] having a problem with lfs linux from scratch
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
@EDDY1 this is not the problem, please read post #29
Primary and extended partitions are numbered from 1-4 and logical partitions begin with 5. Logical partitions are created inside the extended partition and are useful if you want to have more than only four partitions.
@linux/unix87: when I told you to decrease the size of the big partition /dev/sda1 before creating an extended partition, I meant to make the free space big enough. I think you should decrease /dev/sda1 down to about 50GB, this will give you about 100GB of free space. For swap you'll need a maximum of 512MB, for LFS you'll need about 10GB of space. As I understood you're running Ubuntu on partition /dev/sda1, doesn't your Ubuntu have a separate partition for the /home folder?
I never decreased or increased anything thats the way its been since i installed it. Im wondering you guys said to use something other than the host to partition. could i use partition wizard it is a bootable cd? or do i have to use gparted? because i dont have gparted.
Well, you can burn the gparted iso-image: http://gparted.sourceforge.net/download.php on a CD. You can boot it like any other Linux-live-CD and then decrease your /dev/sda1 partition. Afterwards you may delete /dev/sda4
and create a new extended partition.
oh and for the swap i have read and been told diff things on the size of that like: use 1 and half times your ram and 512mb and many others. also im trying to follow what the manual says on lfs it says i can use fdisk to create my partitions but the error its giving me is "no free sectors" so then i tried using an easier cfdisk but that says fatal error cannot open disk drive?
the iso has about 120MB. Be aware, that it is possible, if you already have an Ubuntu or Suse Live-CD or DVD, that there is gparted installed. You may boot the Live-CD and find this out. If you want to resize a partition, you'll have to use a live-CD since you cannot change a partition which is already mounted (which would be the case if you would use gparted when your Ubuntu is running).
i have 3 gb of ram. I downloaded gparted live and its on a cd in the computer so i downsize partition /dev/sda1 and then delete /devsda4? In what order ,if there is any, do you partition? ok so what if you unmount it because i was able to create a partition using fdisk while running ubuntu but i had to restart to actually mount it. oh another thing is there was unallocated space about 147gb but it wouldnt let me partition that at all?
so how big should i make /dev/sda2 extended? and how do i put the partitions in the extended from what im understanding cause i just figured out how to delete it. my swap was in the extended i deleted that then deleted partition 4.
You have to go back thru the post and look for information on that, I don't know anything about lfs, and use guided partitioning.
usually / has own partition and then all others are within extended(logical). http://www.dedoimedo.com/computers/gparted.html