[Raspberry Pi General] -CALIBAN666-:
Raspbian run from hard disk:

Every now and then might be a temptation to not burden for all write-intensive work using SD cards,so think i want prefer a "real" hard drive. This is actually not a problem, all the tools are supplied by Raspbian.

We need:

a Pi

an SD card, which can hold a Raspbian (currently ranges there's a 2GB card)

a blank hard drive with a USB port (USB external drive with its own power supply or hard drive with a SATA to USB or SATA to USB adapter and a power supply)

A non-empty plate is of course working, but that I would now not go into here.

but i will post the teach soon.

Programming the SD card as usual

Make the start of the Pi with this card, the initial configuration

Connecting the USB drive. Normally should appear in syslog or on the console corresponding messages that the disk was found. They should be seen as / dev / sda in the system.

Setting up the board (I'm always below assume that on the plate used was nothing on it, the old data will be gone at all.

Hard Drive Partitioning

sudo cfdisk / dev / sda

I hang with me a very old PATA drive with 8GB on a PATA-to-USB adapter. This I have established with approximately 7.5 GB for a Linux partition (type 83), the rest for swap (type 82).

Partition write data to the disk and quit cfdisk.

File system with produce

sudo mkfs.ext4 / dev/sda1

Swap with produce

sudo mkswap / dev/sda2

Integrating the plate with

sudo mount / dev/sda1 mnt /

Copy everything from the SD card to the hard disk

cd / mnt

sudo cp-axuv /.

Can copy the contents of / mnt / boot then we delete because that directory is mounted on the VFAT partition of the SD card.

Edit the fstab file on the hard drive (!)

sudo vi / mnt / etc / fstab

Here we modify this entry:

/ dev/mmcblk0p2 / ext4 defaults noatime 0 1

becomes

# / dev/mmcblk0p2 / ext4 defaults noatime 0 0

And these records happen again:

/ dev/sda1 / ext4 defaults, errors = remount-ro 0 1

/ dev/sda2 none swap sw 0 0

Dont forget to save

Editing cmdline.txt on the SD card. That can make both the Pi and on a normal PC, the partition is vfat and cmdline.txt a normal text file. On the Pi that would be:

sudo vi / boot / cmdline.txt

There we find a little further back in the line entry

root = / dev/mmcblk0p2

This after we change

root = / dev/sda1

And save it again.

That's it. Now really can make even the fun and test the swap area. Turning on the disk swap space is easy with

sudo swapon-a

Between a "free" before and a "free" after swapon should be accordingly a size difference in the: present specification, which corresponds to the size of the swap partition "swap".

A restart of the Pi with the monkey grip or 'sudo reboot "should go through without any problems and we should see it with" mount "something like this:

/ dev / root on / type ext4 (rw, relatime, errors = remount-ro, user_xattr, barrier = 1, data = ordered)

tmpfs on / run type tmpfs (rw, nosuid, noexec relatime, size = 18812k, mode = 755)

tmpfs on / run / lock type tmpfs (rw, nosuid, nodev, noexec relatime, size = 5120K)

proc on / proc type proc (rw, nosuid, nodev, noexec, relatime)

sysfs on / sys type sysfs (rw, nosuid, nodev, noexec relatime,)

tmpfs on / dev type tmpfs (rw, relatime, size = 10240k, mode = 755)

tmpfs on / run / shm type tmpfs (rw, nosuid, nodev, noexec relatime, size = 126520k)

devpts on / dev / pts type devpts (rw, nosuid, noexec relatime, gid = 5, mode = 620)

/ dev/mmcblk0p1 on / boot type vfat (rw, relatime, fmask = 0022, dmask = 0022, codepage = cp437 iocharset = ascii, shortname = mixed, errors = remount-ro)

Anyone who wants can now disable the dphys-swapfile, but that's really not a big difference, because / var is now also on the hard disk.

From now on, all file access to run only on the hard drive, the SD card is only used to boot - and then only because reading. Theoretically, you could now also e.g. Booting with an old SD card with 256MB. The effort I have not done, it seemed to me of primary importance to spare my SD card for the life application.

Thats it:Please never forget to give Credits for me,because i make this Guides for all here for nothing,and its like a hard job to test all these things for the user here.Thanx:cool:

------------->MANY GREETZ TO MY BUDDY BASTEK>--------------------------

---------- Post added at 07:03 AM ---------- Previous post was at 06:35 AM ----------

News on RISC OS and Pi on:http://www.riscoscode.com/

http://www.pilearn.com/---- RISC OS and the Raspi

Adafruit Raspberry Pi Educational Linux Distro:

Behind the name is a bulky http://learn.adafruit.com/adafruit-raspberry-pi-educational-linux-distro/overview which builds on Raspbian and contains, among other kernel modules and packages that make one's response to the GPIOs easier.

Raspberry Pi Development Virtual Machine 0.2 for https://www.virtualbox.org/

by Russell Davis, based on Fedora 13 for ARM. Details and instructions see included README file.

Torrent:http://russelldavis.org/RaspberryPi/raspberrypi_dev_vm_02.torrent

Software development for and on the Raspberry Pi from:http://russelldavis.org/category/raspberrypi-2/

a hardware experiment system from India:http://expeyes.in/

a prototyping board in Pi-size that can be easily attached:

http://www.adafruit.com/products/801

initiates a project to Arduinos and Arduino shields directly on Raspberry Pi to use:

http://omer.me/2012/05/introducing-ponte/

a testing kit for those interested in electronics:

http://quick2wire.com/

The http://www.element14.com/community/groups/raspberry-pi?ICID=hp-gertboardban---a GPIO expansion with LEDs to connect sensors, motors, etc. with the Pi

The UT Electronics Expansion Board protects the Pi ports offers, including an RTC and Fast-mode I2C:http://www.utelectronics.com/

Expansion board for automation tasks via serial communication (I2C, RS-232, RS-485)

http://amesberger.wordpress.com/

Raspi LCD, an extension of a large display with 128x64 pixels and 5 push-buttons

http://www.emsystech.de/lcd-display-add-on-for-raspberry-pi/

Have fun:laugh::laugh::laugh:

at next a guide for the quest:how many and which systemspeak are working on pi!!!