PDA

View Full Version : [SOLVED] After manual Grub-install, Problem with the configuration server



Gr.Turtle
July 26th, 2011, 06:19 PM
Everything went Kaputt on me a couple days ago. I got failed to execute messages for every operation (package manager, banshee, terminal)
then restart=nada.
Got the install disk, did the upgrade installation to not lose my files in the home folder.
Failed to install boot-loader
Installed manually. Unsuccessful with chroot method used last time, used

sudo mount /dev/sda1 /mnt
sudo grub-install --root-directory=/mnt /dev/sda
and upon reboot taken to gray login screen, error message:

There is a problem with the configuration server:
(/usr/lib/libconf2-4/gconf-sanity-check- 2 exited with status 256)

clicking close returns to login screen where I also have this friendly reminder in the top corner

Install problem! the configuration defaults for GNOME power manager have not been installed correctly

Thank you in advance for any help!

Gr.Turtle
July 26th, 2011, 07:57 PM
Can anyone tell what the problem is from the boot info?


Boot Info Script 0.60 from 17 May 2011


============================= Boot Info Summary: ===============================

=> Grub2 (v1.99) is installed in the MBR of /dev/sda and looks at sector 1 of
the same hard drive for core.img. core.img is at this location and looks
for (,msdos1)/boot/grub on this drive.

sda1: __________________________________________________ ________________________

File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 11.04
Boot files: /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img

sda2: __________________________________________________ ________________________

File system: Extended Partition
Boot sector type: -
Boot sector info:

sda5: __________________________________________________ ________________________

File system: swap
Boot sector type: -
Boot sector info:

============================ Drive/Partition Info: =============================

Drive: sda __________________________________________________ ___________________

Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition Boot Start Sector End Sector # of Sectors Id System

/dev/sda1 2,048 621,473,791 621,471,744 83 Linux
/dev/sda2 621,475,838 625,141,759 3,665,922 5 Extended
/dev/sda5 621,475,840 625,141,759 3,665,920 82 Linux swap / Solaris


"blkid" output: __________________________________________________ ______________

Device UUID TYPE LABEL

/dev/loop0 squashfs
/dev/sda1 6a952398-3a03-4a40-90c3-3aab6ea4424d ext4
/dev/sda5 5596a189-27cb-45da-99cf-31db3202d945 swap

================================ Mount points: =================================

Device Mount_Point Type Options

/dev/loop0 /rofs squashfs (ro,noatime)
/dev/sr0 /cdrom iso9660 (ro,noatime)


=========================== sda1/boot/grub/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.d/00_header ###
if [ -s $prefix/grubenv ]; then
set have_grubenv=true
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
}

function load_video {
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
}

insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos1)'
search --no-floppy --fs-uuid --set=root 6a952398-3a03-4a40-90c3-3aab6ea4424d
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=auto
load_video
insmod gfxterm
fi
terminal_output gfxterm
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos1)'
search --no-floppy --fs-uuid --set=root 6a952398-3a03-4a40-90c3-3aab6ea4424d
set locale_dir=($root)/boot/grub/locale
set lang=en_US
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
if background_color 44,0,30; then
clear
fi
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
if [ ${recordfail} != 1 ]; then
if [ -e ${prefix}/gfxblacklist.txt ]; then
if hwmatch ${prefix}/gfxblacklist.txt 3; then
if [ ${match} = 0 ]; then
set linux_gfx_mode=keep
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=keep
fi
else
set linux_gfx_mode=text
fi
export linux_gfx_mode
if [ "$linux_gfx_mode" != "text" ]; then load_video; fi
menuentry 'Ubuntu, with Linux 2.6.38-10-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
set gfxpayload=$linux_gfx_mode
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos1)'
search --no-floppy --fs-uuid --set=root 6a952398-3a03-4a40-90c3-3aab6ea4424d
linux /boot/vmlinuz-2.6.38-10-generic root=UUID=6a952398-3a03-4a40-90c3-3aab6ea4424d ro quiet splash vt.handoff=7
initrd /boot/initrd.img-2.6.38-10-generic
}
menuentry 'Ubuntu, with Linux 2.6.38-10-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
set gfxpayload=$linux_gfx_mode
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos1)'
search --no-floppy --fs-uuid --set=root 6a952398-3a03-4a40-90c3-3aab6ea4424d
echo 'Loading Linux 2.6.38-10-generic ...'
linux /boot/vmlinuz-2.6.38-10-generic root=UUID=6a952398-3a03-4a40-90c3-3aab6ea4424d ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.38-10-generic
}
submenu "Previous Linux versions" {
menuentry 'Ubuntu, with Linux 2.6.38-8-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
set gfxpayload=$linux_gfx_mode
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos1)'
search --no-floppy --fs-uuid --set=root 6a952398-3a03-4a40-90c3-3aab6ea4424d
linux /boot/vmlinuz-2.6.38-8-generic root=UUID=6a952398-3a03-4a40-90c3-3aab6ea4424d ro quiet splash vt.handoff=7
initrd /boot/initrd.img-2.6.38-8-generic
}
menuentry 'Ubuntu, with Linux 2.6.38-8-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
set gfxpayload=$linux_gfx_mode
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos1)'
search --no-floppy --fs-uuid --set=root 6a952398-3a03-4a40-90c3-3aab6ea4424d
echo 'Loading Linux 2.6.38-8-generic ...'
linux /boot/vmlinuz-2.6.38-8-generic root=UUID=6a952398-3a03-4a40-90c3-3aab6ea4424d ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.38-8-generic
}
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos1)'
search --no-floppy --fs-uuid --set=root 6a952398-3a03-4a40-90c3-3aab6ea4424d
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos1)'
search --no-floppy --fs-uuid --set=root 6a952398-3a03-4a40-90c3-3aab6ea4424d
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
if [ "x${timeout}" != "x-1" ]; then
if keystatus; then
if keystatus --shift; then
set timeout=-1
else
set timeout=0
fi
else
if sleep --interruptible 3 ; then
set timeout=0
fi
fi
fi
### END /etc/grub.d/30_os-prober ###

### 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 ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
--------------------------------------------------------------------------------

=============================== sda1/etc/fstab: ================================

--------------------------------------------------------------------------------
# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
# / was on /dev/sda1 during installation
UUID=6a952398-3a03-4a40-90c3-3aab6ea4424d / ext4 errors=remount-ro 0 1
# swap was on /dev/sda5 during installation
UUID=5596a189-27cb-45da-99cf-31db3202d945 none swap sw 0 0
--------------------------------------------------------------------------------

=================== sda1: Location of files loaded by Grub: ====================

GiB - GB File Fragment(s)

166.140415192 = 178.391912448 boot/grub/core.img 1
272.304077148 = 292.384276480 boot/grub/grub.cfg 1
84.204101562 = 90.413465600 boot/initrd.img-2.6.38-10-generic 4
2.262607574 = 2.429456384 boot/initrd.img-2.6.38-8-generic 2
1.884098053 = 2.023034880 boot/vmlinuz-2.6.38-10-generic 1
168.036563873 = 180.427886592 boot/vmlinuz-2.6.38-8-generic 1
84.204101562 = 90.413465600 initrd.img 4
2.262607574 = 2.429456384 initrd.img.old 2
1.884098053 = 2.023034880 vmlinuz 1
168.036563873 = 180.427886592 vmlinuz.old 1

========= Devices which don't seem to have a corresponding hard drive: =========

sdb sdc sdd sde

=============================== StdErr Messages: ===============================

unlzma: Decoder error

Gr.Turtle
July 26th, 2011, 08:11 PM
I am doing a fresh install now, will try and recover what I can later. If this even works.

Blasphemist
July 26th, 2011, 08:12 PM
Can anyone tell what the problem is from the boot info?


Boot Info Script 0.60 from 17 May 2011


============================= Boot Info Summary: ===============================

=> Grub2 (v1.99) is installed in the MBR of /dev/sda and looks at sector 1 of
the same hard drive for core.img. core.img is at this location and looks
for (,msdos1)/boot/grub on this drive.

sda1: __________________________________________________ ________________________

File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Ubuntu 11.04
Boot files: /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img

sda2: __________________________________________________ ________________________

File system: Extended Partition
Boot sector type: -
Boot sector info:

