Bug#360041: savedefault makes grub segfault when /boot is in a
separate partition
Leandro Dorileo
ldorileo at gmail.com
Thu Mar 30 15:02:57 UTC 2006
Hi Kiko
Could you try the following and tell me what happens?
/sbin/grub --config-file=/path_to_your_config_file
grub> savedefault --once --default=the_wanted_entry
thanks
On 3/30/06, Kiko Piris <menorqui at pirispons.net> wrote:
> 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
>
>
> _______________________________________________
> Pkg-grub-devel mailing list
> Pkg-grub-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/pkg-grub-devel
>
--
Dorileo
More information about the Pkg-grub-devel
mailing list