Page 1 of 3 123 LastLast
Results 1 to 10 of 23

Thread: GNU GRUB BOOTING NOT working

  1. #1
    Join Date
    Oct 2010
    Beans
    35

    Exclamation GNU GRUB BOOTING NOT working

    hi

    ive been using ubuntu lucyd lynx qnd then updqted to mqverick
    ubuntu was working fine but this morning when i tried to start the computer i end up on a screen telling me :

    GNU GRUB version 1.98+20100804-5ubuntu3

    Ubuntu, with linux 2.6.35-23-generic
    Ubuntu, with linux 2.6.35-23-generic (recovery mode)
    Ubuntu, with linux 2.6.35-22-generic
    Ubuntu, with linux 2.6.35-22-generic(recovery mode)
    Memory test (memtest86+)
    Memory test (memtest86+, serial console 115200

    use the up arrow and the down arrow keys to select which entry is highlighted. press enter to boot the selected OS, 'e' to edit the commands before booting or 'c' for a command-line.


    Ive tried all 4 os's but nothing work.
    it just gets stuck in the middle of the process and nothing happens.

    i have some important unbacked up data in my computer so is there any way i can get it to work without reinstalling ubuntu ?

    thanks

  2. #2
    Join Date
    Jan 2007
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: GNU GRUB BOOTING NOT working

    When it gets 'stuck', what is displayed on the screen?

    If it's a grub problem we can probably figure it out if we get some more information. Please run the boot info script from the following site and post the contents of the RESULTS.txt:
    http://bootinfoscript.sourceforge.net
    Back to Xorg...

    Retired.

  3. #3
    Join Date
    Oct 2010
    Beans
    35

    Re: GNU GRUB BOOTING NOT working

    yeah well i cannot access anything else from my coomputer than this first screen so icannot really run the thing u r saying.

    the command lines that are used for the booting are these ones :

    recordfail
    insmod part_gpt
    insmod ext2
    set root='(hd0,gpt2)"
    search --no-floppy --fs-uuid --set bf6b26d1-c458-490d-beab-6728d80921fc
    linux /boot/vmlinux-2.6.35-23-generic root=UUID=bf6b26d1-c458-490d-beab-6728d80921fc ro quiet splash
    initrd /boot/initrd.img-2.6.35-23-generic

    its hard to tell you what the results are cuz i cannot see it all.
    all i can see is that it tells me :
    mount : mounting /dev on /root/dev failed : No such file or directory
    mount : mounting /sys on /root/sys failed : No such file or directory
    mount : mounting /proc on /root/proc failed : no such file or directory
    Target filesystem doesn't have requested /sbin/init

    is that pf any help ?

  4. #4
    Join Date
    Jan 2007
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: GNU GRUB BOOTING NOT working

    You would run the boot info script after booting to the Desktop of a LiveCD (Ubuntu installation CD) - sorry I wasn't more specific.

    It looks like you are using GPT partitioning. I'm afraid I don't know a lot about how that interacts with G2.

    Without seeing the RESULTS.txt and no knowledge of GPT issues, you could try editing your menuentry. From the G2 menu display on boot, highlight the first entry and press "e" to edit. Use the cursors to move to the start of the 'search' line and use the DEL key to completely remove the line.

    Next move to the 'linux' line and remove the UUID and replace it with the device name (sda2). I am assuming your Ubuntu install really is on sda2....
    I don't know if the "root=/dev/sda2" will work with GPT, but you can try it.

    Once you get the menu looking like the following, CTRL-x and see if it boots:
    recordfail
    insmod part_gpt
    insmod ext2
    set root='(hd0,gpt2)"
    linux /boot/vmlinux-2.6.35-23-generic root=/dev/sda2 ro quiet splash
    initrd /boot/initrd.img-2.6.35-23-generic
    If it still fails, see if your boot files really are in sda2. From the Grub menu, press "c", then:
    Code:
    ls (hd0,2)/boot
    Are your Ubuntu kernel and initrd image there?
    Back to Xorg...

    Retired.

  5. #5
    Join Date
    Oct 2010
    Beans
    35

    Re: GNU GRUB BOOTING NOT working

    oh, i dont have a live CD

    and replacing with sda2 didnt change anything to the results ...

    i typed ls (hd0,2)/boot :

    config-2.6.35-23-generic abi-2.6.35-23-generic
    System.map-2.6.35-23-generic memtest86+.bin vmcoreinfo-2.6.35-23-generic
    initrd.img-2.6.35-23-generic vmlinuz-2.6.35-23-generic
    System.map-2.6.35-22-generic config-2.6.35-22-generic abi-2.6.35-22-generic
    vmcoreinfo-2.6.35-22-generic memtest86+_multiboot.bin
    vmlinuz-2.6.35-22-generic initrd.img-2.6.35-22-generic

    does that tell you something ?

  6. #6
    Join Date
    Jan 2007
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: GNU GRUB BOOTING NOT working

    You may be able to fix this by running an fsck check on your drives if it's a partition/drive issue. If it's a grub problem, reinstalling G2 may also be the solution. The bottom line though is that these will need to be accomplished from a LiveCD. You can get the ISO to burn from here:
    http://www.ubuntu.com/desktop/get-ubuntu/download
    Back to Xorg...

    Retired.

  7. #7
    Join Date
    Oct 2010
    Beans
    35

    Re: GNU GRUB BOOTING NOT working

    alright, is it possible to do it from a usb stick ?
    i have a macbook 2.1 and i burnt the iso file on the usb but i dont know how to make it work ...

  8. #8
    Join Date
    Jan 2007
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: GNU GRUB BOOTING NOT working

    You can make a bootable thumb drive. You'd have to google for how to do it. Search for "unetbootin" I think.

    You could also try to use this procedure I wrote for booting an ISO from Grub2. Since your Grub files probably aren't corrupt, it may work if Grub can see the thumb drive:
    HOWTO: Boot & Install Ubuntu from the Grub Rescue Prompt
    Back to Xorg...

    Retired.

  9. #9
    Join Date
    Oct 2010
    Beans
    35

    Re: GNU GRUB BOOTING NOT working

    hum i have a live cd now.
    so could you tell me a bit more about the fsck check and reinstalling G2 ?

    i got a strange thing navigating through the command line with ls

    i can see my files for example ls (hd0,2)/home/usr/
    but if i go further (example ls (hd0,2)/home/usr/Music) the computer instantly restarts.
    well im happy because if i can almost see my files i guess they r not lost but i still dont understand how to do anything ...

  10. #10
    Join Date
    Jan 2007
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: GNU GRUB BOOTING NOT working

    First try to fsck the partition. It cannot be mounted. So if you see it in Places, right click and select "unmount". Or from a terminal, run (assuming sda2 is the Ubuntu partition)
    Code:
    sudo umount /dev/sda2
    Then perform an fsck check with this:
    Code:
    sudo e2fsck -f -y -v /dev/sda2
    Once you have run the check, you might also accomplish this before rebooting. Mount your Ubuntu partition again, then reinstall grub:

    Code:
    sudo mount /dev/sda2 /mnt
    sudo grub-install --root-directory=/mnt  /dev/sda
    Reboot and if you are still having difficulties, boot the LiveCD and completely purge then reinstall G2 using the chroot procedures in this guide:
    HOWTO: Purge and Reinstall Grub 2 from the Live CD
    Back to Xorg...

    Retired.

Page 1 of 3 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
  •