![]() |
umm what is grub?
And as for the command lines to install it that handz posted. Do I have to be in the live CD or can I do this on my already installed linux partition. Also if I can only do this from the live CD am I going to have to reinstall it? Another thing is. Can you install grub or whatever your saying to install to have chameleon detect linux without having to go through the command lines? |
Just follow the instructions exactly and you will be up and running.
|
when I type in "su" it asks me for a password. I searched google and it says that there is no password for the live CD.
anyways I skiped the step and this is what I got http://i116.photobucket.com/albums/o...untuubuntu.png |
Ubuntu uses sudo just like OS X...
sudo su - |
Ya, just type "sudo grub", exclude the "su" altogether
|
thank you =) so I was able to get to my root and I typed grub and did the commands and this is what I keep getting...
http://i41.tinypic.com/1zbdlki.png I also tried assuming that my HD was hd0 |
sudo and su mean nothing inside the grub shell...
You have to follow handz instructions exactly if you want them to work. ;) Better yet let's try a different approach, boot into your linux installation, not a live cd, and open a terminal then become root with Code:
sudo su - Code:
mount Code:
/dev/sda6 on / type ext3 (rw) Code:
/usr/sbin/grub-install /dev/sda6 |
Thank you for the quick responce. I tried that and this is what I got...
http://i39.tinypic.com/21mvi95.png |
Just boot your running install of Ubuntu and use:
Code:
sudo grub-install /dev/sdX Now, if you wanna make sure, you can dump the Ubuntu boot sector and run hexdump on it to check the signature. To do so, boot OS X and launch terminal. Code:
diskutil list Find the partition that says "Linux" in the list, and note it's /dev/ location. For me, it was /dev/disk0s1. So now, to dump the bootsector of my Ubuntu drive, I did the following: Code:
sudo dd if=/dev/disk0s1 of=./bs bs=512 count=1 Then: Code:
hexdump ./bs Code:
00001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 If it is: Code:
00001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |
a.) Not sure why you're trying to install grub to /dev/sda1 when the part mounted at root is
/host/ubuntu/disks/root.disk b.) Not sure why you didn't mention this whole time that you were talking about a Wubi install and not a normal install... c.) Now that I see you are working with a Wubi install and not a regular install into an actual partition on an actual hard drive. I can tell you that what you are trying to do will never work. Since your "install" is just a regular file within another partition, Chameleon will not bother with it. |