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.
# Add the ntfs module
# Set root (normally would be sda1, or hd0,1 Change as necessary
loopback loop0 /ubuntu/disks/root.disk
# Yes, set root for a second time. I don't know why...
# 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"
* 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.
: G2-Tweaks G2-Basics
Expand / SUM
Last edited by drs305; 1 Hour Ago at 06:24 PM