Results 1 to 3 of 3

Thread: can not boot after power inturruption durring update

  1. #1
    Join Date
    Jun 2006
    Beans
    2
    Distro
    Ubuntu 10.04 Lucid Lynx

    can not boot after power inturruption durring update

    My mom's ubuntu 10.04 laptop ran out of battery during a software update and now it will not boot.

    When attempting to boot normally, it comes up to the login screen but the keyboard and mouse do not respond at that point. Ctrl + Alt + F2 doesn't work.

    Choosing recovery mode also does not complete. The last line showing is "Begin: Running /scripts/init-bottom ... Done." Ctrl + Alt + F2 also doesn't work at that point, although Ctrl + Alt + F7 changes to another screen of text with the last line showing "init: udevmonitor main process killed by TERM signal".

    I've tried booting from a 10.04 live CD and ran fsck which did not find any problems on the linux partition. I can also mount the partition and view files.

    Is there any way to repair this install?

    Thanks for any advice.

  2. #2
    Join Date
    Jun 2006
    Beans
    2
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: can not boot after power inturruption durring update

    I ran boot_info_script and this is the result:
    Code:
                    Boot Info Script 0.55    dated February 15th, 2010                    
    
    ============================= Boot Info Summary: ==============================
    
     => Grub 2 is installed in the MBR of /dev/sda and looks on the same drive in 
        partition #3 for /boot/grub.
    
    sda1: _________________________________________________________________________
    
        File system:       ntfs
        Boot sector type:  Windows XP
        Boot sector info:  No errors found in the Boot Parameter Block.
        Operating System:  Windows XP
        Boot files/dirs:   /boot.ini /ntldr /NTDETECT.COM
    
    sda2: _________________________________________________________________________
    
        File system:       vfat
        Boot sector type:  Windows XP: Fat32
        Boot sector info:  No errors found in the Boot Parameter Block.
        Operating System:  
        Boot files/dirs:   
    
    sda3: _________________________________________________________________________
    
        File system:       ext3
        Boot sector type:  -
        Boot sector info:  
        Operating System:  Ubuntu 10.04.1 LTS
        Boot files/dirs:   /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img
    
    sda4: _________________________________________________________________________
    
        File system:       swap
        Boot sector type:  -
        Boot sector info:  
    
    =========================== Drive/Partition Info: =============================
    
    Drive: sda ___________________ _____________________________________________________
    
    Disk /dev/sda: 40.0 GB, 40007761920 bytes
    255 heads, 63 sectors/track, 4864 cylinders, total 78140160 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Sector size (logical/physical): 512 bytes / 512 bytes
    
    Partition  Boot         Start           End          Size  Id System
    
    /dev/sda1    *             63    56,473,199    56,473,137   7 HPFS/NTFS
    /dev/sda2          56,473,200    58,572,863     2,099,664   c W95 FAT32 (LBA)
    /dev/sda3          58,572,990    77,320,844    18,747,855  83 Linux
    /dev/sda4          77,320,845    78,140,159       819,315  82 Linux swap / Solaris
    
    
    blkid -c /dev/null: ____________________________________________________________
    
    Device           UUID                                   TYPE       LABEL                         
    
    /dev/loop0                                              squashfs                                 
    /dev/ramzswap0                                          swap                                     
    /dev/sda1        9460289360287E5C                       ntfs                                     
    /dev/sda2        C46B-2535                              vfat       OSSHARE                       
    /dev/sda3        bb917d7c-7534-46c9-ab73-cf7f61917943   ext3                                     
    /dev/sda4                                               swap                                     
    /dev/sda: PTTYPE="dos" 
    
    ============================ "mount | grep ^/dev  output: ===========================
    
    Device           Mount_Point              Type       Options
    
    aufs             /                        aufs       (rw)
    /dev/sr0         /cdrom                   iso9660    (ro,noatime)
    /dev/loop0       /rofs                    squashfs   (ro,noatime)
    
    
    ================================ sda1/boot.ini: ================================
    
    [boot loader]
    
    timeout=30
    
    default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
    
    [operating systems]
    
    multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows 2000 Professional" /fastdetect
    
    
    =========================== sda3/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='(hd0,3)'
    search --no-floppy --fs-uuid --set bb917d7c-7534-46c9-ab73-cf7f61917943
    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='(hd0,3)'
    search --no-floppy --fs-uuid --set bb917d7c-7534-46c9-ab73-cf7f61917943
    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-24-generic' --class ubuntu --class gnu-linux --class gnu --class os {
    	recordfail
    	insmod ext2
    	set root='(hd0,3)'
    	search --no-floppy --fs-uuid --set bb917d7c-7534-46c9-ab73-cf7f61917943
    	linux	/boot/vmlinuz-2.6.32-24-generic root=UUID=bb917d7c-7534-46c9-ab73-cf7f61917943 ro   quiet splash
    	initrd	/boot/initrd.img-2.6.32-24-generic
    }
    menuentry 'Ubuntu, with Linux 2.6.32-24-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
    	recordfail
    	insmod ext2
    	set root='(hd0,3)'
    	search --no-floppy --fs-uuid --set bb917d7c-7534-46c9-ab73-cf7f61917943
    	echo	'Loading Linux 2.6.32-24-generic ...'
    	linux	/boot/vmlinuz-2.6.32-24-generic root=UUID=bb917d7c-7534-46c9-ab73-cf7f61917943 ro single 
    	echo	'Loading initial ramdisk ...'
    	initrd	/boot/initrd.img-2.6.32-24-generic
    }
    menuentry 'Ubuntu, with Linux 2.6.32-23-generic' --class ubuntu --class gnu-linux --class gnu --class os {
    	recordfail
    	insmod ext2
    	set root='(hd0,3)'
    	search --no-floppy --fs-uuid --set bb917d7c-7534-46c9-ab73-cf7f61917943
    	linux	/boot/vmlinuz-2.6.32-23-generic root=UUID=bb917d7c-7534-46c9-ab73-cf7f61917943 ro   quiet splash
    	initrd	/boot/initrd.img-2.6.32-23-generic
    }
    menuentry 'Ubuntu, with Linux 2.6.32-23-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
    	recordfail
    	insmod ext2
    	set root='(hd0,3)'
    	search --no-floppy --fs-uuid --set bb917d7c-7534-46c9-ab73-cf7f61917943
    	echo	'Loading Linux 2.6.32-23-generic ...'
    	linux	/boot/vmlinuz-2.6.32-23-generic root=UUID=bb917d7c-7534-46c9-ab73-cf7f61917943 ro single 
    	echo	'Loading initial ramdisk ...'
    	initrd	/boot/initrd.img-2.6.32-23-generic
    }
    menuentry 'Ubuntu, with Linux 2.6.32-22-generic' --class ubuntu --class gnu-linux --class gnu --class os {
    	recordfail
    	insmod ext2
    	set root='(hd0,3)'
    	search --no-floppy --fs-uuid --set bb917d7c-7534-46c9-ab73-cf7f61917943
    	linux	/boot/vmlinuz-2.6.32-22-generic root=UUID=bb917d7c-7534-46c9-ab73-cf7f61917943 ro   quiet splash
    	initrd	/boot/initrd.img-2.6.32-22-generic
    }
    menuentry 'Ubuntu, with Linux 2.6.32-22-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
    	recordfail
    	insmod ext2
    	set root='(hd0,3)'
    	search --no-floppy --fs-uuid --set bb917d7c-7534-46c9-ab73-cf7f61917943
    	echo	'Loading Linux 2.6.32-22-generic ...'
    	linux	/boot/vmlinuz-2.6.32-22-generic root=UUID=bb917d7c-7534-46c9-ab73-cf7f61917943 ro single 
    	echo	'Loading initial ramdisk ...'
    	initrd	/boot/initrd.img-2.6.32-22-generic
    }
    menuentry 'Ubuntu, with Linux 2.6.32-21-generic' --class ubuntu --class gnu-linux --class gnu --class os {
    	recordfail
    	insmod ext2
    	set root='(hd0,3)'
    	search --no-floppy --fs-uuid --set bb917d7c-7534-46c9-ab73-cf7f61917943
    	linux	/boot/vmlinuz-2.6.32-21-generic root=UUID=bb917d7c-7534-46c9-ab73-cf7f61917943 ro   quiet splash
    	initrd	/boot/initrd.img-2.6.32-21-generic
    }
    menuentry 'Ubuntu, with Linux 2.6.32-21-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
    	recordfail
    	insmod ext2
    	set root='(hd0,3)'
    	search --no-floppy --fs-uuid --set bb917d7c-7534-46c9-ab73-cf7f61917943
    	echo	'Loading Linux 2.6.32-21-generic ...'
    	linux	/boot/vmlinuz-2.6.32-21-generic root=UUID=bb917d7c-7534-46c9-ab73-cf7f61917943 ro single 
    	echo	'Loading initial ramdisk ...'
    	initrd	/boot/initrd.img-2.6.32-21-generic
    }
    menuentry 'Ubuntu, with Linux 2.6.31-20-generic' --class ubuntu --class gnu-linux --class gnu --class os {
    	recordfail
    	insmod ext2
    	set root='(hd0,3)'
    	search --no-floppy --fs-uuid --set bb917d7c-7534-46c9-ab73-cf7f61917943
    	linux	/boot/vmlinuz-2.6.31-20-generic root=UUID=bb917d7c-7534-46c9-ab73-cf7f61917943 ro   quiet splash
    	initrd	/boot/initrd.img-2.6.31-20-generic
    }
    menuentry 'Ubuntu, with Linux 2.6.31-20-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os {
    	recordfail
    	insmod ext2
    	set root='(hd0,3)'
    	search --no-floppy --fs-uuid --set bb917d7c-7534-46c9-ab73-cf7f61917943
    	echo	'Loading Linux 2.6.31-20-generic ...'
    	linux	/boot/vmlinuz-2.6.31-20-generic root=UUID=bb917d7c-7534-46c9-ab73-cf7f61917943 ro single 
    	echo	'Loading initial ramdisk ...'
    	initrd	/boot/initrd.img-2.6.31-20-generic
    }
    ### END /etc/grub.d/10_linux ###
    
    ### BEGIN /etc/grub.d/20_memtest86+ ###
    menuentry "Memory test (memtest86+)" {
    	insmod ext2
    	set root='(hd0,3)'
    	search --no-floppy --fs-uuid --set bb917d7c-7534-46c9-ab73-cf7f61917943
    	linux16	/boot/memtest86+.bin
    }
    menuentry "Memory test (memtest86+, serial console 115200)" {
    	insmod ext2
    	set root='(hd0,3)'
    	search --no-floppy --fs-uuid --set bb917d7c-7534-46c9-ab73-cf7f61917943
    	linux16	/boot/memtest86+.bin console=ttyS0,115200n8
    }
    ### END /etc/grub.d/20_memtest86+ ###
    
    ### BEGIN /etc/grub.d/30_os-prober ###
    menuentry "Microsoft Windows 2000 Professional (on /dev/sda1)" {
    	insmod ntfs
    	set root='(hd0,1)'
    	search --no-floppy --fs-uuid --set 9460289360287e5c
    	drivemap -s (hd0) ${root}
    	chainloader +1
    }
    ### 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 ###
    
    =============================== sda3/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/sda3 during installation
    UUID=bb917d7c-7534-46c9-ab73-cf7f61917943 /               ext3    errors=remount-ro 0       1
    /dev/sda4       none            swap    sw              0       0
    /dev/scd0       /media/cdrom0   udf,iso9660 user,noauto,exec,utf8 0       0
    /dev/fd0        /media/floppy0  auto    rw,user,noauto,exec,utf8 0       0
    
    =================== sda3: Location of files loaded by Grub: ===================
    
    
      38.2GB: boot/grub/core.img
      38.3GB: boot/grub/grub.cfg
      38.4GB: boot/initrd.img-2.6.31-20-generic
      38.5GB: boot/initrd.img-2.6.32-21-generic
      38.2GB: boot/initrd.img-2.6.32-22-generic
      38.4GB: boot/initrd.img-2.6.32-23-generic
      38.3GB: boot/initrd.img-2.6.32-24-generic
      38.2GB: boot/vmlinuz-2.6.31-20-generic
      38.3GB: boot/vmlinuz-2.6.32-21-generic
      38.2GB: boot/vmlinuz-2.6.32-22-generic
      38.2GB: boot/vmlinuz-2.6.32-23-generic
      38.3GB: boot/vmlinuz-2.6.32-24-generic
      38.2GB: boot/vmlinuz-2.6.32-25-generic
      38.3GB: initrd.img
      38.4GB: initrd.img.old
      38.3GB: vmlinuz
      38.2GB: vmlinuz.old

  3. #3
    dino99's Avatar
    dino99 is offline Ubuntu addict and loving it
    Join Date
    Jun 2006
    Location
    Nux Jam
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: can not boot after power inturruption durring update

    boot on cdlive then chroot following this example:

    http://ubuntuforums.org/showthread.php?t=1263030&page=2

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •