Find the answer to your Linux question:
Results 1 to 6 of 6
Hi, I'm trying to do my own LFS. Though I am reading the LFS book there are a few things that I do need answers on: 1. It says that ...
  1. #1
    Just Joined!
    Join Date
    Sep 2008
    Posts
    3

    A few questions about LFS

    Hi, I'm trying to do my own LFS. Though I am reading the LFS book there are a few things that I do need answers on:
    1. It says that i am supposed to use Fdisk, but i cant use that cause i don't have a disk-ett station.
    So therefore i am using GParted instead to get into the terminal and manage the partitions.
    2. Shall i use Gparted trough the whole build of LFS?
    Can someone recomend the programs i have to use to create LFS?

    Thanks for all answers!

  2. #2
    Linux Guru
    Join Date
    Nov 2007
    Location
    Córdoba (Spain)
    Posts
    1,513
    Quote Originally Posted by Siege View Post
    Hi, I'm trying to do my own LFS. Though I am reading the LFS book there are a few things that I do need answers on:
    1. It says that i am supposed to use Fdisk, but i cant use that cause i don't have a disk-ett station.
    If you mean that you do not have a floppy drive, then it's nothing related to that. Fdisk is just another program. A command line one instead of a graphical program like gparted.

    2. Shall i use Gparted trough the whole build of LFS?
    Can someone recomend the programs i have to use to create LFS?

    Thanks for all answers!
    I doubt you can use gparted easily from the first stages of an LFS installation, unless you are going to use it from an alternate livecd. Gparted is a graphical frontend, hence it will not work without X, on the very first stages of an LFS installation. You could use plain parted from command line though, but I'd stick to the manual if you are not experienced, and use fdisk instead as suggested.

  3. #3
    Linux Engineer GNU-Fan's Avatar
    Join Date
    Mar 2008
    Posts
    935
    Hello,

    the program you use should not make any differences on the result. What really matters is that you understand what you are doing (e.g. not partition&format the wrong drive). FDisk won't complain if the drive was partitioned with GParted.

  4. #4
    Just Joined! natrik's Avatar
    Join Date
    May 2006
    Posts
    13

    Measure twice, partition once.

    Quote Originally Posted by Siege View Post
    1. It says that i am supposed to use Fdisk, but i cant use that cause i don't have a disk-ett station.
    So therefore i am using GParted instead to get into the terminal and manage the partitions.
    If you want to stick to the script (the LFS book) and you don't have a diskette drive, you can use almost any Linux LiveCD (Knoppix, Ubuntu, etc) to use many common programs, including fdisk. You will most likely need to run it like this: sudo fdisk <your drive>

    However, gparted will perform the task for you just fine, and it's prettier than either of those console programs. How are you managing to run gparted in the first stages of LFS? I can only imagine you already have a LiveCD of some flavor or another.

    Quote Originally Posted by Siege View Post
    2. Shall i use Gparted trough the whole build of LFS?
    Once you get your disk partitioned, there is no further need of any disk partitioning utility, be it fdisk, cfdisk, gparted, or otherwise, unless you decide to scrap the whole heap and start over.

    Quote Originally Posted by Siege View Post
    Can someone recomend the programs i have to use to create LFS?
    I am assuming the LFS to which you refer is Linux From Scratch. That being the case, you may find the LFS community to be of great use to you as well, specifically the mailing lists and IRC channels found on this page: Support for LFS Projects

    Based on the information at LFS Project Homepage I'm also assuming you already have the information you seek. It says: "Linux From Scratch (LFS) is a project that provides you with step-by-step instructions for building your own customized Linux system entirely from source."

    I suggest it would be in your interest to scan through the entire book, if not read it thoroughly, before you continue on your LFS quest. I have found this to be useful so that I have some sort of idea where I'm going with a project. Also I recommend you visit the IRC channels, and maybe peruse the mailing list archives. (see Support for LFS Projects )

    Of course, Linux Forums is great place for questions, and I'm not trying to send you away, but I've found it helpful to use the support of specific communities as well. In this case, that would be the link above.

    -- Nate
    Last edited by natrik; 09-01-2008 at 04:22 PM. Reason: clarification

  5. #5
    Just Joined! natrik's Avatar
    Join Date
    May 2006
    Posts
    13
    Also, if you're in a LiveCD environment (cause otherwise I don't see how you're running gparted) you can most likely access a terminal from the gui by one of these methods:

    - any of CTRL-ALT-F1 through CTRL-ALT-F6 (can switch amongst without CTRL, and usually get back to gui with ALT-F7)

    - ALT-F2 and type one of these, without quotes: "xterm" or "konsole" or "gnome-terminal"

    -- Nate

  6. #6
    Just Joined!
    Join Date
    Sep 2008
    Posts
    3

    Syntax error

    Yes I am using a LiveCD of Gparted. So far the Gparted is doing quite well, but there is a problem:
    4.2.&#160;Creating the $LFS/tools Directory

    On this link it tells me to type: "ln -sv $LFS/tools /"

    But when i type it this comes up: "syntax error near unexpected token 'in' "
    It's like the code is invali, though I have tryed it several times.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...