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,可以仔细的研究一下!)
键盘驱动将检 ......
到最后还是自己解决了,导致该问题的原因是在linux启动到最后出现:
/bin/sh: can't access tty; job control turned off
而出现该错误的原因和解决方法google后有千百种,尝试了很多种都没有帮我解决问题。
下面是我自己的解决方法:
1. vi /etc/inittab 第一行添加
console::sysinit:/etc/init.d ......
假如我们有一台机器,windows+虚拟机是不错的选择;假如我们有另外一台机器,windows+linux是更佳的选择。我们选择ubuntu910作为开发用linux系统,安装过程不再赘述,官方的光盘安装即可。有人会问,为什么选择ubuntu呢?其实没什么理由,笔者用的时间较长而已,ps:ubuntu910做的很漂亮,不过在笔者的机器上死过几次,猜想 ......