Pages:
Author

Topic: LinuxCoin A lightweight Debian based OS with everything ready to go. - page 65. (Read 285117 times)

sr. member
Activity: 291
Merit: 250
I am new to mining (I have 3 5850's delivering today!) and I am looking for a good linux distro to use for my miner.  I was thinking ubuntu....till I saw this Smiley

I was wondering if there was a how-to or a tutorial I could read to learn how to install this to a local hard drive and run it.
sr. member
Activity: 308
Merit: 251
Quote
Either hash-rate will significantly decrease as the voltage is insufficient or the whole card will freeze. Example 1.05 volta 815mhz per core gives 360mh/s/core but 840mhz yields 200mh/s/core or a total freeze. Unfortunately if I increase the voltage in RBE the card is inaccessible by AMDOverdriveCtrl in linux and for some reason the RBE clocks don't stick only voltage.

Just ran a test for last 24 hours or so: one of my 6990 cores at 900/900/1.05 and the other core at 900/1250/1.125. No significant difference between them but then again I'm only getting 345-350 Mh/s on each core.

Reducing mem clock speed might reduce power consumption (mine runs cooler) - have you tried slowly underclocking mem while overclocking gpu? The 5970 is dual core gpu too, and when I'm testing I keep one at standard clocks and volts (or what I know works), change the other, sit back and compare for a few hours.

Using the bios editor you can raise your max clock values and voltage. You have to tinker a bit but I found I could squeeze an extra 40MHs out of my 5870 and around 20MHs from my 5830. Lowering the memory clocks don't help speed at all but does reduce power consumption & heat.
donator
Activity: 2058
Merit: 1007
Poor impulse control.
Quote
Either hash-rate will significantly decrease as the voltage is insufficient or the whole card will freeze. Example 1.05 volta 815mhz per core gives 360mh/s/core but 840mhz yields 200mh/s/core or a total freeze. Unfortunately if I increase the voltage in RBE the card is inaccessible by AMDOverdriveCtrl in linux and for some reason the RBE clocks don't stick only voltage.

Just ran a test for last 24 hours or so: one of my 6990 cores at 900/900/1.05 and the other core at 900/1250/1.125. No significant difference between them but then again I'm only getting 345-350 Mh/s on each core.

Reducing mem clock speed might reduce power consumption (mine runs cooler) - have you tried slowly underclocking mem while overclocking gpu? The 5970 is dual core gpu too, and when I'm testing I keep one at standard clocks and volts (or what I know works), change the other, sit back and compare for a few hours.
sr. member
Activity: 308
Merit: 251
1) Plug your dongle into your windows machine.
2) Load your favorite browser
3) Click here >> http://lmgtfy.com/?q=windows+disk+manager
4) Follow a guide on how to create 1 partition. You only need to create 1 partition in windows. Make it around 1G

lmgtfy is really funny and all, but Windows Disk Manager does not allow you to partition USB drives.

Correct, but you can from the command line:
Start -> Run -> diskpart

Once diskpart is up and running:
disk list (shows all of your disks)
select disk X (X=your USB thumb drive, make sure you select the right disk!!!)
clean (scrubs all partition off the currently selected disk)

You can then exit diskpart, run Windows Disk Manager and create as many partitions as you would like.


lol incorrect !! Cheesy But you can do that also lol

member
Activity: 63
Merit: 10
1) Plug your dongle into your windows machine.
2) Load your favorite browser
3) Click here >> http://lmgtfy.com/?q=windows+disk+manager
4) Follow a guide on how to create 1 partition. You only need to create 1 partition in windows. Make it around 1G

lmgtfy is really funny and all, but Windows Disk Manager does not allow you to partition USB drives.

Correct, but you can from the command line:
Start -> Run -> diskpart

Once diskpart is up and running:
disk list (shows all of your disks)
select disk X (X=your USB thumb drive, make sure you select the right disk!!!)
clean (scrubs all partition off the currently selected disk)

You can then exit diskpart, run Windows Disk Manager and create as many partitions as you would like.
jr. member
Activity: 50
Merit: 7
You mention TrueCrypt in the top post. Is the kernel compiled with DM_Crypt? If it is, I'd recommend using that instead. Unless you plan to be accessing the wallet file from Windows or Mac, DM_Crypt would be the easiest in the long run, and it doesn't have any weird licensing that TrueCrypt has. I use TrueCrypt on my gaming rig and DM_Crypt on my Debian server and Fedora laptop. I much prefer DM_Crypt, once you get used to it, that is.