sda5: __________________________________________________ ________________________

File system: swap
Boot sector type: -
Boot sector info:

============================ Drive/Partition Info: =============================

Drive: sda __________________________________________________ ___________________

Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition Boot Start Sector End Sector # of Sectors Id System

/dev/sda1 2,048 621,473,791 621,471,744 83 Linux
/dev/sda2 621,475,838 625,141,759 3,665,922 5 Extended
/dev/sda5 621,475,840 625,141,759 3,665,920 82 Linux swap / Solaris


"blkid" output: __________________________________________________ ______________

Device UUID TYPE LABEL

/dev/loop0 squashfs
/dev/sda1 6a952398-3a03-4a40-90c3-3aab6ea4424d ext4
/dev/sda5 5596a189-27cb-45da-99cf-31db3202d945 swap

================================ Mount points: =================================

Device Mount_Point Type Options

/dev/loop0 /rofs squashfs (ro,noatime)
/dev/sr0 /cdrom iso9660 (ro,noatime)


=========================== sda1/boot/grub/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.d/00_header ###
if [ -s $prefix/grubenv ]; then
set have_grubenv=true
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
}

function load_video {
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
}

insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos1)'
search --no-floppy --fs-uuid --set=root 6a952398-3a03-4a40-90c3-3aab6ea4424d
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=auto
load_video
insmod gfxterm
fi
terminal_output gfxterm
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos1)'
search --no-floppy --fs-uuid --set=root 6a952398-3a03-4a40-90c3-3aab6ea4424d
set locale_dir=($root)/boot/grub/locale
set lang=en_US
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
if background_color 44,0,30; then
clear
fi
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
if [ ${recordfail} != 1 ]; then
if [ -e ${prefix}/gfxblacklist.txt ]; then
if hwmatch ${prefix}/gfxblacklist.txt 3; then
if [ ${match} = 0 ]; then
set linux_gfx_mode=keep
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=text
fi
else
set linux_gfx_mode=keep
fi
else
set linux_gfx_mode=text
fi
export linux_gfx_mode
if [ "$linux_gfx_mode" != "text" ]; then load_video; fi
menuentry 'Ubuntu, with Linux 2.6.38-10-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
set gfxpayload=$linux_gfx_mode
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos1)'
search --no-floppy --fs-uuid --set=root 6a952398-3a03-4a40-90c3-3aab6ea4424d
linux /boot/vmlinuz-2.6.38-10-generic root=UUID=6a952398-3a03-4a40-90c3-3aab6ea4424d ro quiet splash vt.handoff=7
initrd /boot/initrd.img-2.6.38-10-generic
}
menuentry 'Ubuntu, with Linux 2.6.38-10-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
set gfxpayload=$linux_gfx_mode
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos1)'
search --no-floppy --fs-uuid --set=root 6a952398-3a03-4a40-90c3-3aab6ea4424d
echo 'Loading Linux 2.6.38-10-generic ...'
linux /boot/vmlinuz-2.6.38-10-generic root=UUID=6a952398-3a03-4a40-90c3-3aab6ea4424d ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.38-10-generic
}
submenu "Previous Linux versions" {
menuentry 'Ubuntu, with Linux 2.6.38-8-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
set gfxpayload=$linux_gfx_mode
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos1)'
search --no-floppy --fs-uuid --set=root 6a952398-3a03-4a40-90c3-3aab6ea4424d
linux /boot/vmlinuz-2.6.38-8-generic root=UUID=6a952398-3a03-4a40-90c3-3aab6ea4424d ro quiet splash vt.handoff=7
initrd /boot/initrd.img-2.6.38-8-generic
}
menuentry 'Ubuntu, with Linux 2.6.38-8-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
set gfxpayload=$linux_gfx_mode
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos1)'
search --no-floppy --fs-uuid --set=root 6a952398-3a03-4a40-90c3-3aab6ea4424d
echo 'Loading Linux 2.6.38-8-generic ...'
linux /boot/vmlinuz-2.6.38-8-generic root=UUID=6a952398-3a03-4a40-90c3-3aab6ea4424d ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.38-8-generic
}
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos1)'
search --no-floppy --fs-uuid --set=root 6a952398-3a03-4a40-90c3-3aab6ea4424d
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos1)'
search --no-floppy --fs-uuid --set=root 6a952398-3a03-4a40-90c3-3aab6ea4424d
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
if [ "x${timeout}" != "x-1" ]; then
if keystatus; then
if keystatus --shift; then
set timeout=-1
else
set timeout=0
fi
else
if sleep --interruptible 3 ; then
set timeout=0
fi
fi
fi
### END /etc/grub.d/30_os-prober ###

