NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

port-i386/51701: Segmentation fault when run grub-install(GRUB2)



>Number:         51701
>Category:       port-i386
>Synopsis:       Segmentation fault when run grub-install(GRUB2)
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    port-i386-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Dec 10 10:20:00 +0000 2016
>Originator:     ryo
>Release:        i386 7.0.2
>Organization:
>Environment:
NetBSD dyna_netbsd.dyna_netbsd.org 7.0.2 NetBSD 7.0.2 (GENERIC.201610210724Z) i386
>Description:
It happens Segmentation fault when run grub-install (GRUB2) at NetBSD.
I have remove grub and install binary package of grub2 from mirror site (incidentally, ftp7.jp.netbsd.org).

But GRUB 2 on Linux has successfully completed by same condition (same usb stick, same partition, same fs, same boot directory, ...).
(I used Debian on the same PC)

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
$ sudo newfs_msdos /dev/sd0e
...
$ sudo mount /dev/sd0e /mnt/boot
$ sudo grub-install --force --boot-directory=/mnt/boot /dev/sd0d
[1]   Segmentation fault (core dumped) "${grub_probe}" ...
Path `/mnt/boot/grub' is not readable by GRUB on boot. Installation is impossible. Aborting.
$
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

[Environment]
P C:TOSHIBA dynabook Satellite t30 160C/5W
CPU:Intel Celeron M 520 1.60GHz
RAM:2048MB
SSD:128GB

>How-To-Repeat:
$ sudo grub-install --force --boot-directory=/mnt/boot /dev/sd0d
[1]   Segmentation fault (core dumped) "${grub_probe}" ...
Path `/mnt/boot/grub' is not readable by GRUB on boot. Installation is impossible. Aborting.
$
>Fix:
Sorry, I don't know.



Home | Main Index | Thread Index | Old Index