Bug#360041: savedefault makes grub segfault when /boot is in a separate partition

Kiko Piris menorqui at pirispons.net
Thu Mar 30 09:11:51 UTC 2006


Package: grub
Version: 0.97-6
Severity: normal


Hi,

I have /boot in a separate partition, I wanted to use grub-reboot and
the call to grub always segfaults with the savedefault command.

I've strace'd it and found the following:

open("/boot/grub/default", O_WRONLY|O_CREAT|O_TRUNC, 0666) = -1 ENOENT (No such file or directory)
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++


I thought it would accept --root-directory=/boot argument like
grub-install does, but grub seems not to accept it.

Thanks

-- 
Kiko




-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16.1
Locale: LANG=es_ES.ISO-8859-15, LC_CTYPE=es_ES.ISO-8859-15 (charmap=ISO-8859-15) (ignored: LC_ALL set to es_ES at euro)

Versions of packages grub depends on:
ii  libc6                         2.3.6-4    GNU C Library: Shared libraries an
ii  libncurses5                   5.5-1      Shared libraries for terminal hand

grub recommends no packages.

-- no debconf information




More information about the Pkg-grub-devel mailing list