PDA

View Full Version : [SOLVED] Pysdm causing boot issues



lostwilight
December 17th, 2009, 06:05 AM
Hi, I am a fairly new user of Ubuntu, or any Linux OS for that matter.

Recently installed Pysdm in hopes of automounting my other partition.

However, after a reboot, I am unable to boot properly into Ubuntu.

Errors given would be similar to those posted on
http://ubuntuforums.org/showpost.php?p=8376434&postcount=4

The same errors would occur even if I started recovery mode.

I would like to know if there is any way of stopping pysdm from starting up or if there is any way of solving this issue.


Update: Uninstalling pysdm through apt-get remove pysdm did not help. The same error still occurred upon startup.

presence1960
December 17th, 2009, 03:40 PM
well if you uninstalled pysdm then pysdm may not be your problem.
Let's get a better look at your setup & boot process. Boot the Ubuntu Live CD/USB. Choose "try ubuntu without any changes", when the desktop loads come back here and use the link in my signature to download the Boot Info Script to the desktop. Once on desktop open a terminal (Applications > Accessories > Terminal) and run this command
sudo bash ~/Desktop/boot_info_script*.sh This will create a RESULTS.txt file on the desktop. Paste the entire contents of that file back here. Once pasted highlight all text and click the # sign on the toolbar to place code tags around the text.

lostwilight
December 17th, 2009, 06:22 PM
Thanks for the reply.
Here is the requested output.


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

=> Grub 1.97 is installed in the MBR of /dev/sda and looks on the same drive
in partition #6 for /boot/grub.

sda1: __________________________________________________ _______________________

File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files/dirs:

sda2: __________________________________________________ _______________________

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

sda5: __________________________________________________ _______________________

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

sda6: __________________________________________________ _______________________

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

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

Drive: sda ___________________ __________________________________________________ ___

Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders, total 156301488 sectors
Units = sectors of 1 * 512 = 512 bytes
Disk identifier: 0xed8aed8a

Partition Boot Start End Size Id System

/dev/sda1 63 20,482,874 20,482,812 83 Linux
/dev/sda2 20,482,875 156,296,384 135,813,510 5 Extended
/dev/sda5 150,336,333 156,296,384 5,960,052 82 Linux swap / Solaris
/dev/sda6 20,483,001 150,336,269 129,853,269 83 Linux


blkid -c /dev/null: __________________________________________________ __________

/dev/loop0: TYPE="squashfs"
/dev/sda1: UUID="77b09cb7-56e3-4130-8b3b-17bb7eb95925" TYPE="ext4"
/dev/sda5: UUID="5a4ca0ba-695a-41f7-abce-0c03aa2d657c" TYPE="swap"
/dev/sda6: UUID="ed903ce4-4ad6-4287-a45d-8bbdb826f699" TYPE="ext4"

=============================== "mount" output: ===============================

aufs on / type aufs (rw)
none on /proc type proc (rw,noexec,nosuid,nodev)
none on /sys type sysfs (rw,noexec,nosuid,nodev)
udev on /dev type tmpfs (rw,mode=0755)
/dev/sr0 on /cdrom type iso9660 (rw)
/dev/loop0 on /rofs type squashfs (rw)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
none on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
none on /dev/shm type tmpfs (rw,nosuid,nodev)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev)
none on /var/run type tmpfs (rw,nosuid,mode=0755)
none on /var/lock type tmpfs (rw,noexec,nosuid,nodev)
none on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
gvfs-fuse-daemon on /home/ubuntu/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=ubuntu)


