亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? diskless-from-nt.txt

?? linux下從網卡遠程啟動
?? TXT
?? 第 1 頁 / 共 2 頁
字號:
The Diskless Terminal running from NT server Mini-HOWTOPavel Tkatchouk, ptkatcho@portal.cav0.1, June 19th 1999Table of Contents1. Introduction.   1.1 What is it for?   1.2 Do we need this HOWTO?   1.3 A bit of History.2. Project description.   2.1 Packaging.   2.2 Image.      2.2.1 Kernel.      2.2.2 MRFS.      2.2.3 Building MRFS.   2.3 Remotefs.   2.4 Booting sequence.      2.4.1 BOOTP, TFTP.   2.5 Bootprom.3. Resources.4. Copyright.5. Feedback and credits.1. Introduction.1.1. What is it for?This document describes how to build software distribution to run Java client on diskless terminal booted from Microsoft Windows 95/98/NT workstation. Package can also be easily modified to be used as Linux terminal or X Windows terminal's software. I found it also convenient for setup over the Ethernet of floppyless PS's, hard disk of which for some reason can not be accessed (sealed case under warranty, etc.).1.2. Do we need this HOWTO?To be honest, I'm not sure. There are few excellent HOWTO's (see 3. Recources) that up until recently I considered quite sufficient to build what I've done two years ago. But since my project uses MS Windows as a file server vs. traditional NFS there were some know-how's involved which number of people wanted to see in some formal document.1.3. A bit of history.My project at that time (1996) was to find OS/JVM that will allow to run Java application on hardware we manufacture. Hardware is practically generic x86 PC except it has no keyboard, hard drive, floppy drive, mouse, but touchscreen over LCD, plus some POS specific peripherals (badge reader, credit card reader, etc.). Due to cost consideration it had no any significant storage, so OS and Java client along with support binaries, libraries etc. had to be loaded remotely. Because our clients are exclusively Windows shops, Server had to be Windows as well. During evaluation of different commercial OS'es along with JVM's available it become apparent to my surprise that most promising solution was GPL one - Linux.2. Project description.2.1. Packaging.The whole distribution consists of remote file system (RemoteFS) residing on MS Windowsserver (NT Workstation, NT Server or Windows9x) and tagged bootable image. 2.2. Image.Image (~1.5MB) is generated by mknbi utility that comes with Etherboot package<http://etherboot.sourceforge.net>. It can include minimal root file system (MRFS) like in my case (since I had to boot client from MS Windows server and Linux kernel doesn't support SMBFS-Root, only NFS-Root. So I had to keep rootfs in the ramdisk). To generate image the following script can be used.#!/bin/sh# mkrootnet: makes tagged netbootable image# This image includes kernel and minimal root filesystem# to do initial boot.## Copyright (c) Pavel Tkatchouk 1996. All rights reserved.# Permission is granted for this material to be freely# used and distributed, provided the source is acknowledged.# No warranty of any kind is provided. You use this material# at your own risk.#DEVICEFILENAME="/tmp/file"		# temporary file to be used as deviceFSBLOCKS=4096   				# uncompressed filesystem size in KBOOTDISKDIR="/usr/BOOT/ROOTFS"	# root filesystem modelMOUNT="/mnt2"				# temporary mount pointROOTFS="/tmp/rootfs"			# root filesystem imageROOTFSGZ="/tmp/rootfs.gz"		# compressed root filesystem imageKERNEL="/usr/KERNELS/vmlinuz-nt"	# kernel imageKERNELTMP="/tmp/vmlinuz"		# temporary copy of kernel imageBOOTIMAGE="/tmp/img"			# tagged image to be booted by client# if you want ramisk more than default 4096 set CMDLINE, don't forget to# adjust $FSBLOCKS # CMDLINE="ramdisk_size=8192"		# parameters to pass to the kernel# echo "check:"echo "- if tftp server's download dir mounted to /mnt"echo "- loopback device is built-in or loaded"echo "\n press Enter when done"read tmp UPLOAD="/mnt/tmp"				# tftp server's dir to upload bootimageecho -e "\nZeroing $DEVICEFILENAME of $FSBLOCKS k"echo "to be used as device for root filesystem model"dd if=/dev/zero of=$DEVICEFILENAME bs=1k count=$FSBLOCKSecho -e "\nMaking file system on $DEVICEFILENAME"mke2fs -m 0 $DEVICEFILENAMEecho "Mounting $DEVICEFILENAME as a loopback device"mount -o loop -t ext2 $DEVICEFILENAME $MOUNTcurdir=`pwd`cd $BOOTDISKDIRecho -e "Copying files from $BOOTDISKDIR to $DEVICEFILENAME, please wait"find . -print|cpio -pmd $MOUNTecho "Unmounting $MOUNT"umount $MOUNTcd $curdirecho "Copying $DEVICEFILENAME to $ROOTFS"dd if=$DEVICEFILENAME of=$ROOTFS bs=1kecho "Compressing $ROOTFS, it may take a while"echo "Please wait..."if [ -f $ROOTFSGZ ];then	rm -f $ROOTFSGZfigzip -c $ROOTFS>$ROOTFSGZrm -f $ROOTFSecho -e "\nCreating netbootable image"cp $KERNEL $KERNELTMPmknbi -d ram -i rom -r $ROOTFSGZ -k $KERNELTMP -a $CMDLINE -o $BOOTIMAGEecho "Uploading $BOOTIMAGE to $UPLOAD"cp $BOOTIMAGE $UPLOADecho "Cleaning after ourselves"rm -f $KERNELTMP $DEVICEFILENAME $BOOTIMAGEecho "All done"In the above script actual image is generated by the following comand#mknbi -d ram -i rom -r rootfs.gz -k vmlinuz-nt -o imgwhere:	rootfs.gz - minimal root file system (MRFS);	vmlinuz-nt   - kernel;	img       - resulting image.Note:Default ramdisk size is 4096. It was enough for RedHat4.1 based minimal file system, but apparently not enough for 5.2 based. When this happens "end request:I/O error, dev 01:00 ..." error shows up. To fix that either use "mknbi -a ramdisk_size=8192" to pass parameter to the kernel (doesn't require kernel recompilation), or change /usr/src/linux/drivers/block/rd.c: int rd_size= from 4096 to 8192 or whatever and rebuild the kernel.                                                    2.2.1. Kernel.Kernels 2.0.30 and 2.0.36 have been used by author, although nothing is preventing you fromexperimenting with others. Kernel should include ramdisk support. The following <link to .config> configuration has been used to build <link to binary (kernel 2.0.30)>. You may find some components unnecessary, just exclude them and rebuild. Don't forget to change root device after you built the kernel (rdev vmlinuz /dev/rd).Gotcha's: apparently smbfs is broken in 2.2.x kernels. Symptoms: remote share is mountedjust fine but after a while fails with "smb_request: result = -32" errmsg. I've heardSuSe has fix for that.2.2.2. MRFS.Minimal root file system is required to get Linux up and running along with networking until it can mount remote file system to run X/Java from there. After image gets loaded from the server MRFS is decompressed into ramdisk. If you can afford a lot of ram on your terminal the entire remote file system can be moved to rootfs.gz. That will make your terminal more responsive.2.2.3. Building MRFS.  Some folks found it easier to start from scratch, others use known "minimal" Linux distributions(Linux Router, tomsrtbt, etc.), yet others prefer to start from "big" Linuces like I did. Everypath has it's pro and contras.Pruning standard distribution (RedHat, Debian, etc.) to your needs might be very time consuming.To ease that painful process I have used remotely booted diskless client with NFS-Root (see Etherboot's Readme, NFS-Root and NFS-Root-Client mini-HOWTO's, Diskless-HOWTO):- setup minimal RedHat4.1 install (networked workstation, X, no development, mail, etc., ~117MB);- find . -print|cpio -pmd /usr/NFS/ROOTFS - copy entire fs tree to NFS exported dir;- mknod /usr/NFS/ROOTFS/dev/nfsroot b 0 255;- build vmlinuz-nfs kernel according to NFS-Howto (built-in bootp,rarp,NFS,NFS root,NIC   driver,RAM disk);- rdev vmlinuz-nfs /dev/nfsroot - to set NFS root device; - build image for NFS-Root fs:  #mknbi -d rom -i rom -k vmlinuz-nfs -o nfsImage;- boot client while monitoring NFS file requests (by Solaris snoop);- copy files from /usr/NFS/ROOTFS to /usr/BOOT/ROOTFS (MRFS model) according to snoop's  filelist;- generate image by mkrootnet script (don't forget to point to the right kernel vmlinuz-nt).The above trick not only allows to determine the sought files set but also debug boot process analyzing NFS messages. I found it convenient to put "read tmp" statements into init scriptsfor debugging. Tracking files up until issuing login gives you <link to rootfs.gz> MRFS (~1MB) that can be used to boot Linux from ROM (flash, eprom, DiskOnChip, SanDisk, etc.) as well. All the other files requested by client (during starting X, Java, Java client) were put into (link to remotefs.zip, ~9MB).To restore MRFS model on your PC from the above rootfs.gz:- #cd /tmp- #gunzip rootfs.gz- #mount -o loop -t ext2 /tmp/rootfs /mnt- #cd /mnt- #find . -print|cpio -pmd /usr/BOOT/ROOTFS- #umount /mntNote: You will have to change attributes of some dirs, files (/etc/mtab, /etc/mtab~, /var/lock/subsys/*, /var/run/*, /dev/tty*, etc.) against standard. This is because with standard attribs diskless client refused to work. For example I had to change /dev/tty* ownerships to 99:99 from original 0:0 or 0:5, to get rid of errmsg "INIT: Id "1" respawning too fast: disabled for 5 minutes". Being admin illiterate I just chmod them to 777 and chown to 99:99 to make life easier. THIS IS SERIOUS SECURITY VIOLATION!!! Using keyboardless terminal with no daemons running in my case reduces the risk, yet I would appreciate very much those more experienced who will help to restore the right attribs while keeping the distribution working.Some "gotcha's" to watch for during MRFS building:- standard attributes/ownership of some files don't work;- rdev must be set (non-tagged image didn't work, so couldn't use config file to pass parrs   to the kernel);- diskless client writes 99:99 ownership on generated files;- "password incorrect" for root, but any other OK and su OK too.2.3. RemoteFS.Remotefs.zip file includes everything required by the system that can be located onremote file system, i.e after booting has been complete and remote file system mounted.In my case it is X Windows System and Java binaries, libraries etc. To use that file onMS Windows NT:- unzip remotefs.zip to some directory;- share this directory read-only as "usr" (or share as some other name and pass this name to  the client through bootptab configuration file for BOOTP server;- create an account username=root, password=linux on NT (can be set in bootptab).Note:There's no symbolic links on NTFS, so UNIX links must be replaced by copies on NTFS. To determine potential troublmakers one could use the following:- first copy required subset (according to snoop's intercept) from /usr/NFS/ROOTFS to   /usr/BOOT/REMOTEFS;- mount some share from NTFS to /mnt;- /usr/BOOT/REMOTEFS#find . -print|cpio -pmd /mnt 2>links;In the links file you will find names to work with.2.4. Booting sequence.Boot occurs in the following sequence:- bootprom sends bootp request,- bootp server responds with subnet mask, client's name, client's IP, TFTP server's IP,   bootfile name and some optional parameters (like NT's username/password to use it's share,  you could pass some other share name here as say T104="somedir");- bootprom downloads image from TFTP server;- kernel starts;- kernel decompresses MRFS in RAM;- system starts init using ramdisk root,- mounts remote file system from NT via SMBFS;- automatically logins;- starts xstart script located on remotefs (/usr/sbin) where you can start any of your  programs, change parameters, etc. without rebuilding the image.Below are some config/init sample files from <rootfs.gz>, <remotefs.zip>:<bootptab, change to link>t1:sm=255.255.255.0:sa=192.168.33.150:bf=img:T100="pavelnt4":T101="root":T102="linux"

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产精品看片你懂得 | 欧美亚洲一区二区三区四区| 欧美在线综合视频| 2022国产精品视频| 三级不卡在线观看| 99精品1区2区| 国产偷国产偷亚洲高清人白洁| 亚洲一级二级三级在线免费观看| 国产一区视频导航| 欧美日韩成人在线一区| 亚洲欧美偷拍另类a∨色屁股| 日韩av中文字幕一区二区| 91日韩在线专区| 亚洲国产精品99久久久久久久久| 视频一区二区三区中文字幕| 色综合天天综合狠狠| 国产色综合久久| 久久99精品国产| 欧美一级黄色大片| 亚洲va中文字幕| 欧美四级电影网| 一区av在线播放| 色视频一区二区| 亚洲欧美国产毛片在线| 成人黄色av电影| 国产精品久久久久久久久果冻传媒 | 中文字幕不卡在线观看| 国产中文字幕精品| 精品国产麻豆免费人成网站| 午夜电影网亚洲视频| 精品国产在天天线2019| 日本亚洲三级在线| 欧美一级二级三级蜜桃| 日本不卡1234视频| 日韩欧美一区在线观看| 精品一区二区三区的国产在线播放| 欧美日本一区二区三区四区| 亚洲地区一二三色| 欧美精品一级二级三级| 日本特黄久久久高潮| 日韩一区二区高清| 国产精品综合在线视频| 久久久99精品免费观看| 不卡一区二区中文字幕| 亚洲欧美日韩一区二区| 欧美亚日韩国产aⅴ精品中极品| 亚洲精选免费视频| 欧美日本精品一区二区三区| 青青草原综合久久大伊人精品优势| 欧美日韩国产美| 蜜臀av性久久久久蜜臀aⅴ四虎| 日韩美女视频一区二区在线观看| 老司机精品视频在线| 国产欧美一区二区精品性色 | 日韩欧美国产wwwww| 国产在线麻豆精品观看| 国产精品久久久久久久久图文区| 99riav久久精品riav| 亚洲成av人影院在线观看网| 欧美一区欧美二区| 粉嫩av一区二区三区| 天堂av在线一区| 久久久久久亚洲综合影院红桃| 成人免费精品视频| 午夜精品久久一牛影视| www国产精品av| 99久久精品免费看| 人禽交欧美网站| 成人免费在线播放视频| 884aa四虎影成人精品一区| 国产精品一区二区视频| 亚洲精品成人悠悠色影视| 91精品国产综合久久久久久久久久| 狠狠色丁香婷综合久久| 一区二区三区日韩欧美| 久久久久久久久免费| 欧美中文一区二区三区| 国产麻豆午夜三级精品| 亚洲第一二三四区| 国产精品麻豆久久久| 日韩视频一区二区在线观看| 成人福利电影精品一区二区在线观看| 午夜精品一区二区三区免费视频 | 91麻豆免费在线观看| 天堂午夜影视日韩欧美一区二区| 久久免费国产精品| 欧美日韩亚洲综合一区| av资源网一区| 国产麻豆视频一区| 蜜臀国产一区二区三区在线播放| 中文字幕字幕中文在线中不卡视频| 日韩亚洲电影在线| 欧美在线观看一区| 91在线看国产| 欧美日韩一区二区电影| 成人综合婷婷国产精品久久 | 亚洲啪啪综合av一区二区三区| 久久婷婷国产综合国色天香| 欧美日韩视频在线一区二区| 97久久超碰国产精品电影| 国产曰批免费观看久久久| 免费黄网站欧美| 日韩国产成人精品| 天堂成人免费av电影一区| 亚洲线精品一区二区三区| 亚洲伦理在线精品| 国产精品高潮呻吟久久| 中文字幕av资源一区| 国产婷婷一区二区| 久久精品一区四区| 国产日韩精品一区| 久久久久久久网| 国产女人aaa级久久久级| 欧美mv和日韩mv的网站| 日韩欧美国产一区在线观看| 884aa四虎影成人精品一区| 欧美片网站yy| 欧美一级在线视频| 欧美一级免费大片| 欧美一区二区视频观看视频| 欧美美女网站色| 69久久夜色精品国产69蝌蚪网| 911国产精品| 日韩欧美综合一区| 2021久久国产精品不只是精品| 精品乱码亚洲一区二区不卡| 久久综合久久99| 国产精品视频一二三区| 国产精品久久久爽爽爽麻豆色哟哟 | 色94色欧美sute亚洲13| 欧美在线一二三| 欧美精品第1页| 精品国产一区二区亚洲人成毛片| 日韩欧美电影一区| 国产欧美一区二区三区在线看蜜臀| 国产欧美日韩在线视频| 亚洲人成在线播放网站岛国 | 欧美中文字幕久久| 欧美一级高清片在线观看| 精品国产区一区| 综合色中文字幕| 亚洲第一二三四区| 国产麻豆精品theporn| 不卡在线视频中文字幕| 欧美日韩大陆一区二区| 精品对白一区国产伦| 中文字幕亚洲在| 天涯成人国产亚洲精品一区av| 久88久久88久久久| 91同城在线观看| 日韩三级电影网址| 国产精品免费人成网站| 亚洲成人激情社区| 成人免费的视频| 9191国产精品| 亚洲欧美激情小说另类| 日本不卡一二三区黄网| av一区二区不卡| 日韩免费观看2025年上映的电影| 国产精品久久久久久久久快鸭| 午夜精品久久久久久久久| 粉嫩蜜臀av国产精品网站| 欧美四级电影网| 亚洲欧美怡红院| 韩国毛片一区二区三区| 欧美性猛交一区二区三区精品| 久久这里只有精品6| 亚洲国产精品久久一线不卡| 国产a视频精品免费观看| 欧美人与性动xxxx| 日本亚洲一区二区| 色综合中文综合网| 欧美日韩精品三区| 国产精品久久久久久一区二区三区| 午夜久久久久久电影| 91视视频在线观看入口直接观看www| 日韩欧美中文字幕一区| 亚洲午夜一区二区| 91蜜桃在线免费视频| 国产日产亚洲精品系列| 久久99精品久久久久婷婷| 欧美日韩精品免费| 亚洲曰韩产成在线| 99在线精品视频| 国产精品久久综合| 国产成人精品亚洲日本在线桃色| 欧美一级日韩一级| 午夜av电影一区| 欧美日韩免费一区二区三区| 中文字幕一区二区三区精华液 | 国产高清精品在线| 精品国内片67194| 久久精品国产99国产精品| 678五月天丁香亚洲综合网| 亚洲午夜免费电影| 欧美私人免费视频| 亚洲午夜精品在线| 欧美日韩国产综合一区二区三区| 亚洲精品视频一区| 欧美色综合影院|