Once again, big thanks to all for replies, i succeed in this.
@
rpdom yes, fresh and latest image of Raspbian from their website.
Now, i would like to write small tutorial.
1. You need a blank HDD ( without files, folders) , with only 1 partition available.
2. Connect you HDD to big PC, or to Rasbperry pi (as i did, but in this case i had to free up about 1.9 Gb for free space).
3. Detect, how HDD was named in the system, for example sda or sdb, etc... This can be done on the terminal under root with command:
and of course, check the command
If your disk has been mounted for usage, you have to unmount its back, and then do the next stage.
4. Get latest (fresh) version of Raspbian from their website. When you get the Raspbian zip file, unpack contents of it to some folder ( on the mounted file system).
5. Open terminal again, and write
Code: Select all
dd if=/your_path_to/Raspbian.img of=/dev/sdb
Note:
a) /dev/sdb is probably path to your HDD ( read stage 3 of this tutorial for more information)
b) You dont need to insert a number to /dev/sdb ( for example /dev/sdb1) because in this case, you burn the image directly to the whole disk.
c) When dd done burning, you will be noticed about this in the terminal.
6. Unplug your HDD, and plug it again.
7. Now you can see, that Raspbian image is Very SMART image, and has created two partitions on your HDD. First partition (FAT) never will be needed (until direct boot from USB without SD card, which could be planned by broadcom and/or Raspberry Pi Foundation), second partition contain installed Raspbian.
8. Next, you need a program GParted. For Raspbian its
Run GParted and resize your partition where Raspbian has been installed. If you need my advice, i left about 10Gb for Raspbian, and other space i left for new ext2 partition, where all my media files will be kept.
9. On the SD cart, in the FAT partiotion find the file called cmdline.txt
Open it, and change
to
Save the file and close it.
10. Now boot up your Raspberry Pi with this HDD connected via USB.
11. If you succeed, then accept my congratulations, you've done everything correctly, otherwise read this tutorial again.
Good luck.