r/linuxfromscratch • • Jun 25 '20

Noob Question

Hi ! I explore Ubuntu and setup my first web server, however the file size of this one (I share an .ova file to run on VM) is huge and we have slow internet connection to download it.

I post this question on this subreddit because maybe some of you have experienced on this one

Question

  1. Is it possible to create a LFS which it only contains /var folder (holds the website) /etc folder (holds services like apache) and produce as .iso file and become bootable?
  2. Any recommended tools, blogs, resources?

Thank you so much !

3 Upvotes

4 comments sorted by

View all comments

Show parent comment

2

u/[deleted] Jun 26 '20

I see an .iso file before which run even they have just that folder. Can I just delete those "uneccessary files" ? Thank you for clearing these things I will check the arch..

1

u/Dadaurs Jun 26 '20

If you mount a usb drive wich has an iso burnt on it, you will not find a “normal” / directory under it.

However once you boot from a usb that does have a usb “burnt” on it, and do ls / you will find all the necessary directories for a linux system to function.

Also, no I would not delete “ unnecessary “ files.

Truth is that they are probably useful, or necessary, to the system in one way or another.