wiki:TipAndDoc/boot/GRUB

Version 15 (modified by mitty, 13 years ago) (diff)

--

initrd.lz

  • Ubuntu日本語フォーラム / Ubuntu9.10 UCKでinitrdの編集
    • LiveCDCustomization - Community Ubuntu Documentation

      Also, I have read a few articles mentioning that Karmic (9.10) uses initrd.lz instead of initrd.gz. I do not know if this is true, but should mention it in case you are not getting the expected results. To unpack the initrd.lz file, you need to do this:

      # cd extract-cd/casper
      # mkdir lztempdir
      # cd lztempdir
      # lzma -dc -S .lz ../initrd.lz | cpio -imvd --no-absolute-filenames
      

      And to re-create the initrd.lz file:

      # cp ../initrd.lz ../inird.lz.orig
      # find . | cpio --quiet --dereference -o -H newc | lzma -7 > ../initrd.lz
      

Kernel Boot Options

GRUB

Preboot eXecution Environment

  • PXEを使ったネットワークブート
  • Tips/Linux/PXE/server_linux - WonderRabbitProject
    svr:~# apt-get install tftpd ← (・x・)<ダメ、ゼッタイ!
    
    • tftpdだとtsizeオプションがサポートされておらず、debian系だとPXELINUXでのブートに失敗するんだそうな。 tsizeオプションとは、ファイルサイズを実際の転送前に知る為のモノらしい。tftp-hpaだとかatftpdというのがtsizeオプションに対応したTFTPサーバーらしい。 ココなんかを見るとブートローダをPXELINUXからGRUBにしちゃえばtsize云々関係無く動くとか、RH系ならこんな問題は起こらないとか色々とネタがあるみたい。

gPXE

Attachments (15)

Download all attachments as: .zip