PDA

View Full Version : [SOLVED] Grub Customizer problem



Bumpalot
March 17th, 2012, 02:54 PM
Ran Grub Customizer:
bump@bumpyputer:~$ gksu grub-customizer
*** initializing (w/o specified bootloader type)…
* reading partition info…
* Loading Framebuffer resolutions (background process)
* Finding out if this is a live CD
[running on an installed system]
[checking the burg-mkconfig command… ]
[not found]
[using custom Grub2 configuration]
[checking the command… ]
[not found]
Screen Message:
No Bootloader found
Do you want to select another root partition?
Unfortunately I pressed Yes
I now have a grub-customizer_recovery_root_mountpoint on the desktop?
Can't unmount it, or delete, even in Terminal.
Am hesitant to reboot in case it screws up. Would appreciate any suggestions.

NikTh
March 17th, 2012, 04:40 PM
Hi ,
i don't know about the mount point of grub customizer , but run in terminal this commands and give the results

apt-cache policy grub-pc
sudo update-grub
nano /etc/boot/grub/grub.cfg thanks

Bumpalot
March 17th, 2012, 05:50 PM
bump@bumpyputer:~$ apt-cache policy grub-pc
grub-pc:
Installed: 1.98-1ubuntu13
Candidate: 1.98-1ubuntu13
Version table:
*** 1.98-1ubuntu13 0
500 http://ca.archive.ubuntu.com/ubuntu/ lucid-updates/main Packages
100 /var/lib/dpkg/status
1.98-1ubuntu5 0
500 http://ca.archive.ubuntu.com/ubuntu/ lucid/main Packages
bump@bumpyputer:~$
bump@bumpyputer:~$ sudo update-grub
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-2.6.32-39-generic
Found initrd image: /boot/initrd.img-2.6.32-39-generic
Found linux image: /boot/vmlinuz-2.6.32-38-generic
Found initrd image: /boot/initrd.img-2.6.32-38-generic
Found linux image: /boot/vmlinuz-2.6.32-28-generic
Found initrd image: /boot/initrd.img-2.6.32-28-generic
Found linux image: /boot/vmlinuz-2.6.32-39-generic
Found initrd image: /boot/initrd.img-2.6.32-39-generic
Found linux image: /boot/vmlinuz-2.6.32-38-generic
Found initrd image: /boot/initrd.img-2.6.32-38-generic
Found linux image: /boot/vmlinuz-2.6.32-28-generic
Found initrd image: /boot/initrd.img-2.6.32-28-generic
Found memtest86+ image: /boot/memtest86+.bin
Found Microsoft Windows XP Professional on /dev/sdb1
Found Microsoft Windows XP Professional on /dev/sdb1
done
bump@bumpyputer:~$
GNU nano 2.2.2 File: /etc/boot/grub/grub.cfg
- note, am not sure what should happen here, but there is no such file.
bump@bumpyputer:~$ cat /boot/grub/grub.cfg
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
load_env
fi
set default="0"
if [ ${prev_saved_entry} ]; then
set saved_entry=${prev_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_entry=${chosen}
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
}
insmod ext2
set root='(hd3,1)'
search --no-floppy --fs-uuid --set 364e7c25-ae53-4a14-abfc-2f64396c0299
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=640x480
insmod gfxterm
insmod vbe
if terminal_output gfxterm ; then true ; else
# For backward compatibility with versions of terminal.mod that don't
# understand terminal_output
terminal gfxterm
fi
fi
insmod ext2
set root='(hd3,1)'
search --no-floppy --fs-uuid --set 364e7c25-ae53-4a14-abfc-2f64396c0299
set locale_dir=($root)/boot/grub/locale
set lang=en
insmod gettext
if [ ${recordfail} = 1 ]; then
set timeout=-1
else
set timeout=10
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Ubuntu, with Linux 2.6.32-39-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd3,1)'
search --no-floppy --fs-uuid --set 364e7c25-ae53-4a14-abfc-2f64396c0299
linux /boot/vmlinuz-2.6.32-39-generic root=UUID=364e7c25-ae53-4a14-abfc-2f64396c0299 ro quiet splash
initrd /boot/initrd.img-2.6.32-39-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-39-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd3,1)'
search --no-floppy --fs-uuid --set 364e7c25-ae53-4a14-abfc-2f64396c0299
echo 'Loading Linux 2.6.32-39-generic ...'
linux /boot/vmlinuz-2.6.32-39-generic root=UUID=364e7c25-ae53-4a14-abfc-2f64396c0299 ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.32-39-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-38-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd3,1)'
search --no-floppy --fs-uuid --set 364e7c25-ae53-4a14-abfc-2f64396c0299
linux /boot/vmlinuz-2.6.32-38-generic root=UUID=364e7c25-ae53-4a14-abfc-2f64396c0299 ro quiet splash
initrd /boot/initrd.img-2.6.32-38-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-38-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd3,1)'
search --no-floppy --fs-uuid --set 364e7c25-ae53-4a14-abfc-2f64396c0299
echo 'Loading Linux 2.6.32-38-generic ...'
linux /boot/vmlinuz-2.6.32-38-generic root=UUID=364e7c25-ae53-4a14-abfc-2f64396c0299 ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.32-38-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-28-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd3,1)'
search --no-floppy --fs-uuid --set 364e7c25-ae53-4a14-abfc-2f64396c0299
linux /boot/vmlinuz-2.6.32-28-generic root=UUID=364e7c25-ae53-4a14-abfc-2f64396c0299 ro quiet splash
initrd /boot/initrd.img-2.6.32-28-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-28-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd3,1)'
search --no-floppy --fs-uuid --set 364e7c25-ae53-4a14-abfc-2f64396c0299
echo 'Loading Linux 2.6.32-28-generic ...'
linux /boot/vmlinuz-2.6.32-28-generic root=UUID=364e7c25-ae53-4a14-abfc-2f64396c0299 ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.32-28-generic
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/10_linux.bak ###
menuentry 'Ubuntu, with Linux 2.6.32-39-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd3,1)'
search --no-floppy --fs-uuid --set 364e7c25-ae53-4a14-abfc-2f64396c0299
linux /boot/vmlinuz-2.6.32-39-generic root=UUID=364e7c25-ae53-4a14-abfc-2f64396c0299 ro quiet splash
initrd /boot/initrd.img-2.6.32-39-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-39-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd3,1)'
search --no-floppy --fs-uuid --set 364e7c25-ae53-4a14-abfc-2f64396c0299
echo 'Loading Linux 2.6.32-39-generic ...'
linux /boot/vmlinuz-2.6.32-39-generic root=UUID=364e7c25-ae53-4a14-abfc-2f64396c0299 ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.32-39-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-38-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd3,1)'
search --no-floppy --fs-uuid --set 364e7c25-ae53-4a14-abfc-2f64396c0299
linux /boot/vmlinuz-2.6.32-38-generic root=UUID=364e7c25-ae53-4a14-abfc-2f64396c0299 ro quiet splash
initrd /boot/initrd.img-2.6.32-38-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-38-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd3,1)'
search --no-floppy --fs-uuid --set 364e7c25-ae53-4a14-abfc-2f64396c0299
echo 'Loading Linux 2.6.32-38-generic ...'
linux /boot/vmlinuz-2.6.32-38-generic root=UUID=364e7c25-ae53-4a14-abfc-2f64396c0299 ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.32-38-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-28-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd3,1)'
search --no-floppy --fs-uuid --set 364e7c25-ae53-4a14-abfc-2f64396c0299
linux /boot/vmlinuz-2.6.32-28-generic root=UUID=364e7c25-ae53-4a14-abfc-2f64396c0299 ro quiet splash
initrd /boot/initrd.img-2.6.32-28-generic
}
menuentry 'Ubuntu, with Linux 2.6.32-28-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd3,1)'
search --no-floppy --fs-uuid --set 364e7c25-ae53-4a14-abfc-2f64396c0299
echo 'Loading Linux 2.6.32-28-generic ...'
linux /boot/vmlinuz-2.6.32-28-generic root=UUID=364e7c25-ae53-4a14-abfc-2f64396c0299 ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.32-28-generic
}
### END /etc/grub.d/10_linux.bak ###

