Bug#414161: grub-install doesnt install on /dev/cciss/c0d0

Jason Cormie j.cormie at abertay.ac.uk
Fri Mar 9 17:13:55 CET 2007


Package: grub
Version: 0.97-23
Severity: important
Tags: patch

in grub-install there is a regular expression that strips the partition
from the dev supplied 
  /dev/cciss/c0d0p1 = 1
if you supply /dev/cciss/c0d0 howover it supplies the whole device, when
the code expects an empty string.

replace
 -e 's%.*c[0-7]d[0-9]*p%%' \

with

 -e 's%.*c[0-7]d[0-9]*p*%%' \




-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-686
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)

Versions of packages grub depends on:
ii  libc6                       2.3.6.ds1-13 GNU C Library: Shared libraries
ii  libncurses5                 5.5-5        Shared libraries for terminal hand

grub recommends no packages.

-- no debconf information




More information about the Pkg-grub-devel mailing list