Bug#423412: grub-of: grub-install "(hd, 0)" still fails on pegasos PPC

Zoho Vignochi zoho.vignochi at gmail.com
Mon Jul 2 20:17:41 UTC 2007


Package: grub-of
Version: 1.95+20070626-1
Followup-For: Bug #423412

the script grub-install fails to install on a pegasos ODW with the 
failure

zoho at subotai:/boot/grub$ sudo grub-install "(hd,0)"
/boot/grub must be a mount point.

commenting out line 126 to 130:

# Find the partition at the right mount point.
#install_device=`awk '$2 == '"\"$grubdir\""' { print $1 }' < 
#/proc/mounts`
#if test "x$install_device" = x; then
#    echo "$grubdir must be a mount point."
#    exit 1
#fi

allows grub to install in the proper partition. Here is a listing of 
/boot/grub:

zoho at subotai:/boot/grub$ ls
acorn.mod       elf.mod     hello.mod     lvm.mod     suspend.mod
affs.mod        ext2.mod    help.mod      minix.mod   terminal.mod
amiga.mod       fat.mod     hfs.mod       moddep.lst  terminfo.mod
apple.mod       font.mod    hfsplus.mod   normal.mod  test.mod
blocklist.mod   fshelp.mod  iso9660.mod   pc.mod      ufs.mod
boot.mod        fs.lst      jfs.mod       raid.mod    xfs.mod
cat.mod         gpt.mod     _linux.mod    reboot.mod
cmp.mod         grub        linux.mod     search.mod
command.lst     gzio.mod    loopback.mod  sfs.mod
configfile.mod  halt.mod    ls.mod        sun.mod

-- Package-specific info:

*********************** BEGIN /proc/mounts
rootfs / rootfs rw 0 0
none /sys sysfs rw,nosuid,nodev,noexec 0 0
none /proc proc rw,nosuid,nodev,noexec 0 0
udev /dev tmpfs rw 0 0
/dev/mapper/pink-root / ext3 rw,noatime,nodiratime,data=ordered 0 0
none /selinux selinuxfs rw 0 0
tmpfs /lib/init/rw tmpfs rw,nosuid 0 0
usbfs /proc/bus/usb usbfs rw,nosuid,nodev,noexec 0 0
tmpfs /dev/shm tmpfs rw,nosuid,nodev 0 0
devpts /dev/pts devpts rw,nosuid,noexec 0 0
fusectl /sys/fs/fuse/connections fusectl rw 0 0
/dev/hda1 /boot ext3 ro,nosuid,nodev,noexec,noatime,nodiratime,data=ordered 0 0
/dev/mapper/pink-tmp /tmp ext3 rw,nosuid,nodev,noexec,noatime,nodiratime,data=ordered 0 0
/dev/mapper/pink-usr /usr ext3 ro,nodev,noatime,nodiratime,data=ordered 0 0
/dev/mapper/pink-var /var ext3 rw,nodev,noatime,nodiratime,data=ordered 0 0
/dev/mapper/pink-home /home ext3 rw,nosuid,nodev,noatime,nodiratime,data=ordered 0 0
binfmt_misc /proc/sys/fs/binfmt_misc binfmt_misc rw,nosuid,nodev,noexec 0 0
*********************** END /proc/mounts

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (800, 'unstable'), (50, 'experimental')
Architecture: powerpc (ppc)

Kernel: Linux 2.6.18-4-powerpc
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages grub-of depends on:
ii  libc6                         2.5-11     GNU C Library: Shared libraries
ii  powerpc-ibm-utils             1.0.2-1    utilities for maintenance of IBM P

grub-of recommends no packages.

-- no debconf information




More information about the Pkg-grub-devel mailing list