Solved

Configure server to boot from kernal on sdcard

Posted on 2014-01-09
4
310 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 88

Assisted Solution

by:rindi
rindi earned 333 total points
ID: 39770728
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
ID: 39770859
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 88

Assisted Solution

by:rindi
rindi earned 333 total points
ID: 39770986
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
ID: 39772576
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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
In the modern office, employees tend to move around the workplace a lot more freely. Conferences, collaborative groups, flexible seating and working from home require a new level of mobility. Technology has not only changed the behavior and the expe…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

910 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

19 Experts available now in Live!

Get 1:1 Help Now