FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


Ubuntu Studio totally messed up GRUB. Help!





LostOverThere
Well I had Windows and Mandriva installed on 2 different partitions, and as Mandriva 2007 has let me down, I thought I'd have a shot at Ubuntu Studio.

Me being the super smart cookie I am (cough) formatted the Mandriva 2007 which is what I wanted to do so I could install Ubuntu Studio in its place.

Now Grub is totally messed up. I got some Grub Repair thing but that only boots Windows now. Confused

Any suggestions would be great.
kuyman
I think the best thing to do is to reinstall Grub. You can do that with the original Ubuntu Studio Install disk by first going through all of the steps until you reach partition. At this point tell it to cancel which will bring you up to the main menu where it lists all of the steps the installer runs. Skip down to install Grub and press enter. Then you should be able to simply reinstall Grub and have everything work just fine.

Best of luck
mehulved
Have a look at this thread http://ubuntuforums.org/showthread.php?t=210820
fiendskull9
if you still have the grub.conf/menu.lst you can do this

put in an ubuntu liveCD

open the terminal

and do this


(replace all /dev/* with your device)
Code:
mount /dev/hda1 /media/ubuntu
chroot /media/ubuntu /bin/bash
grub --no-floppy


youll now be in a grub shell (grub>)

do the following (remember to replace the hd0,0 with your main partition, or boot partition)

Code:
grub> root(hd0,0)
grub> setup(hd0)
grub> quit


this should work

if you feel uncomfortable with any steps (like the knowing your partition) then go ahead and do the Ubuntu Studio Install disc procedure
LostOverThere
fiendskull9 wrote:
if you still have the grub.conf/menu.lst you can do this

put in an ubuntu liveCD

open the terminal

and do this


(replace all /dev/* with your device)
Code:
mount /dev/hda1 /media/ubuntu
chroot /media/ubuntu /bin/bash
grub --no-floppy


youll now be in a grub shell (grub>)

do the following (remember to replace the hd0,0 with your main partition, or boot partition)

Code:
grub> root(hd0,0)
grub> setup(hd0)
grub> quit


this should work

if you feel uncomfortable with any steps (like the knowing your partition) then go ahead and do the Ubuntu Studio Install disc procedure


That might work. Only Ubuntu Studio isn't a live CD. Rolling Eyes


Don't worry any more though guys. I've given up and gone with Kubuntu.
djclue917
Use a Live CD if you don't have an access to a shell and this should do it:

Code:
# grub-install /dev/sda
Related topics
Reply to topic    Frihost Forum Index -> Computers -> Computer Problems and Support

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.