Saving space on download DVD for 2G Ram install on remote machine
Jerry Geis
jerry.geis at gmail.com
Mon May 2 17:25:46 UTC 2022
Hi All,
So with a machine that ONLY has 2G ram - and installing remotely (sometimes
worked and sometimes did not)... So I tried a something.
When creating the "custom" DVD I removed a couple directories.
Namely:
rm -rf $DESTINATION_DIR/pool/main/l/linux*hwe*
rm -rf $DESTINATION_DIR/pool/main/j/jfs*
rm -rf $DESTINATION_DIR/pool/main/r/reiserfs*
rm -rf $DESTINATION_DIR/pool/main/w/wpa*
rm -rf $DESTINATION_DIR/pool/main/z/zfs*
rm -rf $DESTINATION_DIR/pool/main/f/freetype*
rm -rf $DESTINATION_DIR/isolinux/*.hlp
rm -rf $DESTINATION_DIR/isolinux/*.tr
The goal was to SAVE space on the media download... I was thinking I
dont do a GUI install, dont need hwe, dont need the fonts, dont use
reiserfs, dont use zfs etc.... So removed all those before making my
custom DVD. THe result size went from 1.3G to 1.2G so - space was saved.
I use this command to make the custom DVD
xorriso -as mkisofs -r \
-V "Ubuntu $UBUNTU_RELEASE_FULL LSI" \
-isohybrid-mbr $ISO_BIN_PATH \
-c isolinux/boot.cat \
-b isolinux/isolinux.bin \
-no-emul-boot \
-boot-load-size 4 \
-boot-info-table \
-eltorito-alt-boot \
-e boot/grub/efi.img \
-no-emul-boot \
-isohybrid-gpt-basdat \
-o $DESTINATION_IMAGE \
$DESTINATION_DIR
I do have to skip the "check" disk after download as that will fail...
But this "seems" to work. So thought I'd share for those doing similar
installs.
Couple replies to my original post mentioned starting with a mini.iso
(which is deprecated) so not wanting to go there...
Enjoy your day!
Jerry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20220502/fc15b956/attachment.html>
More information about the ubuntu-users
mailing list