22.02.2017 Views

-ORIENTED

MagPi54

MagPi54

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Tutorial<br />

USB hard disk attached<br />

to Raspberry Pi 2 with<br />

multiple operating systems<br />

WALKTHROUGH<br />

WINFRIED PLAPPERT<br />

Former IT consultant. Has enjoyed<br />

playing with Unix and Linux for many<br />

years. Received a Raspberry Pi as a<br />

Christmas present a few years back.<br />

Use this like any normal<br />

multi-booting PC setup<br />

MULTI BOOT<br />

YOUR RASPBERRY PI 2<br />

PART 02<br />

You’ll<br />

Need<br />

> Das U-Boot:<br />

magpi.cc/<br />

2iZ7P8g<br />

> Cross-compiler<br />

tools<br />

Use ‘Das U-Boot’ to boot multiple Raspberry Pi operating systems<br />

from a USB hard drive<br />

L<br />

ast time we looked at multi-booting (in<br />

issue 52), we got ourselves set up to start<br />

putting several operating systems and Linux<br />

distributions on the Raspberry Pi in a multi-booting<br />

enrio. et finih tht o<br />

The following distributions have been tested as<br />

working: Raspbian, Ubuntu MATE, SUSE, Manjaro,<br />

Fedora 25, Puppy Linux, Sabayon, and Arch Linux<br />

in console mode.<br />

The concept of booting multiple operating systems<br />

from one USB hard disk using one kernel is not<br />

without its problems.<br />

Firstly, you need a fast USB disk that connects<br />

directly to the Raspberry Pi, which means it’s<br />

far preferable to use an external hard drive that<br />

has its own power supply.<br />

The separation between partition 1 (/boot) and<br />

partition 2 (root file system i not defined ety.<br />

Debian-based distributions seem to adhere to similar<br />

standards, but other distributions do not, most<br />

notably Fedora 25 (download at magpi.cc/2igrnGp)<br />

and Manjaro (magpi.cc/2j5gc4w).<br />

Whichever distribution you have downloaded, it<br />

i wie to int it on miro rd firt nd oot<br />

it or the firt ew time rom the rd. hi i<br />

because some distributions run through some initial<br />

steps like creating a new user for you and doing<br />

other customisations.<br />

58 February 2017<br />

raspberrypi.org/magpi

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!