[Sugar-devel] hello from Nexcopy - Recycle USB
Thomas Gilliard
satellit at bendbroadband.com
Sun Jan 20 20:13:25 EST 2013
On 01/20/2013 12:38 PM, Walter Bender wrote:
> Replication is not the issue (we have Nexcopy, after all). So a 2GB
> image with some persistent storage, even if liveinstall doesn't work,
> would be the target.
>
> -walter
>
> On Sun, Jan 20, 2013 at 3:35 PM, Thomas Gilliard
> <satellit at bendbroadband.com> wrote:
>> On 01/20/2013 11:20 AM, Walter Bender wrote:
>>> Is there no longer a 2GB image available?
>>>
>>> -walter
>>>
>>> On Sun, Jan 20, 2013 at 2:13 PM, Thomas Gilliard
>>> <satellit at bendbroadband.com> wrote:
>>>> On 01/18/2013 06:57 PM, Greg Morris, Nexcopy wrote:
>>>>> Ok. Great. I can send them to that address.
>>>>>
>>>>> Waiting for download link and we'll get them done Tues and ship out.
>>>>>
>>>>> Regards,
>>>>> Greg
>>>>> ••••••••••••••••••••
>>>>> Sorry for the short eMail, sent from my iPhone.
>>>>>
>>>>> On Jan 18, 2013, at 5:39 PM, Walter Bender <walter.bender at gmail.com>
>>>>> wrote:
>>>>>
>>>>>> Hey. That's great!!
>>>>>>
>>>>>> I'm CCing Peter and Thom to see what image they recommend.
>>>>>>
>>>>>> Maybe the best address would be:
>>>>>>
>>>>>> Walter Bender
>>>>>> 22 Central St.
>>>>>> Newton, MA 02466
>>>>>>
>>>>>> Many thanks.
>>>>>>
>>>>>> -walter
>>>>>>
>>>>>> On Fri, Jan 18, 2013 at 8:22 PM, Greg Morris - Nexcopy
>>>>>> <gregm at nexcopy.com> wrote:
>>>>>>> Hi Walter,
>>>>>>>
>>>>>>> I hope this email finds you well and happy new year!
>>>>>>>
>>>>>>> We have about 200 drives we can send you.
>>>>>>>
>>>>>>> -- can you provide the most current download link for Sugar?
>>>>>>> -- can you provide an address to send the USB sticks
>>>>>>>
>>>>>>> If there is anything new you can report...I'd be happy to hear it.
>>>>>>>
>>>>>>> Respectfully,
>>>>>>> Greg
>>>>>>>
>>>>>>> GREG MORRIS | NEXCOPY INC.
>>>>>>> P: 949 481 6478 X 112 | email: gregm at nexcopy.com | web:
>>>>>>> www.nexcopy.com
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Walter Bender
>>>>>> Sugar Labs
>>>>>> http://www.sugarlabs.org
>>>> Walter;
>>>> Look at this tutorial [1]
>>>>
>>>> [1]
>>>>
>>>> http://wiki.sugarlabs.org/go/Tutorials/Installation/How_to_make_a_SoaS.img_file_for_repeated_installs_to_4_GB_USB%27s
>>>>
>>>> Download a prebuilt .img file:
>>>> http://people.sugarlabs.org/Tgillard/Soas_8.img 3.7G download
>>>>
>>>> This command can be repeated for multiple USB's:
>>>>
>>>> Note it takes about 10 minutes to write to each 4 GB USB
>>>>
>>>> use "mount" command to confirm USB device name and edit: of=/dev/sd(x)
>>>>
>>>> [root at localhost Desktop]# dd if=Soas_8.img of=/dev/sdc bs=2M
>>>> 1912+0 records in
>>>> 1912+0 records out
>>>> 4009754624 bytes (4.0 GB) copied, 587.133 s, 6.8 MB/s
>>>> [root at localhost Desktop]#
>>>>
>>>>
>>>>
>>>> This is a real netinstall of f18 sugar-desktop to a 4 GB USB with
>>>> firstboot
>>>> not yet run*
>>>> It boots from the USB once written (see tutorial
>>>> root=sugarroot
>>>> *user name and colors are set in firstboot
>>>>
>>>> Tom Gilliard
>>>> satellit
>>>>
>>>>
>>>>
>>>
>> Walter;
>> The problem is that the command "liveinst" does not install to USB at the
>> moment
>> https://bugzilla.redhat.com/show_bug.cgi?id=896687
>> So it is now only possible to create a USB stick with the dd command:
>>
>> [root at localhost RC4]# dd if=Fedora-18-x86_64-Live-SoaS.iso of=/dev/sd(x)*
>> bs=2M
>> 288+0 records in
>> 288+0 records out
>> 603979776 bytes (604 MB) copied, 177.758 s, 3.4 MB/s
>>
>> of=/dev/sd(x)* use mount command to get device name of the mounted USB
>>
>> -Note that it will have no persistence
>>
>> The 4 GB .img file has persistence as it is a regular ext4 netinstall of
>> Sugar-desktop to USB (Thus larger in size)
>>
>> http://people.sugarlabs.org/Tgillard/Soas_8.img 3.7G download
>>
>> It would be easier to just use the above command from fedora 18 terminal
>> repeatedly on each new 2 GB USB using the downloaded file;
>>
>> http://alt.fedoraproject.org/pub/alt/releases/18/Spins/x86_64/Fedora-18-x86_64-Live-SoaS.iso
>> -Note it only takes about 3 minutes per USB (177.758 s)
>>
>> Cordially;
>>
>> Tom Gilliard
>> satellit on #sugar
>>
>>
>
>
Walter;
I am uploading this livecd-iso-to-disk 2 GB .img to sunjammer as it too
complicated to make it work:
(I took most of today trying to get the commands correct)
http://people.sugarlabs.org/Tgillard/Soas_8_litd.img
it will be uploaded in abt 3 hrs
I will then download it and do a write to USB to confirm it works
*Write to USB
I have tested it (Boots and is persistent) on #sugar IRC-10 on 2
netbooks and 1 laptop with a 2 USB GB copy and a 4 GB USB copy using:
# dd if=Soas_8_litd.img of=/dev/sdb bs=2M
956+0 records in
956+0 records out
2004877312 bytes (2.0 GB) copied, 345.459 s, 5.8 MB/s (abt 5.75
minutes)
Cordially;
Tom Gilliard
satellit on #sugar freenode IRC
This is the terminal output of the command as it writes a 2 GB USB with
persistence:
(kudos to fgross)
> [root at localhost Downloads]# livecd-iso-to-disk --format --reset-mbr
> --overlay-size-mb 500 --home-size-mb 500 --delete-home
> --unencrypted-home Fedora-18-x86_64-Live-SoaS.iso /dev/sdb1
> Verifying image...
> /home/satellit/Downloads/Fedora-18-x86_64-Live-SoaS.iso:
> 94a4f79c75d05bb627cdfa1585de4f35
> Fragment sums:
> c24abf9bbe22b11386e232ce89163fa9ed834241aeb2dec29ee79f55f5f6
> Fragment count: 20
> Press [Esc] to abort check.
> Checking: 100.0%
>
> The media check is complete, the result is: PASS.
>
> It is OK to use this media.
> WARNING: THIS WILL DESTROY ANY DATA ON /dev/sdb!!!
> Press Enter to continue or ctrl-c to abort
>
> /dev/sdb: 2 bytes were erased at offset 0x000001fe (dos): 55 aa
> Waiting for devices to settle...
> mke2fs 1.42.5 (29-Jul-2012)
> Filesystem label=LIVE
> OS type: Linux
> Block size=4096 (log=2)
> Fragment size=4096 (log=2)
> Stride=0 blocks, Stripe width=0 blocks
> 122400 inodes, 488704 blocks
> 24435 blocks (5.00%) reserved for the super user
> First data block=0
> Maximum filesystem blocks=503316480
> 15 block groups
> 32768 blocks per group, 32768 fragments per group
> 8160 inodes per group
> Superblock backups stored on blocks:
> 32768, 98304, 163840, 229376, 294912
>
> Allocating group tables: done
> Writing inode tables: done
> Creating journal (8192 blocks): done
> Writing superblocks and filesystem accounting information: done
>
> Copying live image to target device.
> squashfs.img
> 540581888 100% 44.00MB/s 0:00:11 (xfer#1, to-check=0/1)
>
> sent 540647953 bytes received 31 bytes 43251838.72 bytes/sec
> total size is 540581888 speedup is 1.00
> osmin.img
> 8192 100% 0.00kB/s 0:00:00 (xfer#1, to-check=0/1)
>
> sent 8265 bytes received 31 bytes 16592.00 bytes/sec
> total size is 8192 speedup is 0.99
> Updating boot config file
> Initializing persistent overlay file
> 0+0 records in
> 0+0 records out
> 0 bytes (0 B) copied, 3.9436e-05 s, 0.0 kB/s
> Initializing persistent /home
> 0+0 records in
> 0+0 records out
> 0 bytes (0 B) copied, 3.4185e-05 s, 0.0 kB/s
> Formatting unencrypted /home
> mke2fs 1.42.5 (29-Jul-2012)
> Discarding device blocks: done
> Filesystem label=
> OS type: Linux
> Block size=1024 (log=0)
> Fragment size=1024 (log=0)
> Stride=0 blocks, Stripe width=0 blocks
> 128016 inodes, 512000 blocks
> 25600 blocks (5.00%) reserved for the super user
> First data block=1
> Maximum filesystem blocks=67633152
> 63 block groups
> 8192 blocks per group, 8192 fragments per group
> 2032 inodes per group
> Superblock backups stored on blocks:
> 8193, 24577, 40961, 57345, 73729, 204801, 221185, 401409
>
> Allocating group tables: done
> Writing inode tables: done
> Creating journal (8192 blocks): done
> Writing superblocks and filesystem accounting information: done
>
> tune2fs 1.42.5 (29-Jul-2012)
> Setting maximal mount count to -1
> Setting interval between checks to 0 seconds
> Installing boot loader
> /media/tgttmp.neiLPH/syslinux is device /dev/sdb1
> Target device is now set up with a Live image!
> [root at localhost Downloads]#
More information about the Sugar-devel
mailing list