Wednesday, August 24, 2011

"linux clone file system method "copy procedure

Dari:
https://bitcointalk.org/index.php?topic=7374.280
purpose:
There's going to be a HDD installer included on the final version. The reason why I decided not to post instructions on how to install to a local HDD is because of LinuxCoin being in testing. If you really want to you could try formatting you HDD as ext4 then ...


mkdir /mnt/hdd
mount /dev/sdXX /mnt/hdd
cp --preserve -R /{bin,boot,dev,etc,home,lib,lib32,opt,root,run,sbin,selinux,srv,usr,var} /mnt/hdd
mkdir /mnt/hdd/{media,proc,sys,tmp}
mount -o bind /dev /mnt/hdd/dev
mount -t proc /proc /mnt/hdd/proc
chroot /mnt/hdd
apt-get install grub2
grub-install /dev/sdX
exit

 

No comments: