
Ubuntu日本語フォーラム
ログインしていません。
始めまして。
FMV-A8295(Windows10Home)に、LinuxDistributionをLiveUSBFrashMemory
にそれぞれ単独にインストールし、利用しています。
今回、外付けHDDでマルチブートして見ましたが、Mint,antixの2つだけが下記エラー
が出て起動しません。調べるとgrubの記述が悪いらしいのですが良くわかりません。
よろしくお願いします。ここのファーラムが適切ではないかもしれませんが、
(参考)https://forums.ubuntulinux.jp/viewtopic.php?id=5453
で似たような回答が検索出来ましたので、質問させてください。
windows10は、起動します。xubuntuも同様のerrorで起動しませんでした。
Error 13 invalid unsupported executable format
Press any key to continue
外付けHDD
Model: JMicron Tech (scsi) Disk /dev/sdb: 40.0GB
partition Size Type File system Flags Distribution
sdb1 4021MB primary fat32 boot, lba Bionicpup32-8.0
sdb2 3036MB primary fat32 Xenialpup 7.5
sdb3 9542MB primary fat32 Knoppix_9.1
sdb4 23.4GB extended
sdb5 12.9GB logical ext4 Linux Mint19.3MATE Tricia
sdb6 2317MB logical fat32 LxPupFocal32-21.02
sdb7 6333MB logical ext4 antix19.2_386full
sdb8 1813MB logical linux-swap(v1)
# menu.lst produced by grub4dosconfig-v1.9.3
color blue/cyan yellow/blue white/black cyan/black
#splashimage=/splash.xpm
timeout 10
default 0
# Frugal installed Puppy
title Bionicpup32-8.0+19 (sdb1/Puppy upupbb 19.03,based on ubuntu18.04 Beaver)
find --set-root --ignore-floppies --ignore-cd /puppy_upupbb_19.03.sfs
kernel /vmlinuz pmedia=atahd pfix=fsck
initrd /initrd.gz
title Xenialpup 7.5 (sdb2/based on ubuntu16.04 Xenial Xerus)
root (hd0,1)
kernel /xenialpup-7.5/vmlinuz pmedia=atahd psubdir=xenialpup-7.5 pfix=fsck
initrd /xenialpup-7.5/initrd.gz
title Knoppix_9.1 (sdb3/Debian 11 bullseye)
root (hd0,2)
kernel /boot/syslinux/linux64 root=/dev/sdb3 rootwait lang=ja xkeyboard=jp no3d screen=1366x768 apm=power-off initrd=minirt.gz nomce hpsa.hpsa_allow_any=1 loglevel=1
initrd /boot/syslinux/minirt.gz
# Full installed Linux
title Linux Mint 19.3 MATE Tricia (sdb5/based on ubuntu18.04LTS)
root (hd0,4)
kernel /vmlinuz root=/dev/sdb5 pmedia=atahd ro quiet splash $vt_handoff
initrd /initrd.img
title LxPupFocal32-21.02 (sdb6/UPupFF+D 20.12,based on ubuntu20.04focal fossa+Debian)
root (hd0,5)
kernel /vmlinuz pmedia=atahd pfix=fsck
initrd /initrd.gz
title antix19.2_386full (sdb7/Debian 10.3 Buster)
root (hd0,6)
kernel /boot/vmlinuz-4.9.0-294-antix.1-486-smp root=sdb7 pmedia=atahd pfix=fsck ro quiet
initrd /boot/initrd.img-4.9.0-294-antix.1-486-smp
#title xubuntu18.04.5LTS-i386 (sd7/BionicBeaver)
# root (hd0,6)
# kernel /boot/vmlinuz-5.4.0-42-generic root=sdb7 ro quiet splash $vt_handoff
# initrd /boot/initrd.img-5.4.0-42-generic
# Windows 10 (sda1)
# this entry searches Windows on the HDD and boot it up
title Windows 10 (sda1)\nBoot up Windows if installed
map (hd1) (hd0)
map (hd0) (hd1)
map --hook
errorcheck off
find --set-root --ignore-floppies --ignore-cd /bootmgr
chainloader /bootmgr
find --set-root --ignore-floppies --ignore-cd /ntldr
chainloader /ntldr
find --set-root --ignore-floppies --ignore-cd /io.sys
chainloader /io.sys
errorcheck on
# Advanced Menu
title Advanced menu
configfile /menu-advanced.lst
commandline
後期高齢者の初心者で、あちこち調べて良く意味も分からずやっています。
ご指導よろしくお願い致します。
オフライン
grub4dosは 64bitブロックアドレス の ext4 では起動できないようです。
sdb5,sdb7が該当するか次のコマンドで調べてみてください。
tune2fs -l /dev/sdb5 | grep features tune2fs -l /dev/sdb7 | grep features
例:
$ sudo tune2fs -l /dev/sda1|grep features
Filesystem features: has_journal ext_attr resize_inode dir_index filetype needs_recovery extent 64bit flex_bg sparse_super large_file huge_file dir_nlink extra_isize metadata_csum
出力行に'32bit'が含まれていれば起動可能で、
'64bit'が含まれていると Error 13になると思われます。
対策は resize2fs コマンドで 32bit-ext4 に変換を行います。
e2fsck -fy /dev/sdb5 resize2fs -s /dev/sdb5 e2fsck -fy /dev/sdb7 resize2fs -s /dev/sdb7
#1 kuzuh による投稿:
よろしくお願いします。ここのファーラムが適切ではないかもしれませんが、
(参考)https://forums.ubuntulinux.jp/viewtopic.php?id=5453
で似たような回答が検索出来ましたので、質問させてください。
Linux Mint や antix Linuxが問題ではなく Bionicpup のgrub4dos の問題なので
Puppy Linux 日本語 フォーラム - トップページ
https://sakurapup.com/forum1/index.php
のような場所が向いてると思います。
参考ページ:
How to fix Grub4DOS Error 13, wee 13>, due to 64-bit Ext4 - (old)Puppy Linux Discussion Forum
https://oldforum.puppylinux.com/viewtopic.php?t=111376
なんじゃろな、Manjaro-17.1.0-xfce-ja を簡単に動かしてみました。 | 極楽はぜのブログ
https://ameblo.jp/gokurakuhaze/entry-12384837053.html
ブートローダーを GRUB 2 へ変更し、Grub Customizer を使ってみました。 | 極楽はぜのブログ
https://ameblo.jp/gokurakuhaze/entry-12410973310.html
Grub2config | 走れパピー
http://shinobar.net/linux/blog/?viewDetailed=00008
オフライン
ellipticさん、ありがとうございます。
sdb5,sdb7は、64bit-ext4でした。
32bit変換を実施し、"64bit"が表示しないことを確認したうえで、起動させましたが、
BusyBox-------
(initramfs) でストップしました。いろいろ調べて、コマンドを入れてみると、
1, (initramfs) fsck
fsck from util-linux 2.31.1
2,(initramfs) exit
Gave up waiting for rootfile system device Common problems!
-Boot args ( cat /proc/cmdline )
-Check rootdelays=(did the system wait long enough?)
-Missing modules ( cat /proc/modules ; is /dev )
ALERT! /dev/sdb5 dose not exist. Dropping to a shell!
3,(initramfs) cat /proc/cmdline
root=/dev/sdb5 pmedia=atahd ro quiet splash $vt_handoff
4,menu.lst に"rootdelays=120"を挿入して再起動。
ーーーー変わらず、(initramfs)が表示される。
5,(initramfs) cat /proc/modules
btrfs 1134592 0 --Live 0xf8481000
|
|
usb_storage 6144 1 uas,Live 0xf7f9300
|
|
video 45056 1 i915,Live 0xf7eef000
という状況で、なかなかうまく起動してくれません。
教えて頂きました、参考するページも時間をかけて勉強してみます。
よろしくお願いします。
オフライン
kuzuh
LinuxMintだけ起動するようになりました。ありがとうございました。
Bionicpup32の中のセットアップソフトに「Grub4Dosブートローダの設定」があり、64bit-ext4のままでは自動認識
しませんでしたが、32bit変換すると認識するようになり、カーネルパラメータを編集するとLinuxMintは起動しました。
antixLinuxは、panicになり、まだ、試行錯誤中です。
オフライン
#4 kuzuh による投稿:
LinuxMintだけ起動するようになりました。ありがとうございました。
Bionicpup32の中のセットアップソフトに「Grub4Dosブートローダの設定」があり、64bit-ext4のままでは自動認識
しませんでしたが、32bit変換すると認識するようになり、カーネルパラメータを編集するとLinuxMintは起動しました。
Linux Mint の起動成功おめでとうございます。
編集した内容をここに掲示していただけると、トラブル解決のヒントを求めて読みに来る人の役に立ちます。
antix Linuxについてはgrub4dosの設定を変更して起動できるか試してみてください。
まず コマンド
blkid -s UUID /dev/sdb7
を実行してantix Linux の ext4ファイルシステムのUUIDを確認しておきます。
次に grub4dos の menu.lst ファイルを編集します。
私は使ったことがないのでわかりませんが、「Grub4Dosブートローダの設定」でも変更できるかもしれません。
" kernel /boot/vmlinuz-4.9.0-294-antix.1-486-smp root=sdb7 pmedia=atahd pfix=fsck ro quiet"
の行の
'root=sdb7'
の部分を
’root=UUID=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx’
の形に書き換えます。
xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx には 上記で確認した UUIDを当てはめてください。
オフライン
kuzuhです。
ellipticさん、お世話になります。
UUIDは、下記のとうりです。
# blkid -s UUID /dev/sdb7
/dev/sdb7: UUID="af7df9dc-087d-45b0-874e-e5eccc043846"
「Grub4Dosブートローダの設定」で自動認識したmenu.lstは、
title Linux Mint 19.3 Tricia (sdb5)
find --set-root uuid () 8db25eda-c3f3-4eb3-b807-cb8a45fa86e3
kernel /vmlinuz root=UUID=8db25eda-c3f3-4eb3-b807-cb8a45fa86e3 ro
# root=/dev/sdb5
initrd /initrd.img
title Unknown (sdb7/boot)
find --set-root uuid () af7df9dc-087d-45b0-874e-e5eccc043846
kernel /boot/vmlinuz-4.9.0-294-antix.1-486-smp root=UUID=af7df9dc-087d-45b0-874e-e5eccc043846 ro
# root=/dev/sdb7
※ sdb7のUUIDは、一致しています。がinitramfsの記述が抜けています。knoppix9.1は自動認識しません。
以下のように、menu.lstを編集したところ、MintLinuxは起動しましたが、antixLinuxは、
panicストップするので強制的に電源OFFすることとなります。
title Linux Mint 19.3 MATE Tricia (sdb5/based on ubuntu18.04LTS)
find --set-root uuid () 8db25eda-c3f3-4eb3-b807-cb8a45fa86e3
kernel /vmlinuz root=UUID=8db25eda-c3f3-4eb3-b807-cb8a45fa86e3 ro quiet splash
initrd /initrd.img
# root (hd0,4)
# kernel /vmlinuz root=/dev/sdb5 pmedia=atahd ro quiet splash $vt_handoff
# initrd /initrd.img
title antix19.2_386full (sdb7/Debian 10.3 Buster)
find --set-root uuid () af7df9dc-087d-45b0-874e-e5eccc043846
kernel /boot/vmlinuz-4.9.0-294-antix.1-486-smp root=UUID=af7df9dc-087d-45b0-874e-e5eccc043846 ro quiet splash
initrd /boot/initrd.img-4.9.0-294-antix.1-486-smp
# root (hd0,6)
# kernel /boot/vmlinuz-4.9.0-294-antix.1-486-smp root=sdb7 pmedia=atahd pfix=fsck ro quiet
# initrd /boot/initrd.img-4.9.0-294-antix.1-486-smp
※ antixLinuxの起動時のコンソール最終行。
[38.258016] ---[end Kernel panic -not syncing:Attempted to kill init! Exit code=0x00000100
まだ、どこかが引っかかっているみたいです。
オフライン
kuzuhです。
ありがとうございました。解決しました。
kernel panic というメッセージを見て、もしかしたらと思い、sdb7のantixLinuxをそっくり入れ替えました。
やっと、起動しました。あちこち、いじっくているうちにantixLInuxのシステムを壊したみたいです。
ellipticさん、お世話になりました。
また、少しづつ、勉強していきます。有難うございました。
オフライン