Network Booting a Linux STB with PXE
Summary
PXE (Preboot eXecution Environment) is, in one persons words, Intel's attempt at making PCs work more like SUNs (
ref
). PXE
outlines a protocol for enabling the BIOS to retrieve the operating system over standard network protocols.
This document outlines the process of setting up an Allwell STB to use a PXE enabled BIOS to load and run a Linux kernel
and root file system
Contents
Introduction and Prerequisites
Conceptual Overview
Setting Up DHCP
Installing the TFTPD server
Moving Kernel and Root FS Images
Setting Up PXELINUX
Configuring the Client
Links
Introduction and Prerequisites
This
document steps through the process of setting up the appropriate
servers, creating the client code, and enabling the client to boot. It
is assumed that the reader has a fundamental grasp of networking
concepts. DHCP, Linux Kernel, TFTP, and BIOS concepts will be covered
here, as well, and some knowledge of those topics is required.
Also,
you'll need a kernel and root file system setup. I think the easiest
way to do all of that is to follow the instructions in the Bootdisk
HOWTO (part of the standard LDP HOWTO documents) as if you were making
a two-disk floppy bootdisk set. I have been told that some
distributions (Slackware?) come with boot/root images. I have also
heard that there is a set on the FTP site at kernel.org. That may be a
faster way to the goal then the Bootdisk HOWTO.
The
client used in this case was a GCT-Allwell 3036 with the PXE BIOS
extension. The servers were just clunky old PCs with Trustix or
Mandrake loaded on them.
Conceptual Overview
In the case presented in this document, PXE works like this:
The client is booted.
The BIOS portion of the client (or the Network Card
firmware) makes a DHCP request.
The DHCP server responds with the usual information (IP, netmask, gateway, etc.), but in addition
provides information about the location of a TFTP server.
When the client receives the informatio
相关文档:
一:前言
最近在研究android的sensor driver,主要是E-compass,其中用到了Linux input子系统.在网上也看了很多这方面的资料,感觉还是这篇分析的比较细致透彻,因此转载一下以便自己学习,同时和大家分享!
(这篇博客主要是以键盘驱动为例的,不过讲解的是Linux Input Subsystem,可以仔细的研究一下!)
键盘驱动将检 ......
Securing your Linux server is important to protect your data, intellectual property, and time, from the hands of crackers (hackers). The system administrator is responsible for security Linux box. In this first part of a Linux server security series, I will provide 20 hardening tips for default inst ......
随着人们对开放源代码软件热情的日益增高,Linux作为一个功能强大而稳定的开源操作系统,越来越受到成千上万的计算机专家和爱好者的青睐。在嵌入式领域,通过对Linux进行小型化裁剪后,使其能够固化在容量只有几十兆字节的存储器芯片或单片机中,成为应用于特定场合的嵌入式Linux系统。Linux强大的网络支持功能实现了对包 ......
到最后还是自己解决了,导致该问题的原因是在linux启动到最后出现:
/bin/sh: can't access tty; job control turned off
而出现该错误的原因和解决方法google后有千百种,尝试了很多种都没有帮我解决问题。
下面是我自己的解决方法:
1. vi /etc/inittab 第一行添加
console::sysinit:/etc/init.d ......
1. 打开串口
与其他的关于设备编程的方法一样,在Linux下,操作、控制串口也是通过操作起设备文件进行的。在Linux下,串口的设备文件是/dev/ttyS0或/dev/ttyS1等。因此要读写串口,我们首先要打开串口:
......