"Well you can boot into Ubuntu following the steps below.
But first, my hard disk configuration is: one disk with 3 partitions:
- 1st one (sda1): is laptop recover data NTFS (came from factory and it's hidden)
- 2nd one (sda2): is where I have Windows (Vista) NTFS installation and from where I installed Ubuntu inside using WUBI.
- 3rd one (sda3): just a data backup NTFS partition
To boot up Ubuntu, just restart computer and choose "Ubuntu" at windows boot menu. When it drops to prompt "sh:grub>" enter the following 4 (four) commands (change it according to your hard disk configuration):
Quote:
set root=(hd0,2)
linux (loop0)/boot/vmlinuz-2.6.31-14-generic root=/dev/sda2 loop=/ubuntu/disks/root.disk ro
initrd (loop0)/boot/initrd.img-2.6.31-14-generic
boot
Remember:
1. that you can press TAB key after "(loop0)" and "loop=" to get completion help/guidance.
2. at prompt "sh:grub>" you can type the command 'ls' to list the partitions.
3. (hd0,1) equals to /dev/sda1, (hd0,2) equals to /dev/sda2, (hd0,3) equals to /dev/sda3, ...
You should now be able to boot to Ubuntu.
Once inside Ubuntu, open a console and try to resolve the grub/wubi problem with the following commands (this part I can't confirm that will work):
sudo update-grub
sudo update-grub2
sudo grub-install /dev/sda
sudo grub-install /dev/sda2
I hope this will help you guys.
Regards."
Primary partitions are marked from 0 to
3 (hd?,0), (hd?,1),
(hd?,2), (hd?,3). Logical partitions in the extended partition are counted from
4 up, regardless of the actual number of primary partitions on the hard disk,
e.g. (hd1,7).
As the name implies, GRUB passes the control of the
boot sequence to another bootloader, located on the device to which the menu entry points. This can be a
Windows operating system, but also any other, including Linux.