CloudUSB Build... I'll give it a try....

18 views
Skip to first unread message

Vieira Brazil

unread,
Apr 5, 2011, 11:38:30 AM4/5/11
to clou...@googlegroups.com
Hi Giammy,

I'll try to build CloudUSB from my PC.

But I am using UBUNTU 10.10, I think this is not a problem?

I Think that the CloudUSB I'll get is exactly the same level of update of the Op. System I am using to build, isn't it?

I  could not understand everything on script but I think I'll have the image saved somewhere to burn some sticks other times.

Abraci per tutti.
 

Um forte abraço,

Vieira



2011/4/5 Gianluca Moro <giang...@gmail.com>
Hi Vieira,

On Mon, Apr 4, 2011 at 10:58 PM, Vieira Brazil <vieira...@gmail.com> wrote:
> Hi Giammy,
>
> Today I've bought a new 4Gb stick. I ran create... script as I made on
> saturday, and everything is working.
>

very good!

...

>
>      First partition is 1,5 Gb and it has the CloudUSB image.
>
>      Second partition i 2.5 Gb and is persistent.
>
>      If I install some sotware like VLC or Ubuntu-Extras, this software will
> be on first or second partition (second I guess so),
>

yes: the 1st partition will keep the preinstalled software.
All the new software, personal documents go
on the second partition.

>      What is the link for old and New software???

the new installed software? you call it from command line
of from gui as normal.

If you need to personalize with various software, you
can get a look at the script
http://cloudusb.net/files/cloudusb-build_1.1.sh

This is the script I used to create the cloudusb ISO.
From your messages, i understand you have some
expertise in IT, so I think you should have no problem.
(essentially, you start from a clean system, install
and update all you need, then create the iso).

The advantage is that in this way you build a personalized
cloudusb with all the software your friend needs, and
she can use all the second partition for her data.

>
>      If I save something in Documents User folder will it be persistent???
>

yes: it's persistent

> Thats all for now, and many many thanks for your answers and explanations.
>

I'm happy to be of help!

bye
giammy

> Grazie mille,
>
> Buona sera
>
>
> Um forte abraço,
>
> Vieira
>
>
>
>
> 2011/4/4 giangiammy <giang...@gmail.com>
>>
>> Hi Vieira,
>>
>> > My Data Traveler Kingston stick 2 Gb has no lock function. If it works
>> > Ill buy a big one.
>> >
>> > I am receiving an error window just after login has finished saying:
>> > gvfsd-metadata closed unexpectedly
>> >
>> > About Space, what do you notice in this display? (but there in no
>> > casper-rw )
>>
>> 2Gb should be enough.
>>
>> The gvfsd-metadata closed unexpectedly
>>
>> is an error I saw, but I did not find how to remove.
>> In a persistent configuration it will show just the 1st boot.
>>
>> The problem, as you pointed out is that there's no casper-rw.
>> To create the key I used tutorials found on the web
>> (here an example)
>> http://www.debuntu.org/how-to-install-ubuntu-linux-on-usb-bar
>>
>> In particular, the casper-rw partition must exist: that is,
>> there must be a partition to write data to (to have the
>> persistent feature) and that partition must have the
>> casper-rw label
>>
>> When I create the usb key (script create-usb-key_1.1.sh the relevant part
>> is:
>>
>> debug "Formatting partition (1) ..."
>> umount ${SELECTEDDISK}1 2>/dev/null
>> mkfs.vfat ${SELECTEDDISK}1 | (zenity --title "Formatting ..." --text
>> "Formatting ${SELECTEDDISK}1 ..." --progress --pulsate --auto-close)
>>
>> (partition for the operating system)
>>
>> debug "Formatting partition (2) ..."
>> umount ${SELECTEDDISK}2 2>/dev/null
>> mkfs.ext2 -b 4096 -L casper-rw ${SELECTEDDISK}2 | (zenity --title
>> "Formatting ..." --text "Formatting ${SELECTEDDISK}2 ..." --progress
>> --pulsate --auto-close)
>>
>> and this is the partition for the persistent data: note the "-L casper-rw"
>> option.
>> That option is needed.
>> in the usb key both partition must be present: you probably
>> have the 2 partition, but the second has not the label casper-rw.
>> (this is present in the script create-usb-key_1.1.sh at line 177)
>>
>> On the running system you need to have a /media/casper-rw
>> otherwise it will not be persistent.
>>
>> By the way, another critical point to have the persistent configuration
>> is:
>>
>> sed -i 's/append initrd=\/ubninit file=\/cdrom\/preseed\/custom.seed
>> boot=casper quiet splash --/append initrd=\/ubninit
>> file=\/cdrom\/preseed\/custom.seed boot=casper persistent quiet splash --/g'
>> /media/usbkey/syslinux.cfg
>>
>> that is the boot option in syslinux.cfg must be
>> boot=casper persistent quiet splash --
>>
>> while the default is:
>> boot=casper quiet splash --
>>
>> In your key, in file /syslinux.cfg there's the persistent option?
>>
>> this is present in the script create-usb-key_1.1.sh at line 192.
>>
>> Hope this helps (and thanks for the very good description of your problem,
>> with all the commands output!)
>>
>> buona giornata!
>> giammy
>>
>
>



--
Gianluca Moro           Enjoy CloudUSB:  http://www.cloudusb.net/
QQ: 1843508436                                      http://www.giammy.com
There's a right way and a wrong way to do everything: the wrong
way is to keep trying to make everybody else do it the right way

Gianluca Moro

unread,
Apr 6, 2011, 4:01:13 AM4/6/11
to clou...@googlegroups.com
Hi Vieira,

On Tue, Apr 5, 2011 at 5:38 PM, Vieira Brazil <vieira...@gmail.com> wrote:
> Hi Giammy,
>

> I'll try to build CloudUSB from my PC.
>
> But I am using UBUNTU 10.10, I think this is not a problem?
>

it should work: if some package/configuration changes from 10.04
to 10.10 there could be an error, but should be easily fixable.
I have the 10.04 version as it's LTS, but if you create the
10.10 version, or even the 11.04, I can make it available to
everyone!

> I Think that the CloudUSB I'll get is exactly the same level of update of
> the Op. System I am using to build, isn't it?
>

yes: you configure a system as you like (with updates, extra software,
configurations ...): the cloudusb you get will be a copy of the system
you configured.

> I  could not understand everything on script but I think I'll have the image
> saved somewhere to burn some sticks other times.
>

if some lines of the script are not clear, ask: I'll try to explain!

buona giornata
Gianluca

Reply all
Reply to author
Forward
0 new messages