Minimal debootstrap, what can be removed?

Kernels & Hardware, configuring network, installing services

Minimal debootstrap, what can be removed?

Postby sjukfan » 2017-04-20 23:09

I've been toying with the idea of a minimal Linux install on a partition on my computer that is able to run FSArchiver, and that's about it. It just needs to boot and make an image of the hard drive, or write an image to the drive. I think it's easiest to use deboostrap but even the minimal install has things that isn't needed. So before I go mad at the disk and just rip packages one by one, does anyone know what packages can be removed or not? I've googled but haven't really found anything.
Buster amd64, Core 2 Quad Q9550
Stretch amd64, Core 2 Quad Q9400
Sid ppc, PowerPC 7447a
Sid ppc64, PowerPC 970FX
User avatar
sjukfan
 
Posts: 367
Joined: 2010-03-01 19:39

Re: Minimal debootstrap, what can be removed?

Postby Head_on_a_Stick » 2017-04-21 05:49

sjukfan wrote:a minimal Linux install on a partition on my computer that is able to run FSArchiver, and that's about it. It just needs to boot and make an image of the hard drive, or write an image to the drive.

Alpine Linux has fsachiver in the repositories and is *much* smaller than any Debian system can be made to be:

https://pkgs.alpinelinux.org/packages?n ... aintainer=

Is this for an embedded system? A few hundred megabytes doesn't usually make much difference these days...
No code is faster than no code.

Please read before posting How to report a problem
User avatar
Head_on_a_Stick
 
Posts: 6531
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Minimal debootstrap, what can be removed?

Postby Seventh » 2017-04-21 09:10

If you are going to do that you may as well install system rescue disk in my opinion and get a complete set of tools on the partition, includes fsarchiver.
Iso is only 540 mb, not sure what the installed size would be as i havent installed it but thinking about setting aside a partition to do exactly what you want to do.
http://www.system-rescue-cd.org/
Seventh
 
Posts: 24
Joined: 2017-04-01 10:13

Re: Minimal debootstrap, what can be removed?

Postby sjukfan » 2017-04-21 15:15

Head_on_a_Stick wrote:Alpine Linux has fsachiver in the repositories and is *much* smaller than any Debian system can be made to be:

Aah! I forgot to check Alpine, only checked Tiny Core LInux and those, and I might have thought of fsarchiver late in the process.

Head_on_a_Stick wrote:Is this for an embedded system? A few hundred megabytes doesn't usually make much difference these days...

Yeah, doesn't really matter if it's 100MB or 500MB since it's on a 40GB disk, I just got stuck in the thought of "how much can I remove before it stops to boot?" :-)

Seventh wrote:If you are going to do that you may as well install system rescue disk in my opinion and get a complete set of tools on the partition

Just me being compulsive about removing everything that isn't needed, also System rescue disk I rather have updated on a cd.
Buster amd64, Core 2 Quad Q9550
Stretch amd64, Core 2 Quad Q9400
Sid ppc, PowerPC 7447a
Sid ppc64, PowerPC 970FX
User avatar
sjukfan
 
Posts: 367
Joined: 2010-03-01 19:39


Return to System configuration

Who is online

Users browsing this forum: No registered users and 17 guests

fashionable