getting error msg: need to be root to run this
After using this app a few times, began to get error message:
"grub-mkconfig couldn't be executed successfully. You must run this as root!"
Re-installed the app after trying other workarounds, without success. Is this a bug?
Geoffree
Question information
- Language:
- English Edit question
- Status:
- Open
- Assignee:
- Daniel Richter Edit question
- Last query:
- Last reply:
Revision history for this message
|
#1 |
what happens, if you run:
sudo grub-mkconfig
…from the command line?
Revision history for this message
|
#2 |
On 02/18/2011 03:04 PM, Daniel Richter wrote:
> Your question #145919 on Grub Customizer changed:
> https:/
>
> Status: Open => Needs information
>
> Daniel Richter requested for more information:
> what happens, if you run:
>
> sudo grub-mkconfig
>
> …from the command line?
>
Thank you Daniel for replying. Here's another thing:
When I now invoke grub-customizer a request for password box displays,
I type in the password, the customizer screen displays, the bar at the
bottom grows to the right indicating launching, it gets to the end, and
the screen vanishes. Just like that. Quite rude. What? The splash
screen at log-in is still very nice thank you. But it would be groovy
to understand what is happening.
Geof free
Revision history for this message
|
#3 |
On 02/18/2011 03:04 PM, Daniel Richter wrote:
> Your question #145919 on Grub Customizer changed:
> https:/
>
> Status: Open => Needs information
>
> Daniel Richter requested for more information:
> what happens, if you run:
>
> sudo grub-mkconfig
>
> …from the command line?
>
I entered your suggesed command and I got the following:
geoff@zeno:~$ sudo grub-mkconfig
Generating grub.cfg ...
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.
if [ -s $prefix/grubenv ]; then
set have_grubenv=true
load_env
fi
set default="0"
if [ "${prev_
set saved_entry=
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi
function savedefault {
if [ -z "${boot_once}" ]; then
saved_
save_env saved_entry
fi
}
function recordfail {
set recordfail=1
if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then
save_env recordfail; fi; fi
}
function load_video {
insmod vbe
insmod vga
}
insmod part_msdos
insmod ext2
set root='(hd0,msdos5)'
search --no-floppy --fs-uuid --set 6e3455b0-
if loadfont /usr/share/
set gfxmode=640x480
load_video
insmod gfxterm
fi
terminal_output gfxterm
insmod part_msdos
insmod ext2
set root='(hd0,msdos5)'
search --no-floppy --fs-uuid --set 6e3455b0-
set locale_
set lang=en
insmod gettext
if [ "${recordfail}" = 1 ]; then
set timeout=-1
else
set timeout=12
fi
### END /etc/grub.
### BEGIN /etc/grub.
using custom appearance settings
Found background image: cezanne.
insmod part_msdos
insmod ext2
set root='(hd0,msdos5)'
search --no-floppy --fs-uuid --set 6e3455b0-
insmod jpeg
if background_image /boot/grub/
set color_normal=
set color_highlight
else
set menu_color_
set menu_color_
fi
### END /etc/grub.
### BEGIN /etc/grub.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
menuentry "Ubuntu, with Linux 2.6.35-27-generic" --class ubuntu --class
gnu-linux --class gnu --class os {
recordfail
insmod part_msdos
insmod ext2
set root='(hd0,msdos5)'
search --no-floppy --fs-uuid --set 6e3455b0-
linux /boot/vmlinuz-
root=UUID=
initrd /boot/initrd.
}
menuentry "Ubuntu, with Linux 2.6.35-27-generic (recovery mode)" --class
ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod part_msdos
insmod ext2
set root='(hd0,msdos5)'
search --no-floppy --fs-uuid --set 6e3455b0-
echo 'Loading Linux 2.6.35-27-generic ...'
linux /boot/vmlinuz-
root=UUID=
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.
}
menuentry "Ubuntu, with Linux 2.6.35-
--class gnu-linux --class gnu --class os {
recordfail
insmod part_msdos
insmod ext2
set root='(hd0,msdos5)'
search --no-floppy --fs-uuid --set 6e3455b0-
linux /boot/vmlinuz-
root=UUID=
initrd /boot/initrd.
}
menuentry "Ubuntu, with Linux 2.6.35-
--class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod part_msdos
insmod ext2
set root='(hd0,msdos5)'
search --no-floppy --fs-uuid --set 6e3455b0-
echo 'Loading Linux 2.6.35-
linux /boot/vmlinuz-
root=UUID=
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.
}
menuentry "Ubuntu, with Linux 2.6.35-26-virtual" --class ubuntu --class
gnu-linux --class gnu --class os {
recordfail
insmod part_msdos
insmod ext2
set root='(hd0,msdos5)'
search --no-floppy --fs-uuid --set 6e3455b0-
linux /boot/vmlinuz-
root=UUID=
initrd /boot/initrd.
}
menuentry "Ubuntu, with Linux 2.6.35-26-virtual (recovery mode)" --class
ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod part_msdos
insmod ext2
set root='(hd0,msdos5)'
search --no-floppy --fs-uuid --set 6e3455b0-
echo 'Loading Linux 2.6.35-26-virtual ...'
linux /boot/vmlinuz-
root=UUID=
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.
}
menuentry "Ubuntu, with Linux 2.6.35-26-generic" --class ubuntu --class
gnu-linux --class gnu --class os {
recordfail
insmod part_msdos
insmod ext2
set root='(hd0,msdos5)'
search --no-floppy --fs-uuid --set 6e3455b0-
linux /boot/vmlinuz-
root=UUID=
initrd /boot/initrd.
}
menuentry "Ubuntu, with Linux 2.6.35-26-generic (recovery mode)" --class
ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod part_msdos
insmod ext2
set root='(hd0,msdos5)'
search --no-floppy --fs-uuid --set 6e3455b0-
echo 'Loading Linux 2.6.35-26-generic ...'
linux /boot/vmlinuz-
root=UUID=
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.
}
### END /etc/grub.
### BEGIN /etc/grub.
### END /etc/grub.
### BEGIN /etc/grub.
Found memtest86+ image: /boot/memtest86
menuentry "Memory test (memtest86+)" {
insmod part_msdos
insmod ext2
set root='(hd0,msdos5)'
search --no-floppy --fs-uuid --set 6e3455b0-
linux16 /boot/memtest86
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod part_msdos
insmod ext2
set root='(hd0,msdos5)'
search --no-floppy --fs-uuid --set 6e3455b0-
linux16 /boot/memtest86
}
### END /etc/grub.
### BEGIN /etc/grub.
Found Ubuntu 10.10 (10.10) on /dev/sda1
menuentry "Ubuntu, with Linux 2.6.35-27-generic (on /dev/sda1)" {
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set e900a01d-
linux /boot/vmlinuz-
root=UUID=
initrd /boot/initrd.
}
menuentry "Ubuntu, with Linux 2.6.35-27-generic (recovery mode) (on
/dev/sda1)" {
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set e900a01d-
linux /boot/vmlinuz-
root=UUID=
initrd /boot/initrd.
}
menuentry "Ubuntu, with Linux 2.6.35-26-generic (on /dev/sda1)" {
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set e900a01d-
linux /boot/vmlinuz-
root=UUID=
initrd /boot/initrd.
}
menuentry "Ubuntu, with Linux 2.6.35-26-generic (recovery mode) (on
/dev/sda1)" {
insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set e900a01d-
linux /boot/vmlinuz-
root=UUID=
initrd /boot/initrd.
}
### END /etc/grub.
### BEGIN /etc/grub.
# This file provides an easy way to add custom menu entries. Simply
type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.
### BEGIN /etc/grub.
if [ -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.
done
geoff@zeno:~$
Revision history for this message
|
#4 |
Hmm… grub-mkconfig seems to work correctly. How did you solve the first problem ("grub-mkconfig couldn't be executed successfully. You must run this as root!")?
Please create an archive (zip/tar.gz) of your /etc/grub.d directory and attach it here. This may be a problem of your grub configuration.
Revision history for this message
|
#5 |
On 02/18/2011 06:15 PM, Daniel Richter wrote:
> Your question #145919 on Grub Customizer changed:
> https:/
>
> Status: Open => Needs information
>
> Daniel Richter requested for more information:
> Hmm… grub-mkconfig seems to work correctly. How did you solve the first
> problem ("grub-mkconfig couldn't be executed successfully. You must run
> this as root!")?
>
> Please create an archive (zip/tar.gz) of your /etc/grub.d directory and
> attach it here. This may be a problem of your grub configuration.
>
Daniel, Here is the tarred zipped grub.d as you requested. Hope it
sheds light.
Thanks
Geoff
Revision history for this message
|
#6 |
I've sent you an e-mail. Did you get it?
Revision history for this message
|
#7 |
Hi zeon,
I also have the same problem!
Revision history for this message
|
#8 |
I tried again just now and did not have reject msg. Now to see if the
changes are reflected in the monitor.
> Your question #145919 on Grub Customizer changed:
> https:/
>
> telovin posted a new comment:
> Hi zeon,
> I also have the same problem!
>
Can you help with this problem?
Provide an answer of your own, or ask zeno for more information if necessary.