
Ubuntu日本語フォーラム

ログインしていません。
Windows7とWindows10がインストールされているBIOS/MBR/HDD環境のPCに「1stブートはWindowsブートマネージャ、2ndブートはGRUB」の形でインストールしようとしています
(Ubuntuのインストール先にブートローダーもインストールしてddコマンドでパーティション先頭512バイトをファイルとして切り出しbcdeditでそのファイルを読み込む設定で登録してWindowsブートマネージャからGRUBを起動する方法です)。
Ubuntu 16.10の主立ったディストリビューション(MATE、Lubuntu等)で、言語選択後[続ける]をクリックすると、何れもubiquityとparted_devicesがクラッシュしてしまい、それ以上インストール作業を継続出来ません。
方々を調べて勝手に有効になるRAID設定が問題らしいと判り、ライブメディア起動時にF6その他のオプションから「nodmraid」を有効にして起動してみましたが改善しません。
wubiuefi(BIOSにも対応しています)を使った仮想化インストールでもubi_partmanが「exit error code 10」でクラッシュします。
2014年までは問題なくインストール出来ていたのですが、2015年以降このエラーでずっとインストール出来ない状態が続いています。
宜しくお願いします。
■エラー内容
ubiquity: ubiquity crashed with IndexError in free_space(): list index out of range
parted_devices: parted_devices crashed with SIGABRT in ped_assert()
■パーティション構成
▼プライマリー
NTFS/システムで予約済み(Windows7が作成したもの)
NTFS/Windows7
NTFS/Windows10
▼論理
NTFS/(Windows7で使用)
NTFS/(Windows10で使用)
Ext4/(今回インストールするためにMinitool Partition Wizard Free 9.1で予め作成したもの)
空き領域
NTFS/(Windows10で使用)
NFTS/(バックアップ用)
NTFS/(Windows10で使用)
NTFS/(Windows10で使用)
NTFS/(Windows7で使用)
NTFS/(Windows7で使用)
空き領域
NTFS/(Windows7で使用)
NFTS/(バックアップ用)
■ハードウェア構成
OS1: Windows 7 Home Edition SP1 64bit
OS2: Windows 10 Pro Ver.1607 ビルド 14393.576 64bit
M/B: ASRock X58 Extreme 3
CPU: Core i7 950 3.07GHz 定格
GPU: NVIDIA GeForce GTX 460 1GB 初期型(※同名称で仕様の異なるモデルが複数存在する。これは一番最初に発売されたモデル)
MEM: 2GB×3 トリプルチャネル
HDD: SATA2 1TB
オフライン
ubiquityデバッグモード/syslog(終わりの方のみ抜粋)
Jan 11 14:42:14 ubuntu-mate ubiquity[3715]: switched to page language
Jan 11 14:42:27 ubuntu-mate localechooser: info: Language = 'ja'
Jan 11 14:42:27 ubuntu-mate localechooser: info: line=ja;3;JP;ja_JP.UTF-8;;
Jan 11 14:42:27 ubuntu-mate localechooser: info: Set debian-installer/language = 'ja'
Jan 11 14:42:27 ubuntu-mate localechooser: info: Default country = 'JP'
Jan 11 14:42:27 ubuntu-mate localechooser: info: Default locale = 'ja_JP.UTF-8'
Jan 11 14:42:28 ubuntu-mate localechooser: info: Set debian-installer/consoledisplay = ''
Jan 11 14:42:28 ubuntu-mate localechooser: info: Set debian-installer/country = 'JP'
Jan 11 14:42:28 ubuntu-mate localechooser: info: Set debian-installer/locale = 'ja_JP.UTF-8'
Jan 11 14:42:28 ubuntu-mate localechooser: info: System locale (debian-installer/locale) = 'ja_JP.UTF-8'
Jan 11 14:42:28 ubuntu-mate mate-notificati[4868]: Failed to load module "overlay-scrollbar"
Jan 11 14:42:29 ubuntu-mate ubiquity[3715]: debconffilter_done: ubi-language (current: ubi-language)
Jan 11 14:42:29 ubuntu-mate ubiquity[3715]: Step_before = stepLanguage
Jan 11 14:42:29 ubuntu-mate ubiquity[3715]: Step_before = stepLanguage
Jan 11 14:42:30 ubuntu-mate ubiquity[3715]: Exception in GTK frontend (invoking crash handler):
Jan 11 14:42:30 ubuntu-mate ubiquity[3715]: Traceback (most recent call last):
Jan 11 14:42:30 ubuntu-mate ubiquity[3715]: File "/usr/lib/ubiquity/ubiquity/frontend/gtk_ui.py", line 793, in <lambda>
Jan 11 14:42:30 ubuntu-mate ubiquity[3715]: lambda: self.dbfilter.start(auto_process=True))
Jan 11 14:42:30 ubuntu-mate ubiquity[3715]: File "/usr/lib/ubiquity/ubiquity/filteredcommand.py", line 103, in start
Jan 11 14:42:30 ubuntu-mate ubiquity[3715]: prep = self.prepare()
Jan 11 14:42:30 ubuntu-mate ubiquity[3715]: File "/usr/lib/ubiquity/plugins/ubi-prepare.py", line 385, in prepare
Jan 11 14:42:30 ubuntu-mate ubiquity[3715]: self.setup_sufficient_space()
Jan 11 14:42:30 ubuntu-mate kernel: [ 151.329463] sda: sda1 sda2 sda3 sda4 < sda5 sda6 sda7 sda8 sda9 sda10 sda11 sda12 sda13 sda14 >
Jan 11 14:42:30 ubuntu-mate ubiquity[3715]: File "/usr/lib/ubiquity/plugins/ubi-prepare.py", line 402, in setup_sufficient_space
Jan 11 14:42:30 ubuntu-mate ubiquity[3715]: free = self.free_space()
Jan 11 14:42:30 ubuntu-mate ubiquity[3715]: File "/usr/lib/ubiquity/plugins/ubi-prepare.py", line 418, in free_space
Jan 11 14:42:30 ubuntu-mate ubiquity[3715]: if device and int(device.split('\t')[1]) > biggest:
Jan 11 14:42:30 ubuntu-mate ubiquity[3715]: IndexError: list index out of rangeオフライン
GPartedをroot権限で端末から実行
root@ubuntu-mate:/home/ubuntu-mate# gparted Created symlink /run/systemd/system/-.mount → /dev/null. Created symlink /run/systemd/system/rofs.mount → /dev/null. Created symlink /run/systemd/system/run-user-999.mount → /dev/null. Created symlink /run/systemd/system/tmp.mount → /dev/null. ====================== libparted : 3.2 ====================== Backtrace has 17 calls on stack: 17: /lib/x86_64-linux-gnu/libparted.so.2(ped_assert+0x45) [0x7f3405a37e55] 16: /lib/x86_64-linux-gnu/libparted.so.2(+0x1e59f) [0x7f3405a4b59f] 15: /lib/x86_64-linux-gnu/libparted.so.2(+0xf88a) [0x7f3405a3c88a] 14: /lib/x86_64-linux-gnu/libparted.so.2(ped_disk_add_partition+0x283) [0x7f3405a3d1a3] 13: /lib/x86_64-linux-gnu/libparted.so.2(+0x1de4c) [0x7f3405a4ae4c] 12: /lib/x86_64-linux-gnu/libparted.so.2(+0x1dee0) [0x7f3405a4aee0] 11: /lib/x86_64-linux-gnu/libparted.so.2(+0x1dee0) [0x7f3405a4aee0] 10: /lib/x86_64-linux-gnu/libparted.so.2(+0x1dee0) [0x7f3405a4aee0] 9: /lib/x86_64-linux-gnu/libparted.so.2(+0x1de86) [0x7f3405a4ae86] 8: /lib/x86_64-linux-gnu/libparted.so.2(+0x1eeb5) [0x7f3405a4beb5] 7: /lib/x86_64-linux-gnu/libparted.so.2(ped_disk_new+0x48) [0x7f3405a3cda8] 6: /usr/sbin/gpartedbin() [0x466c0e] 5: /usr/sbin/gpartedbin() [0x47555e] 4: /usr/lib/x86_64-linux-gnu/libglibmm-2.4.so.1(+0x4c29d) [0x7f3406f4929d] 3: /lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x72305) [0x7f3405f02305] 2: /lib/x86_64-linux-gnu/libpthread.so.0(+0x770a) [0x7f3404d6970a] 1: /lib/x86_64-linux-gnu/libc.so.6(clone+0x5f) [0x7f3404aa30af] Assertion (metadata_length > 0) at ../../../libparted/labels/dos.c:2313 in function add_logical_part_metadata() failed. Aborted (core dumped) Removed /run/systemd/system/-.mount. Removed /run/systemd/system/rofs.mount. Removed /run/systemd/system/run-user-999.mount. Removed /run/systemd/system/tmp.mount.
オフライン
Ubuntu 日本語 Remix 16.10 | ubiquity デバッグモード | syslog 抜粋
Jan 12 14:43:24 ubuntu ubiquity[9647]: Ubiquity 16.10.14
Jan 12 14:43:33 ubuntu ubiquity[9647]: switched to page language
Jan 12 14:43:34 ubuntu localechooser: info: debian-installer/language preseeded to 'ja' (seen: true)
Jan 12 14:43:34 ubuntu ubiquity[9647]: switched to page language
Jan 12 14:43:39 ubuntu localechooser: info: Language = 'ja'
Jan 12 14:43:39 ubuntu localechooser: info: line=ja;3;JP;ja_JP.UTF-8;;
Jan 12 14:43:39 ubuntu localechooser: info: Set debian-installer/language = 'ja'
Jan 12 14:43:39 ubuntu localechooser: info: Default country = 'JP'
Jan 12 14:43:39 ubuntu localechooser: info: Default locale = 'ja_JP.UTF-8'
Jan 12 14:43:39 ubuntu localechooser: info: Set debian-installer/consoledisplay = ''
Jan 12 14:43:39 ubuntu localechooser: info: Set debian-installer/country = 'JP'
Jan 12 14:43:39 ubuntu localechooser: info: Set debian-installer/locale = 'ja_JP.UTF-8'
Jan 12 14:43:39 ubuntu localechooser: info: System locale (debian-installer/locale) = 'ja_JP.UTF-8'
Jan 12 14:43:39 ubuntu dbus-daemon[9557]: Activating service name='org.freedesktop.Notifications'
Jan 12 14:43:39 ubuntu org.freedesktop.Notifications[9557]: Failed to connect to Mir: Failed to connect to server socket: そのようなファイルやディレクトリはありません
Jan 12 14:43:39 ubuntu org.freedesktop.Notifications[9557]: Unable to init server: Could not connect: 接続を拒否されました
Jan 12 14:43:39 ubuntu mate-notificati[11204]: cannot open display:
Jan 12 14:43:39 ubuntu dbus-daemon[9557]: Activated service 'org.freedesktop.Notifications' failed: Process org.freedesktop.Notifications exited with status 1
Jan 12 14:43:40 ubuntu ubiquity[9647]: debconffilter_done: ubi-language (current: ubi-language)
Jan 12 14:43:40 ubuntu ubiquity[9647]: Step_before = stepLanguage
Jan 12 14:43:40 ubuntu ubiquity[9647]: Step_before = stepLanguage
Jan 12 14:43:41 ubuntu systemd[2293]: Starting Notification regarding a crash report...
Jan 12 14:43:41 ubuntu ubiquity[9647]: Exception in GTK frontend (invoking crash handler):
Jan 12 14:43:41 ubuntu ubiquity[9647]: Traceback (most recent call last):
Jan 12 14:43:41 ubuntu ubiquity[9647]: File "/usr/lib/ubiquity/ubiquity/frontend/gtk_ui.py", line 793, in <lambda>
Jan 12 14:43:41 ubuntu ubiquity[9647]: lambda: self.dbfilter.start(auto_process=True))
Jan 12 14:43:41 ubuntu ubiquity[9647]: File "/usr/lib/ubiquity/ubiquity/filteredcommand.py", line 103, in start
Jan 12 14:43:41 ubuntu ubiquity[9647]: prep = self.prepare()
Jan 12 14:43:41 ubuntu ubiquity[9647]: File "/usr/lib/ubiquity/plugins/ubi-prepare.py", line 385, in prepare
Jan 12 14:43:41 ubuntu ubiquity[9647]: self.setup_sufficient_space()
Jan 12 14:43:41 ubuntu ubiquity[9647]: File "/usr/lib/ubiquity/plugins/ubi-prepare.py", line 402, in setup_sufficient_space
Jan 12 14:43:41 ubuntu ubiquity[9647]: free = self.free_space()
Jan 12 14:43:41 ubuntu ubiquity[9647]: File "/usr/lib/ubiquity/plugins/ubi-prepare.py", line 418, in free_space
Jan 12 14:43:41 ubuntu ubiquity[9647]: if device and int(device.split('\t')[1]) > biggest:
Jan 12 14:43:41 ubuntu ubiquity[9647]: IndexError: list index out of range
Jan 12 14:43:41 ubuntu ubiquity[9647]:
Jan 12 14:43:41 ubuntu kernel: [ 1046.223270] sda: sda1 sda2 sda3 sda4 < sda5 sda6 sda7 sda8 sda9 sda10 sda11 sda12 sda13 sda14 >
Jan 12 14:43:42 ubuntu update-notifier-crash[11231]: ubiquityオフライン
Ubuntu 日本語 Remix 16.10 | ubiquity デバッグモード | installer/debug 抜粋
Exception in GTK frontend (invoking crash handler):
Traceback (most recent call last):
File "/usr/lib/ubiquity/ubiquity/frontend/gtk_ui.py", line 793, in <lambda>
lambda: self.dbfilter.start(auto_process=True))
File "/usr/lib/ubiquity/ubiquity/filteredcommand.py", line 103, in start
prep = self.prepare()
File "/usr/lib/ubiquity/plugins/ubi-prepare.py", line 385, in prepare
self.setup_sufficient_space()
File "/usr/lib/ubiquity/plugins/ubi-prepare.py", line 402, in setup_sufficient_space
free = self.free_space()
File "/usr/lib/ubiquity/plugins/ubi-prepare.py", line 418, in free_space
if device and int(device.split('\t')[1]) > biggest:
IndexError: list index out of rangeオフライン
Ubuntu 日本語 Remix 16.10 | GPartedをroot権限で端末から実行
root@ubuntu:/home/test/ドキュメント# gparted Created symlink /run/systemd/system/-.mount → /dev/null. Created symlink /run/systemd/system/rofs.mount → /dev/null. Created symlink /run/systemd/system/run-user-0.mount → /dev/null. Created symlink /run/systemd/system/run-user-1000.mount → /dev/null. Created symlink /run/systemd/system/run-user-999.mount → /dev/null. Created symlink /run/systemd/system/tmp.mount → /dev/null. ====================== libparted : 3.2 ====================== Backtrace has 17 calls on stack: 17: /lib/x86_64-linux-gnu/libparted.so.2(ped_assert+0x45) [0x7fb37168de55] 16: /lib/x86_64-linux-gnu/libparted.so.2(+0x1e59f) [0x7fb3716a159f] 15: /lib/x86_64-linux-gnu/libparted.so.2(+0xf88a) [0x7fb37169288a] 14: /lib/x86_64-linux-gnu/libparted.so.2(ped_disk_add_partition+0x283) [0x7fb3716931a3] 13: /lib/x86_64-linux-gnu/libparted.so.2(+0x1de4c) [0x7fb3716a0e4c] 12: /lib/x86_64-linux-gnu/libparted.so.2(+0x1dee0) [0x7fb3716a0ee0] 11: /lib/x86_64-linux-gnu/libparted.so.2(+0x1dee0) [0x7fb3716a0ee0] 10: /lib/x86_64-linux-gnu/libparted.so.2(+0x1dee0) [0x7fb3716a0ee0] 9: /lib/x86_64-linux-gnu/libparted.so.2(+0x1de86) [0x7fb3716a0e86] 8: /lib/x86_64-linux-gnu/libparted.so.2(+0x1eeb5) [0x7fb3716a1eb5] 7: /lib/x86_64-linux-gnu/libparted.so.2(ped_disk_new+0x48) [0x7fb371692da8] 6: /usr/sbin/gpartedbin() [0x466c0e] 5: /usr/sbin/gpartedbin() [0x47555e] 4: /usr/lib/x86_64-linux-gnu/libglibmm-2.4.so.1(+0x4c29d) [0x7fb372b9f29d] 3: /lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x72305) [0x7fb371b58305] 2: /lib/x86_64-linux-gnu/libpthread.so.0(+0x770a) [0x7fb3709bf70a] 1: /lib/x86_64-linux-gnu/libc.so.6(clone+0x5f) [0x7fb3706f90af] Assertion (metadata_length > 0) at ../../../libparted/labels/dos.c:2313 in function add_logical_part_metadata() failed. Aborted (core dumped) Removed /run/systemd/system/-.mount. Removed /run/systemd/system/rofs.mount. Removed /run/systemd/system/run-user-0.mount. Removed /run/systemd/system/run-user-1000.mount. Removed /run/systemd/system/run-user-999.mount. Removed /run/systemd/system/tmp.mount.
オフライン
Wubiuefiの説明より抜粋
Parted 3.2
Ubuntu has used Parted 3.2 since Ubuntu 14.10.
Parted 3.2 has lot of bug fixes and also some changes in behaviour.
Unfortunately, one of these changes in behaviour affects Wubi installations.
Typical error messages of this issue are:コード:
Failed to partition the selected diskThis probably happened because there are too many (primary) partitions in the partition table.
コード:
No root file system is definedWubiuefi has two different solutions for this issue.
The first solution is a workaround which uses an old version of Parted from Ubuntu 14.04 (=Parted 2.3).
The second solution is to consider the new behaviour of Parted 3.2.
All versions which use the second solution are marked with Parted 3.2.
Note: Parted is not a Windows program and does not use Windows driver.
So it is still possible that the view of Parted 3.2 differs from the Windows view of your partitions and this may cause problems.
オフライン
余計なお世話かもしれませんが・・・
WindowsとUbuntuのデゥアルブートは可能ですが、Ubuntu Japanese Team
の方などもおっしゃっていますように、運用していくうえで何かと問題が発生しやすいようです。
Best別PC、better別ストレージ(HDD,SSDなど)、の運用をおすすめします。
ーWindowsとUbuntu/Linuxではそもそもの”テツガク”が違います。ー
ご参考まで。
オフライン
santaomura2 による投稿:
Best別PC、better別ストレージ(HDD,SSDなど)、の運用をおすすめします。
私は2年以上に亘って遭遇しているこの不具合に対する解決策を望んでいます。
testdisk 7.0(Windows版)でエラーは出ませんでした。
サルベージのための分析を行えば領域が重複したパーティションが出てきますがこれは当然の結果です。
オフライン
fdisk -l -u
※対象ストレージの情報のみ。Linux用のパーティションは用意していない状態(以降の投稿も同じ)。
root@ubuntu-mate:/home/ubuntu-mate# fdisk -l -u Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x32de653d Device Boot Start End Sectors Size Id Type /dev/sda1 * 2048 206847 204800 100M 7 HPFS/NTFS/exFAT /dev/sda2 206848 73721855 73515008 35.1G 7 HPFS/NTFS/exFAT /dev/sda3 73722285 126126314 52404030 25G 7 HPFS/NTFS/exFAT /dev/sda4 126126376 1953520064 1827393689 871.4G f W95 Ext'd (LBA) /dev/sda5 126126378 188940464 62814087 30G 7 HPFS/NTFS/exFAT /dev/sda6 188942336 216213503 27271168 13G 7 HPFS/NTFS/exFAT /dev/sda7 404928512 432191487 27262976 13G 7 HPFS/NTFS/exFAT /dev/sda8 432191488 461557759 29366272 14G 7 HPFS/NTFS/exFAT /dev/sda9 461559808 482529279 20969472 10G 7 HPFS/NTFS/exFAT /dev/sda10 482531328 503508991 20977664 10G 7 HPFS/NTFS/exFAT /dev/sda11 503509293 524474054 20964762 10G 7 HPFS/NTFS/exFAT /dev/sda12 524474118 713221739 188747622 90G 7 HPFS/NTFS/exFAT /dev/sda13 943899138 964863899 20964762 10G 7 HPFS/NTFS/exFAT /dev/sda14 964863963 1953520064 988656102 471.4G 7 HPFS/NTFS/exFAT
オフライン
GNU parted 3.2
parted /dev/sda unit s print
ubuntu-mate@ubuntu-mate:~$ parted --version
parted (GNU parted) 3.2
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by <http://git.debian.org/?p=parted/parted.git;a=blob_plain;f=AUTHORS>.
ubuntu-mate@ubuntu-mate:~$ parted /dev/sda unit s print
WARNING: You are not superuser. Watch out for permissions.
Error: Error opening /dev/sda: Permission denied
Retry/Cancel? c
ubuntu-mate@ubuntu-mate:~$ sudo su
root@ubuntu-mate:/home/ubuntu-mate# parted /dev/sda unit s print
Backtrace has 16 calls on stack:
16: /lib/x86_64-linux-gnu/libparted.so.2(ped_assert+0x45) [0x7f60bd1e8e55]
15: /lib/x86_64-linux-gnu/libparted.so.2(+0x1e59f) [0x7f60bd1fc59f]
14: /lib/x86_64-linux-gnu/libparted.so.2(+0xf88a) [0x7f60bd1ed88a]
13: /lib/x86_64-linux-gnu/libparted.so.2(ped_disk_add_partition+0x283) [0x7f60bd1ee1a3]
12: /lib/x86_64-linux-gnu/libparted.so.2(+0x1de4c) [0x7f60bd1fbe4c]
11: /lib/x86_64-linux-gnu/libparted.so.2(+0x1dee0) [0x7f60bd1fbee0]
10: /lib/x86_64-linux-gnu/libparted.so.2(+0x1dee0) [0x7f60bd1fbee0]
9: /lib/x86_64-linux-gnu/libparted.so.2(+0x1dee0) [0x7f60bd1fbee0]
8: /lib/x86_64-linux-gnu/libparted.so.2(+0x1de86) [0x7f60bd1fbe86]
7: /lib/x86_64-linux-gnu/libparted.so.2(+0x1eeb5) [0x7f60bd1fceb5]
6: /lib/x86_64-linux-gnu/libparted.so.2(ped_disk_new+0x48) [0x7f60bd1edda8]
5: parted(+0x73fe) [0x55ada8a4e3fe]
4: parted(non_interactive_mode+0x92) [0x55ada8a541c2]
3: parted(main+0x12bf) [0x55ada8a4d07f]
2: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf1) [0x7f60bc9c43f1]
1: parted(_start+0x2a) [0x55ada8a4d24a]
You found a bug in GNU Parted! Here's what you have to do:
Don't panic! The bug has most likely not affected any of your data.
Help us to fix this bug by doing the following:
Check whether the bug has already been fixed by checking
the last version of GNU Parted that you can find at:
http://ftp.gnu.org/gnu/parted/
Please check this version prior to bug reporting.
If this has not been fixed yet or if you don't know how to check,
please visit the GNU Parted website:
http://www.gnu.org/software/parted
for further information.
Your report should contain the version of this release (3.2)
along with the error message below, the output of
parted DEVICE unit co print unit s print
and the following history of commands you entered.
Also include any additional information about your setup you
consider important.
Assertion (metadata_length > 0) at ../../../libparted/labels/dos.c:2313 in
function add_logical_part_metadata() failed.
Aborted (core dumped)オフライン
GNU parted 3.2.76-43b0
※ライブシステム上でリポジトリから現時点で最新のソースを入手して自分でビルドしたもの
parted /dev/sda unit s print
ubuntu-mate@ubuntu-mate:~$ parted --version
parted (GNU parted) 3.2.76-43b0
Copyright (C) 2014 Free Software Foundation, Inc.
ライセンス GPLv3+: GNU GPL バージョン 3 あるいはそれ以降のバージョン <http://gnu.org/licenses/gpl.html>
このソフトウェアはフリーソフトウェアです。自由に変更、再配布ができます。
法律が許すかぎり、全くの無保証です。
<http://git.debian.org/?p=parted/parted.git;a=blob_plain;f=AUTHORS> によって作られました。
ubuntu-mate@ubuntu-mate:~$ sudo su
root@ubuntu-mate:/home/ubuntu-mate# parted /dev/sda unit s print
Backtrace has 16 calls on stack:
16: /lib/x86_64-linux-gnu/libparted.so.2(ped_assert+0x45) [0x7f0b6ab68e55]
15: /lib/x86_64-linux-gnu/libparted.so.2(+0x1e59f) [0x7f0b6ab7c59f]
14: /lib/x86_64-linux-gnu/libparted.so.2(+0xf88a) [0x7f0b6ab6d88a]
13: /lib/x86_64-linux-gnu/libparted.so.2(ped_disk_add_partition+0x283) [0x7f0b6ab6e1a3]
12: /lib/x86_64-linux-gnu/libparted.so.2(+0x1de4c) [0x7f0b6ab7be4c]
11: /lib/x86_64-linux-gnu/libparted.so.2(+0x1dee0) [0x7f0b6ab7bee0]
10: /lib/x86_64-linux-gnu/libparted.so.2(+0x1dee0) [0x7f0b6ab7bee0]
9: /lib/x86_64-linux-gnu/libparted.so.2(+0x1dee0) [0x7f0b6ab7bee0]
8: /lib/x86_64-linux-gnu/libparted.so.2(+0x1de86) [0x7f0b6ab7be86]
7: /lib/x86_64-linux-gnu/libparted.so.2(+0x1eeb5) [0x7f0b6ab7ceb5]
6: /lib/x86_64-linux-gnu/libparted.so.2(ped_disk_new+0x48) [0x7f0b6ab6dda8]
5: parted(+0x747e) [0x55e0c897a47e]
4: parted(non_interactive_mode+0x92) [0x55e0c89803a2]
3: parted(main+0x12bf) [0x55e0c89790ff]
2: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf1) [0x7f0b6a3443f1]
1: parted(_start+0x2a) [0x55e0c89792ca]
You found a bug in GNU Parted! Here's what you have to do:
Don't panic! The bug has most likely not affected any of your data.
Help us to fix this bug by doing the following:
Check whether the bug has already been fixed by checking
the last version of GNU Parted that you can find at:
http://ftp.gnu.org/gnu/parted/
Please check this version prior to bug reporting.
If this has not been fixed yet or if you don't know how to check,
please visit the GNU Parted website:
http://www.gnu.org/software/parted
for further information.
Your report should contain the version of this release (3.2.76-43b0)
along with the error message below, the output of
parted DEVICE unit co print unit s print
and the following history of commands you entered.
Also include any additional information about your setup you
consider important.
Assertion (metadata_length > 0) at ../../../libparted/labels/dos.c:2313 in
function add_logical_part_metadata() failed.
Aborted (core dumped)オフライン
(ある意味消極的解決方法ですが)原因と解決方法が見つかりました。
GNU partedには以下の制約があります。
意訳: GNU partedはパーティション間の空きが最低でも2セクター以上ないとパーティションを正しく認識出来ずエラーを返す。
以下を見ると判りますが、sda7とsda8の間が1セクターしかありません。
Device Boot Start End Sectors Size Id Type (中略) /dev/sda7 404928512 432191487 27262976 13G 7 HPFS/NTFS/exFAT /dev/sda8 432191488 461557759 29366272 14G 7 HPFS/NTFS/exFAT (後略)
パーティション編集ソフト(parted及びlibpartedを使わないもの)でこの間に1MiBの隙間を作った所、GNU parted(及びそれを使うソフト)で正常に認識するようになりました。
インストールにも成功し、問題なく使用出来ています。
オフライン