Giter Site home page Giter Site logo

linux-from-scratch-2's Introduction

My notes and binaries for installing LFS

I have forked taql's empty repository, because it was first result of Git-Hub's search.

I decided to install my LFS in VirtualBox. I hope it is good decision. All steps should be repeatable on non-virtual machine. I allso decided not to copy any binaries into my repository. In my opinion it isn't the purpose of repository like this. So enyone who starts with LFS can just clone my repository and start compiling :)

Day1 - Create Virtual Machine

Time consume: 2h

I created VirtualBox VM with 10GB Dunamically allocated VDI drive. Then i downloaded ubuntu server as distribution which creates partitions and builds initial system. This will i install on special 5GB virtual drive. I'll delete this drive after i will be done. I have downloaded Ubuntu 12.04 LTS 32 bit - server.

I have installed ubuntu server with all default settings.

After booting system, i have installed git and i checkouted this repository. With bash version-check.sh i checked which required software i have and then installed the rest with sudo apt-get install xyz. In Ubuntu awk link in usr/bin/awk points to mawk so i delete it and replace it with ln -s gawk awk.

Day2 - Preparings

Time consume: 30 min

Preparing new partition

With sudo cfdisk i have created 3 partitions:

  • 100MB boot partition, that is supposed to be mounted to /boot
  • 8GB root partition
  • 400MB swap partition

And then with: sudo mkfs sda1 -t ext2 sudo mkfs sda2 -t ext3 sudo mkswap ext3 i created filesystems.

debugfs -R sdaX showed me exactly what it shoud.. I'm glad, that ubuntu's makefs didn't gave me some addition problems. After i mounted sda1 to %LFS and sda2 to %LFS/boot i used wget list for download packages and other sources.

linux-from-scratch-2's People

Contributors

viktomas avatar vvasianovych avatar

Watchers

James Cloos avatar Claudio Serrano avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.