Debian 10 Buster(α版)をネットインストール | 見よう見まねのブログ

見よう見まねのブログ

CameraやPCなど、見よう見まねの悪戦苦闘

前回、Debian 9.7 StretchからのアップグレードでDebain 10 Buster α版をインストールしました。

α版ですが動作も安定しているので、今度は別のノートPCにBusterをネットインストールしました。

ネットインストールはこれまで何度も実施しており、定番となっている手法です。

Debian Stretch α8版をインストール

https://ameblo.jp/miyou55mane/day-20170107.html

UEFI起動USBでDebianをネットインストール

https://ameblo.jp/miyou55mane/day-20170909.html

 

既にDebian Stretchが入っているPCなので、以下から2つのファイル(linux, initrd.gz)をダウンロードし、

http://http.us.debian.org/debian/dists/buster/main/installer-amd64/current/images/netboot/debian-installer/amd64/

 

/etc/grub.d/40_custom に以下を追記します。(sda3に上記2つのファイルがある前提)

menuentry "Linux Installer (sda3)" {
 set root=(hd0,3)
 linux /linux
 initrd /initrd.gz
}

 

端末から上記メニューをGrubに反映させます。

$ sudo update-grub

 

再起動して、メニューから「Linux Installer(sda3)」を選び、ネットイントールを進めます。

デスクトップの選定画面で、「LXDE」のみを選択しました。

 

インストール完了後、再起動します。

sudoが使えるように、/etc/sudoers をルート権限でエディターで編集、保存。
root    ALL=(ALL:ALL) ALL
(user)  ALL=(ALL:ALL) ALL <-- 追記

 

/etc/apt/sources.list を以下に書き換え、

deb http://httpredir.debian.org/debian buster main contrib non-free 
deb
http://httpredir.debian.org/debian buster-updates main contrib non-free 
deb
http://security.debian.org/ buster/updates main contrib non-free 
deb-src
http://security.debian.org/ buster/updates main contrib non-free
deb
http://ftp.debian.org/debian buster-proposed-updates main contrib non-free

 

$ sudo apt update

$ sudo apt upgrade

$ sudo apt autoclean

$ sudo apt autoremove

 

日本語環境やアプリを追加します。

$ sudo apt install uim uim-mozc

又は

$ sudo apt install fcitx fcitx-mozc

 

LibreOfficeの日本語メニュー化は、

$ sudo apt install libreoffice-l10n-ja

 

Firefox-ESRからChromeをダウンロードし、インストール後、Firefox-ESRを削除。

 

アプリはお好みで追加します。

$ sudo apt install gdebi gthumb hardinfo geany file-roller unar lhasa bleachbit

 

LDEX環境の最小インストールですが、クリーンインストールよりはアップグレードの方が楽ですね。

所要時間も短く、アプリを最初から入れなくても済みます。使用環境もそのまま引き継がれます。

他にもDebian Stretchが入ったPCがあるので、順次Busterへのアップグレードを進めて行く予定です。

 

前座でも早る気持ちでインスコを