LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Arch
User Name
Password
Arch This Forum is for the discussion of Arch Linux.

Notices


Reply
  Search this Thread
Old 11-08-2010, 03:18 PM   #1
TheStarLion
Member
 
Registered: Nov 2009
Location: UK
Distribution: Gentoo
Posts: 472

Rep: Reputation: 41
Question Booting Arch from an SD card


I've got an 8gb SD card I'm not using, and want to try something new with. Namely, use it as the root partition on a laptop with a built-in card reader.

I only found one (outdated) entry on the Arch Wiki, and other searches haven't turned up much of use for achieving this, except that it has to be set up at the system install.

What I want to know is what deviations from a standard install of Arch this would entail, what the risks are (with /home mounted separately) in doing so, and what potential benefits would be achieved in using the card for the root partition.

Also, if a standard (IE, HD partition based) install were to exist as well, would it be safe/wise/possible to have Pacman use a single partition for packages for both HD and SD installs, or is keeping the two separate a better idea?
 
Old 11-08-2010, 04:13 PM   #2
snowday
Senior Member
 
Registered: Feb 2009
Posts: 4,667

Rep: Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411
I did this with several distros on my Asus EEE PC (not Arch specifically) back when I was deciding which distro to choose. If your BIOS supports boot from an SD card, then it is just another drive, and no special steps or precautions are necessary. Performance is, of course, very slow.

Now my Dell Mini on the other hand simply doesn't support boot from SD. Really it depends on your BIOS...

Personally I think it makes more sense to install the operating system to an internal drive and use the card reader for additional storage. Putting the root partition on SD means the computer is unbootable if you remove the card...
 
Old 11-08-2010, 04:19 PM   #3
TheStarLion
Member
 
Registered: Nov 2009
Location: UK
Distribution: Gentoo
Posts: 472

Original Poster
Rep: Reputation: 41
Since neither the card nor reader see much use anyway, it's unlikely to be removed in any case.
I don't know exactly if my laptop can boot direct from it or not; I haven't looked yet.

I thought that GRUB (not 2) from a HD-based /boot partition might be able to load it, but I've yet to find anything in GRUB's documentation to confirm this. Still looking though.

I also thought that booting from an SD card actually gained performance, not lost it - perhaps I misinterpreted the benefits...
 
Old 11-08-2010, 04:27 PM   #4
snowday
Senior Member
 
Registered: Feb 2009
Posts: 4,667

Rep: Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411
So your plan is to have /boot and /home on the internal HDD and / (root) on the SD card? That should work I suppose, not something I would personally be interested in, but Linux is infinitely flexible.
 
Old 11-08-2010, 04:33 PM   #5
TheStarLion
Member
 
Registered: Nov 2009
Location: UK
Distribution: Gentoo
Posts: 472

Original Poster
Rep: Reputation: 41
That's the theory, at least. Just as soon as I get Wine to cooperate with the last two apps I need Windows for, I can remove it's partition and reclaim a good 10GB of space from that and tidy up the HD a bit more.
The final layout after that would be:
/ - on the SD card
/home, /boot - on the HD

Possibly /usr on a separate partition, but like sticking / on the SD, that mostly depends on theif the ups are better than the downs.

Edit: After a little investigating, it turns out /var would be beneficial on the HD rather than SD because it gets used so much.

Last edited by TheStarLion; 11-08-2010 at 04:34 PM.
 
Old 11-08-2010, 05:46 PM   #6
snowday
Senior Member
 
Registered: Feb 2009
Posts: 4,667

Rep: Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411
10gb should be plenty of space to put / on the internal HDD too (unless you plan to install a ton of applications).
 
Old 11-09-2010, 12:09 AM   #7
TheStarLion
Member
 
Registered: Nov 2009
Location: UK
Distribution: Gentoo
Posts: 472

Original Poster
Rep: Reputation: 41
I know, that's what I plan to turn into a kind of secondary install - a kind of just-in-case for if something happens to the card itself.
 
  


Reply

Tags
sd card arch install boot



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Trying to install Arch with 2.6.30-ARCH kernel but uname -r keeps showing 2.6.28.7 PaulFXH Arch 0 08-20-2009 07:58 AM
Dual-booting PCLOS and arch linux blame582 Linux - Distributions 4 11-01-2006 04:13 AM
Arch user wanted to help padawan learner install arch and use it thomas-linuxing Linux - Software 9 10-18-2006 04:02 PM
Arch stopped booting after sysupgrade vharishankar Arch 9 11-25-2005 01:01 AM
Cross compiled kernel-2.6.13 for x86-64 arch stops booting under Slackware-10.1 Basel Slackware 4 09-09-2005 12:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Arch

All times are GMT -5. The time now is 12:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration