Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/samwhelp/note-about-gxde-iso-builder
note-about-gxde-iso-builder
https://github.com/samwhelp/note-about-gxde-iso-builder
gxde gxde-adjustment gxde-config gxde-iso gxde-iso-builder gxde-os
Last synced: 23 days ago
JSON representation
note-about-gxde-iso-builder
- Host: GitHub
- URL: https://github.com/samwhelp/note-about-gxde-iso-builder
- Owner: samwhelp
- License: mit
- Created: 2024-11-16T07:04:20.000Z (about 2 months ago)
- Default Branch: gh-pages
- Last Pushed: 2024-12-10T05:00:25.000Z (29 days ago)
- Last Synced: 2024-12-10T06:17:23.356Z (29 days ago)
- Topics: gxde, gxde-adjustment, gxde-config, gxde-iso, gxde-iso-builder, gxde-os
- Language: SCSS
- Homepage: https://samwhelp.github.io/note-about-gxde-iso-builder/
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 首頁
> GXDE ISO Builder 探索筆記
| Link | GitHub |
| ---- | ------ |
| [ISO Builder 探索筆記](https://samwhelp.github.io/note-about-iso-builder/) | [GitHub](https://github.com/samwhelp/note-about-iso-builder) |
| [GXDE ISO Builder 探索筆記](https://samwhelp.github.io/note-about-gxde-iso-builder/) | [GitHub](https://github.com/samwhelp/note-about-gxde-iso-builder) |## 主題
* [實作案例](#實作案例)
* [Boot ISO By GRUB](#boot-iso-by-grub)
* [GXDE OS / Live System](#gxde-os--live-system)
* [相關筆記](#相關筆記)## 實作案例
| 原始實作案例 |
| ------- |
| [gxde-iso-builder](https://github.com/GXDE-OS/gxde-iso-builder) || 衍生實作案例 | 備註 |
| ---------- | ---- |
| [gxde-iso-builder-remix](https://github.com/samwhelp/gxde-iso-builder-remix) | 小幅調整,加入自訂設定機制 |
| [gxde-iso-builder-refactoring](https://github.com/samwhelp/gxde-iso-builder-refactoring) | 重構程式碼,加入自訂設定機制 |
| [gxde-iso-builder-refactoring](https://github.com/samwhelp/gxde-iso-builder-enhance) | 重構程式碼,加入自訂設定機制,加裝更多慣用軟體 |## Boot ISO By GRUB
> 將產出的「iso檔案」放置到「`/opt/iso/gxde/latest/gxde.iso`」這個路徑
> 產生一個檔案「`/boot/grub/custom.cfg`」,內容如下
``` sh
menuentry "GXDE OS" --class Debian {
set iso_file="/opt/iso/gxde/latest/gxde.iso"
search --set=iso_partition --no-floppy --file $iso_file
probe --set=iso_partition_uuid --fs-uuid $iso_partition
set img_dev="/dev/disk/by-uuid/$iso_partition_uuid"
loopback loop ($iso_partition)$iso_fileset extra_option=""
#set extra_option="components quiet splash"set locale_option=""
#set locale_option="locales=en_US.UTF-8"
#set locale_option="locales=zh_TW.UTF-8"
#set locale_option="locales=zh_CN.UTF-8"
#set locale_option="locales=zh_HK.UTF-8"
#set locale_option="locales=ja_JP.UTF-8"
#set locale_option="locales=ko_KR.UTF-8"set boot_option="${locale_option} ${extra_option}"
linux (loop)/live/vmlinuz boot=live buuid=${iso_partition_uuid} findiso=${iso_file} ${boot_option}
initrd (loop)/live/initrd.img
}
```> 重新開機後,就會在「GRUB」的開機選單,看到「`GXDE OS`」這個選項。
## GXDE OS / Live System
| Account | Value |
| -------- | ------ |
| Username | `user` |
| Password | `live` |若想要移除目前帳號的密碼,可以執行下面指令
``` sh
sudo passwd -d $(whoami)
```## 相關筆記
| Link | GitHub |
| ---- | ------ |
| [GXDE 探索筆記](https://samwhelp.github.io/note-about-gxde/) | [GitHub](https://github.com/samwhelp/note-about-gxde) |## Samwhelp
* [個人筆記](https://samwhelp.github.io/book/)