### BEGIN /etc/grub.d/30_memtest86+ ###
menuentry "Memory test (memtest86+)" {
insmod ext2
set root='(hd3,1)'
search --no-floppy --fs-uuid --set 364e7c25-ae53-4a14-abfc-2f64396c0299
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod ext2
set root='(hd3,1)'
search --no-floppy --fs-uuid --set 364e7c25-ae53-4a14-abfc-2f64396c0299
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/30_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Microsoft Windows XP Professional (on /dev/sdb1)" {
insmod ntfs
set root='(hd1,1)'
search --no-floppy --fs-uuid --set 0EBC8528BC850B81
drivemap -s (hd0) ${root}
chainloader +1
}
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/30_os-prober.bak ###
menuentry "Microsoft Windows XP Professional (on /dev/sdb1)" {
insmod ntfs
set root='(hd1,1)'
search --no-floppy --fs-uuid --set 0EBC8528BC850B81
drivemap -s (hd0) ${root}
chainloader +1
}
### END /etc/grub.d/30_os-prober.bak ###

### BEGIN /etc/grub.d/40_custom ###
# 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.d/40_custom ###
bump@bumpyputer:~$

NikTh
March 18th, 2012, 01:44 PM
Οκ. So , now you are able to boot correctly. You have to many kernels , but you can fix that later , with a tool like http://ubuntu-tweak.com/ .
About grub customizer , i don't really know what happened. Sorry.
1-2 times i used this tool but nothing similar to your problem happened to me .

Bumpalot
March 18th, 2012, 02:46 PM
Thanks for your help! Will try aptdaemon.gtk3widgets
Will try other forums.

oldfred
March 18th, 2012, 03:21 PM
Not sure about the customizer error. But some info on customizer.

HOWTO: Grub Customizer Updated for grub 1.99
http://www.ubuntugeek.com/grub-customizer-2-2-released-and-installation-instructions-included.html
http://ubuntuforums.org/showthread.php?t=1664134

It looks like you are getting double entries. Did you manually modify the grub scripts in /etc/grub.d ?

You could totally uninstall grub2 and reinstall. If you can boot into your install you do not have to chroot into it, but just run the commands to uninstall and cleanly reinstall.

chroot & grub uninstall & reinstall -drs305
http://ubuntuforums.org/showthread.php?t=1581099