FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora User

 
 
LinkBack Thread Tools
 
Old 04-18-2010, 08:56 AM
Roberto Ragusa
 
Default How to make a Live USB running "from RAM"?

Hi,

I successfully created a Live USB bootable pen drive by using
my custom kickstart file, livecd-creator, livecd-iso-to-disk,
as explained here:

http://fedoraproject.org/wiki/How_to_create_and_use_Live_USB

Everything works, but I would like to be able to remove the
USB pen after boot and run everything from RAM.
The machine has 2GiB of RAM and the img is 300MiB, so it is
certainly doable.

For what I want to do, one free USB port is more valuable than
300MiB of disk cache.

Is there a way to obtain this?

Thank you.

--
Roberto Ragusa mail at robertoragusa.it
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 
Old 04-19-2010, 03:26 AM
dexter
 
Default How to make a Live USB running "from RAM"?

On 18 April 2010 09:56, Roberto Ragusa <mail@robertoragusa.it> wrote:
> Hi,
>
> I successfully created a Live USB bootable pen drive by using
> my custom kickstart file, livecd-creator, livecd-iso-to-disk,
> as explained here:
>
> *http://fedoraproject.org/wiki/How_to_create_and_use_Live_USB
>
> Everything works, but I would like to be able to remove the
> USB pen after boot and run everything from RAM.
> The machine has 2GiB of RAM and the img is 300MiB, so it is
> certainly doable.
>
> For what I want to do, one free USB port is more valuable than
> 300MiB of disk cache.
>
> Is there a way to obtain this?
>

Add "live_ram" to the editable boot prompt at runtime or in your kickstart use:
bootloader --append=live_ram
These are hidden poweruser options use with care ;-)

...dex
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 
Old 04-19-2010, 08:02 PM
Roberto Ragusa
 
Default How to make a Live USB running "from RAM"?

dexter wrote:

> Add "live_ram" to the editable boot prompt at runtime or in your kickstart use:
> bootloader --append=live_ram
> These are hidden poweruser options use with care ;-)

Thank you, it worked.

Why is this option not added as an additional entry in the boot menu? This is a
useful feature and it is totally undiscoverable. (even after reading the source
code of the livecd* tools it is not evident)

I already solved my problem in a different way. The livecd-iso-to-pxeboot
tool appends the cdrom iso to the initrd and mounts it with -o loop, so
I ported that approach to the livecd-iso-to-usb tool by adding an additional option.
It works. But your solution is better because the big image is read by Linux,
while in my case it was read by grub; there is a big USB speed difference.

Thanks again.

--
Roberto Ragusa mail at robertoragusa.it


--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 
Old 04-20-2010, 01:55 AM
Rahul Sundaram
 
Default How to make a Live USB running "from RAM"?

On 04/20/2010 01:32 AM, Roberto Ragusa wrote:
> dexter wrote:
>
>
>> Add "live_ram" to the editable boot prompt at runtime or in your kickstart use:
>> bootloader --append=live_ram
>> These are hidden poweruser options use with care ;-)
>>
> Thank you, it worked.
>
> Why is this option not added as an additional entry in the boot menu? This is a
> useful feature and it is totally undiscoverable. (even after reading the source
> code of the livecd* tools it is not evident)

It was in the menu before and caused a lot of confusion and bug reports
from users who misunderstood what it meant.

Rahul

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 
Old 04-20-2010, 07:30 AM
Roberto Ragusa
 
Default How to make a Live USB running "from RAM"?

Rahul Sundaram wrote:

> It was in the menu before and caused a lot of confusion and bug reports
> from users who misunderstood what it meant.

Hmmm, so this is another case where inexperienced users damage long time
users.
Wouldn't it better to have a
"Boot normally"
"Boot and run from RAM (expert)"
menu structure?
Or maybe something which says what kind of options are available
for adding (knoppix used to have this kind of help screen).

--
Roberto Ragusa mail at robertoragusa.it
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 
Old 04-20-2010, 07:39 AM
Rahul Sundaram
 
Default How to make a Live USB running "from RAM"?

On 04/20/2010 01:00 PM, Roberto Ragusa wrote:
> Rahul Sundaram wrote:
>
>
>> It was in the menu before and caused a lot of confusion and bug reports
>> from users who misunderstood what it meant.
>>
> Hmmm, so this is another case where inexperienced users damage long time
> users.
> Wouldn't it better to have a
> "Boot normally"
> "Boot and run from RAM (expert)"
> menu structure?
> Or maybe something which says what kind of options are available
> for adding (knoppix used to have this kind of help screen).
>

That was how it was done before. A number of users invariably clicked
the boot from RAM option and that requires more RAM on your system and
then complained about it. The number of users who actually want that
option is apparently minuscule. I will add it to the How to anyway.

Rahul
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
 

Thread Tools




All times are GMT. The time now is 07:44 AM.

VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org