Changes

m
→‎Install To 4GB USB: with dd duplication instructions
Line 13: Line 13:     
: Trisquel 5.0 is based on the previous Ubuntu release, 11.04 Natty Narwhal.
 
: Trisquel 5.0 is based on the previous Ubuntu release, 11.04 Natty Narwhal.
 
+
===Install To 4GB USB===
====Netinstall from USB====
+
::Formatted /boot 500 ext4 / ext4 3300
*Download: http://mirror.fsf.org/trisquel-images/
+
*Boot CD
*https://trisquel.info/en/forum/netinstall-usb-key-boot-image
+
:Install Trisquel
You can do this by using a Trisquel's net-install ISO. Those ISO files are specifically designed so you can either burn them to CD, or write them to an USB stick.
+
::Choose USB /dev/sdb;/dev/sdc;...etc
To write an net-install ISO to an USB stick, you can run the following commands:
+
*Boot USB and Customize it
'''sudo dd if=trisquel-netinst_5.0_i686.iso of=/dev/sd#'''
+
:add and modify programs you want to have
'''sync'''
+
{{Note/note|
"/dev/sd#" is the device where you will write the image to.
+
* '''When making a new USB''', to clear the Sugar Journal of old entries and to avoid identity conflicts among copies of the VM, enter the command {{Code|rm ~ rf /.sugar}} in the Terminal activity. Then shutdown the VM. This will clear all Learner information on the VM and let you start with a fresh install. Skipping this will result in collisions in the Neighborhood view of the Jabber network between separate copies of the appliance. Verify the presence of the '''.sugar''' directory by entering {{Code|ls -a}} in Terminal.
   You must replace "#" with the appropriate small Latin letter ("a", "b", "c", ...), so the name corresponds to your USB stick.
+
* '''When cloning a customized USB''', in order to keep the Journal and installed .xo Activities, use {{Code|rm ~/.sugar/default/owner.key*}} in the Sugar Terminal, and then shutdown the VM. This leaves the Journal entries and removes only the previous Learner's identity key files.}}
 +
*Sugar-terminal
 +
sudo su
 +
Changes to root terminal(#)
 +
shutdown -h now
 +
(USB shutsdown)
 +
====Make .img file====
 +
:insert 4 GB USB in PC
 +
   You must replace "(x)" with the appropriate small Latin letter ("a", "b", "c", ...), so the name corresponds to your USB stick.
 
   For example, the name could be "/dev/sdc". Be careful to not mistake your USB stick with another device, because the commands above will delete everything on that device.
 
   For example, the name could be "/dev/sdc". Be careful to not mistake your USB stick with another device, because the commands above will delete everything on that device.
   You can see which device your USB stick is in Disk Utility.
+
   You can see which device your USB stick is by typing "mount" in terminal
  −
The "sync" command makes sure everything is written on the USB stick, so you don't remove it prematurely.
      +
$ sudo su
 +
[sudo] password for <USER>:
 +
# dd if=/dev/sd(x) of=Tris-5-i686.img bs=2M
 +
1912+0 records in
 +
1912+0 records out
 +
4009754624 bytes (4.0 GB) copied, 174.034 s, 23.0 MB/s
 +
====Write .img file to another 4 GB USB====
 +
:insert another 4GB USB in PC
 +
# dd if=Tris-5-i686.img of=/dev/sd(x) bs=2M
 +
1912+0 records in
 +
1912+0 records out
 +
4009754624 bytes (4.0 GB) copied, 925.221 s, 4.3 MB/s
 +
*This will be a NEW USB to boot which will have it's own ssh keys; color; and name; when booted. If you followed the commands in the blue note above.
 +
:'''You can run this multiple times to mass duplicate new USB's'''
    
===Trisquel 4.5-sugar===
 
===Trisquel 4.5-sugar===
12,355

edits