Post
Topic
Board Project Development
Re: LinuxCoin A lightweight Debian based OS with everything ready to go.
by
deti
on 29/07/2011, 09:18:00 UTC
Two things about linuxcoin-v0.2-prefinal.iso:

1. "Install LinuxCoin onto a HDD"-YouTube manual doesn't work any more. Grub can't be installed ... How can I do it now? I had to move back to linuxcoin-v0.2.1b.iso.

2. Why is /opt/miners/phoenix/phoenix.py not executable by default now? In the previous version it was!


1) Don't install this version to your HDD it's only out for a few more days then you can have the final version. What errors you getting with grub ?
2) Probably forgot to set the permissions on that file. I'll fix it up for the final version.

When I do

# apt-get install grub

I get the 1st OK but not the 2nd and not the 3rd page with the device select option. In the 4th (my 2nd) I can select Yes or No. If I do No the 2nd page appears but it leads me directly to the 4th when I do OK ...

Here the Terminal output of the entire HDD procedure

Code:
root@linuxcoin:/home/user# fdisk /dev/sda

Command (m for help): d
Partition number (1-4): 2

Command (m for help): d
Selected partition 1

Command (m for help): l

 0  Empty           24  NEC DOS         81  Minix / old Lin bf  Solaris        
 1  FAT12           27  Hidden NTFS Win 82  Linux swap / So c1  DRDOS/sec (FAT-
 2  XENIX root      39  Plan 9          83  Linux           c4  DRDOS/sec (FAT-
 3  XENIX usr       3c  PartitionMagic  84  OS/2 hidden C:  c6  DRDOS/sec (FAT-
 4  FAT16 <32M      40  Venix 80286     85  Linux extended  c7  Syrinx        
 5  Extended        41  PPC PReP Boot   86  NTFS volume set da  Non-FS data    
 6  FAT16           42  SFS             87  NTFS volume set db  CP/M / CTOS / .
 7  HPFS/NTFS/exFAT 4d  QNX4.x          88  Linux plaintext de  Dell Utility  
 8  AIX             4e  QNX4.x 2nd part 8e  Linux LVM       df  BootIt        
 9  AIX bootable    4f  QNX4.x 3rd part 93  Amoeba          e1  DOS access    
 a  OS/2 Boot Manag 50  OnTrack DM      94  Amoeba BBT      e3  DOS R/O        
 b  W95 FAT32       51  OnTrack DM6 Aux 9f  BSD/OS          e4  SpeedStor      
 c  W95 FAT32 (LBA) 52  CP/M            a0  IBM Thinkpad hi eb  BeOS fs        
 e  W95 FAT16 (LBA) 53  OnTrack DM6 Aux a5  FreeBSD         ee  GPT            
 f  W95 Ext'd (LBA) 54  OnTrackDM6      a6  OpenBSD         ef  EFI (FAT-12/16/
10  OPUS            55  EZ-Drive        a7  NeXTSTEP        f0  Linux/PA-RISC b
11  Hidden FAT12    56  Golden Bow      a8  Darwin UFS      f1  SpeedStor      
12  Compaq diagnost 5c  Priam Edisk     a9  NetBSD          f4  SpeedStor      
14  Hidden FAT16 <3 61  SpeedStor       ab  Darwin boot     f2  DOS secondary  
16  Hidden FAT16    63  GNU HURD or Sys af  HFS / HFS+      fb  VMware VMFS    
17  Hidden HPFS/NTF 64  Novell Netware  b7  BSDI fs         fc  VMware VMKCORE
18  AST SmartSleep  65  Novell Netware  b8  BSDI swap       fd  Linux raid auto
1b  Hidden W95 FAT3 70  DiskSecure Mult bb  Boot Wizard hid fe  LANstep        
1c  Hidden W95 FAT3 75  PC/IX           be  Solaris boot    ff  BBT            
1e  Hidden W95 FAT1 80  Old Minix      

Command (m for help): p

Disk /dev/sda: 7398 MB, 7398300672 bytes
255 heads, 63 sectors/track, 899 cylinders, total 14449806 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: 0x0009083e

   Device Boot      Start         End      Blocks   Id  System

Command (m for help): q

root@linuxcoin:/home/user# apt-get update
Get:1 http://www.mirrorservice.org sid InRelease [146 kB]
Ign http://ppa.launchpad.net maverick InRelease        
Get:2 http://ppa.launchpad.net maverick Release.gpg [316 B]
Hit http://ppa.launchpad.net maverick Release                      
Ign http://ppa.launchpad.net maverick Release              
Ign http://ppa.launchpad.net maverick/main Sources/DiffIndex
Ign http://ppa.launchpad.net maverick/main amd64 Packages/DiffIndex
Ign http://ppa.launchpad.net maverick/main TranslationIndex
Hit http://ppa.launchpad.net maverick/main Sources
Hit http://ppa.launchpad.net maverick/main amd64 Packages
Get:3 http://www.mirrorservice.org sid/main Sources/DiffIndex [2,038 B]
Get:4 http://www.mirrorservice.org sid/non-free Sources/DiffIndex [2,023 B]
Get:5 http://www.mirrorservice.org sid/contrib Sources/DiffIndex [2,023 B]
Get:6 http://www.mirrorservice.org sid/main amd64 Packages/DiffIndex [2,038 B]
Get:7 http://www.mirrorservice.org sid/non-free amd64 Packages/DiffIndex [2,023 B]
Get:8 http://www.mirrorservice.org sid/contrib amd64 Packages/DiffIndex [2,023 B]
Ign http://www.mirrorservice.org sid/contrib TranslationIndex
Get:9 http://www.mirrorservice.org sid/main TranslationIndex [2,045 B]
Ign http://www.mirrorservice.org sid/non-free TranslationIndex
Get:10 http://www.mirrorservice.org sid/main Sources [5,412 kB]
Ign http://ppa.launchpad.net maverick/main Translation-en_US
Ign http://ppa.launchpad.net maverick/main Translation-en
Get:11 http://www.mirrorservice.org sid/non-free 2011-07-25-1414.37.pdiff [820 B]
Get:12 http://www.mirrorservice.org sid/contrib 2011-07-25-1414.37.pdiff [876 B]
Get:13 http://www.mirrorservice.org sid/main amd64 Packages [7,544 kB]        
Get:14 http://www.mirrorservice.org sid/non-free 2011-07-25-1414.37.pdiff [820 B]
Get:15 http://www.mirrorservice.org sid/contrib 2011-07-25-1414.37.pdiff [876 B]
Get:16 http://www.mirrorservice.org sid/non-free amd64 2011-07-25-1414.37.pdiff [478 B]
Get:17 http://www.mirrorservice.org sid/non-free amd64 2011-07-25-1414.37.pdiff [478 B]
Get:18 http://www.mirrorservice.org sid/contrib amd64 2011-07-25-1414.37.pdiff [235 B]
Get:19 http://www.mirrorservice.org sid/contrib amd64 2011-07-25-1414.37.pdiff [235 B]
Get:20 http://www.mirrorservice.org sid/non-free 2011-07-26-0212.45.pdiff [864 B]
Get:21 http://www.mirrorservice.org sid/non-free 2011-07-26-0212.45.pdiff [864 B]
Get:22 http://www.mirrorservice.org sid/contrib 2011-07-26-1414.13.pdiff [850 B]
Get:23 http://www.mirrorservice.org sid/contrib 2011-07-26-1414.13.pdiff [850 B]
Get:24 http://www.mirrorservice.org sid/non-free amd64 2011-07-26-0212.45.pdiff [419 B]
Get:25 http://www.mirrorservice.org sid/non-free amd64 2011-07-26-0212.45.pdiff [419 B]
Get:26 http://www.mirrorservice.org sid/contrib amd64 2011-07-26-1414.13.pdiff [480 B]
Get:27 http://www.mirrorservice.org sid/contrib amd64 2011-07-26-1414.13.pdiff [480 B]
Get:28 http://www.mirrorservice.org sid/non-free 2011-07-26-1414.13.pdiff [31 B]
Get:29 http://www.mirrorservice.org sid/non-free 2011-07-26-1414.13.pdiff [31 B]
Get:30 http://www.mirrorservice.org sid/contrib 2011-07-27-0214.22.pdiff [29 B]
Get:31 http://www.mirrorservice.org sid/contrib 2011-07-27-0214.22.pdiff [29 B]
Get:32 http://www.mirrorservice.org sid/non-free amd64 2011-07-26-2015.55.pdiff [546 B]
Get:33 http://www.mirrorservice.org sid/non-free amd64 2011-07-26-2015.55.pdiff [546 B]
Get:34 http://www.mirrorservice.org sid/contrib amd64 2011-07-27-0214.22.pdiff [229 B]
Get:35 http://www.mirrorservice.org sid/contrib amd64 2011-07-27-0214.22.pdiff [229 B]
Get:36 http://www.mirrorservice.org sid/non-free 2011-07-26-2015.55.pdiff [1,151 B]
Get:37 http://www.mirrorservice.org sid/contrib 2011-07-27-0818.04.pdiff [29 B]
Get:38 http://www.mirrorservice.org sid/non-free 2011-07-26-2015.55.pdiff [1,151 B]
Get:39 http://www.mirrorservice.org sid/contrib 2011-07-27-0818.04.pdiff [29 B]
Ign http://www.mirrorservice.org sid/contrib Translation-en_US                
Ign http://www.mirrorservice.org sid/contrib Translation-en                    
Get:40 http://www.mirrorservice.org sid/non-free amd64 2011-07-27-0214.22.pdiff [267 B]
Get:41 http://www.mirrorservice.org sid/non-free amd64 2011-07-27-0214.22.pdiff [267 B]
Ign http://www.mirrorservice.org sid/non-free Translation-en_US                
Ign http://www.mirrorservice.org sid/non-free Translation-en                  
Get:42 http://www.mirrorservice.org sid/non-free 2011-07-27-1424.45.pdiff [453 B]
Get:43 http://www.mirrorservice.org sid/non-free 2011-07-27-1424.45.pdiff [453 B]
Get:44 http://www.mirrorservice.org sid/non-free amd64 2011-07-27-1424.45.pdiff [2,968 B]
Get:45 http://www.mirrorservice.org sid/non-free amd64 2011-07-27-1424.45.pdiff [2,968 B]
Get:46 http://www.mirrorservice.org sid/non-free 2011-07-27-2030.00.pdiff [304 B]
Get:47 http://www.mirrorservice.org sid/non-free 2011-07-27-2030.00.pdiff [304 B]
Get:48 http://www.mirrorservice.org sid/non-free amd64 2011-07-27-2030.00.pdiff [395 B]
Get:49 http://www.mirrorservice.org sid/non-free amd64 2011-07-27-2030.00.pdiff [395 B]
Get:50 http://www.mirrorservice.org sid/non-free 2011-07-28-0212.00.pdiff [1,821 B]
Get:51 http://www.mirrorservice.org sid/non-free 2011-07-28-0212.00.pdiff [1,821 B]
Get:52 http://www.mirrorservice.org sid/non-free amd64 2011-07-28-0212.00.pdiff [807 B]
Get:53 http://www.mirrorservice.org sid/non-free amd64 2011-07-28-0212.00.pdiff [807 B]
Get:54 http://www.mirrorservice.org sid/non-free 2011-07-28-0815.43.pdiff [959 B]
Get:55 http://www.mirrorservice.org sid/non-free 2011-07-28-0815.43.pdiff [959 B]
Get:56 http://www.mirrorservice.org sid/non-free amd64 2011-07-28-0815.43.pdiff [1,201 B]
Get:57 http://www.mirrorservice.org sid/non-free amd64 2011-07-28-0815.43.pdiff [1,201 B]
Get:58 http://www.mirrorservice.org sid/non-free 2011-07-28-1358.13.pdiff [294 B]
Get:59 http://www.mirrorservice.org sid/non-free 2011-07-28-1358.13.pdiff [294 B]
Get:60 http://www.mirrorservice.org sid/non-free amd64 2011-07-28-1358.13.pdiff [242 B]
Get:61 http://www.mirrorservice.org sid/non-free amd64 2011-07-28-1358.13.pdiff [242 B]
Fetched 13.1 MB in 31s (411 kB/s)                                              
Reading package lists... Done
W: GPG error: http://ppa.launchpad.net maverick Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 1C434D5A7992E892
root@linuxcoin:/home/user# apt-get install gparted
Reading package lists... Done
Building dependency tree      
Reading state information... Done
gparted is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 73 not upgraded.
root@linuxcoin:/home/user# gparted
======================
libparted : 2.3
======================
root@linuxcoin:/home/user# mkdir linuxcoin
root@linuxcoin:/home/user# ls
Desktop  linuxcoin
root@linuxcoin:/home/user# fdisk /dev/sda

Command (m for help): p

Disk /dev/sda: 7398 MB, 7398300672 bytes
255 heads, 63 sectors/track, 899 cylinders, total 14449806 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: 0x0009083e

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1            2048    12351487     6174720   83  Linux
/dev/sda2        12351488    14448639     1048576   82  Linux swap / Solaris

Command (m for help): qq

root@linuxcoin:/home/user# mount /dev/sda1 linuxcoin
root@linuxcoin:/home/user# df
Filesystem           1K-blocks      Used Available Use% Mounted on
tmpfs                     5120         8      5112   1% /lib/init/rw
tmpfs                   205264       680    204584   1% /run
tmpfs                     5120         0      5120   0% /run/lock
tmpfs                   410528        24    410504   1% /tmp
udev                   1017608         0   1017608   0% /dev
tmpfs                   410528         4    410524   1% /run/shm
rootfs                 1026312    199980    826332  20% /
/dev/sdb1              3903000    805652   3097348  21% /live/image
tmpfs                  1026312    199980    826332  20% /live/cow
tmpfs                  1026312         0   1026312   0% /live
shmfs                  1026312        12   1026300   1% /lib/init/rw/splashy
/dev/sdc1               506592    346264    160328  69% /media/DETI
/dev/sda1              6077696    143128   5625832   3% /home/user/linuxcoin
root@linuxcoin:/home/user# cd /
root@linuxcoin:/# df
Filesystem           1K-blocks      Used Available Use% Mounted on
tmpfs                     5120         8      5112   1% /lib/init/rw
tmpfs                   205264       664    204600   1% /run
tmpfs                     5120         0      5120   0% /run/lock
tmpfs                   410528        24    410504   1% /tmp
udev                   1017608         0   1017608   0% /dev
tmpfs                   410528         4    410524   1% /run/shm
rootfs                 1026312    199992    826320  20% /
/dev/sdb1              3903000    805652   3097348  21% /live/image
tmpfs                  1026312    199992    826320  20% /live/cow
tmpfs                  1026312         0   1026312   0% /live
shmfs                  1026312        12   1026300   1% /lib/init/rw/splashy
/dev/sda1              6077696    143128   5625832   3% /home/user/linuxcoin
root@linuxcoin:/# ls
bin   etc  lib live proc  sbin     sys  var
boot  home  lib32  media root  selinux  tmp  vmlinuz
dev   initrd.img  lib64  opt run   srv      usr
root@linuxcoin:/# cp --preserve -R {bin,boot,etc,home,initrd.img,lib,lib32,lib64,opt,root,run,sbin,selinux,srv,usr,var,vmlinuz} /home/user/linuxcoin
cp: cannot copy a directory, `home', into itself, `/home/user/linuxcoin/home'
root@linuxcoin:/# cd /home/user/
root@linuxcoin:/home/user# mkdir linuxcoin/{dev,media,mnt,proc,sys,tmp}
root@linuxcoin:/home/user# ls
Desktop  linuxcoin
root@linuxcoin:/home/user# ls linuxcoin/
bin   etc  lib lost+found  opt   run    srv  usr
boot  home  lib32  media     proc  sbin     sys  var
dev   initrd.img  lib64  mnt     root  selinux  tmp  vmlinuz
root@linuxcoin:/home/user# mount -o bind /dev linuxcoin/dev
root@linuxcoin:/home/user# mount -t proc /proc linuxcoin/proc
root@linuxcoin:/home/user# mount -o bind /sys linuxcoin/sys
root@linuxcoin:/home/user# chroot linuxcoin
root@linuxcoin:/# apt-get install grub
Reading package lists... Done
Building dependency tree      
Reading state information... Done
The following extra packages will be installed:
  grub-common grub-pc grub-pc-bin grub2-common os-prober
Suggested packages:
  multiboot-doc grub-emu xorriso
The following NEW packages will be installed:
  grub grub-common grub-pc grub-pc-bin grub2-common os-prober
0 upgraded, 6 newly installed, 0 to remove and 73 not upgraded.
Need to get 3,677 kB of archives.
After this operation, 8,696 kB of additional disk space will be used.
Do you want to continue [Y/n]? Y
Get:1 http://www.mirrorservice.org/sites/ftp.uk.debian.org/debian/ sid/main grub-common amd64 1.99-9 [2,566 kB]
Get:2 http://www.mirrorservice.org/sites/ftp.uk.debian.org/debian/ sid/main grub2-common amd64 1.99-9 [94.0 kB]
Get:3 http://www.mirrorservice.org/sites/ftp.uk.debian.org/debian/ sid/main grub-pc-bin amd64 1.99-9 [781 kB]
Get:4 http://www.mirrorservice.org/sites/ftp.uk.debian.org/debian/ sid/main grub-pc amd64 1.99-9 [92.4 kB]
Get:5 http://www.mirrorservice.org/sites/ftp.uk.debian.org/debian/ sid/main grub amd64 0.97-65 [118 kB]
Get:6 http://www.mirrorservice.org/sites/ftp.uk.debian.org/debian/ sid/main os-prober amd64 1.48 [25.3 kB]
Fetched 3,677 kB in 3s (1,199 kB/s)
Preconfiguring packages ...
Can not write log, openpty() failed (/dev/pts not mounted?)
Selecting previously deselected package grub-common.
(Reading database ... 80182 files and directories currently installed.)
Unpacking grub-common (from .../grub-common_1.99-9_amd64.deb) ...
Selecting previously deselected package grub2-common.
Unpacking grub2-common (from .../grub2-common_1.99-9_amd64.deb) ...
Selecting previously deselected package grub-pc-bin.
Unpacking grub-pc-bin (from .../grub-pc-bin_1.99-9_amd64.deb) ...
Selecting previously deselected package grub-pc.
Unpacking grub-pc (from .../grub-pc_1.99-9_amd64.deb) ...
Selecting previously deselected package grub.
Unpacking grub (from .../grub_0.97-65_amd64.deb) ...
Selecting previously deselected package os-prober.
Unpacking os-prober (from .../os-prober_1.48_amd64.deb) ...
Processing triggers for man-db ...
Processing triggers for install-info ...
Can not write log, openpty() failed (/dev/pts not mounted?)
Setting up grub-common (1.99-9) ...
Setting up grub2-common (1.99-9) ...
Setting up grub-pc-bin (1.99-9) ...
Setting up grub-pc (1.99-9) ...

Creating config file /etc/default/grub with new version
Setting up grub (0.97-65) ...
Setting up os-prober (1.48) ...
localepurge: Disk space freed in /usr/share/locale: 648 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: 648 KiB

root@linuxcoin:/# update-grub
Killed
root@linuxcoin:/# grub-install /dev/sda
Killed
Auto-detection of a filesystem of /dev/sda1 failed.
Try with --recheck.
If the problem persists please report this together with the output of "/usr/sbin/grub-probe --device-map="/boot/grub/device.map" --target=fs -v /boot/grub" to
root@linuxcoin:/# /usr/sbin/grub-probe --device-map="/boot/grub/device.map" --target=fs -v /boot/grub
/usr/sbin/grub-probe: info: /dev/sda1 starts from 2048.
/usr/sbin/grub-probe: info: opening the device /dev/sda.
/usr/sbin/grub-probe: info: the size of /dev/sda is 14449806.
Killed
root@linuxcoin:/#