### 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 ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
--------------------------------------------------------------------------------

=============================== sda1/etc/fstab: ================================

--------------------------------------------------------------------------------
# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc nodev,noexec,nosuid 0 0
# / was on /dev/sda1 during installation
UUID=6a952398-3a03-4a40-90c3-3aab6ea4424d / ext4 errors=remount-ro 0 1
# swap was on /dev/sda5 during installation
UUID=5596a189-27cb-45da-99cf-31db3202d945 none swap sw 0 0
--------------------------------------------------------------------------------

=================== sda1: Location of files loaded by Grub: ====================

GiB - GB File Fragment(s)

166.140415192 = 178.391912448 boot/grub/core.img 1
272.304077148 = 292.384276480 boot/grub/grub.cfg 1
84.204101562 = 90.413465600 boot/initrd.img-2.6.38-10-generic 4
2.262607574 = 2.429456384 boot/initrd.img-2.6.38-8-generic 2
1.884098053 = 2.023034880 boot/vmlinuz-2.6.38-10-generic 1
168.036563873 = 180.427886592 boot/vmlinuz-2.6.38-8-generic 1
84.204101562 = 90.413465600 initrd.img 4
2.262607574 = 2.429456384 initrd.img.old 2
1.884098053 = 2.023034880 vmlinuz 1
168.036563873 = 180.427886592 vmlinuz.old 1

========= Devices which don't seem to have a corresponding hard drive: =========

sdb sdc sdd sde

=============================== StdErr Messages: ===============================

unlzma: Decoder error
Good news, I don't think you have a grub issue. It looks like to me that you have a video issue with this version of Ubuntu. From the time you turn on the machine, what happens? Do you get the grub menu? Can you cause the grub menu to come up. Please look at the first 3 posts of this post for accessing boot options related to video. http://ubuntuforums.org/showthread.php?t=1743535

I can't tell from your description just what happened to cause this situation. More information on that may help.

Gr.Turtle
July 26th, 2011, 08:33 PM
The installer crashed, probably the disk drive got too hot, so I will need to try the install again. during this time I will give you a little more detail on what happened.
I used testdisk to recover files that had been deleted. While I was listening to music I got a message that I was low on drive space, but I knew there was no way. In my home folder I saw a file (file name 0000x000000.iso I think) that was about 200 GB in size. I assumed this was the image of my old hard drive and impulsively deleted it. After this action no operations would open, I'm sorry I cannot remember the exact error message, and restarting the computer wouldn't even output a signal to the monitor. I tried with the install disk to "upgrade fro 11.04 to 11.04", hoping that would fix the filesystem, I know, would be too easy of a fix. Then exactly like last time I tried to do a fresh install and when the boot loader failed I tried what worked before and it didn't(http://ubuntuforums.org/showthread.php?t=1792747).
I tried this method

sudo mount /dev/sda1 /mnt
sudo grub-install --root-directory=/mnt /dev/sda
, and it booted into the error messages that I described above.

Blasphemist
July 26th, 2011, 08:59 PM
When you ran the code, did it find the os and finish without error? I'd still recommend the thread I posted earlier. Look at post 3 and see if you can get into the grub menu and do any of what the post describes.

Gr.Turtle
July 26th, 2011, 09:01 PM
okay, the erase and reinstall worked, not the most prudent method but I will mark this as solved.

Gr.Turtle
July 26th, 2011, 09:08 PM
When you ran the code, did it find the os and finish without error? I'd still recommend the thread I posted earlier. Look at post 3 and see if you can get into the grub menu and do any of what the post describes.
It did finish without error, but I had already erased the old partition of ubuntu before you replied, so I didn't get a chance to check what you were saying. I probably should have been less impatient, I will address that in group today hahaha.