Bug#423649: grub-pc: Prove a way to override the auto-detected root device

Sam Morris sam at robots.org.uk
Sun May 13 17:27:37 UTC 2007


Package: grub-pc
Version: 1.95+20070507-1.1
Severity: wishlist

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> BTW, it would be convenient if I could override the detected GRUB_DEVICE
> by editing /etc/default/grub; however it seems that update-grub ignores
> the environment variable and always overrides it with the value output
> by grub-probe. It might be useful to allow the user to specify the grub
> device manually in this manner.

Intuitively I tried to override the root device by putting this in
/etc/default/grub:

 export GRUB_DEVICE=/dev/md0

- -- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (530, 'testing'), (520, 'unstable'), (510, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.18-4-k7 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages grub-pc depends on:
ii  libc6                         2.5-7      GNU C Library: Shared libraries
ii  liblzo1                       1.08-3     data compression library (old vers

grub-pc recommends no packages.

- -- no debconf information

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGR0qJshl/216gEHgRAj4sAKCphHShGW3f9CtJACEd7Hsy8PJhvQCgw206
9Ekv64UYd4xQ2FoKhhFJY2E=
=bDBs
-----END PGP SIGNATURE-----




More information about the Pkg-grub-devel mailing list