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 <[EMAIL PROTECTED]> 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 [EMAIL PROTECTED])
>
> 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
> [EMAIL PROTECTED]
> http://lists.alioth.debian.org/mailman/listinfo/pkg-grub-devel
>
--
Dorileo