小编Pet*_*ter的帖子

Ubuntu 服务器、gpt 分区表、mdadm、grub 启动失败

基本工作系统详细信息:

我使用 Ubuntu 12.04 服务器 CD 安装服务器。

我有 4 个磁盘。在所有磁盘上,我执行了以下操作,类似于此操作方法

  • 创建了一个 2GB 的交换分区
  • 创建了一个 256 GB 的 /boot 分区
  • 创建了一个 64 GB 的 RAID10 分区(用于 root)
  • 创建了一个大的 RAID10 分区,占用了其余空间

我将引导格式化为 ext3。我在根分区和大分区上设置了 RAID10。我将根目录格式化为 ext4。我在大卷上创建了一个逻辑卷,并将其格式化为 ext4。

生成的系统运行良好,启动正常。

问题详情:

然后我决定记录一个失败的过程。作为第一步,我决定重新安装 grub。

# grub-install /dev/sda
warn: This GPT partition label has no BIOS Boot Partition; embedding won't be possible!.
error: Embedding is not possible. GRUB can only be installed in this setup by using blocklists. However, blocklists are UNRELIABLE and their use …
Run Code Online (Sandbox Code Playgroud)

raid ubuntu mdadm grub2 gpt

9
推荐指数
1
解决办法
2万
查看次数

为键盘配置设置 debconf 选择失败......布局最终为阿富汗语

我有一台我网络安装的机器,设置了德语键盘,但它忽略了我的设置,并且安装了美式键盘。我确定我设置了它,因为如果我不设置它,它会以交互方式询问,但我想要无人值守安装。

这是 Ubuntu 12.04.3

所以现在之后,我想编写一个修复程序以使其成为德语键盘。

因此,首先我在一台机器上以交互方式设置设置,然后读取设置以查看它们的值,然后在另一台机器上,我设置选项:

debconf-set-selections <<< "keyboard-configuration keyboard-configuration/altgr select The default for the keyboard layout"
debconf-set-selections <<< "keyboard-configuration keyboard-configuration/compose select No compose key"
debconf-set-selections <<< "keyboard-configuration keyboard-configuration/ctrl_alt_bksp boolean false"
debconf-set-selections <<< "keyboard-configuration keyboard-configuration/layoutcode string de"
debconf-set-selections <<< "keyboard-configuration keyboard-configuration/layout select German"
debconf-set-selections <<< "keyboard-configuration keyboard-configuration/modelcode string pc105"
debconf-set-selections <<< "keyboard-configuration keyboard-configuration/model select Generic 105-key (Intl) PC"
debconf-set-selections <<< "keyboard-configuration keyboard-configuration/optionscode string "
debconf-set-selections <<< "keyboard-configuration keyboard-configuration/store_defaults_in_debconf_db boolean true"
debconf-set-selections <<< "keyboard-configuration keyboard-configuration/switch select No temporary switch"
debconf-set-selections <<< …
Run Code Online (Sandbox Code Playgroud)

keyboard-layout ubuntu-12.04 debconf

6
推荐指数
1
解决办法
7813
查看次数

标签 统计

debconf ×1

gpt ×1

grub2 ×1

keyboard-layout ×1

mdadm ×1

raid ×1

ubuntu ×1

ubuntu-12.04 ×1