Author

Topic: Live CD experts (Read 1672 times)

legendary
Activity: 1764
Merit: 1002
July 09, 2011, 11:51:47 AM
#18
like I said there are several ways but I would look into persistence.

i use Ironkeys.  at one time i stored the entire data directory with wallet.dat on the Ironkey while storing client on laptop.  updating the block chain was painfully slow so i dumped that idea. 

using persistence, is this any different?
wouldn't Linuxcoin also run slowly if stored on Ironkey?
sr. member
Activity: 308
Merit: 251
July 09, 2011, 10:26:32 AM
#17
like I said there are several ways but I would look into persistence.
legendary
Activity: 1764
Merit: 1002
July 08, 2011, 07:13:59 PM
#16
i have more info regarding the "low memory" warning while downloading block chain in live cd:

around block 128K i get the first of a few low memory warning boxes.  i clicked Examine for details and Disk Usage Analyzer popped up.

1.  the first folder listed is  "/" and is 100% used, size 5.1GB, 20 items
2.  the second sub folder listed is "rofs" and is 34.1% used, 1.7 GB, 18 items.  and it goes down the table with the other sub folders plus this one totalling 100%.
3.  System Monitor shows a Swap of 0 bytes and Memory is 470 MiB (23.5%) of 2.0 GiB.
4.  at the top of Disk Usage Analyzer i see "Total filesystem capacity: 1.3GB (used: 1.3GB available: 0 bytes)"

so "/" is the root folder correct?  

how can i increase this space to get rid of the memory warnings in a live cd session or is this not possible?

legendary
Activity: 1764
Merit: 1002
July 08, 2011, 05:49:44 PM
#15
ok, so i would like to increase the amount of virtual memory dedicated to the Live CD session so i don't get those "memory low" warnings near the end of the blockchain download.

i'm assuming this has nothing to do with partitioning and gparted.

in System Monitor, System tab i show in Hardware 2GB memory.   i assume this is what is maxing out?  this doesn't make sense to me as i thought the client and blockchain wouldn't take up near this amt of space along with Ubuntu. 

is there a way to adjust this higher?

legendary
Activity: 1764
Merit: 1002
July 08, 2011, 10:14:06 AM
#14
how do i adjust the swap memory?

Normally, there is a program called 'gparted' (probably in System->Administration->Gparted or System->Adminitration->Partition Manager) on the live CD that you can use to modify partitions. If you already have a swap partition, you can use gparted to resize it. If you don't, you will need to shrink one of your existing partitions and create a swap drive in the newly created empty space.

There is a detailed gparted tutorial here which should teach you how to do most common operations.

As others have said, you may be better off making a persistent USB.

i'm going thru your references right now; wow, these are good.  thanks.
newbie
Activity: 56
Merit: 0
July 08, 2011, 09:38:35 AM
#13
how do i adjust the swap memory?

Normally, there is a program called 'gparted' (probably in System->Administration->Gparted or System->Adminitration->Partition Manager) on the live CD that you can use to modify partitions. If you already have a swap partition, you can use gparted to resize it. If you don't, you will need to shrink one of your existing partitions and create a swap drive in the newly created empty space.

There is a detailed gparted tutorial here which should teach you how to do most common operations.

As others have said, you may be better off making a persistent USB.
sr. member
Activity: 308
Merit: 251
July 08, 2011, 09:14:21 AM
#12
Just create a persistent home filesystem and place it in the root of your usb stick or on the root of your local HDD. Then when you reboot everything will get saved to that file and you can encrypt it or do what you like with it Cheesy

Code:
dd if=/dev/zero of=/WHATEVER/YOU/LIKE/home-rw bs=1M count=SIZE
mkfs.ext4 /WHATEVER/YOU/LIKE/home-rw

SIZE = 512 1024 2056 depending on how big you want the partition. Once you have that file you can drop it onto the root of a accessible HDD and boot your live media.

then on ubuntu I think its F6 and add persistent to the end of your boot command and hit enter.

Or if you like you can download on of my persistence files and extract to the root of your chosen media. For ubuntu I think you have to rename live-rw to casper-rw or home-rw just for a persistent home directory.

http://linuxcoin.co.uk/downloads/persistence/
legendary
Activity: 1764
Merit: 1002
July 08, 2011, 08:56:32 AM
#11
i've created an offline wallet with Ubuntu Live CD and saved it to a usb stick.

will bringing that wallet back into the client with a block chain download in a seperate session of Live CD create any wallet fingerprints on the hard drive?
no but, I would recommend making another partition on that usb stick just for a reuseable harddrive to put that wallet.dat file

on the usb stick?  what difference would that make?
legendary
Activity: 980
Merit: 1003
I'm not just any shaman, I'm a Sha256man
July 08, 2011, 08:54:36 AM
#10
i've created an offline wallet with Ubuntu Live CD and saved it to a usb stick.

