PDA

View Full Version : [wubi] I gave up



Timelyne
December 22nd, 2009, 09:34 PM
I tried everything in the book to install ubuntu using wubi but just cannot get it to boot.

Stuck at this sh: grub

I searched and tried every command,nothing works.

I installed it on a second hard disk from win XP.

USB_NL
December 22nd, 2009, 09:40 PM
you can try Ubuntu on a usbstick if you can make them bootable in either the bios or bootmenu of your PC

google pendrivelinux

phillw
December 22nd, 2009, 10:08 PM
I tried everything in the book to install ubuntu using wubi but just cannot get it to boot.

Stuck at this sh: grub

I searched and tried every command,nothing works.

I installed it on a second hard disk from win XP.


Have you tried this ?


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.
It's from drs305 and has had great success. Post back if you still have problems after doing as it says.

The long, in depth chat on the problem is over here --> http://ubuntuforums.org/showthread.php?p=8384533

Regards,

Phill.

Timelyne
December 23rd, 2009, 02:53 AM
by the time a type this loopback loop0 /ubuntu/disks/root.disk i get error file not found or no such disk.