Solved

Configure server to boot from kernal on sdcard

Posted on 2014-01-09
4
304 Views
Last Modified: 2016-11-23
Hello All,

I would like to take one of my dell servers and setup centos or debian on it, have it boot the kernal and boot code from a sdcard and just have the filesystem on the drives. this way i can load what i need on it, and then tar up the filesystem and use that to duplicate it on other machines. by just untarring the FS to another drive on same type of server and just have that boot from sd card also.

i cant see how to do this with normal centos or debian, all i see is support for ARM processors.

can someone point me in the proper direction?

thanks
Dave
0
Comment
Question by:WCGS_Operations
  • 2
4 Comments
 
LVL 87

Assisted Solution

by:rindi
rindi earned 333 total points
Comment Utility
Installing most current Linux OS's to an SD card or USB stick is no different from installing it to a standard HD or RAID array. During the installation procedure just make sure you select the correct disk (in this case the SD card), and when you get to the point where you can choose where you want grub to be installed, again make sure you select the correct destination. To make things easier you could remove all other HD's from the server during the installation.

Also make sure your server can, and is setup to boot first from the SD card.
0
 

Author Comment

by:WCGS_Operations
Comment Utility
Rindi,

thanks for your response, however i might have not explained my question properly. i only want the boot code and kernal on the sd card, and but the entire file system on the hard drive. i dont want the entire install on the sd card.

thanks
Dave
0
 
LVL 87

Assisted Solution

by:rindi
rindi earned 333 total points
Comment Utility
During the installation you can make your /boot partition be on the SD card (along with the Grub boot-loader). The kernel is located in /boot for most distro's. / and any others can be on the standard disks. You can do this selection at the partitioning option during the installation procedure.
0
 
LVL 34

Accepted Solution

by:
Duncan Roe earned 167 total points
Comment Utility
Unless you have a monolithic kernel, you will have a sizable part of the Linux OS in /lib/modules/$(uname -r). You could move this entire directory tree onto the SD card and create a symbolic link in /lib/modules. I think that should work - but keep a backup kernel in your Grub menu just in case
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now