this post was submitted on 15 May 2024
494 points (99.0% liked)

linuxmemes

20751 readers
543 users here now

I use Arch btw


Sister communities:

Community rules

  1. Follow the site-wide rules and code of conduct
  2. Be civil
  3. Post Linux-related content
  4. No recent reposts

Please report posts and comments that break these rules!

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 14 points 4 months ago (1 children)

Maybe build your own iso that doesn't include the things you won't use?

[–] [email protected] 12 points 4 months ago (2 children)

Yes, but I don't know how to do that. I might do some research on it tho.

[–] [email protected] 12 points 4 months ago (2 children)

I think you could mount the iso and manually delete the packages you dont want. Mounting an iso is as easy as

# mount -o loop /path/to/iso /path/to/mountpoint

You can also chroot into it while it is mounted: https://wiki.archlinux.org/title/Chroot

Disclaimer, I am not sure if deleting files inside the iso makes it weight less.

[–] [email protected] 2 points 3 months ago* (last edited 3 months ago)

You'd likely need to reshrink the partition, then truncate the ISO to fit.

[–] [email protected] 2 points 4 months ago (1 children)

I might try this for the next install, thank you!

[–] [email protected] 15 points 4 months ago (1 children)

Just FYI, Arch Linux has a tool called Archiso that you can use to create live ISO image. You can copy the default releng config and edit the package list accordingly.

[–] [email protected] 4 points 4 months ago

This is another good looking solution!

[–] [email protected] 3 points 4 months ago

I don't know either, sorry.. but there's obviously a way. 🤣 If you find a good howto share a link.