Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> Messed up MBR!
LinMark
post Dec 21 2010, 08:49 PM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 3
Joined: 21-December 10
Member No.: 14,875



OK I have been a bad boy, I admit it!

Now I hope I can enlist your help to get me out of trouble and back up and running. smile.gif

I'll make a long story short.

My system:
WinXP SP2
Four drives: c,d,e,f
At the moment the built-in USB ports don't function at all (busted).
I have just installed a PCI USB card with 4+1 USB ports, but can't boot with the 4 so far.
No floppy and my CD/DVD drive is a USB drive.
So basically I don't have any fall-backs to boot with.

In my haste, when I installed Syslinux on f:, I wiped out the MBR!

Now when my system boots, it boots to f: (PING) and I don't know how to fix the mbr so I can get back to WinXP on c:.

If anyone can get me out of this jam I would REALLY appreciate it!

Go to the top of the page
 
+Quote Post
michaelk
post Dec 22 2010, 10:19 AM
Post #2


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,800
Joined: 23-January 03
Member No.: 360



I've never played with a PCI USB card so I am unsure if they are bootable or how to do so. The only way I see to repair the MBR would be to stick the drive into another PC and run the fixmbr utility from a XP install CD. I would unplug the other drives.
Go to the top of the page
 
+Quote Post
LinMark
post Dec 23 2010, 07:30 PM
Post #3


Whats this Lie-nix Thing?
*

Group: Members
Posts: 3
Joined: 21-December 10
Member No.: 14,875



QUOTE (michaelk @ Dec 22 2010, 10:19 AM) *
I've never played with a PCI USB card so I am unsure if they are bootable or how to do so. The only way I see to repair the MBR would be to stick the drive into another PC and run the fixmbr utility from a XP install CD. I would unplug the other drives.


Thanks Michael.
I managed to get up and running again by plugging in another hard drive with XP into IDE2 and then changing the active partition in system manager.

On this theme, do you know how to set up the boot.ini in XP to dual boot my two systems (XP and SysLinux)
and not get locked into a corner again? smile.gif
Go to the top of the page
 
+Quote Post
michaelk
post Dec 24 2010, 05:40 PM
Post #4


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,800
Joined: 23-January 03
Member No.: 360



How to boot linux from windows.
http://oreilly.com/pub/h/2337
Go to the top of the page
 
+Quote Post
LinMark
post Dec 25 2010, 02:06 PM
Post #5


Whats this Lie-nix Thing?
*

Group: Members
Posts: 3
Joined: 21-December 10
Member No.: 14,875



>>How to boot linux from windows.
http://oreilly.com/pub/h/2337 <<


Thanks Michael for your help!
I read the above link you gave.
It is very long and complicated, especially with all of the comments and their variations for solutions.

The main article finally mentions adding the following line to the boot.ini

c:\grub.bin="Linux"

after doing a bunch of other things first.

What I would like to know is the following.
I have WinXP installed and bootable right now on c:
I have PING (Syslinux) installed and bootable right now on f:
Both are on one physical drive (c: and f: are just partitions on the same IDE drive)

*Can I simply add a line or two to my WinXP boot.ini along the lines of the one above to get
my f: PING partition to boot?*

If so, what would the exact syntax be?
Would this work?

[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows
XP Professional"
/fastdetect
multi(0)disk(0)rdisk(0)partition(4)\LINUX="PING Merry Syslinux"
/fastdetect
Go to the top of the page
 
+Quote Post
michaelk
post Dec 26 2010, 08:22 AM
Post #6


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,800
Joined: 23-January 03
Member No.: 360



I am not familiar with ping linux.
In summary when linux is installed the bootloader is written to the same partition instead of the Master Boot Record. The bootloader is then copied to a file and saved on the windows c: drive. When the windows bootloader is executed it runs that bootloader code which starts linux.
Go to the top of the page
 
+Quote Post
NatalieSmith01
post Feb 6 2011, 05:47 AM
Post #7


Whats this Lie-nix Thing?
*

Group: Members
Posts: 1
Joined: 6-February 11
Member No.: 15,051



Thanks a lot for the bootloader help.
It works fine.
<spam / advertising removed>
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 17th December 2017 - 03:02 AM