Just thought I'd throw that in. You could even make a simple script to create an encrypted file with DM_Crypt if persistence is on, and another to mount it if it is detected. And just mount it to ~/.bitcoin/.

Sorry didn't see you there brwyatt Wink You read my mind lol. The next version of LinuxCoin is going to include an option to encrypt your home folder and have it auto mount on boot. Work is in progress Cheesy

Just make sure it PROMPTS for the password, and doesn't save it. I know some people do that wrong, and it defeats the whole point of using encryption. While I assume that you would get it right, it never hurts to mention! Cheesy
sr. member
Activity: 308
Merit: 251
Yes it does use the snap in tool. If that fails check out Gparted for windows.

De4l you tried disabling overclocking via aticonfig ?
full member
Activity: 174
Merit: 100
1) Plug your dongle into your windows machine.
2) Load your favorite browser
3) Click here >> http://lmgtfy.com/?q=windows+disk+manager
4) Follow a guide on how to create 1 partition. You only need to create 1 partition in windows. Make it around 1G

lmgtfy is really funny and all, but Windows Disk Manager does not allow you to partition USB drives.
sr. member
Activity: 308
Merit: 251
lol I've never been a manual person  Tongue Thats what I meant. I thought the default settings was the thresholds where the card changes mode. As the load goes up the card switches to the next default profile ? I'll take a look at the man now.
member
Activity: 82
Merit: 10
Not necessarily :d using RBE you are changing the thresholds not your clocks. So if you increase the maximum clock speed and voltage not the actual clock speed. What you should be able to do is increase the max values. And when you boot back into linuxcoin you should be able to push your card to the values you set.

Although I haven't looked into this too much Cheesy

You should read the RBE manual then. Yes one of the features is increasing the 'max threshold' but the majority of RBE is actually for adjusting the default frequency settings, default fan settings and default voltage settings. And as I mentioned, after modifying these in RBE, the card is inaccessible to AMDOverdriveCtrl and aticonfig for me, however I will have to try ATI-overclocking utility in the future,
sr. member
Activity: 308
Merit: 251
Not necessarily :d using RBE you are changing the thresholds not your clocks. So if you increase the maximum clock speed and voltage not the actual clock speed. What you should be able to do is increase the max values. And when you boot back into linuxcoin you should be able to push your card to the values you set.

Although I haven't looked into this too much Cheesy
member
Activity: 82
Merit: 10
The clocks won't stick when you reboot into another OS. To tell you the truth I find the app that was suggested here to be the most stable way to increase your voltage and manipulate your clocks. Try it and see how you get on.

http://linux.softpedia.com/get/Utilities/ATI-Overclocking-Utility-X64-48756.shtml

yes the clocks /should/ stick no matter what OS you're in if they're edited in RBE. AMDOverdriveCtrl works great for me in linux, the issue is that it does not allow a high enough voltage setting. I tried getting ATI-overclocking utility to work in my ubuntu install but couldn't so I'll have to wait to see if you release it in the next LinuxCoin to see if it allows higher voltage adjustment than AMDOverdriveCtrl (which otherwise works perfect on my system).
sr. member
Activity: 308
Merit: 251
The clocks won't stick when you reboot into another OS. To tell you the truth I find the app that was suggested here to be the most stable way to increase your voltage and manipulate your clocks. Try it and see how you get on.

http://linux.softpedia.com/get/Utilities/ATI-Overclocking-Utility-X64-48756.shtml
member
Activity: 82
Merit: 10
Quote
I have been using AMDOverdriveCtrl on my 5970 and it works great for downclocking the memory, the issue is that it only gives a max voltage of 1.05 for my card which is only enough to get to about 815mhz stable, about 1.16 is needed to get to 900+mhz


What instability are you noticing?



