Commit | Line | Data |
---|---|---|
be702161 AE |
1 | # README |
2 | ||
3 | ## Getting the base ISO | |
4 | ||
5 | This script assumes that you are starting with the special ISO from the | |
6 | following URL. It already contains video files that the script in this repo | |
97a175de | 7 | will not try to download. |
be702161 | 8 | |
97a175de | 9 | <https://cdbuilds.trisquel.org/fsf/trisquel_11.0-fsf_amd64.iso> |
be702161 | 10 | |
97a175de | 11 | The corresponding source code tar can be found here: |
be702161 | 12 | |
97a175de | 13 | <https://cdbuilds.trisquel.org/fsf/trisquel_11.0_sources.tar> |
be702161 AE |
14 | |
15 | Feel free to test your download with the `trisquel_9.0-fsf_i686.iso.sha256` | |
16 | file in this repo: | |
17 | ||
97a175de AE |
18 | sha2565sum -c trisquel_11.0-fsf_amd64.iso.sha256 |
19 | sha2565sum -c trisquel_11.0_sources.tar.sha256 | |
be702161 | 20 | |
97a175de AE |
21 | If you don't have access to the FSF version of the Trisquel images, refer to |
22 | the following script and files: | |
6df15cce | 23 | |
97a175de AE |
24 | <https://gitlab.trisquel.org/trisquel/makeiso/-/blob/master/makeiso.sh> |
25 | <https://gitlab.trisquel.org/trisquel/makeiso/-/tree/master/files/fsf/GNUAV> | |
6df15cce | 26 | |
be702161 AE |
27 | ## Making a bootable USB drive |
28 | ||
29 | This should work on an external USB drive, ideally one that is 12 GB or greater | |
96af59e8 AE |
30 | in size, if you want to intsall all of the media files onto it. Note that using |
31 | a loop device will probably not work, partly due to the way syslinux behaves | |
32 | with loop devices. If you get that working, feel free to submit a patch to | |
33 | <sysadmin@gnu.org>. : ) | |
be702161 | 34 | |
9d0d5b5b | 35 | This script has been tested on GNU/Linux with syslinux version 6.04. |
be702161 | 36 | |
9d0d5b5b AE |
37 | You should wipe at least the start of the drive you want to install onto. Note |
38 | that this is a destructive operation, and if you choose the wrong drive, you | |
39 | will lose data. Replace the 'X' in /dev/sdX with the letter of the drive you | |
40 | want to install to: | |
be702161 | 41 | |
9d0d5b5b | 42 | lsblk |
be702161 | 43 | |
9d0d5b5b | 44 | # if you want to wipe /dev/sdX |
563c0bc2 | 45 | dd if=/dev/zero of=/dev/sdX bs=4M count=25 |
be702161 | 46 | |
9d0d5b5b | 47 | Then run the script on the same drive: |
be702161 | 48 | |
9d0d5b5b | 49 | sudo ./live-usb-loader.sh trisquel_11.0-fsf_amd64.iso /dev/sdX |
be702161 | 50 | |
563c0bc2 | 51 | ## Installing extra media, including Trisquel 11 source code |
be702161 | 52 | |
214a770e AE |
53 | This command also updates the Web page that shows up on boot. |
54 | ||
563c0bc2 | 55 | sudo ./install-extras.sh trisquel_11.0_sources.tar /dev/sdX |
be702161 AE |
56 | |
57 | ## Notes about video files and free space | |
58 | ||
59 | You may wish to transcode the downloaded videos to save space on the member | |
60 | card, in particular `lp2020_kahle.webm` and `lp2020_younghackers.webm`. | |
61 | ||
62 | ffmpeg -i foo.webm -acodec libvorbis -b:a 64k -vcodec libvpx -vf scale=-1:720 -b:v 800k -preset medium foo_smaller.webm | |
63 | ||
64 | # check to make sure that the video quality is okay | |
65 | mplayer foo_smaller.webm | |
66 | ||
67 | mv foo_smaller.webm foo.webm | |
68 | ||
69 | Then optionally update the checksum file for `/mnt/fsf/GNUAV/`: | |
70 | ||
71 | cd /mnt/fsf/GNUAV/ | |
72 | sha256sum ./ > ../checksums.sha256 | |
73 | mv ../checksums.sha256 . | |
74 |