=========================== sda6/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 /boot/grub/grubenv ]; then
have_grubenv=true
load_env
fi
set default="0"
if [ ${prev_saved_entry} ]; then
saved_entry=${prev_saved_entry}
save_env saved_entry
prev_saved_entry=
save_env prev_saved_entry
fi
insmod ext2
set root=(hd0,6)
search --no-floppy --fs-uuid --set ed903ce4-4ad6-4287-a45d-8bbdb826f699
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
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/white
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
menuentry "Ubuntu, Linux 2.6.31-16-generic" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
set quiet=1
insmod ext2
set root=(hd0,6)
search --no-floppy --fs-uuid --set ed903ce4-4ad6-4287-a45d-8bbdb826f699
linux /boot/vmlinuz-2.6.31-16-generic root=UUID=ed903ce4-4ad6-4287-a45d-8bbdb826f699 ro quiet splash
initrd /boot/initrd.img-2.6.31-16-generic
}
menuentry "Ubuntu, Linux 2.6.31-16-generic (recovery mode)" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
insmod ext2
set root=(hd0,6)
search --no-floppy --fs-uuid --set ed903ce4-4ad6-4287-a45d-8bbdb826f699
linux /boot/vmlinuz-2.6.31-16-generic root=UUID=ed903ce4-4ad6-4287-a45d-8bbdb826f699 ro single
initrd /boot/initrd.img-2.6.31-16-generic
}
menuentry "Ubuntu, Linux 2.6.31-14-generic" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
set quiet=1
insmod ext2
set root=(hd0,6)
search --no-floppy --fs-uuid --set ed903ce4-4ad6-4287-a45d-8bbdb826f699
linux /boot/vmlinuz-2.6.31-14-generic root=UUID=ed903ce4-4ad6-4287-a45d-8bbdb826f699 ro quiet splash
initrd /boot/initrd.img-2.6.31-14-generic
}
menuentry "Ubuntu, Linux 2.6.31-14-generic (recovery mode)" {
recordfail=1
if [ -n ${have_grubenv} ]; then save_env recordfail; fi
insmod ext2
set root=(hd0,6)
search --no-floppy --fs-uuid --set ed903ce4-4ad6-4287-a45d-8bbdb826f699
linux /boot/vmlinuz-2.6.31-14-generic root=UUID=ed903ce4-4ad6-4287-a45d-8bbdb826f699 ro single
initrd /boot/initrd.img-2.6.31-14-generic
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
### 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 ###

=============================== sda6/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 defaults 0 0
# / was on /dev/sda6 during installation
UUID=ed903ce4-4ad6-4287-a45d-8bbdb826f699 / ext4 users,owner 0 1
# swap was on /dev/sda5 during installation
UUID=5a4ca0ba-695a-41f7-abce-0c03aa2d657c none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0

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


10.4GB: boot/grub/grub.cfg
10.4GB: boot/initrd.img-2.6.31-14-generic
10.4GB: boot/initrd.img-2.6.31-16-generic
10.4GB: boot/vmlinuz-2.6.31-14-generic
10.4GB: boot/vmlinuz-2.6.31-16-generic
10.4GB: initrd.img
10.4GB: initrd.img.old
10.4GB: vmlinuz
10.4GB: vmlinuz.old
=========================== Unknown MBRs/Boot Sectors/etc =======================

Unknown BootLoader on sda2

00000000 0b 00 04 04 d0 e6 04 01 0a 00 04 04 ac e7 04 01 |................|
00000010 0a 00 04 04 88 e8 04 01 08 00 04 04 38 e9 04 01 |............8...|
00000020 05 00 04 04 00 00 00 ff 00 00 00 2a 80 7e 05 0a |...........*.~..|
00000030 a8 7b 05 0a 40 88 05 0a e8 7e 05 0a 58 81 05 0a |.{..@....~..X...|
00000040 dc 7b 05 0a 74 88 05 0a f0 80 05 0a a8 e9 04 01 |.{..t...........|
00000050 06 00 04 04 2c ea 04 01 09 00 04 04 f4 ea 04 01 |....,...........|
00000060 09 00 04 04 bc eb 04 01 09 00 04 04 84 ec 04 01 |................|
00000070 08 00 04 04 34 ed 04 01 07 00 04 04 d0 ed 04 01 |....4...........|
00000080 08 00 04 04 80 ee 04 01 08 00 04 04 30 ef 04 01 |............0...|
00000090 06 00 04 04 b4 ef 04 01 05 00 04 04 24 f0 04 01 |............$...|
000000a0 06 00 04 04 a8 f0 04 01 05 00 04 04 18 f1 04 01 |................|
000000b0 04 00 04 04 70 f1 04 01 04 00 04 04 c8 f1 04 01 |....p...........|
000000c0 04 00 04 04 20 f2 04 01 04 00 04 04 78 f2 04 01 |.... .......x...|
000000d0 04 00 04 04 d0 f2 04 01 04 00 04 04 28 f3 04 01 |............(...|
000000e0 04 00 04 04 00 00 00 1d 05 06 00 b8 00 00 00 00 |................|
000000f0 00 00 00 00 00 00 00 00 00 00 00 00 20 00 00 c4 |............ ...|
00000100 00 00 00 cb 00 00 00 ff 00 00 00 2a 40 7b 05 0a |...........*@{..|
00000110 04 86 05 0a d4 86 05 0a 48 7d 05 0a 18 8b 05 0a |........H}......|
00000120 e4 8a 05 0a 4c 8b 05 0a 22 83 01 12 80 f3 04 01 |....L...".......|
00000130 0c 00 04 04 00 00 00 ff 00 00 00 2a 48 7d 05 0a |...........*H}..|
00000140 e4 8a 05 0a 18 8b 05 0a 4c 8b 05 0a e4 7d 05 0a |........L....}..|
00000150 e8 8b 05 0a 22 43 01 12 88 f4 04 01 04 00 04 04 |...."C..........|
00000160 00 00 00 ff 00 00 00 2a e4 7d 05 0a e8 8b 05 0a |.......*.}......|
00000170 40 7b 05 0a 6c 86 05 0a 08 87 05 0a 68 85 05 0a |@{..l.......h...|
00000180 38 86 05 0a 22 83 01 12 d8 f4 04 01 06 00 04 04 |8..."...........|
00000190 00 00 00 ff 00 00 00 2a 40 7b 05 0a 68 85 05 0a |.......*@{..h...|
000001a0 38 86 05 0a 44 7c 05 0a 78 89 05 0a 44 89 05 0a |8...D|..x...D...|
000001b0 ac 89 05 0a 5c f5 04 01 09 00 04 04 00 00 00 fe |....\...........|
000001c0 ff ff 82 fe ff ff 12 68 bd 07 74 f1 5a 00 00 fe |.......h..t.Z...|
000001d0 ff ff 05 fe ff ff 01 00 00 00 d2 67 bd 07 00 00 |...........g....|
000001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
00000200

amsum
December 17th, 2009, 08:27 PM
I had faced similar problem one year back when after installing pysdm I mistakenly blocked the Home partition and it failed to boot everytime. Even several reinstalling Ubuntu from the scratch didn't help and it was failing to boot everytime.
Finally I had to change the permission for my Home Partition to get it work. Though I don't remember the command but hope somebody comes up with this solution.

This was my case and yours could be different. So, all the best.

presence1960
December 17th, 2009, 10:43 PM
# /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 defaults 0 0
# / was on /dev/sdb6 during installation
UUID=e0b415e6-168b-49e7-b62b-0fc42c83a6d7 / ext4 errors=remount-ro 0 1
# swap was on /dev/sdb5 during installation
UUID=63538de2-1cc9-4451-ab42-5f8712695c89 none swap sw 0 0

Above is my fstab file.

Below is yours:


# /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 defaults 0 0
# / was on /dev/sda6 during installation
UUID=ed903ce4-4ad6-4287-a45d-8bbdb826f699 / ext4 users,owner 0 1
# swap was on /dev/sda5 during installation
UUID=5a4ca0ba-695a-41f7-abce-0c03aa2d657c none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0


Note the red in yours. mine says errors=remount-ro 0 1

I would boot the Live CD and mount your Ubuntu (not the Live Cd's) root filesystem. You can mount it by going Places > Computer and highlighting that partition/device on the left pane of the file browser. Once you see the directories on right of file browser it is mounted. Now open a terminal and run
gksu nautilus

Navigate to the Ubuntu root partition in this new root browser. Navigate to /etc/fstab. Open fstab and make the changesabove to yours. Click Save on the toolbar and close file. Reboot without Live CD and see if Ubuntu boots now.

lostwilight
December 18th, 2009, 01:29 AM
Thanks for the help.

After following your instructions,
I am now able to successfully log into my own account.

You're a life saver. :P

presence1960
December 18th, 2009, 05:31 AM
You are welcome, but without the results of the boot info script I or anyone else would probably have never saw the problem. I would run the script again now that your machine is booting and study the contents of that RESULTS.txt file. You will learn as lot about your current setup and boot process. It is an indispensible tool for boot/partition problems. Once you understand your machine's setup and boot process as reported in the RESULTS.txt file you will have insight to help others with their problems.