[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #37836] grub-install yelds: Path `/boot/grub' is not readable by GR
From: |
Daniel Apostolov |
Subject: |
[bug #37836] grub-install yelds: Path `/boot/grub' is not readable by GRUB on boot. Installation is impossible. Aborting. |
Date: |
Fri, 30 Nov 2012 01:17:05 +0000 |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:16.0) Gecko/20100101 Firefox/16.0 |
URL:
<http://savannah.gnu.org/bugs/?37836>
Summary: grub-install yelds: Path `/boot/grub' is not
readable by GRUB on boot. Installation is impossible. Aborting.
Project: GNU GRUB
Submitted by: apostolovd
Submitted on: Fri 30 Nov 2012 01:17:03 AM GMT
Category: Configuration
Severity: Major
Priority: 5 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release:
Release: other
Reproducibility: Every Time
Planned Release: None
_______________________________________________________
Details:
mint / # cat /proc/mounts
rootfs / rootfs rw 0 0
sysfs /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0
proc /proc proc rw,nosuid,nodev,noexec,relatime 0 0
udev /dev devtmpfs rw,relatime,size=761296k,nr_inodes=190324,mode=755 0 0
devpts /dev/pts devpts rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000 0
0
tmpfs /run tmpfs rw,nosuid,relatime,size=309256k,mode=755 0 0
/dev/sdb /cdrom iso9660 ro,noatime 0 0
/dev/loop0 /rofs squashfs ro,noatime 0 0
tmpfs /cow tmpfs rw,noatime,mode=755 0 0
/cow / overlayfs rw,relatime,lowerdir=//filesystem.squashfs,upperdir=/cow 0 0
none /sys/fs/fuse/connections fusectl rw,relatime 0 0
none /sys/kernel/debug debugfs rw,relatime 0 0
none /sys/kernel/security securityfs rw,relatime 0 0
tmpfs /tmp tmpfs rw,nosuid,nodev,relatime 0 0
none /run/lock tmpfs rw,nosuid,nodev,noexec,relatime,size=5120k 0 0
none /run/shm tmpfs rw,nosuid,nodev,relatime 0 0
none /run/user tmpfs rw,nosuid,nodev,noexec,relatime,size=102400k,mode=755 0
0
binfmt_misc /proc/sys/fs/binfmt_misc binfmt_misc
rw,nosuid,nodev,noexec,relatime 0 0
gvfsd-fuse /run/user/mint/gvfs fuse.gvfsd-fuse
rw,nosuid,nodev,relatime,user_id=999,group_id=999 0 0
/dev/sdc1 /media/mint/Satellite fuseblk
rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096
0 0
/dev/sda1 / ext4 rw,relatime,data=ordered 0 0
udev /dev devtmpfs rw,relatime,size=761296k,nr_inodes=190324,mode=755 0 0
sysfs /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0
proc /proc proc rw,nosuid,nodev,noexec,relatime 0 0
devpts /dev/pts devpts rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000 0
0
mint / # grub-install --debug /dev/sda
+ bootdir=/boot
+ grubdir=/boot/grub
+ device_map=/boot/grub/device.map
+ set /usr/sbin/grub dummy
+ test -f /usr/sbin/grub
+ :
+ test -f /usr/lib/grub/i386-pc/stage1
+ :
+ test -f /usr/lib/grub/i386-pc/stage2
+ :
+ test -d /boot
+ test -d /boot/grub
+ test no = yes
+ test -f /boot/grub/device.map
+ test -n /bin/tempfile --prefix=grub
+ /bin/tempfile --prefix=grub
+ log_file=/tmp/grub1iztrB
+ sync
+ /usr/sbin/grub --batch --device-map=/boot/grub/device.map
Probing devices to guess BIOS drives. This may take a long time.
+ grep Error [0-9]*: /tmp/grub1iztrB
+ rm -f /tmp/grub1iztrB
+ + sort
sed -n /^([fh]d[0-9]*)/s/\(^(.*)\).*/\1/p /boot/grub/device.map
+ + uniqsed -n -d 1p
+ tmp=
+ test -n
+ find_device
+ sed+ -n s%.*\(/dev/[^ ]*\).*%\1%p
df /
+ tmp_fname=/dev/sda1
+ test -z /dev/sda1
+ resolve_symlink /dev/sda1
+ tmp_fname=/dev/sda1
+ test -L /dev/sda1
+ echo /dev/sda1
+ tmp_fname=/dev/sda1
+ echo /dev/sda1
+ root_device=/dev/sda1
+ find_device /boot
+ sed -n s%.*\(/dev/[^ ]*\).*%\1%p
+ df /boot/
+ tmp_fname=/dev/sda1
+ test -z /dev/sda1
+ resolve_symlink /dev/sda1
+ tmp_fname=/dev/sda1
+ test -L /dev/sda1
+ echo /dev/sda1
+ tmp_fname=/dev/sda1
+ echo /dev/sda1
+ bootdir_device=/dev/sda1
+ resolve_symlink /dev/sda
+ tmp_fname=/dev/sda
+ test -L /dev/sda
+ echo /dev/sda
+ install_device=/dev/sda
+ convert /dev/sda
+ test -e /dev/sda
+ :
+ sed -e s%\(\(v\|s\|h\|xv\)d[a-z]\)[0-9]*$%\1% -e s%\(d[0-9]*\)p[0-9]*$%\1%
-e s%\(fd[0-9]*\)$%\1% -e s%/part[0-9]*$%/disc% -e s%\(c[0-7]d[0-9]*\).*$%\1%
-e s%\(e[0-9]\.[0-9]*\).*$%\1%
+ echo /dev/sda
+ tmp_disk=/dev/sda
+ + sedecho -e s%.*/\(v\|s\|h\|xv\)d[a-z]\([0-9]*\)$%\2% -e /dev/sda
s%.*d[0-9]*p%%
-e s%.*/fd[0-9]*$%% -e s%.*/floppy/[0-9]*$%% -e
s%.*/\(disc\|part\([0-9]*\)\)$%\2% -e s%.*c[0-7]d[0-9]*p*%% -e
s%.*e[0-9]\.[0-9]*p%% -e s%.*e[0-9]\.[0-9]*$%%
+ tmp_part=
+ + grep /dev/sda *$
+ sed s%.*\(([hf]d[0-9][a-z0-9,]*)\).*%\1%
grep -v ^# /boot/grub/device.map
+ tmp_drive=(hd0)
+ test x(hd0) = x
+ test x != x
+ echo (hd0)
+ install_drive=(hd0)
+ test x(hd0) = x
+ test x/dev/sda1 != x/dev/sda1
+ convert /dev/sda1
+ test -e /dev/sda1
+ :
+ sed -e s%\(\(v\|s\|h\|xv\)d[a-z]\)[0-9]*$%\1% -e s%\(d[0-9]*\)p[0-9]*$%\1%
-e s%\(fd[0-9]*\)$%\1% -e s%/part[0-9]*$%/disc% -e s%\(c[0-7]d[0-9]*\).*$%\1%
-e s%\(e[0-9]\.[0-9]*\).*$%\1%
+ echo /dev/sda1
+ tmp_disk=/dev/sda
+ sed -e s%.*/\(v\|s\|h\|xv\)d[a-z]\([0-9]*\)$%\2% -e s%.*d[0-9]*p%% -e
s%.*/fd[0-9]*$%% -e s%.*/floppy/[0-9]*$%% -e
s%.*/\(disc\|part\([0-9]*\)\)$%\2% -e s%.*c[0-7]d[0-9]*p*%% -e
s%.*e[0-9]\.[0-9]*p%% -e s%.*e[0-9]\.[0-9]*$%%
+ echo /dev/sda1
+ tmp_part=1
+ sed+ s%.*\(([hf]d[0-9][a-z0-9,]*)\).*%\1%
grep /dev/sda *$
+ grep -v ^# /boot/grub/device.map
+ tmp_drive=(hd0)
+ test x(hd0) = x
+ test x1 != x
+ echo (hd0)
+ expr 1 - 1
+ sed s%)$%,0)%
+ root_drive=(hd0,0)
+ test x(hd0,0) = x
+ find_device /boot/grub
+ + seddf -n s%.*\(/dev/[^ ]*\).*%\1%p
/boot/grub/
+ tmp_fname=/dev/sda1
+ test -z /dev/sda1
+ resolve_symlink /dev/sda1
+ tmp_fname=/dev/sda1
+ test -L /dev/sda1
+ echo /dev/sda1
+ tmp_fname=/dev/sda1
+ echo /dev/sda1
+ grubdir_device=/dev/sda1
+ test x/dev/sda1 != x/dev/sda1
+ rm -f /boot/grub/stage1
+ rm -f /boot/grub/stage2
+ rm -f /boot/grub/e2fs_stage1_5
+ rm -f /boot/grub/fat_stage1_5
+ rm -f /boot/grub/jfs_stage1_5
+ rm -f /boot/grub/minix_stage1_5
+ rm -f /boot/grub/reiserfs_stage1_5
+ rm -f /boot/grub/xfs_stage1_5
+ cp -f /usr/lib/grub/i386-pc/stage1 /boot/grub
+ cp -f /usr/lib/grub/i386-pc/stage2 /boot/grub
+ cp -f /usr/lib/grub/i386-pc/e2fs_stage1_5 /boot/grub
+ cp -f /usr/lib/grub/i386-pc/fat_stage1_5 /boot/grub
+ cp -f /usr/lib/grub/i386-pc/jfs_stage1_5 /boot/grub
+ cp -f /usr/lib/grub/i386-pc/minix_stage1_5 /boot/grub
+ cp -f /usr/lib/grub/i386-pc/reiserfs_stage1_5 /boot/grub
+ cp -f /usr/lib/grub/i386-pc/xfs_stage1_5 /boot/grub
+ /usr/sbin/grub-set-default --root-directory= default
Searching for GRUB installation directory ... found: /boot/grub
+ test -n /bin/tempfile --prefix=grub
+ /bin/tempfile --prefix=grub
+ img_file=/tmp/grubKgZqJk
+ test -n /bin/tempfile --prefix=grub
+ /bin/tempfile --prefix=grub
+ log_file=/tmp/grubN8rxUi
+ sync
+ grub-probe -t fs /boot/grub
grub-probe: error: cannot find a GRUB drive for /dev/sda1. Check your
device.map.
+ [ = xfs ]
/usr/sbin/grub-install.real: 490: [: =: unexpected operator
+ count=5
+ sed+ s|^/boot/grub|/boot/grub|
echo /boot/grub/stage1
+ tmp=/boot/grub/stage1
+ test 5 -gt 0
+ /usr/sbin/grub --batch --device-map=/boot/grub/device.map
+ grep Error [0-9]*: /tmp/grubN8rxUi
+ :
+ sleep 1
+ expr 5 - 1
+ count=4
+ test 4 -gt 0
+ /usr/sbin/grub --batch --device-map=/boot/grub/device.map
+ grep Error [0-9]*: /tmp/grubN8rxUi
+ :
+ sleep 1
+ expr 4 - 1
+ count=3
+ test 3 -gt 0
+ /usr/sbin/grub --batch --device-map=/boot/grub/device.map
+ grep Error [0-9]*: /tmp/grubN8rxUi
+ :
+ sleep 1
+ expr 3 - 1
+ count=2
+ test 2 -gt 0
+ /usr/sbin/grub --batch --device-map=/boot/grub/device.map
+ grep Error [0-9]*: /tmp/grubN8rxUi
+ :
+ sleep 1
+ expr 2 - 1
+ count=1
+ test 1 -gt 0
+ /usr/sbin/grub --batch --device-map=/boot/grub/device.map
+ grep Error [0-9]*: /tmp/grubN8rxUi
+ :
+ sleep 1
+ expr 1 - 1
+ count=0
+ test 0 -gt 0
+ test 0 -eq 0
+ echo The file /boot/grub/stage1 not read correctly.
The file /boot/grub/stage1 not read correctly.
+ exit 1
mint / # cat /tmp/grubN8rxUi
[ Minimal BASH-like line editing is supported. For
the first word, TAB lists possible command
completions. Anywhere else TAB lists the possible
completions of a device/filename. ]
grub> dump (hd0,0)/boot/grub/stage1 /tmp/grubKgZqJk
Error 17: Cannot mount selected partition
grub> quit
mint / #
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?37836>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [bug #37836] grub-install yelds: Path `/boot/grub' is not readable by GRUB on boot. Installation is impossible. Aborting.,
Daniel Apostolov <=