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

linuxmemes

20880 readers
3 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] 12 points 5 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.

[–] PoolloverNathan 2 points 5 months ago* (last edited 5 months ago)

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

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

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

[–] [email protected] 15 points 5 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 5 months ago

This is another good looking solution!