Bitcoin Forum
December 04, 2016, 06:19:08 AM *
News: To be able to use the next phase of the beta forum software, please ensure that your email address is correct/functional.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Install Linuxcoin in Hard Disk  (Read 1773 times)
worldinacoin
Hero Member
*****
Offline Offline

Activity: 658



View Profile WWW
November 04, 2011, 11:21:33 AM
 #1

I had an old computer, can't boot properly from USB, thinking of installing Linuxcoin on the booting hard disk.  Is there any instructions?  Linuxcoin looks like for USB drives only.
1480832348
Hero Member
*
Offline Offline

Posts: 1480832348

View Profile Personal Message (Offline)

Ignore
1480832348
Reply with quote  #2

1480832348
Report to moderator
1480832348
Hero Member
*
Offline Offline

Posts: 1480832348

View Profile Personal Message (Offline)

Ignore
1480832348
Reply with quote  #2

1480832348
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
runeks
Legendary
*
Offline Offline

Activity: 924



View Profile WWW
January 10, 2012, 07:43:48 PM
 #2

This worked for me. Look at the following video to get an idea of what is going on. I had to add some commands as GRUB wouldn't install properly (because of some security stuff).

http://www.youtube.com/watch?v=pP48GhFKDAQ

All these commands are run from within Linuxcoin, with the hard drive you wish to install it on attached.

Commands:

replace /dev/sdXX with the partition you want the root file system (ext4) on (mine is /dev/sda1). And replace /dev/sdX with the disk on which the root file system is (mine is /dev/sda).
Code:
#open root terminal
mkdir /mnt/hdd
mount /dev/sdXX /mnt/hdd
cd /
cp --preserve -R {bin,boot,etc,home,initrd.img,lib,lib32,lib64,opt,root,run,sbin,selinux,srv,usr,var,vmlinuz} /mnt/hdd
mkdir /mnt/hdd/{dev,media,mnt,proc,sys,tmp}
cd /mnt/
mount -o bind /dev hdd/dev
mount -t proc /proc hdd/proc
mount -o bind /sys hdd/sys
chroot hdd
export DEBIAN_FRONTEND=noninteractive
apt-get update
apt-get install grub
for i in $(ls /usr/sbin | grep grub); do paxctl -C /usr/sbin/$i; paxctl -cEr /usr/sbin/$i; done
for i in $(ls /usr/bin | grep grub); do paxctl -C /usr/bin/$i; paxctl -cEr /usr/bin/$i; done
update-grub
grub-install /dev/sdX
exit
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!