- 追加された行はこのように表示されます。
- 削除された行は
このように表示されます。
!!windows環境に影響を与えることなくtinycoreが使えます
windowsのブートローダーからgrub4dosを呼び出すことで実現できます。
必要なファイルをCドライブ直下、/boot、/tceにコピーしますが、windowsシステムには影響を与えません。
!1.カーネルローダー導入
[grub4dos|https://sourceforge.net/projects/grub4dos/files/GRUB4DOS/]をダウンロードし、grldrとgrldr.mbrをCドライブ直下にコピー。
さらに以下のようにmenu.lstを準備。
color blue/green yellow/red white/magenta white/magenta
timeout 10
default tinycore current
title tinycore current
root (hd0,2) ←自分のパーティション構成に合わせる。UUIDも可。
kernel /boot/vmlinuz kmap=qwerty/jp106 noutc tz=JST-9
initrd /boot/core.gz
!2.ブートローダー設定(参考:[grub4dos を利用するための準備|http://bit.ly/1kkLdaZ])
管理者権限でコマンドプロンプトを起動し、
>bcdedit /create /d "grub4dos" /application BOOTSECTOR
>bcdedit /set {entry} device partition=C:
>bcdedit /set {entry} path \grldr.mbr
>bcdedit /displayorder {entry} /addlast
{entry}は作られたエントリをコピー。
!3.isoファイルの入手
[tcのisoファイル|http://tinycorelinux.net/downloads.html]をダウンロード。
!4.tcファイルのコピー(カーネルとinitrd)
iso内の/bootディレクトリからvmlinuz,core.gzを/bootにコピーする。
ntfsを使うなら[Script to remaster with ntfs-3g included|http://forum.tinycorelinux.net/index.php?topic=6246.0]を参考にmycore.gzを作って代わりに入れる。[ntfs-3g.gzはtcのレポジトリ|http://distro.ibiblio.org/tinycorelinux/4.x/x86/contrib/ntfs-3g.gz]から。menu.lstを変えるのも忘れずに。
>cat core.gz ntfs-3g.gz > mycore.gz
!5.tcファイルのコピー(設定ファイルと拡張機能)
iso内の/cdeディレクトリ内すべてを/tceにコピー。
!6.追加設定
ハードディスクに保存する設定にするなら、[Options when Installed on a Hard Drive|http://wiki.tinycorelinux.net/wiki:backup_hd]を参考にブートオプションに以下を追加。
ハードディスクに保存する設定にするなら、[Options when Installed on a Hard Drive|http://web.archive.org/web/20200208152049/http://wiki.tinycorelinux.net/wiki:backup_hd]を参考にブートオプションに以下を追加。
opt=sda1 home=sda1 norestore