Page 1 of 8 123 ... LastLast
Results 1 to 10 of 78

Thread: GRUB RESCUE prompt

  1. #1
    Join Date
    Apr 2007
    Beans
    18

    GRUB RESCUE prompt

    Help, I'm so out of my depth here!
    I have a descktop with two hard drives, one has windows XP on it the other has Ubuntu 9.? on it.
    I've been using them fine for the past year or so, all I do is when the grub loader comes up I choose either Ubuntu or windows and away it goes.
    In the past few days however someone talked me into trying to install Ubuntu 9.10 onto an 8gig USB stick.
    After failing to get it to work other ways, I loaded the 9.10 CD and installed it from there having first partitioned the stick with 7.5gig main partition and .5 gig swap partition.
    It took forever to install, but eventually finished sucessfully and asked me to re-boot.
    When I rebooted I got a flashing line character in the top left of the screen (which you often do see for a very short while) but this just continued flashing with nothing happening.
    Eventually I removed the stick to see if that would interupt it, but it had no effect at all.
    So, giving up on the idea, I decided to reboot as before without the stick installed.
    Now all I can get (unless I boot from the CD) is a GRUB RESCUE prompt.
    I searched online to try to find what commands there might be to this command mode & how to use them, but I can't find anything that works.
    'ls' works and shows my partitions, but when I try to use the 'root' command as someone suggested, I just get command not found.

    All my data is on the windows system, I really need to be able to get it booting again.

    HELP!

    Dave.
    Last edited by Tufty; November 15th, 2009 at 01:42 AM.

  2. #2
    Join Date
    Sep 2008
    Location
    Philadelphia, PA
    Beans
    5,193
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: GRUB RESCUE prompt

    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 0.34 to the desktop. Once on desktop open a terminal and run this command
    Code:
    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.
    Multi-boot: Arch linux, Ubuntu 12.04, Windows 7 & Windows 8

  3. #3
    Join Date
    Apr 2007
    Beans
    18

    Re: GRUB RESCUE prompt

    Here you go!

    Code:
    ============================= Boot Info Summary: ==============================
    
     => Grub1.97 is installed in the MBR of /dev/sda and looks for 
        (UUID=3d0e1676-2bce-44d8-b575-da15573c41bf)/boot/grub.
     => Windows is installed in the MBR of /dev/sdb
     => No boot loader is installed in the MBR of /dev/sdc
    
    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
    
    sdb1: _________________________________________________________________________
    
        File system:       ext3
        Boot sector type:  -
        Boot sector info:  
        Operating System:  Ubuntu 9.04
        Boot files/dirs:   /boot/grub/menu.lst /etc/fstab
    
    sdb2: _________________________________________________________________________
    
        File system:       Extended Partition
        Boot sector type:  -
        Boot sector info:  
    
    sdb5: _________________________________________________________________________
    
        File system:       swap
        Boot sector type:  -
        Boot sector info:  
    
    sdc1: _________________________________________________________________________
    
        File system:       Extended Partition
        Boot sector type:  -
        Boot sector info:  
    
    sdc5: _________________________________________________________________________
    
        File system:       swap
        Boot sector type:  -
        Boot sector info:  
    
    sdc2: _________________________________________________________________________
    
        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: 120.0 GB, 120034123776 bytes
    255 heads, 63 sectors/track, 14593 cylinders, total 234441648 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Disk identifier: 0xbeebbeeb
    
    Partition  Boot         Start           End          Size  Id System
    
    /dev/sda1    *             63   234,372,284   234,372,222   7 HPFS/NTFS
    
    
    Drive: sdb ___________________ _____________________________________________________
    
    Disk /dev/sdb: 27.3 GB, 27329101824 bytes
    255 heads, 63 sectors/track, 3322 cylinders, total 53377152 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Disk identifier: 0x2f2f2f2e
    
    Partition  Boot         Start           End          Size  Id System
    
    /dev/sdb1                  63    53,014,499    53,014,437  83 Linux
    /dev/sdb2          53,014,500    53,367,929       353,430   f W95 Ext d (LBA)
    /dev/sdb5          53,014,563    53,367,929       353,367  82 Linux swap / Solaris
    
    
    Drive: sdc ___________________ _____________________________________________________
    
    Disk /dev/sdc: 8086 MB, 8086618112 bytes
    255 heads, 63 sectors/track, 983 cylinders, total 15794176 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Disk identifier: 0x000be5f5
    
    Partition  Boot         Start           End          Size  Id System
    
    /dev/sdc1          14,795,865    15,791,894       996,030   5 Extended
    /dev/sdc5          14,811,930    15,791,894       979,965  82 Linux swap / Solaris
    /dev/sdc2                  63    14,795,864    14,795,802  83 Linux
    
    
    blkid -c /dev/null: ____________________________________________________________
    
    /dev/loop0: TYPE="squashfs" 
    /dev/sda1: UUID="E0B8293CB8291298" LABEL="115Gig" TYPE="ntfs" 
    /dev/sdb1: UUID="3f1a642f-3baf-41ef-9ec0-ea5dd2338567" TYPE="ext3" 
    /dev/sdb5: UUID="9ab2fc77-b4bb-4b1d-b4ac-60a00857302f" TYPE="swap" 
    /dev/sdc2: UUID="3d0e1676-2bce-44d8-b575-da15573c41bf" TYPE="ext4" 
    /dev/sdc5: UUID="fe0c8468-6646-4a68-8511-1f801ca30592" TYPE="swap" 
    
    =============================== "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)
    /dev/sda1 on /media/115Gig type fuseblk (rw,nosuid,nodev,allow_other,default_permissions,blksize=4096)
    /dev/sdb1 on /media/3f1a642f-3baf-41ef-9ec0-ea5dd2338567 type ext3 (rw,nosuid,nodev,uhelper=devkit)
    /dev/sdc2 on /media/3d0e1676-2bce-44d8-b575-da15573c41bf type ext4 (rw,nosuid,nodev,uhelper=devkit)
    
    
    ================================ sda1/boot.ini: ================================
    
    [boot loader]
    
    timeout=05
    
    default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
    
    [operating systems]
    
    multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Home Edition" /fastdetect /NoExecute=OptIn
    
    
    =========================== sdb1/boot/grub/menu.lst: ===========================
    
    # menu.lst - See: grub(8), info grub, update-grub(8)
    #            grub-install(8), grub-floppy(8),
    #            grub-md5-crypt, /usr/share/doc/grub
    #            and /usr/share/doc/grub-doc/.
    
    ## default num
    # Set the default entry to the entry number NUM. Numbering starts from 0, and
    # the entry number 0 is the default if the command is not used.
    #
    # You can specify 'saved' instead of a number. In this case, the default entry
    # is the entry saved with the command 'savedefault'.
    # WARNING: If you are using dmraid do not use 'savedefault' or your
    # array will desync and will not let you boot your system.
    default		0
    
    ## timeout sec
    # Set a timeout, in SEC seconds, before automatically booting the default entry
    # (normally the first entry defined).
    timeout		10
    
    ## hiddenmenu
    # Hides the menu by default (press ESC to see the menu)
    #hiddenmenu
    
    # Pretty colours
    #color cyan/blue white/blue
    
    ## password ['--md5'] passwd
    # If used in the first section of a menu file, disable all interactive editing
    # control (menu entry editor and command-line)  and entries protected by the
    # command 'lock'
    # e.g. password topsecret
    #      password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
    # password topsecret
    
    #
    # examples
    #
    # title		Windows 95/98/NT/2000
    # root		(hd0,0)
    # makeactive
    # chainloader	+1
    #
    # title		Linux
    # root		(hd0,1)
    # kernel	/vmlinuz root=/dev/hda2 ro
    #
    
    #
    # Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST
    
    ### BEGIN AUTOMAGIC KERNELS LIST
    ## lines between the AUTOMAGIC KERNELS LIST markers will be modified
    ## by the debian update-grub script except for the default options below
    
    ## DO NOT UNCOMMENT THEM, Just edit them to your needs
    
    ## ## Start Default Options ##
    ## default kernel options
    ## default kernel options for automagic boot options
    ## If you want special options for specific kernels use kopt_x_y_z
    ## where x.y.z is kernel version. Minor versions can be omitted.
    ## e.g. kopt=root=/dev/hda1 ro
    ##      kopt_2_6_8=root=/dev/hdc1 ro
    ##      kopt_2_6_8_2_686=root=/dev/hdc2 ro
    # kopt=root=UUID=3f1a642f-3baf-41ef-9ec0-ea5dd2338567 ro
    
    ## default grub root device
    ## e.g. groot=(hd0,0)
    # groot=3f1a642f-3baf-41ef-9ec0-ea5dd2338567
    
    ## should update-grub create alternative automagic boot options
    ## e.g. alternative=true
    ##      alternative=false
    # alternative=true
    
    ## should update-grub lock alternative automagic boot options
    ## e.g. lockalternative=true
    ##      lockalternative=false
    # lockalternative=false
    
    ## additional options to use with the default boot option, but not with the
    ## alternatives
    ## e.g. defoptions=vga=791 resume=/dev/hda5
    # defoptions=quiet splash
    
    ## should update-grub lock old automagic boot options
    ## e.g. lockold=false
    ##      lockold=true
    # lockold=false
    
    ## Xen hypervisor options to use with the default Xen boot option
    # xenhopt=
    
    ## Xen Linux kernel options to use with the default Xen boot option
    # xenkopt=console=tty0
    
    ## altoption boot targets option
    ## multiple altoptions lines are allowed
    ## e.g. altoptions=(extra menu suffix) extra boot options
    ##      altoptions=(recovery) single
    # altoptions=(recovery mode) single
    
    ## controls how many kernels should be put into the menu.lst
    ## only counts the first occurence of a kernel, not the
    ## alternative kernel options
    ## e.g. howmany=all
    ##      howmany=7
    # howmany=all
    
    ## specify if running in Xen domU or have grub detect automatically
    ## update-grub will ignore non-xen kernels when running in domU and vice versa
    ## e.g. indomU=detect
    ##      indomU=true
    ##      indomU=false
    # indomU=detect
    
    ## should update-grub create memtest86 boot option
    ## e.g. memtest86=true
    ##      memtest86=false
    # memtest86=true
    
    ## should update-grub adjust the value of the default booted system
    ## can be true or false
    # updatedefaultentry=false
    
    ## should update-grub add savedefault to the default options
    ## can be true or false
    # savedefault=false
    
    ## ## End Default Options ##
    
    title		Ubuntu 9.04, kernel 2.6.28-15-generic
    uuid		3f1a642f-3baf-41ef-9ec0-ea5dd2338567
    kernel		/boot/vmlinuz-2.6.28-15-generic root=UUID=3f1a642f-3baf-41ef-9ec0-ea5dd2338567 ro quiet splash 
    initrd		/boot/initrd.img-2.6.28-15-generic
    quiet
    
    title		Ubuntu 9.04, kernel 2.6.28-15-generic (recovery mode)
    uuid		3f1a642f-3baf-41ef-9ec0-ea5dd2338567
    kernel		/boot/vmlinuz-2.6.28-15-generic root=UUID=3f1a642f-3baf-41ef-9ec0-ea5dd2338567 ro  single
    initrd		/boot/initrd.img-2.6.28-15-generic
    
    title		Ubuntu 9.04, kernel 2.6.28-14-generic
    uuid		3f1a642f-3baf-41ef-9ec0-ea5dd2338567
    kernel		/boot/vmlinuz-2.6.28-14-generic root=UUID=3f1a642f-3baf-41ef-9ec0-ea5dd2338567 ro quiet splash 
    initrd		/boot/initrd.img-2.6.28-14-generic
    quiet
    
    title		Ubuntu 9.04, kernel 2.6.28-14-generic (recovery mode)
    uuid		3f1a642f-3baf-41ef-9ec0-ea5dd2338567
    kernel		/boot/vmlinuz-2.6.28-14-generic root=UUID=3f1a642f-3baf-41ef-9ec0-ea5dd2338567 ro  single
    initrd		/boot/initrd.img-2.6.28-14-generic
    
    title		Ubuntu 9.04, kernel 2.6.28-13-generic
    uuid		3f1a642f-3baf-41ef-9ec0-ea5dd2338567
    kernel		/boot/vmlinuz-2.6.28-13-generic root=UUID=3f1a642f-3baf-41ef-9ec0-ea5dd2338567 ro quiet splash 
    initrd		/boot/initrd.img-2.6.28-13-generic
    quiet
    
    title		Ubuntu 9.04, kernel 2.6.28-13-generic (recovery mode)
    uuid		3f1a642f-3baf-41ef-9ec0-ea5dd2338567
    kernel		/boot/vmlinuz-2.6.28-13-generic root=UUID=3f1a642f-3baf-41ef-9ec0-ea5dd2338567 ro  single
    initrd		/boot/initrd.img-2.6.28-13-generic
    
    title		Ubuntu 9.04, kernel 2.6.28-11-generic
    uuid		3f1a642f-3baf-41ef-9ec0-ea5dd2338567
    kernel		/boot/vmlinuz-2.6.28-11-generic root=UUID=3f1a642f-3baf-41ef-9ec0-ea5dd2338567 ro quiet splash 
    initrd		/boot/initrd.img-2.6.28-11-generic
    quiet
    
    title		Ubuntu 9.04, kernel 2.6.28-11-generic (recovery mode)
    uuid		3f1a642f-3baf-41ef-9ec0-ea5dd2338567
    kernel		/boot/vmlinuz-2.6.28-11-generic root=UUID=3f1a642f-3baf-41ef-9ec0-ea5dd2338567 ro  single
    initrd		/boot/initrd.img-2.6.28-11-generic
    
    title		Ubuntu 9.04, memtest86+
    uuid		3f1a642f-3baf-41ef-9ec0-ea5dd2338567
    kernel		/boot/memtest86+.bin
    quiet
    
    ### END DEBIAN AUTOMAGIC KERNELS LIST
    
    # This is a divider, added to separate the menu items below from the Debian
    # ones.
    title		Other operating systems:
    root
    
    
    # This entry automatically added by the Debian installer for a non-linux OS
    # on /dev/sda1
    title		Microsoft Windows XP Home Edition
    rootnoverify	(hd0,0)
    savedefault
    makeactive
    chainloader	+1
    
    
    =============================== sdb1/etc/fstab: ===============================
    
    # /etc/fstab: static file system information.
    #
    #  -- This file has been automaticly generated by ntfs-config -- 
    #
    # <file system> <mount point>   <type>  <options>       <dump>  <pass>
    
    proc /proc proc defaults 0 0
    # Entry for /dev/sdb1 :
    UUID=3f1a642f-3baf-41ef-9ec0-ea5dd2338567 / ext3 relatime,errors=remount-ro 0 1
    # Entry for /dev/sdb5 :
    UUID=9ab2fc77-b4bb-4b1d-b4ac-60a00857302f 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
    
    =================== sdb1: Location of files loaded by Grub: ===================
    
    
        .0GB: boot/grub/menu.lst
        .0GB: boot/grub/stage2
        .0GB: boot/initrd.img-2.6.28-11-generic
        .0GB: boot/initrd.img-2.6.28-13-generic
        .0GB: boot/initrd.img-2.6.28-14-generic
        .0GB: boot/initrd.img-2.6.28-15-generic
        .0GB: boot/vmlinuz-2.6.28-11-generic
        .0GB: boot/vmlinuz-2.6.28-13-generic
        .0GB: boot/vmlinuz-2.6.28-14-generic
        .0GB: boot/vmlinuz-2.6.28-15-generic
        .0GB: initrd.img
        .0GB: initrd.img.old
        .0GB: vmlinuz
        .0GB: vmlinuz.old
    
    =========================== sdc2/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=(hd2,2)
    search --no-floppy --fs-uuid --set 3d0e1676-2bce-44d8-b575-da15573c41bf
    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-14-generic" {
            recordfail=1
            if [ -n ${have_grubenv} ]; then save_env recordfail; fi
    	set quiet=1
    	insmod ext2
    	set root=(hd2,2)
    	search --no-floppy --fs-uuid --set 3d0e1676-2bce-44d8-b575-da15573c41bf
    	linux	/boot/vmlinuz-2.6.31-14-generic root=UUID=3d0e1676-2bce-44d8-b575-da15573c41bf 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=(hd2,2)
    	search --no-floppy --fs-uuid --set 3d0e1676-2bce-44d8-b575-da15573c41bf
    	linux	/boot/vmlinuz-2.6.31-14-generic root=UUID=3d0e1676-2bce-44d8-b575-da15573c41bf 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 ###
    menuentry "Microsoft Windows XP Home Edition (on /dev/sda1)" {
    	insmod ntfs
    	set root=(hd0,1)
    	search --no-floppy --fs-uuid --set e0b8293cb8291298
    	drivemap -s (hd0) ${root}
    	chainloader +1
    }
    menuentry "Ubuntu 9.04, kernel 2.6.28-15-generic (on /dev/sdb1)" {
    	insmod ext2
    	set root=(hd1,1)
    	search --no-floppy --fs-uuid --set 3f1a642f-3baf-41ef-9ec0-ea5dd2338567
    	linux /boot/vmlinuz-2.6.28-15-generic root=UUID=3f1a642f-3baf-41ef-9ec0-ea5dd2338567 ro quiet splash
    	initrd /boot/initrd.img-2.6.28-15-generic
    }
    menuentry "Ubuntu 9.04, kernel 2.6.28-15-generic (recovery mode) (on /dev/sdb1)" {
    	insmod ext2
    	set root=(hd1,1)
    	search --no-floppy --fs-uuid --set 3f1a642f-3baf-41ef-9ec0-ea5dd2338567
    	linux /boot/vmlinuz-2.6.28-15-generic root=UUID=3f1a642f-3baf-41ef-9ec0-ea5dd2338567 ro single
    	initrd /boot/initrd.img-2.6.28-15-generic
    }
    menuentry "Ubuntu 9.04, kernel 2.6.28-14-generic (on /dev/sdb1)" {
    	insmod ext2
    	set root=(hd1,1)
    	search --no-floppy --fs-uuid --set 3f1a642f-3baf-41ef-9ec0-ea5dd2338567
    	linux /boot/vmlinuz-2.6.28-14-generic root=UUID=3f1a642f-3baf-41ef-9ec0-ea5dd2338567 ro quiet splash
    	initrd /boot/initrd.img-2.6.28-14-generic
    }
    menuentry "Ubuntu 9.04, kernel 2.6.28-14-generic (recovery mode) (on /dev/sdb1)" {
    	insmod ext2
    	set root=(hd1,1)
    	search --no-floppy --fs-uuid --set 3f1a642f-3baf-41ef-9ec0-ea5dd2338567
    	linux /boot/vmlinuz-2.6.28-14-generic root=UUID=3f1a642f-3baf-41ef-9ec0-ea5dd2338567 ro single
    	initrd /boot/initrd.img-2.6.28-14-generic
    }
    menuentry "Ubuntu 9.04, kernel 2.6.28-13-generic (on /dev/sdb1)" {
    	insmod ext2
    	set root=(hd1,1)
    	search --no-floppy --fs-uuid --set 3f1a642f-3baf-41ef-9ec0-ea5dd2338567
    	linux /boot/vmlinuz-2.6.28-13-generic root=UUID=3f1a642f-3baf-41ef-9ec0-ea5dd2338567 ro quiet splash
    	initrd /boot/initrd.img-2.6.28-13-generic
    }
    menuentry "Ubuntu 9.04, kernel 2.6.28-13-generic (recovery mode) (on /dev/sdb1)" {
    	insmod ext2
    	set root=(hd1,1)
    	search --no-floppy --fs-uuid --set 3f1a642f-3baf-41ef-9ec0-ea5dd2338567
    	linux /boot/vmlinuz-2.6.28-13-generic root=UUID=3f1a642f-3baf-41ef-9ec0-ea5dd2338567 ro single
    	initrd /boot/initrd.img-2.6.28-13-generic
    }
    menuentry "Ubuntu 9.04, kernel 2.6.28-11-generic (on /dev/sdb1)" {
    	insmod ext2
    	set root=(hd1,1)
    	search --no-floppy --fs-uuid --set 3f1a642f-3baf-41ef-9ec0-ea5dd2338567
    	linux /boot/vmlinuz-2.6.28-11-generic root=UUID=3f1a642f-3baf-41ef-9ec0-ea5dd2338567 ro quiet splash
    	initrd /boot/initrd.img-2.6.28-11-generic
    }
    menuentry "Ubuntu 9.04, kernel 2.6.28-11-generic (recovery mode) (on /dev/sdb1)" {
    	insmod ext2
    	set root=(hd1,1)
    	search --no-floppy --fs-uuid --set 3f1a642f-3baf-41ef-9ec0-ea5dd2338567
    	linux /boot/vmlinuz-2.6.28-11-generic root=UUID=3f1a642f-3baf-41ef-9ec0-ea5dd2338567 ro single
    	initrd /boot/initrd.img-2.6.28-11-generic
    }
    menuentry "Ubuntu 9.04, memtest86+ (on /dev/sdb1)" {
    	insmod ext2
    	set root=(hd1,1)
    	search --no-floppy --fs-uuid --set 3f1a642f-3baf-41ef-9ec0-ea5dd2338567
    	linux /boot/memtest86+.bin 
    }
    ### 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 ###
    
    =============================== sdc2/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/sdc2 during installation
    UUID=3d0e1676-2bce-44d8-b575-da15573c41bf /               ext4    errors=remount-ro 0       1
    # swap was on /dev/sdc5 during installation
    UUID=fe0c8468-6646-4a68-8511-1f801ca30592 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
    
    =================== sdc2: Location of files loaded by Grub: ===================
    
    
        .0GB: boot/grub/grub.cfg
        .0GB: boot/initrd.img-2.6.31-14-generic
        .0GB: boot/vmlinuz-2.6.31-14-generic
        .0GB: initrd.img
        .0GB: vmlinuz

  4. #4
    Join Date
    Apr 2007
    Beans
    18

    Re: GRUB RESCUE prompt

    I'm happy for anyone else reading this to help if they can. I really need to get the PC booting again ASAP.

  5. #5
    Join Date
    Sep 2008
    Location
    Philadelphia, PA
    Beans
    5,193
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: GRUB RESCUE prompt

    Quote Originally Posted by Tufty View Post
    I'm happy for anyone else reading this to help if they can. I really need to get the PC booting again ASAP.
    Is your machine's BIOS capable of booting from USB? If so this is what I would do. I would restore Windows bootloader to MBR of sda, then I would put GRUB 0.97 on MBR of sdb & finally GRUB 1.97 on MBR of sdc (USB disk) this way that GRUB will take over when you boot from USB. I would also put GRUB 0.97 on MBR of sdb, then set sdb as first in the hard disk boot priority in BIOS. What that will accomplish is when you boot without the flash disk GRUB (0.97) from 9.04 will take over and you can boot Jaunty or Windows. If you boot with the flash disk GRUB 1.97 will take over and you can boot Karmic.

    This how I would do it. Boot your XP install disk and do this, following instructions for XP. Next boot the 9.04 Live CD/USB and choose "try Ubuntu without any changes", when the desktop loads open a terminal and do this:

    Code:
    1. Boot your computer up with Ubuntu CD
    2. Open a terminal window or switch to a tty.
    3. Type sudo grub. Should get text of which last line is grub>
    4. Type "find /boot/grub/stage1". You'll get a response like "(hd1,0)". 
       Use whatever your computer spits out for the following lines.
    5. Type "root (hd1,0)", or whatever your hard disk + boot partition 
       numbers are for Ubuntu.
    6. Type "setup (hd1)", to install GRUB to MBR
    7. Quit grub by typing "quit".
    8. Reboot and remove the bootable CD.
    When rebooting go into BIOS and set sdb (27GB) as first disk to boot in the hard disk boot order. Save changes to CMOS and continue booting into Ubuntu 9.04. Open a terminal and run this command
    Code:
    gksu gedit /boot/grub/menu.lst
    scroll down the bottom and change the windows entry to this:

    Code:
    # This entry automatically added by the Debian installer for a non-linux OS
    # on /dev/sda1
    title		Microsoft Windows XP Home Edition
    rootnoverify	(hd1,0)
    map             (hd0) (hd1)
    map             (hd1) (hd0)
    chainloader	+1
    Note sda becomes (hd1) because you just switched it prior to second in hard disk boot order in BIOS!
    Click Save at the top on the toolbar & close file. Reboot and see if you can boot into windows. If successful you can now put GRUB 1.97 on MBR of sdc.

    see this: https://help.ubuntu.com/community/Gr...0from%20LiveCD

    remember to have your flash disk with the Ubuntu install plugged in when you do this. You want to put GRUB 2 (1.97) on MBR of sdc.

    sorry about the delay, I was out all day with my daughter.
    Last edited by presence1960; November 16th, 2009 at 01:12 AM.
    Multi-boot: Arch linux, Ubuntu 12.04, Windows 7 & Windows 8

  6. #6
    Join Date
    Apr 2007
    Beans
    18

    Re: GRUB RESCUE prompt

    Oh wow... that looks soooo complicated & full of potential ways to destroy stuff...

    Before I do anything, you asked me if I can boot from USB.
    That's the whole reason all of this has happened. I CAN boot from USB as long as there is a valid bootable USB device attached.
    To prove this, when I set my bios to look as USB first, and put in an ordinary memory stick the machine halts with some message like 'no boot record on disk'
    So I know I CAN boot from USB, but if you read my initial message, when I set UBUNTU up on the USB stick, it set it all up OK but the WOULDN"T boot from it. It just sat with a flashing character in the top left of the screen.

    Can you confirm that you fully understand this & it's possible implications. It seems that my PC WILL boot from USB but for some reason it doesn't want to boot Ubuntu from USB.

    Does that change all the above possible solutions?

  7. #7
    Join Date
    Nov 2008
    Beans
    230

    Re: GRUB RESCUE prompt

    Well, you should first back up your data and then make your machine bootable again.

    To do the first thing you need any OS that can be run from a removable media. If you have Ubuntu live CD, that's very easy. Just boot your computer with the live CD and when the menu shows up choose
    "Try Ubuntu without any changes ...". Do NOT choose "install Ubuntu...". When Ubuntu desktop shows up, attach a flash memory stick big enough for you data to back up.
    Now using file manager go to windows partition then copy your files and paste them on the flash drive.
    (if windows partition doesn't show up in the file manager you have to mount the partition. It's name is sda1 or sda2, etc. Run
    Code:
    sudo mount /dev/sda1
    in a terminal. Try different numbers 1,2,3 until your windows partition shows up.)

    Then shot down the computer. You have your data at hand.
    The above instructions won't change anything on your hard drive. After you did this I'll tell you how to make the computer bootable.

  8. #8
    Join Date
    Sep 2008
    Location
    Philadelphia, PA
    Beans
    5,193
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: GRUB RESCUE prompt

    Quote Originally Posted by Tufty View Post
    After failing to get it to work other ways, I loaded the 9.10 CD and installed it from there having first partitioned the stick with 7.5gig main partition and .5 gig swap partition.
    It took forever to install, but eventually finished sucessfully and asked me to re-boot.
    I asked if your BIOS is capable of booting from USB and if it was to follow the suggestions.

    See the above, unless you worded it incorrectly you did not boot from USB, you booted a Live CD and installed Ubuntu on the flash disk. That is not the same as booting from a USB or Flash disk!

    If you do not want to take any risks then leave it the way it is.
    Last edited by presence1960; November 16th, 2009 at 02:44 PM.
    Multi-boot: Arch linux, Ubuntu 12.04, Windows 7 & Windows 8

  9. #9
    Join Date
    Nov 2008
    Beans
    230

    Re: GRUB RESCUE prompt

    Let me add that if you want to install any kind of Linux on a USB derive (and you don't have anything on the derive) then you don't have to reboot your computer. Just use the package "unetboontin".

  10. #10
    Join Date
    Apr 2007
    Beans
    18

    Re: GRUB RESCUE prompt

    Quote Originally Posted by presence1960 View Post
    I asked if your BIOS is capable of booting from USB and if it was to follow the suggestions.

    See the above, unless you worded it incorrectly you did not boot from USB, you booted a Live CD and installed Ubuntu on the flash disk. That is not the same as booting from a USB or Flash disk!

    If you do not want to take any risks then leave it the way it is.
    Hi,
    Sorry if it was unclear.
    What I'd thought I'd said, and I'm not quite sure how else to say it, is that I installed Ubuntu ONTO the flash drive and THEN tried to boot from the flash drive, which is when this problem manifested as for some reason it just sat TRYING to boot from the USB stick, but doing nothing.

    Apologies if I've caused bad feeling, that was not my intent, only to try to be absolutely certain that you understood the problem.

    So in short again...
    I can load a USB stick with an UBUNTU system (that works fine)
    I know my BIOS DOES try to boot from the USB stick, but for some reason it gets stuck & does nothing. Once in that state trying to boot from ANYTHING (Apart from the Ubuntu ISO CD which is still boots from fine) causes "GRUB RESCUE" to come up.
    Last edited by Tufty; November 16th, 2009 at 04:44 PM.

Page 1 of 8 123 ... LastLast

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
  •