MS has taken my MBR!!!

mrapoc

New member
How do i get Grub to go back onto my MBR? Damn MS has just pounced on it meaning my poor Ubuntu is hidden from me :(
 
you have to install XP first, THEN install linux in the remaining space that you will have left over for it, because windows is crappy like that :rolleyes:
 
get an ubuntu live CD in there

when it loads get a terminal

type

Code:
sudo grub

Ok now u need to know what partition ur Ubuntu /Boot is on

and which hard disk

If it is hard disk 1 and partition 1 then type

Code:
 Root (hd0,1)

then type

Code:
 Setup(hd0)

this sets up ur MBR ,,, if it cant find the GRUB stage then

try

Code:
 Root (hd0,0)
then

Code:
 Setup(hd0)

Still nothing then try again incrementing the second value in the root(hd0,0) line

when ur grub / stage is found type quit + reboot ... ill talk u thru adding windows to grub l8r

Oh and what did u need to kno regarding Open Office
 
Just wanted to know the plugin to support MS office files :)

Ill try that in a sec :)

How can i be sure which hd, partition it is on?
 
name='mrapoc' said:
How can i be sure which hd, partition it is on?

MS office files are supported , but not the new docx files (u need the plugin 4 that)

go to the System menu and find Partition Editor / Gparted

u shd get a name like sda1 for u lin drive .. in that case its root(hd0,1)

or u can do the trial and error the setup (hd0) will only work when the partiton u have selected for Root is a Linux 1 containing /boot/grub

there is an chance this may work to find ur root partition

in grub (Terminal ; Grub; )

Code:
find /boot/grub/stage1

never works for me (but then i do have encrypted partitions and my /boot is on an extended part) if this returns an address then use that as ur Root(hd*,*)
 
Ok i followed that, found my hdd with that cmd

Now something gone a tad wrong

Grub starts, then says "Error 17 Cannot mount partition".

I restart or press esc, and the same happens. There are only 3 choices in the bootloader, ubuntu, safe ubuntu or mem check - they all do the same error.

Wheres my xp gone? lol

So im OS-less for the time being (unless i live disk it).

What do i need to do to fix it? :p lol
 
name='mrapoc' said:
Ok i followed that, found my hdd with that cmd

Now something gone a tad wrong

Go to the Ubuntu entry in ur restored GRUB and

press e to enter the line editor

change the HDD Root to the one u entered in the live restore press enter to escape the line editor

Press B to Boot ...

then in Ubu open a commandline

and bang up

Code:
sudo gedit [SIZE=-1]/boot/grub/menu.lst

[/SIZE]

then edit the line as u did in the GRUB loader

NO NOT CHANGE NETHING ELSE .. ONLY THE root/target for boot

:)

Once in UBU ill post the changes to ur Grub to get Xp on it :)

*on a side note me + lappy are headed to my parents 4 the weekend ... no net so i cnt relepost much*
 
I have my ubu back!! :D yayyyyyy

You are the official oc3d linux pro tbh

wowness lol

in gedit its an empty page - do i just put "root (hd0,2)" and save?
 
name='mrapoc' said:
I have my ubu back!! :D yayyyyyy

You are the official oc3d linux pro tbh

wowness lol

in gedit its an empty page - do i just put "root (hd0,2)" and save?

yay hah

:)

then add this entry to menu.lst

title Windows XP

root (hd0,1)

chainloader +1

/*assuming hd0,1 is ur xp partition
 
DW man :D I managed it

Honest! its in the menu!! lol

Cant get mbmon working/cannot see where its installed (xmbmon also)

But all is well atm :)
 
name='mrapoc' said:
DW man :D I managed it

Honest! its in the menu!! lol

Cant get mbmon working/cannot see where its installed (xmbmon also)

But all is well atm :)

press ALT + F2 -- run box

and type the name of NE program

:)

or make a shortcut with simply the program name as a target :)

but it shd be in ur prog menu somewer
 
Back
Top