Run from USB stick instead of sdcard

Raspberry Pi 2

Run from USB stick instead of sdcard

Postby hachel » Tue Sep 27, 2016 4:41 pm

Hi there,

I feel like this must have been asked a thousand times already but I can't seem to find any information on the internet.

I'd like to run archlinuxarm (or some parts of it) off a usb stick instead of sdcard since sdcards get so easily corrupted. First of all, is it possible? I figure booting has to still be off the sdcard but the rest of the system?
Any help would be appreciated.

Thanks,

Hachel
hachel
 
Posts: 20
Joined: Fri Mar 07, 2014 3:24 pm

Re: Run from USB stick instead of sdcard

Postby WarheadsSE » Tue Sep 27, 2016 5:41 pm

Put /boot on the SD card, and / on the USB. Viola.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6729
Joined: Mon Oct 18, 2010 2:12 pm

Re: Run from USB stick instead of sdcard

Postby hachel » Tue Sep 27, 2016 5:48 pm

ok, and then adjust /boot/cmdline.txt?
hachel
 
Posts: 20
Joined: Fri Mar 07, 2014 3:24 pm

Re: Run from USB stick instead of sdcard

Postby jaab » Sat Oct 22, 2016 8:38 am

Yes, find below copy

[alarm@alarmpi boot]$ cat cmdline.txt
root=/dev/sda2 rw rootwait rootdelay=5 console=ttyAMA0,115200 console=tty1 selinux=0 plymouth.enable=0 smsc95xx.turbo_mode=N dwc_otg.lpm_enable=0 kgdboc=ttyAMA0,115200 elevator=noop
:)
jaab
 
Posts: 20
Joined: Sat Oct 22, 2016 8:32 am


Return to Broadcom

Who is online

Users browsing this forum: No registered users and 2 guests