Results 1 to 4 of 4

Thread: Linux from Scratch- where to begin??

  1. #1
    Join Date
    May 2014
    Beans
    1

    Linux from Scratch- where to begin??

    So I got the LiveCD environment up and running fine- but I'm having trouble getting started with it- do I still partition my hard drive, and if so, how do I access it?? I tried to cfdisk but it wasn't able to access any hard drives O_o Or am I supposed to build everything on the CD itself??
    I can follow the terminal commands, but I just need to figure out how to access the actual partition to do work on- or am I doing all the work on the CD itself...this is my real question-I already have a partition I set up in Linux Mint (what I was working on to do LFS before I realized that the LiveCD was a thing)

  2. #2
    Join Date
    May 2007
    Location
    The New Forest
    Beans
    Hidden!
    Distro
    Xubuntu

    Re: Linux from Scratch- where to begin??

    Thread moved to Other OS/Distro Support.

  3. #3
    Join Date
    Apr 2014
    Location
    Tucson AZ, USA
    Beans
    1,057
    Distro
    Ubuntu

    Re: Linux from Scratch- where to begin??

    Quote Originally Posted by amier.naji7 View Post
    So I got the LiveCD environment up and running fine- but I'm having trouble getting started with it- do I still partition my hard drive, and if so, how do I access it?? I tried to cfdisk but it wasn't able to access any hard drives O_o Or am I supposed to build everything on the CD itself??
    I can follow the terminal commands, but I just need to figure out how to access the actual partition to do work on- or am I doing all the work on the CD itself...this is my real question-I already have a partition I set up in Linux Mint (what I was working on to do LFS before I realized that the LiveCD was a thing)

    I haven't looked into LFS for almost 10 years now. As I recall it you need to mount the partitions somewhere then chroot into them. The book tells you what to do you just gotta read up on how to do it is what it sounds like. As far as cfdisk goes the command cfdisk won't do anything. You need to find out what letter your drive is at then cfdisk /dev/sdX. Then it will load and let you do your thing. You don't need a partition just for LFS though. You can build it right inside of Mint and then transfer it somewhere, or to it's own partition. At least from what I recall.

    LFS is a big project though. If you are having trouble figuring out a cli partition tool then ... no offense and I mean no disrespect... you aren't ready for it. There will be errors and problems as you build, is just the way it is. The book doesn't tell you everything step by step, rather it doesn't always tell you the command to use. It assumes a certain level of ability.

  4. #4
    Join Date
    Nov 2013
    Beans
    2

    Re: Linux from Scratch- where to begin??

    When I tried Linux From Scratch, I had spare space on my hard drive to use as the LFS partition. You can always read the help for commands using "man cfdisk", you have to build the tools on that partition because the CD is read only. I read the books that came with it thoroughly too. I'd try installing Gentoo before LFS, as it's a little easier, and uses similar processes except you don't have to compile the GCC compiler. That's where I got stuck.

Tags for this Thread

Bookmarks

Posting Permissions

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