Either hash-rate will significantly decrease as the voltage is insufficient or the whole card will freeze. Example 1.05 volta 815mhz per core gives 360mh/s/core but 840mhz yields 200mh/s/core or a total freeze. Unfortunately if I increase the voltage in RBE the card is inaccessible by AMDOverdriveCtrl in linux and for some reason the RBE clocks don't stick only voltage.
donator
Activity: 2058
Merit: 1007
Poor impulse control.
Quote
I have been using AMDOverdriveCtrl on my 5970 and it works great for downclocking the memory, the issue is that it only gives a max voltage of 1.05 for my card which is only enough to get to about 815mhz stable, about 1.16 is needed to get to 900+mhz


What instability are you noticing?

sr. member
Activity: 308
Merit: 251
You mention TrueCrypt in the top post. Is the kernel compiled with DM_Crypt? If it is, I'd recommend using that instead. Unless you plan to be accessing the wallet file from Windows or Mac, DM_Crypt would be the easiest in the long run, and it doesn't have any weird licensing that TrueCrypt has. I use TrueCrypt on my gaming rig and DM_Crypt on my Debian server and Fedora laptop. I much prefer DM_Crypt, once you get used to it, that is.

Just thought I'd throw that in. You could even make a simple script to create an encrypted file with DM_Crypt if persistence is on, and another to mount it if it is detected. And just mount it to ~/.bitcoin/.

Sorry didn't see you there brwyatt Wink You read my mind lol. The next version of LinuxCoin is going to include an option to encrypt your home folder and have it auto mount on boot. Work is in progress Cheesy
sr. member
Activity: 308
Merit: 251
Hey guys,

Just a quick update. I'll be working on the wiki tonight. Now we have a working base for linuxcoin I'm comfortable that there will be no core changes for a while Wink Just small bits and bobs.

I would encourage people to sign up and add content to help out the community Wink More info on things later.

My mirror is back up, and two 100 meg connections are feeding the torrent. http://www.fastspeedtest.net/mirrors/linuxcoin/LinuxCoin-v0.2a.torrent

Should be plenty of bandwidth.
Hmm weird. My dedicated box was downloading at 4MB/s, not at the full 10MB/s I was hoping for Tongue
Seeding too!

There are 8 people seeding now with my two on there. Chalk it up to local network issues or inefficient peers. My boxes are still yawning. Not too much load from 100 iso downloads via http and half that on the torrent.
Heh, drgr33n should only provide BitTorrent downloads.


lol

You don't need a linux machine ! I've said about 5 times lol

Partition your drive using whatever OS you like. Just make sure you have two partitions. The first needs to be at least 1G the second can be as large or as small as you like.

How do you partition a USB flash drive? Windows 7 doesn't seem to allow that.

I can't get persistence working with unetbootin.

You should be able to, but not with the simple format tool, that just formats partitions. Using gparted on linux is easier. Make a 700MB vfat/fat32 partition for LinuxCoin to be installed to, then format the rest as ext2/3/4 and name it "live-rw". You won't be able to format that with Windows anyway...

To partition in Windows you have to open up the hard disk manager and do it there. But you still won't be able to format as a Linux filesystem. And as greenlander said, you can just use a second drive as the persistent drive, just label it as "live-rw".

1) Plug your dongle into your windows machine.
2) Load your favorite browser
3) Click here >> http://lmgtfy.com/?q=windows+disk+manager
4) Follow a guide on how to create 1 partition. You only need to create 1 partition in windows. Make it around 1G
5) Install linuxcoin via unetbootin or any other tool
6) Boot from your stick.
7) Load a root terminal
Cool Find what LinuxCoin has listed your USB stick as. HINT you will only have 1 1G partition on this device. You can do this by using

Code:
fdisk -l

and you should see something like

Code:
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xd760019a

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1              63   943738424   471869181   83  Linux
/dev/sda2       943738425   976768064    16514820   82  Linux swap

Disk /dev/sdb: 1977 MB, 1977614336 bytes
8 heads, 20 sectors/track, 24140 cylinders, total 3862528 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xb0bcd68e

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1            2048     2099199     1048576   83  Linux

That tells me my stick has been listed as sdb

9) Now lets create some persistence space with fdisk. Here's the output of my shell and what I typed.

Code:
bash-4.1# fdisk /dev/sdb

Command (m for help): p

Disk /dev/sdb: 1977 MB, 1977614336 bytes
8 heads, 20 sectors/track, 24140 cylinders, total 3862528 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xb0bcd68e

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1            2048     2099199     1048576   83  Linux

