PDA

View Full Version : [ubuntu] Grub problem again



hoboy
December 10th, 2009, 06:54 PM
I have just run update manager after that my I can not start my computer it goes to grub, what can I do to get out of it then launch my desktop ?

phillw
December 10th, 2009, 06:58 PM
I have just run update manager after that my I can not start my computer it goes to grub, what can I do to get out of it then launch my desktop ?

Hi,

what version of ubuntu are you running ? is it an Wubi install ?
How did you install it ?
Regards,

Phill.

hoboy
December 10th, 2009, 07:00 PM
Hi,

what version of ubuntu are you running ? is it an Wubi install ?
How did you install it ?
Regards,

Phill.

it is wubii install.
Kermic

phillw
December 10th, 2009, 07:42 PM
Hi, try these instructions ..


Re: sh:grub > desperation
WUBI Installs Only

I tried wubi when it first came out a few years ago but am no longer familiar with exactly how it works. There were enough problems recently that I rearranged my laptop's partitions so I could once again install wubi. Once I got wubi installed, I experimented until I could boot from a grub prompt.

This is how I am able to manually boot from the Grub 2 prompt in wubi. My Windows partition is on sda1, which would be fairly standard.

Lines starting with a # are explanatory only. Do not type them.

Quote:
# Add the ntfs module
insmod ntfs
# Set root (normally would be sda1, or hd0,1 Change as necessary
set root=(hd0,1)
loopback loop0 /ubuntu/disks/root.disk
# Yes, set root for a second time. I don't know why...
set root=(loop0)
# Set the kernel. You can (and should) use Tab (twice) to complete entries such as the kernel when possible - type vml and then TAB twice and it will autocomplete to the point where there are two possibilities. Tab complete ensures the path/file names as typed exist. Additionally, if you suspect the new kernel is the problem, you might want to select an earlier one. vmlinuz.... should be a complete kernel entry such as "vmlinuz-2.6.31-15-generic-pae" *
linux /boot/vmlinuz.... root=/dev/sda1 loop=/ubuntu/disks/root.disk ro
# Set the initrd image - complete or tab to get the full name Example: "/boot/initrd.img-2.6.31-15-generic-pae"
initrd /boot/initrd/initrd.img...
# Boot.
boot


* If this line scrolls off the screen as you type it, due to its length: To make it easier type "linux root=/dev/sda1 /ubuntu/disks/root.disk ro" and then cursor back before "root=" to type/tab in the kernel name.


If you successfully boot, run "sudo update-grub". Also inspect your /etc/default/grub file, which contains menu timeout and default kernel selections and determine if there is a problem with the menu.


There is an active thread on Wubi & Grub over here --> http://ubuntuforums.org/showthread.php?t=1314064

I don't know about Wubi, darkod has a little knowledge, u.b.u.n.t.u. seems to be the best one to ask for Wubi support.

Hope that solution by drs305 gets you up and running.

Regards,

Phill.

hoboy
December 11th, 2009, 07:00 PM
ok I will reinstalled ubuntu again as I can not solve my grub problem :(
but this time I will install a differnet type of linux.. it seemed like this release of ubuntu is no better then windows

darkod
December 11th, 2009, 07:15 PM
ok I will reinstalled ubuntu again as I can not solve my grub problem :(
but this time I will install a differnet type of linux.. it seemed like this release of ubuntu is no better then windows

The instructions Phill gave you DO solve that problem. And besides, wubi is NOT full ubuntu. Install it side-by-side with windows, the way it's supposed to work, and then comment whether it's good or not.

bhuvi
December 11th, 2009, 07:21 PM
i too installed the kernel updates and faced the same problem in karmic and i enabled pre-released updates in the repositories and thought that it was a problem due to applying updates after enabling pre-released updates.my karmic was also a wubi install.
i also have a karmic desktop which is direct install,i applied both the grub and the kernel updates and didnt face the same problem in my desktop