will bringing that wallet back into the client with a block chain download in a seperate session of Live CD create any wallet fingerprints on the hard drive?
no but, I would recommend making another partition on that usb stick just for a reuseable harddrive to put that wallet.dat file
legendary
Activity: 1764
Merit: 1002
July 08, 2011, 08:24:36 AM
#9
No, unless you already have a Linux installation, in which case there's a small chance that it will automatically activate that swap partition, and use that if you run out of memory (I don't think it does, but I'm not sure.)
If it is on a computer with Linux on it, just open up gparted when you boot into the live cd. Look for any partitions listed as type "Linux Swap", and if they have the little key icon next to them, right click them and select "swapoff"

You can check with the top command if your OS is using swap memory.

how exactly do i do that from a non Linux user?

You don't need to use the top command. You can launch 'System Monitor' which is usually found in the System->Administration menu. Click on the 'Resources' tab:



thank you. that is much easier for a non Linux person.  looking at your diagram, how do i adjust the swap memory?

rabit, thanks for the command lines but its all gibberish to me!
newbie
Activity: 56
Merit: 0
July 08, 2011, 04:31:31 AM
#8
No, unless you already have a Linux installation, in which case there's a small chance that it will automatically activate that swap partition, and use that if you run out of memory (I don't think it does, but I'm not sure.)
If it is on a computer with Linux on it, just open up gparted when you boot into the live cd. Look for any partitions listed as type "Linux Swap", and if they have the little key icon next to them, right click them and select "swapoff"

You can check with the top command if your OS is using swap memory.

how exactly do i do that from a non Linux user?

You don't need to use the top command. You can launch 'System Monitor' which is usually found in the System->Administration menu. Click on the 'Resources' tab:

https://i.imgur.com/Pk6uA.png
member
Activity: 62
Merit: 10
July 07, 2011, 05:10:12 PM
#7
how exactly do i do that from a non Linux user?

Just run the command "top" in the command line and you will see how much memory and swap memory your system uses.

For your first question you could create an encrypted SWAP partition for extending memory and then delete it after you dont need it anymore.

The commands for this are cryptsetup,mount,mkswap and swapon but you need some Linux background to use them, check the man pages of them ("man mount" for example).

It should work like this:

Create a partition with gparted remember which partition you want to use (/dev/sdxx).

Then make as root in commandline:
cryptsetup -c aes-xts-plain -s 512 luksFormat /dev/sdxx
cryptsetup luksOpen /dev/sdxx swap
mkswap /dev/mapper/swap
swapon -U UUID

The UUID is the one of the encrypted partition but i forgot how to find it, perhaps someone else can help (or try swapon /dev/mapper/swap not sure if it works this way).

legendary
Activity: 1764
Merit: 1002
July 07, 2011, 05:03:13 PM
#6
No, unless you already have a Linux installation, in which case there's a small chance that it will automatically activate that swap partition, and use that if you run out of memory (I don't think it does, but I'm not sure.)
If it is on a computer with Linux on it, just open up gparted when you boot into the live cd. Look for any partitions listed as type "Linux Swap", and if they have the little key icon next to them, right click them and select "swapoff"

You can check with the top command if your OS is using swap memory.

how exactly do i do that from a non Linux user?
legendary
Activity: 1764
Merit: 1002
July 07, 2011, 05:01:23 PM
#5
i'm getting multiple low memory warnings as i near the end of the blockchain download.  is there a way to increase memory allocated to the live cd session?
member
Activity: 62
Merit: 10
July 07, 2011, 04:47:40 PM
#4
No, unless you already have a Linux installation, in which case there's a small chance that it will automatically activate that swap partition, and use that if you run out of memory (I don't think it does, but I'm not sure.)
If it is on a computer with Linux on it, just open up gparted when you boot into the live cd. Look for any partitions listed as type "Linux Swap", and if they have the little key icon next to them, right click them and select "swapoff"

You can check with the top command if your OS is using swap memory.
full member
Activity: 168
Merit: 100
Firstbits: 175wn
July 07, 2011, 04:33:07 PM
#3
i've created an offline wallet with Ubuntu Live CD and saved it to a usb stick.

will bringing that wallet back into the client with a block chain download in a seperate session of Live CD create any wallet fingerprints on the hard drive?

No, unless you already have a Linux installation, in which case there's a small chance that it will automatically activate that swap partition, and use that if you run out of memory (I don't think it does, but I'm not sure.)
If it is on a computer with Linux on it, just open up gparted when you boot into the live cd. Look for any partitions listed as type "Linux Swap", and if they have the little key icon next to them, right click them and select "swapoff"
newbie
Activity: 56
Merit: 0
July 07, 2011, 04:13:50 PM
#2
As long as you only access the wallet from a live CD and don't move it to another drive it will only ever exist in that location and in memory, which is wiped when you end the live session.
legendary
Activity: 1764
Merit: 1002
July 07, 2011, 03:43:21 PM
#1
i've created an offline wallet with Ubuntu Live CD and saved it to a usb stick.

will bringing that wallet back into the client with a block chain download in a seperate session of Live CD create any wallet fingerprints on the hard drive?
Jump to: