bugGNU GRUB - Bugs: bug #25200, grub-install: line 298:...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #25200: grub-install: line 298: /boot/grub/grub.cfg: Permission denied

Submitted by:  Roger <rogerx>
Submitted on:  Sun 28 Dec 2008 10:40:37 PM UTC  
 
Category: InstallationSeverity: Major
Priority: 5 - NormalItem Group: None
Status: InvalidPrivacy: Public
Assigned to: NoneOriginator Name: 
Open/Closed: ClosedRelease: svn
Release: NoneReproducibility: Every Time
Planned Release: None

Mon 29 Dec 2008 07:47:43 PM UTC, comment #2:

Calling /usr/sbin/grub-setup /dev/sda seems to work here, even though, again there's no stdout and exit is 0.

For kicks, I was just calling the /usr/sbin/grub-install manually as for some reason, grub is being found on sda mbr, but it's next boot step is getting something like a device not found error.

I've posted "Grub2 not booting" to the grub-bugs mailing list.

(w/i the following verbose output, make note /boot/grub/grub.cfg.1 == /boot/grub/grub.cfg (tried to change all of them, but looks like I missed renaming one or two instances. :-/)

Roger <rogerx>
Mon 29 Dec 2008 11:31:50 AM UTC, comment #1:

># ./grub-install --grub-setup=/boot/grub/grub.cfg /dev/sda


This is wrong with --grub-setup parameter you don't specify the config file but the grub-setup binary usally /usr/sbin/grub-setup.

Felix Zielcke <fzielcke>
Project Member
Sun 28 Dec 2008 10:40:37 PM UTC, original submission:

# ./grub-install --grub-setup=/boot/grub/grub.cfg /dev/sda
+ setup_verbose=--verbose
+ case "$host_os" in
+ bootdir=/boot
++ echo grub
++ sed s,x,x,
+ grubdir=/boot/grub
+ device_map=/boot/grub/device.map
+ grub_probe='/home/roger/src/grub/grub-install/sbin/grub-probe --device-map=/boot/grub/device.map'
+ '[' i386-pc = i386-pc ']'
+ set /boot/grub/grub.cfg.1 dummy
+ test -f /boot/grub/grub.cfg
[...snip...]
++ case "`uname 2>/dev/null`" in
+++ uname
++ echo /boot/grub
+ relative_grubdir=/boot/grub
+ '[' x/boot/grub = x ']'
+ '[' i386-pc = i386-pc ']'
+ /home/roger/src/grub/grub-install/bin/grub-mkimage --output=/boot/grub/core.img --prefix=/boot/grub biosdisk ext2 pc
+ /boot/grub/grub.cfg.1 --verbose --directory=/boot/grub --device-map=/boot/grub/device.map /dev/sda
./grub-install: line 298: /boot/grub/grub.cfg.1: Permission denied
+ exit 1

Roger <rogerx>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by fzielcke (Posted a comment)
  • -unavailable- added by rogerx (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 29 Dec 2008 11:31:50 AM UTCfzielckeStatusNone=>Invalid
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1