Ms7 Search
Google 搜尋 翻譯
calendar
« 九月 2024 »
            1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30            
近期文章
文章分類
網站連結
Syndicate

« | »

pxe 網路開機

2007-06-07 @ 19:51 in Linux

最近突想做pc的網路開機,整整再google找了兩,三天,總算有幾篇教導利用 pxelinux 做開機的方式,我的做法如下

  1. 主機 fedora5
  2. 安裝 tftp-server => 修改 /etc/xinetd.d/tftp =>將 disable = no
  3. 安裝 dhcp => 修改 dhcpd.conf 如下
    server-identifier 10.0.0.254;   #在多張網路卡的時候可以加上﹐可不設
    allow booting;                      #將 dhcp 提供 bootp; 
    allow bootp;                        #將 dhcp 提供 bootp;
    option domain-name "fhsh.tp.edu.tw";
    option domain-name-servers 168.95.1.1,168.95.192.1,10.0.0.254;
    default-lease-time 3600;
    max-lease-time 7200;
    authoritative;
    ddns-update-style none;
    log-facility local7;                  #加這三行
    server-name "PXE Server";
    server-identifier 10.0.0.254;
    subnet 10.0.0.0 netmask 255.255.0.0 {
        range 10.0.0.50 10.0.0.250;
        range 10.0.1.50 10.0.1.250;
        option routers 10.0.0.254;
        option broadcast-address 10.0.255.255;
        filename "pxelinux.0";          #從  tftp 下載執行檔  
        next-server 10.0.0.254;      # tftp 的 ip 位置
    }
  4. 抓下pxelinux工具  http://syslinux.zytor.com/download.php
    主要是用到裡面的pxelinux.0、memdisk和menu.c32,將這些檔案放到tftp的根目錄下
  5. * 修改 tftp目錄下的 pxelinux.cfg/default,第一次需先建立目錄與檔案,範例如下
    DEFAULT menu.c32 '預設以menu.c32這個核心來啟動,即出現選單
    PROMPT 0 '不要用prompt的方式,即啟用選單
    ALLOWOPTIONS 0 '不要該使用者有選擇權,例如更改啟動參數或直接離開選單
    TIMEOUT 50 '選單的提示時間,50好像是指5秒

    MENU TITLE PXELinux Menu '選單的標題

    LABEL freebsd54 '名稱
    MENU LABEL BSD '選單上的標題
    kernel memdisk '用來啟動影像檔的核心,pxelinux提供
    append initrd=fbsd54.img c=812 h=255 s=63 '要載入的影像檔及參數,此例為將bsd的bootonlyCD所做成的PXE影像檔

    LABEL local
    MENU DEFAULT LOCAL ' MENU DEFAULT 是預設選單指向
    LOCALBOOT 0 ' 直接以硬碟開機

    LABEL dos
    MENU LABEL DOS
    kernel memdisk
    append initrd=dos.img ' 將磁片做成影像檔後,直接放進來就可以用了,不用加參數,下面的也都是直接用磁片所做成的影像檔

    LABEL ghost2003
    MENU LABEL ghost2003
    kernel memdisk
    append initrd=ghost2003.img
  6. 我喜歡這種方式,可以依照自己喜歡增加開機選單,利用 gohot 做開機檔,再利用 linux 的 dd 指令,做成 img ,真方便
    dd if=/dev/fd0 of=ghost2003.img
  7. 如果 dhcp 用 windows 只要將它設定 bootp與dhcp都提供,再增加 66,67兩項選項的設定
    在 dhcp =>內容=>進階=>勾選 只有BOOTP 或 兩者都可以
    在 dhcp=>伺服器選項=>設定選項=>66 填入 tftp 主機 ip =>67 填入tftp給 pc 的啟動檔,這裹是
    pxelinux.0
  8. 以後採購電腦一定要求網卡有支援 pxe 網路開機功能才方便
    本篇參考自    酷!學園

迴響

pxe 網路開機 | 豬窩 | 4

When someone writes an piece of writing he/she maintains
the plan of a user in his/her brain that how a user can understand it.

So that's why this article is outstdanding. Thanks!

作者 cigars @ 19:26, 2022-08-03

pxe 網路開機 | 豬窩 | 4

Do you like online casinos? Do you know someone who genuinely is a fan of the amazing and unique level of adrenaline and excitement that online casinos can provide?
Are you just starting playing at online casinos? Whatever the case, you must continue reading to find out an amazing, yet little
widely known information about online casinos.
How would an amazing casino sound? Casinos offer
free money to you. It sounds amazing and it's only normal to be
awed by receiving cash for nothing. A casino is beyond any doubt something that gamers who play
on the internet love and, as a veteran casino player, it is
essential to be aware of the subject. as someone just starting out, knowing all about what a casino is and how you can get fingertips on one could provide a huge
benefit to you. Casinos could be a deposit bonus,
a play money casino or a win casino. First deposit bonuses, as its name states, is a bonus
which you get when you create an account at an online casino , and make your first deposit.

It may seem boring, but there are casinos that give
you a stunning 200% bonus for the first deposit. Of of course,
the amount you are able to get is limited Don't
expect that you'll be able to deposit 1 million and
get an additional two in just a second without having to take any action for them.
Some casinos may offer an increase of 200% to 300$ for casino, or 200% of up to
a 250 casino. This should appear to be pretty impressive.
But, it is important to know that it can get even better if you
opt to make bigger deposits. Casinos can offer you a 100% up to 1000$ or
1000 casinos, which means that you will make plenty
of money with your very first deposit. Don't expect to be able do this repeatedly as it isn't an option, but having a casino is something amazing which you can take advantage of.
Some of the most lucrative bonuses can be as high as an impressive 205- 5000$ bonus.
There are also requirements for withdrawals that apply to your first deposit , but nevertheless it a great thing for
you. Also, there is the gamble money option. Play money is
essentially money awarded for free once you sign up with any online
casinos. You can't withdraw this cash however, you can use them to play.
If you manage to actually make a profit from these money, you will be able to cash out all your winnings.

There are usually regulations that specify
a minimum amount that you have to make in order
to be able to cash out, but a play money casino can be a huge benefit for anyone, regardless
of whether you're professional or not. The last, but not least, there's the gambling with winnings.
If you're able to win an impressive amount of money in an online casino you're likely going to receive a highly satisfied casino as well as the money you win. If you've got the information you need
about what a casino and how to make money online and,
most important, have lots of enjoyment!

作者 visit this website @ 00:59, 2022-08-05

pxe 網路開機 | 豬窩 | 4

Excellent, what a website it is! This webpage provides useful facts to us, keep it up.

作者 ruby lager @ 14:14, 2022-08-05

pxe 網路開機 | 豬窩 | 4

Everyone loves it when folks get together and share thoughts.
Great website, stick with it!

作者 Parisian Store Official Site @ 20:20, 2022-08-06

pxe 網路開機 | 豬窩 | 4

Hey just wanted to give you a quick heads up. The words in your article seem to be running off the screen in Firefox.
I'm not sure if this is a formatting issue or something to do with internet
browser compatibility but I figured I'd post to let you know.
The design look great though! Hope you get the problem resolved soon. Many thanks

作者 bocaHickory.com @ 23:36, 2022-08-06
«上一篇   1 2 3 ... 34 35 36 37 38 39 40 41 42 43 44 ... 107 108 109  下一篇»
發表迴響
 authimage