4. Divide into DVD-sized portions
Part 1:
- Note: If you changed repositories in Step 3 then the following command will require editing:
Code:
debpartial --nosource --dirprefix=ubuntu --section=main,restricted,universe,multiverse --dist=hardy,hardy-security,hardy-updates,hardy-backports --size=DVD ~/UbuntuRepos ~/UbuntuDVDs
1. Replace the red
hardy in the code above with your repository choice (i.e.,
gutsy, intrepid or
jaunty).
2. If you plan on burning
CDs instead of
DVDs, then replace
--size=DVD with
--size=CD74 (for 650 megabyte CD-Rs),
or --size=CD80 (for 700 megabyte CD-Rs)
Part 2:
How many CDs will we need to create? How do we find out? Paste this code in the Terminal and hit Enter:
If the last folder is
ubuntu3 you need to create
4 DVDs. If the last folder is
ubuntu4 then it will be
5 DVDs, and if the last folder is
ubuntu31, you'll need to create
32 CDs, and so on.
Having determined the number of physical discs you'll need, use the following as your pattern until all discs are complete (the only change from one to the next is the final number). These represent Hardy Heron's requirements:
Code:
ruby debcopy -l ~/UbuntuRepos ~/UbuntuDVDs/ubuntu0
Code:
ruby debcopy -l ~/UbuntuRepos ~/UbuntuDVDs/ubuntu1
Code:
ruby debcopy -l ~/UbuntuRepos ~/UbuntuDVDs/ubuntu2
Code:
ruby debcopy -l ~/UbuntuRepos ~/UbuntuDVDs/ubuntu3
Code:
ruby debcopy -l ~/UbuntuRepos ~/UbuntuDVDs/ubuntu4
Bookmarks