このブログを検索

2014年1月1日水曜日

Puppy Linux - USB メモリーから起動する - 01

Puppy Linux - USB メモリーから起動する - 01

参考サイト:
  • Puppy Linux 日本語版 その1:USBメモリ版の簡単作成 
    CDから起動し、そのままメニュー → セットアップ → パピーユニバーサルインストーラー

    ポイントは、挿したUSBメモリ(USBペン・ドライブ)を自分でマウントしないこと。アンマウント状態のまま、指示(日本語)に従っていけば必要なファイルをCDから自動コピーしてくれます。
    この方法が一番簡単だと本家のページに書いてあります。

    作業終了後
    一度パソコンの電源を切り、そのままUSBメモリーで初起動させると "Do not unplug USB drive" といった警告が最初の数秒間表示されます。これは、CD起動の場合だと起動した後にCDを抜いてもかまわないということがあるので、あやまってUSBメモリを抜かさせないための警告でしょう。 USBメモリーから起動する場合、この警告は毎回表示されます。

  • UbuntuTips/UsbInstall/BootUbuntuInUsbWithBiosWithoutSupportForUsb/Grub4dos - Ubuntu Japanese Wiki
    grub4dos は、単体のファイル grldr もしくは grub.exe で起動できます。

    目次

        grub4dos を利用するための準備
            ダウンロード
            NTLDR を使っている場合
            Bootmgr を使っている場合
            その他
        grub4dos での Ubuntu などの Linux の起動
            例
        grub4dos (のうち、grldr を読み出す機能を持った部分)を MBR にインストールするには
        grub4dosがフリーズする場合の対策方法
        謝辞
        注釈

  • GRUB for DOS めも
    USBメモリでブート

        1. SYSLINUX からチェインロード
     
        USBメモリのルートに grub.exe と menu.lst をコピー
        USBメモリへ SYSLINUX をインストール
        syslinux.cfg 作成

        syslinux.cfg の一例

    DEFAULT grub
    PROMPT 0

    LABEL grub
    LINUX /grub.exe
    APPEND --config-file="configfile /menu.lst"

        拙作めも : SYSLINUXのインストール - Linux LiveCDをUSBメモリでブートするめも

  • isoイメージをマルチブートするの巻【その3】マルチブートUSBメモリ作成編@Palm84
    SYSLINUX のインストール 7

    1stブートローダーとして SYSLINUX をインストールし、grub.exe をチェインロードしてGRUB for DOSを起動します。

    SYSLINUXのインストール

            syslinux ディレクトリに置いた SYSLINUX_Install_CurrentDrive.bat を実行
                コマンド syslinux.exe -ma -d syslinux %~d0 してるだけです
            syslinux ディレクトリに(隠しファイル)ldlinux.sys (5.x では ldlinux.c32 も)が作成されます

        ※ バッチはUSBメモリ(リムーバブル デバイス)専用です。USB HD では使えませぬ。すみません。。。
    syslinux.cfg の内容は

        grub.exe をチェインロードするだけ...

        DEFAULT grub
        LABEL grub
        LINUX /syslinux/grub.exe
        APPEND --config-file="configfile /menu.lst"
        PROMPT 0

        拙作めも : SYSLINUXのインストール - Linux LiveCDをUSBメモリでブートするめも


  • Plop Linux - LiveCD, USB boot, PXE network boot, antivirus, rescue, partimage, NTFS, tftp, avast, f-prot
     Plop Linux - Table of Contents 
    • Plop Linux - LiveCD, USB boot, PXE network boot, antivirus, rescue, partimage, NTFS, tftp, avast, f-prot
      1. With Linux

      You can use the official step-by-step method or the 3rd party tool MultiBoot LiveUSB .

      1.1. Make an USB drive bootable step-by-step

      Requirements to make an USB drive bootable:

          File system on the device must be FAT. When you use EXT2/3/4 then you have to use extlinux instead of syslinux.
          The Plop Linux file ploplinux-4.2.2.tgz
          The program syslinux


      You have to do the following steps from a command line. Login as root (or do a sudo bash) to be sure to have all rights.

          Plug in your USB drive.
          Run dmesg to determine which device node is used for your USB drive. Linux need's a few seconds to detect the USB drive.

          Example output:

          usb 1-3: new high speed USB drive using ehci_hcd and address 3
          usb 1-3: configuration #1 chosen from 1 choice
          scsi0 : SCSI emulation for USB Mass Storage devices
          usb-storage: device found at 3
          usb-storage: waiting for device to settle before scanning
          scsi 0:0:0:0: Direct-Access     LEXAR    GEYSER JUMPDRIVE 1.00 PQ: 0 ANSI: 1 CCS
          SCSI device sba: 1001952 512-byte hdwr sectors (513 MB)
          sba: Write Protect is off
          sdb: Mode Sense: 23 00 00 00
          sdb: assuming drive cache: write through
          SCSI device sdb: 1001952 512-byte hdwr sectors (513 MB)
          sdb: Write Protect is off
          sdb: Mode Sense: 23 00 00 00
          sdb: assuming drive cache: write through
           sdb: sdb1
           sd 0:0:0:0: Attached scsi removable disk sdb
           usb-storage: device scan complete

          In this case, Linux use sdb as device name. The device can be used as /dev/sdb. This device has 1 partition called sdb1 (filename of the device node is /dev/sdb1). We use this partitions to boot with Plop Linux.

          Mount the device to determine the file system. We use the directory /mnt/usb as mount point. If this directory not exists then create it.

          mkdir /mnt/usb

          Now mount the partition from the USB drive.

          mount /dev/sdb1 /mnt/usb -t vfat


          If mount fails with

          mount: /dev/sdb1 is not a valid block device

          You are using the wrong device node.

          If mount fails with

          mount: wrong fs type, bad option, bad superblock on /dev/sdb1

          The partition /dev/sdb1 (in my case) is not formatted with fat.


          If mount reports nothing, then proceed with the next step.

          You have to download the file ploplinux-4.2.2.tgz to your home directory.

          Then extract the downloaded file.

          tar xfvz ploplinux-4.2.2.tgz

          Copy the extracted Plop Linux files on you USB drive.

          cp -avr ploplinux-4.2.2/* /mnt/usb/

          Unmount the USB drive.

          umount /mnt/usb

          Make the partition bootable with syslinux.

          syslinux /dev/sdb1

          Use fdisk to activate the bootflag for the boot partition.

              fdisk /dev/sdb

              Use the command p and enter to take a look at the partition table.

              Example output:



0 件のコメント:

コメントを投稿