Command (m for help): n
Command action
   e   extended
   p   primary partition (1-4)
p
Partition number (1-4, default 2):
Using default value 2
First sector (2099200-3862527, default 2099200):
Using default value 2099200
Last sector, +sectors or +size{K,M,G} (2099200-3862527, default 3862527):
Using default value 3862527

Command (m for help): w
The partition table has been altered!

Calling ioctl() to re-read partition table.
Syncing disks.
bash-4.1#

If you really can't be bothered to work out what went on just follow this to use the rest of your stick for persistence. Obviously changing sdb for your stick.

Code:
fdisk /dev/sdb [enter]
n [enter]
p [enter]
2 [enter]
[enter]
[enter]
w

10) Give yourself a pat on the back, your a computer genius.
11) format the partition you just created with this command.

Code:
mkfs.ext4 /dev/sdb2 -L live-rw

Yes I did type ext4 lol we are in 2011 Wink You should see something like this ..

Code:
bash-4.1# mkfs.ext4 /dev/sdb2 -L live-rw
mke2fs 1.41.14 (22-Dec-2010)
Filesystem label=live-rw
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
55104 inodes, 220416 blocks
11020 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=226492416
7 block groups
32768 blocks per group, 32768 fragments per group
7872 inodes per group
Superblock backups stored on blocks:
        32768, 98304, 163840

Writing inode tables: done                           
Creating journal (4096 blocks): done
Writing superblocks and filesystem accounting information: done

This filesystem will be automatically checked every 38 mounts or
180 days, whichever comes first.  Use tune2fs -c or -i to override.

Reboot and load linuxcoin with persistence and your golden Cheesy




jr. member
Activity: 56
Merit: 22
My mirror is back up, and two 100 meg connections are feeding the torrent. http://www.fastspeedtest.net/mirrors/linuxcoin/LinuxCoin-v0.2a.torrent

Should be plenty of bandwidth.
Hmm weird. My dedicated box was downloading at 4MB/s, not at the full 10MB/s I was hoping for Tongue
Seeding too!

There are 8 people seeding now with my two on there. Chalk it up to local network issues or inefficient peers. My boxes are still yawning. Not too much load from 100 iso downloads via http and half that on the torrent.
Heh, drgr33n should only provide BitTorrent downloads.
jr. member
Activity: 50
Merit: 7
You don't need a linux machine ! I've said about 5 times lol

Partition your drive using whatever OS you like. Just make sure you have two partitions. The first needs to be at least 1G the second can be as large or as small as you like.

How do you partition a USB flash drive? Windows 7 doesn't seem to allow that.

I can't get persistence working with unetbootin.

You should be able to, but not with the simple format tool, that just formats partitions. Using gparted on linux is easier. Make a 700MB vfat/fat32 partition for LinuxCoin to be installed to, then format the rest as ext2/3/4 and name it "live-rw". You won't be able to format that with Windows anyway...

To partition in Windows you have to open up the hard disk manager and do it there. But you still won't be able to format as a Linux filesystem. And as greenlander said, you can just use a second drive as the persistent drive, just label it as "live-rw".
newbie
Activity: 28
Merit: 0
How do you partition a USB flash drive? Windows 7 doesn't seem to allow that.

I had your exact same problem.  I eventually solved the problem by using a second Linux system that I happened to have.

One thing that may work is to install "persistent-less" LinuxCoin.  Then go into fdisk and re-partition the drive into two partitions, commit the partition table, and exit... then immediately unplug the drive.  This is risky because you're nuking the partition that the OS is using... but as soon as you commit the new partition table you don't need the OS any more.  Then you can plug the drive into  your win7 system and win7 will format only the first partition and leave the second partition alone.  Then once you get LinuxCoin up and running again you can set up the second live-rw partition to get persistence working.

This may or may not work, I don't know.  I can think of a couple of reasons why it wouldn't work.  You'll have to try it.

A second possibility may be to plug in two USB drives at the same time.  Use one to boot "persistentless" Linux.  Then, use that OS to partition the second drive that isn't being used by the OS.  This is safer than the method above and will almost certainly work, but requires two USB drives.
Pages:
Jump to: