第173回東京エリアDebian勉強会   grml-debootstrapを用いた USB起動メモリの作成

Similar documents
Microsoft Word - AFT_3TB_HDD_install_guide doc

Raspberry Pi 2 Model B に Debian Jessie / armhf をインストールする - 第125回 2015年3月度

Raspberry Pi3 / arm64 - Debian/Ubuntu ミートアップ in 札幌

手動操作によるパーティション作成方法 4. リストア方法 (3) システム情報の復元 の 3-2) の手順で sfdisk コマンドによるシステムのパーティション情報の復元に失敗する場合は fdisk コマンドにて手動でパーティションを作成してください 作成するパーティションのサイズは バックアップ

RAID RAID 0 RAID 1 RAID 5 RAID * ( -1) * ( /2) * RAID A. SATA B. BIOS SATA ( 1) C. RAID BIOS RAID D. SATA RAID/AHCI 2 SATA M.2 SSD ( 2) ( (

はじめに 本書は Express5800/ft サーバに Red Hat Enterprise Linux 6 Server 及び ft Server Control Software がインストールされており OS がインストールされている内蔵ディス クに空き容量がある場合に 追加でボリュームを作

東京エリアDebian勉強会   Buffalo Linkstation向け Debian Installer - 第139回 2016年5月度

Ubuntu Linux PC Ubuntu Linux (14.04 LTS, Trusty Tahr) 32bit CD 64bit CD 2. 32bit CPU 64bit 32bit PC CPU 32bit 64bit Windows 64bit 64bit. 32bit Core 64

ZFS on Momonga7

ゲスト OS インストール ガイド

untitled

1 142

3 Ubuntu Linux Ubuntu Linux Debian Linux DistroWatch.com 1 Debian Ubuntu Linux 1 Debian CD(4.1 ) Knoppix Debian CentOS Linux CentOS 1 Ubuntu L

debian_install.dvi

HP Server tc2120 Microsoft Windows 2000 Server SP3 HP P

Armadillo-9 ソフトウェアマニュアル

debian_manual.dvi

LHD-PD5GU2


1 138

untitled

2. カスタム を選択し 次へ を選択します

RAID RAID 0 RAID 1 RAID 5 RAID * ( -1) * ( /2) * RAID A. SATA SSD B. BIOS SATA ( 1) C. RAID BIOS RAID D. RAID/AHCI 2 SATA SSD ( 1) ( ( 3) 2

パーティションがあるかを 確 認 し,そのパーティション 上 にあるブートローダを 呼 び 出 して OS を 起 動 します そのため, 起 動 用 の GPT HDD には ESP を 作 成 してお く 必 要 があります ESP は 通 常,HDD の 最 初 に, 数 百 MB 程 度 の

untitled

本機をお使いの方へ

USB ORCA Learning Edition Version USB ORCA Learning Edition ORCA Project セットアップ手順書 Version 年 1 月 17 日 ( 第 3 版 ) 社団法人日本医師会 ORCA Projec

US40cユーザーズガイド

Red Hat Enterprise Linux AS (v.3 for IPF) Update 3

1 122

ドライバインストールガイド

コンフィギュレーション レジスタの設定変更

HA8000-bdシリーズ RAID設定ガイド HA8000-bd/BD10X2

Zinstall WinWin 日本語ユーザーズガイド

Microsoft Word - D JP.docx

HA8000シリーズ ユーザーズガイド ~BIOS編~ HA8000/RS110/TS10 2013年6月~モデル

チュートリアル XP Embedded 入門編

Fortigate Ver.4.0MR3Patch12 Information 1

94

untitled

Red Hat Enterprise Linux ES (v. 3)

HITACHI Gigabit Fibre Channel (SUSE Linux Enterprise Server IOCard-FP2-Z-199(1)

Report Template


MINI2440マニュアル

USB FDD ユーザーズマニュアル

PRIMECLUSTER™ Global Disk Services 説明書 4.3 Linux 版

Linux のインストール

P3FY-A JP.PDF

FortiGate Ver.4.0MR3Patch14 Information 1

Please enter the following 'extra' attributes to be sent with your certificate request A challenge password []: An optional company name []: Using con

N manual_JP.PDF

1 2

<Documents Title Here>

A : kerl kerl Erlang/OTP Erlang/OTP 2 2 Elixir/Phoenix URL 2 PDF A.2 Bash macos.bash_profile exp

EQUIUM EQUIUM 1

1 2

Ver.1 1/17/2003 2

fx-9860G Manager PLUS_J

USB FDD ユーザーズマニュアル

unix.dvi

MathLibre KNOPPIX (next generation) 2012 KNOPPIX/Math MathLibre KNOPPIX , KNOPPIX 6.0, next generation. KNOPPIX/Math KDE,

1 124


DocuWide 2051/2051MF 補足説明書

untitled

はじめに このドキュメントではftServerに関する障害調査を行う際に 必要となるログ データの取得方法を説明しています ログ データの取得には 初期解析用のデータの取得方法と 詳細な調査を行うときのデータ取得方法があります 特別な理由でOS 側のログが必要となった場合には RHELログの取得につ

E2 Spider 2018/08/03 Intel NUC Core i7 PC 2.5 /M.2 SSD BOXNUC7I7BNH PC DDR4-2133(PC ) 8GBX2 260pin 1.2V CL15 SP016GBSFU213B22 WD SSD M /51


ja:Products:USB-3-Hard-Drive:Printable · User Manuals

r10s4-fn03.pdf

MOTIF XF 取扱説明書

RTX830 取扱説明書

スライド 1

1 2

目次 1. 動作環境チェック 動作必要環境 Java のインストール Java のインストール Firebird のインストール Firebird のインストール Adobe Reader のインストール

EQUIUM EQUIUM S5010 1

usborca

owners.book

% finger apt-get kernel-package, libc6-dev, gcc, make, bin86, bzip2, libdb3-dev, libncurses-dev, fakeroot

GENESYS2005_Instal_Guide.PDF

橡EN1165.PDF

Express5800/R110a-1Hユーザーズガイド

UNIX

Introduction Purpose This training course describes the configuration and session features of the High-performance Embedded Workshop (HEW), a key tool

Promise FastTrak100 Japanese Manual

Add-onアプリケーション開発 - 環境構築マニュアル -

USB FDD ユーザーズマニュアル

III

富士通社製サーバ『PRIMERGY RX200 S8』とHGST(旧Virident)社製ソフトウェア『FlashMAX Connect』の機能検証報告書

V-SFTのインストール及び画面データの転送手順 V-SFT Installation and Screen Data Transfer Procedure

Introduction Purpose This training course demonstrates the use of the High-performance Embedded Workshop (HEW), a key tool for developing software for

AN 100: ISPを使用するためのガイドライン

Xen入門 ppt

Xen入門 ppt


スライド 1

BIOSセットアップメニュー 一覧

bash on Ubuntu on Windows bash on Ubuntu on Windows bash on Ubuntu on Windows bash on Ubuntu on Windows bash on Ubuntu on Windows ˆ Windows10 64bit Wi

BIOS 設定書 BIOS 出荷時設定 BIOS 設定を工場出荷状態に戻す必要がある場合は 本書の手順に従って作業をおこなってください BIOS 設定を変更されていない場合は 本書の作業は必要ありません BIOS 出荷時設定は以下の手順でおこないます スタート A) BIOS の Setup Uti

Transcription:

173 Debian grml-debootstrap USB NOKUBI Takatsugu ( ) knok@debian.org 2019-04-20

NOKUBI Takatsugu ( ) knok@debian.org / knok@daionet.gr.jp Twitter: @knok Debian developer since 2002 bo

USB grml-debootstrap

USB

USB chroot (debootstrap) daemon (LXC/LXD/Docker ) (VirtualBox, KVM )

proprietary OS NAS (Microserver)

grmldebootstrap

grml-debootstrap GRML Live Linux http://grml.org/ Live Linux FAI : Grml Team : grml-rescueboot, grml2usb : https://github.com/grml/grml-debootstrap

32GB 16GB

EFI EFI GPT : MBR 2048 : root ext4 f2fs - grub

$ sudo gdisk /dev/sda GPT fdisk (gdisk) version 1.0.1 Command (? for help): n Partition number (1-128, default 1): First sector (34-31358942, default = 2048) or {+-}size{kmgtp}: Last sector (2048-31358942, default = 31358942) or {+-}size{kmgtp}: +256M Current type is Linux filesystem Hex code or GUID (L to show codes, Enter = 8300): ef00 Changed type of partition to EFI System Command (? for help): n Partition number (2-128, default 2): First sector (34-31358942, default = 526336) or {+-}size{kmgtp}: Last sector (526336-31358942, default = 31358942) or {+-}size{kmgtp}: Current type is Linux filesystem Hex code or GUID (L to show codes, Enter = 8300): Changed type of partition to Linux filesystem Command (? for help): w Final checks complete. About to write GPT data. THIS WILL OVERWRITE EXISTING PARTITIONS!! Do you want to proceed? (Y/N): y OK; writing new GUID partition table (GPT) to /dev/sda. The operation has completed successfully.

$ sudo mkfs.vfat -F32 /dev/sda1 mkfs.fat 4.1 (2017-01-24) sudo mkfs -t f2fs /dev/sda2 F2FS-tools: mkfs.f2fs Ver: 1.7.0 (2016-07-28) Info: Debug level = 0 Info: Label = Info: Trim is enabled Info: Segments per section = 1 Info: Sections per zone = 1 Info: sector size = 512 Info: total sectors = 30832607 (15054 MB) Info: zone aligned segment0 blkaddr: 256 Info: format version with "Linux version 4.18.0-0.bpo.1-amd64 (debian-kernel@lists.debian.org) (gcc ve Info: Discarding device Info: This device doesn t support BLKSECDISCARD Info: This device doesn t support BLKDISCARD Info: Overprovision ratio = 1.640% Info: Overprovision segments = 249 (GC reserved = 129) Info: format successful

efi EFI $ sudo grml-debootstrap -m http://deb.debian.org/debian -r stretch -t /dev/sda * EFI support detected. * grml-debootstrap [0.78] - Please recheck configuration before execution: Target: Install grub: Install efi: Using release: Using hostname: Using mirror: Using arch: Config files: /dev/sda2 /dev/sda /dev/sda1 stretch xps13 http://deb.debian.org/debian amd64 /etc/debootstrap Important! Continuing will delete all data from /dev/sda2! * Is this ok for you? [y/n] y * EFI partition /dev/sda1 seems to have a FAT filesystem, not modifying. * Running mkfs.f2fs on /dev/sda2 F2FS-tools: mkfs.f2fs Ver: 1.7.0 (2016-07-28) Info: Debug level = 0 Info: Label = Info: Trim is enabled

EFI /EFI/BOOT BOOTX64.EFI # mount /dev/sda1 /mnt # cd /mnt/efi # mkdir BOOT # cp /boot/efi/efi/debian/grubx64.efi BOOT/BOOTX64.EFI # umount /mnt grub-efi-ia32 BOOT/BOOTx32.EFI 32bit UEFI MBR EFI/MBR

VirtualBox disk sudo adduser user disk Raw disk vmdk $ vboxmanage internalcommands createrawvmdk -filename \ ~/usb.vmdk -rawdisk /dev/sda VirtualBox usb.vmdk UEFI

fstab, grub.cfg UUID Network if addr dhclient Timezone dpkg-reconfigure tzdata Hardware Clock /etc/adjtime LOCAL RTC Keymap dpkg-reconfigure keyboard-configuration https://wiki.debian.org/keyboard XKBOPTIONS= ctrl:swapcaps

grml-debootstrap Debian USB UEFI VirtualBox

BIOS, UEFI debian USB http://pman0214.github.io/blog/ debian-install-bios-efi.html 32bit UEFI 2-in-1 PC ubuntu14.04 https://qiita.com/shirotamago/ items/a4b0c8863a492abe50ad Boot your USB Drive in VirtualBox http://agnipulse.com/2009/07/ boot-your-usb-drive-in-virtualbox/

F2FS??( ) USB TRIM, hdparm -I stretch grub2 f2fs /boot F2FS Benchmarks From USB Flash Storage (Phoronix) https://www.phoronix.com/scan.php?page= article&item=linux_f2fs_usb3&num=1?