Pages:
Author

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

kjj
legendary
Activity: 1302
Merit: 1026
Apparently the BIOS on Gigabyte motherboards kind of sucks, and it doesn't handle boot partitions that aren't in some extremely Windows-specific format, so if you have a Gigabyte motherboard and you're getting "Boot Error", here's what to do.  Stick the USB stick in a GNU/Linux computer and use fdisk to delete all the partitions (yes, you can't use Disk Manager in Windows 7 to do this, although other better partitioning programs probably can).

Then stick it in a Windows computer and use Disk Manager to create a new FAT partition 1 GiB in size.  Then remove the flash stick from the Windows computer, stick it back in your Linux computer, and create a new partition in the remaining space for your persistence volume and format that as ext4.
After doing this, and creating a USB stick that boots fine on a laptop I have, I am still unable to boot it from my mining rig that has a Gigabyte (GA-EP35C) motherboard. The only difference is where before it said "Boot error" when trying to boot from the USB stick (when it was created from Linux), now it says nothing, and just stops after "Verifying DMI pool data..." (or something similar. it's the text that is on the line before the line where the "Boot error" message used to appear). I can see that the USB stick is detected, "Corsair Flash Voyager" is displayed at the top of the screen where the "DMI pool data..."-message is displayed. But it's not detected by the BIOS as a bootable device. When entering the BIOS to change boot priorities, it isn't listed here either.

If I completely erase the USB stick and put it in my Windows machine, Windows only wants to fill the whole disk up with a FAT partition. In other words it wants to create a whole disk FAT partition, which means I am unable to create another partition on the rest of the disk, to be used for persistence.
If I let fdisk "create a new empty DOS partition table" then Disk Manager in Windows is willing to create a 1 GiB FAT partition on the USB stick, but it's not bootable on the rig with the Gigabyte motherboard (not even a "Boot error" message).

Any ideas guys?

Are you setting the active (bootable) flag in the partition table?
legendary
Activity: 980
Merit: 1008
Apparently the BIOS on Gigabyte motherboards kind of sucks, and it doesn't handle boot partitions that aren't in some extremely Windows-specific format, so if you have a Gigabyte motherboard and you're getting "Boot Error", here's what to do.  Stick the USB stick in a GNU/Linux computer and use fdisk to delete all the partitions (yes, you can't use Disk Manager in Windows 7 to do this, although other better partitioning programs probably can).

Then stick it in a Windows computer and use Disk Manager to create a new FAT partition 1 GiB in size.  Then remove the flash stick from the Windows computer, stick it back in your Linux computer, and create a new partition in the remaining space for your persistence volume and format that as ext4.
After doing this, and creating a USB stick that boots fine on a laptop I have, I am still unable to boot it from my mining rig that has a Gigabyte (GA-EP35C) motherboard. The only difference is where before it said "Boot error" when trying to boot from the USB stick (when it was created from Linux), now it says nothing, and just stops after "Verifying DMI pool data..." (or something similar. it's the text that is on the line before the line where the "Boot error" message used to appear). I can see that the USB stick is detected, "Corsair Flash Voyager" is displayed at the top of the screen where the "DMI pool data..."-message is displayed. But it's not detected by the BIOS as a bootable device. When entering the BIOS to change boot priorities, it isn't listed here either.

If I completely erase the USB stick and put it in my Windows machine, Windows only wants to fill the whole disk up with a FAT partition. In other words it wants to create a whole disk FAT partition, which means I am unable to create another partition on the rest of the disk, to be used for persistence.
If I let fdisk "create a new empty DOS partition table" then Disk Manager in Windows is willing to create a 1 GiB FAT partition on the USB stick, but it's not bootable on the rig with the Gigabyte motherboard (not even a "Boot error" message).

Any ideas guys?
legendary
Activity: 1190
Merit: 1000
www.bitcointrading.com
Would definitely love a LinuxCoin update!!
sr. member
Activity: 283
Merit: 250
Making a better tomorrow, tomorrow.
legendary
Activity: 980
Merit: 1008
I experienced those errors as well. I had to manually install the packages and it was still a bitch. It would be a lot easier if we could just upgrade via "apt-get upgrade", but this breaks the system. I can't really give you any directions on how to install it manually, as it requires a lot of user interaction. Sorry.

Put up a bounty for getting apt-get system upgrades to work in LinuxCoin if you really need it.
newbie
Activity: 27
Merit: 0
Code:
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 deluge : Depends: deluge-gtk (= 1.2.3+git20110209.8c36830-0squeeze1) but it is not going to be installed
 wine : Depends: wine-bin (= 1.0.1-3.1) but it is not going to be installed
        Depends: wine-utils (= 1.0.1-3.1) but it is not going to be installed
        Depends: libwine-alsa (= 1.0.1-3.1) but it is not going to be installed or
                 libwine-oss (= 1.0.1-3.1) but it is not going to be installed or
                 libwine-esd (= 1.0.1-3.1) but it is not going to be installed or
                 libwine-jack (= 1.0.1-3.1) but it is not installable or
                 libwine-nas (= 1.0.1-3.1) but it is not going to be installed
        Depends: libwine-gl (= 1.0.1-3.1) but it is not going to be installed
        Depends: libwine-print (= 1.0.1-3.1) but it is not going to be installed
        Depends: libwine-sane (= 1.0.1-3.1) but it is not going to be installed
        Depends: libwine-cms (= 1.0.1-3.1) but it is not going to be installed
        Depends: libwine-gphoto2 (= 1.0.1-3.1) but it is not going to be installed
        Depends: libwine-ldap (= 1.0.1-3.1) but it is not going to be installed
        Recommends: ttf-liberation but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

Using the command you provided. Am I doing something wrong? I appreciate your help.
legendary
Activity: 980
Merit: 1008
Sorry for bumping this after a month of no posts, but does anyone know if it's possible to install Bittorrent or uTorrent on this OS? I've tried, but either it's not possible or I don't know what I'm doing (probably the latter).

Any advice?
For uTorrent you would need WINE (since it's a Windows application). If available in the repositories, it should be installable using the below command, but substituting deluge for wine. I usually use a program called Deluge to manage my torrents. I don't know if it's available for installation on Linuxcoin, but if it is you could try installing it using the following command:

Code:
sudo apt-get install deluge

To run uTorrent using WINE, simply download the utorrent.exe executable, open up a command prompt, browse to the folder where you saved the download and run:

Code:
wine utorrent.exe
hero member
Activity: 742
Merit: 500
Is source for image creation available anywhere?  Seems author is no longer developing this.

I would like to take this project add cgminer, bring it to current version of debian and some other improvements.    Would rather not reinvent the wheel.
Did you try emailing the author? http://www.linuxcoin.co.uk/index.php?page=contact
Or maybe look at BitSafe (https://bitcointalk.org/index.php?topic=46916.20).  Both bitsafe and linuxcoin in that both are built on top of debian.

It is meant for secure wallet storage instead of mining, but there is no reason why you can't add mining utilities to it.
newbie
Activity: 27
Merit: 0
Sorry for bumping this after a month of no posts, but does anyone know if it's possible to install Bittorrent or uTorrent on this OS? I've tried, but either it's not possible or I don't know what I'm doing (probably the latter).

Any advice?
legendary
Activity: 980
Merit: 1008
I tried removing all fglrx-realted packages and re-installing them, but this time the DKMS module compilation part failed with some odd error in firegl.c that I couldn't find a solution to anywhere. Seems like upgrading via apt-get doesn't work currently, *and* that it breaks the system.
hero member
Activity: 756
Merit: 500
Seems that it does not support 32 bit Sad
legendary
Activity: 980
Merit: 1008
Hello all!

I'm having trouble using apt-get to upgrade to the newest packages. I get the following error when it tries to update fglrx-related packages:

Code:
dpkg: error processing /var/cache/apt/archives/fglrx-modules-dkms_1%3a11-10-1_amd64.deb (--unpack):
 unable to move aside `./usr/share/bug/fglrx-modules-dkms' to install new version: Invalid cross-device link

Full log here:

Code:
user@linuxcoin:~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages have been kept back:
  alsa-utils aptitude default-jre default-jre-headless dialog dnsmasq-base fglrx-atieventsd fglrx-driver fglrx-glx fglrx-glx-ia32 gettext
  ghostscript glib-networking glx-alternative-fglrx glx-alternative-mesa glx-diversions gnome-bluetooth guile-1.8-libs gvfs gvfs-backends
  icedtea-6-jre-cacao icedtea-netx iceweasel lftp lib32ncurses5 lib32v4l-0 libarchive1 libcups2 libcurl3 libcurl3-gnutls libenchant1c2a
  libgail18 libgcrypt11 libgl1-mesa-glx libglib2.0-0 libgnutls26 libgs9 libgs9-common libgtk-3-0 libgtk-3-bin libgtk2.0-0 libgtk2.0-bin
  libldap-2.4-2 libncurses5 libncursesw5 libnet-server-perl libnm-glib-vpn1 libproxy0 libpulse0 libreadline5 libreadline6 librtmp0
  libv4l-0 libvte-common libvte9 libxneur linux-headers-2.6.39-3-amd64 linux-image-2.6.39-3-amd64 lxde lxde-common lxde-core lxmusic
  ncurses-bin network-manager network-manager-gnome ntfs-3g openbox openjdk-6-jre openjdk-6-jre-headless openjdk-6-jre-lib python
  python-minimal remmina-plugin-data remmina-plugin-rdp remmina-plugin-vnc usb-modeswitch usb-modeswitch-data vim-common vim-tiny vino
  wget xneur xserver-xorg xserver-xorg-core xserver-xorg-input-evdev xserver-xorg-input-synaptics xserver-xorg-input-wacom
  xserver-xorg-video-apm xserver-xorg-video-ark xserver-xorg-video-chips xserver-xorg-video-cirrus xserver-xorg-video-fbdev
  xserver-xorg-video-i128 xserver-xorg-video-intel xserver-xorg-video-mach64 xserver-xorg-video-mga xserver-xorg-video-neomagic
  xserver-xorg-video-nouveau xserver-xorg-video-openchrome xserver-xorg-video-r128 xserver-xorg-video-rendition xserver-xorg-video-s3
  xserver-xorg-video-s3virge xserver-xorg-video-savage xserver-xorg-video-siliconmotion xserver-xorg-video-sis xserver-xorg-video-sisusb
  xserver-xorg-video-tdfx xserver-xorg-video-trident xserver-xorg-video-tseng xserver-xorg-video-vesa xserver-xorg-video-vmware
  xserver-xorg-video-voodoo xz-utils zenity
The following packages will be upgraded:
  fglrx-control fglrx-modules-dkms
2 upgraded, 0 newly installed, 0 to remove and 115 not upgraded.
Need to get 0 B/5,474 kB of archives.
After this operation, 278 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
(Reading database ... 83212 files and directories currently installed.)
Preparing to replace fglrx-control 1:11-6-3 (using .../fglrx-control_1%3a11-10-1_amd64.deb) ...
Unpacking replacement fglrx-control ...
dpkg: error processing /var/cache/apt/archives/fglrx-control_1%3a11-10-1_amd64.deb (--unpack):
 unable to move aside `./usr/share/bug/fglrx-control' to install new version: Invalid cross-device link
configured to not write apport reports
                                      dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Preparing to replace fglrx-modules-dkms 1:11-6-3 (using .../fglrx-modules-dkms_1%3a11-10-1_amd64.deb) ...

------------------------------
Deleting module version: 11-6
completely from the DKMS tree.
------------------------------
Done.
Unpacking replacement fglrx-modules-dkms ...
dpkg: error processing /var/cache/apt/archives/fglrx-modules-dkms_1%3a11-10-1_amd64.deb (--unpack):
 unable to move aside `./usr/share/bug/fglrx-modules-dkms' to install new version: Invalid cross-device link
configured to not write apport reports
                                      dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)

Creating symlink /var/lib/dkms/fglrx/11-6/source ->
                 /usr/src/fglrx-11-6

DKMS: add Completed.
Errors were encountered while processing:
 /var/cache/apt/archives/fglrx-control_1%3a11-10-1_amd64.deb
 /var/cache/apt/archives/fglrx-modules-dkms_1%3a11-10-1_amd64.deb
localepurge: Disk space freed in /usr/share/locale: 0 KiB
localepurge: Disk space freed in /usr/share/man: 0 KiB
localepurge: Disk space freed in /usr/share/gnome/help: 0 KiB
localepurge: Disk space freed in /usr/share/omf: 0 KiB

Total disk space freed by localepurge: 0 KiB

E: Sub-process /usr/bin/dpkg returned an error code (1)

df shows plenty of space left as far as I can tell (I have increased the persistence file to 3GB in size):

Code:
user@linuxcoin:~$ df -h             
df: `/sys/fs/fuse/connections': Permission denied
Filesystem      Size  Used Avail Use% Mounted on
tmpfs           5.0M  8.0K  5.0M   1% /lib/init/rw
tmpfs           201M  696K  200M   1% /run
tmpfs           5.0M     0  5.0M   0% /run/lock
tmpfs           402M  348K  401M   1% /tmp
udev            995M     0  995M   0% /dev
tmpfs           402M  4.0K  401M   1% /run/shm
rootfs          3.0G  2.1G  727M  75% /
/dev/sdd1       3.9G  3.8G   40M  99% /live/image
/dev/loop1      3.0G  2.1G  727M  75% /live/cow
tmpfs          1003M     0 1003M   0% /live
shmfs          1003M   12K 1003M   1% /lib/init/rw/splashy
full member
Activity: 154
Merit: 102
Bitcoin!
Is source for image creation available anywhere?  Seems author is no longer developing this.

I would like to take this project add cgminer, bring it to current version of debian and some other improvements.    Would rather not reinvent the wheel.
Did you try emailing the author? http://www.linuxcoin.co.uk/index.php?page=contact
donator
Activity: 1218
Merit: 1079
Gerald Davis
Is source for image creation available anywhere?  Seems author is no longer developing this.

I would like to take this project add cgminer, bring it to current version of debian and some other improvements.    Would rather not reinvent the wheel.
full member
Activity: 154
Merit: 102
Bitcoin!
Any updates as to when 1.0 will be released?
donator
Activity: 798
Merit: 500
Well that was a bit of work, glad it worked for you.  So to summarize for others having similar issues, if you add/remove cards its a good idea to rebuild your xorg.conf with:
Code:
sudo aticonfig -f --initial --adapter=all
Then reboot.

For the persistent boot leave the first section and the persistent boot section and delete the rest, then change the prompt to match in syslinux.cfg.

Anyone new to linux not using cgminer for clock/fan control give atitweak a try, saved me a lot of time and trouble, and works great in linuxcoin.

https://bitcointalksearch.org/topic/new-command-line-tool-for-overclocking-ati-cards-linux-25750
Code:
sudo easy_install adl3==0.3



donator
Activity: 1218
Merit: 1079
Gerald Davis
Ok I got everything working.

Is 0.2 final the latest version?  If so then that is the weirdest version convention I have ever seen.

0.2
0.2.1a
0.2.1b
then 0.2 final is latest?

Anyways got it working.  Great little distro once working but kinda painful (for Linux noob) to get setup.
donator
Activity: 1218
Merit: 1079
Gerald Davis
Not sure why but the instructions on changing boot menu seem incorrect:

per wiki:

Code:
default menu.c32 prompt 0 menu title Welcome to LinuxCoin timeout 100

label linuxcoin menu label LinuxCoin Persistent (Changes are Saved) kernel /live/vmlinuz append initrd=/live/initrd.img boot=live config quiet splash persistent rw vga=791

label ubnentry0 menu label LinuxCoin Transient (Private Browsing, Nothing is Saved) kernel /live/vmlinuz append initrd=/live/initrd.img boot=live config quiet splash rw vga=791

When I change syslinux.cfg to the above and attempt to boot I get

Code:
SYSLINUX 4.03 ....
Initial menu has no LABEL entries!
boot:

I am afraid that this isn't plug & play for non-Linux user.
donator
Activity: 1218
Merit: 1079
Gerald Davis
Also looks like linux coin website hacked?

The main wiki page has this:
http://www.linuxcoin.co.uk/wiki/index.php/Main_Page

Quote
ut, keep reading this post but my advantage managed to steal the spotlight. reading. actually genius in my book. gs I wanted. nexus of this report I want to talk relating to seniors dating site. usly. at that as a whole, here are the tired old facts relevant to free datings sites. hypothesis. uldn't be done. omes down to that. ation. relating to free sites ...
donator
Activity: 1218
Merit: 1079
Gerald Davis
Ok so figured out how to "initialize" drivers using  aticonfig:


Code:
user@linuxcoin:/opt/miners/cgminer-2.0.5$ sudo aticonfig --initialFound fglrx primary device section
Using /etc/X11/xorg.conf
Saving back-up to /etc/X11/xorg.conf.fglrx-1
user@linuxcoin:/opt/miners/cgminer-2.0.5$ aticonfig --list-adapters* 0. 13:00.0 ATI Radeon HD 5900 Series
  1. 12:00.0 ATI Radeon HD 5900 Series
  2. 0b:00.0 ATI Radeon HD 5900 Series
  3. 0a:00.0 ATI Radeon HD 5900 Series
  4. 07:00.0 ATI Radeon HD 5900 Series
  5. 06:00.0 ATI Radeon HD 5900 Series

* - Default adapter

So at hardware level my cards are seen.

I try to use Catalyst Control Center - no AMD video card card installed.
Try to use cgminer - only CPU is seen

Pages:
Jump to: