Go Back   Forums > Community Chatterbox > Tech Corner
Memberlist Forum Rules Search Today's Posts Mark Forums Read
Search Forums:
Click here to use Advanced Search

Reply
 
Thread Tools Display Modes
Old 10-02-2006, 05:22 AM   #1
vipin
Super Freak

 
Join Date: Jun 2004
Location: ,
Posts: 190
Send a message via AIM to vipin
Default

What is the way to modify the boot sector of a Hard disk ?

Like suppose I install Windows XP on my computer, it makes the hard disk bootable by modifying its disk space. Now, suppose I decide to install Linux on my computer too and have a dual boot of Windows XP and Linux. (Please note that the Linux I am using is Ubuntu 5.04i). Since Ubuntu requires partitioning of harddisk, I decide to install it on a separate hard disk. During installation, it says to install GRUB BOOT LOADER to my first harddisk or gives option to install to a floppy. I decide to install on my first hard disk. Now, my computer is bootable only if my ubuntu harddisk is connected, and I cannot boot from my main hard disk if I remove my ubuntu harddisk. Now what to do in such a situation? Say suppose, my ubuntu harddisk was old and now it has crashed, how can I make my computer bootable back to Windows XP again? I think installing Windows XP again from its CD will do the job but I am not sure. And what to do if I cannot reinstall Windows XP or if I don't have its CD?

I have Windows 98 CD and by it I can manage to go in DOS. Is there any software or tool or tricks available for this problem of booting? Is there any way to modify or rollback the boot sector of my first harddisk?
__________________
The power of Christ impales you!
vipin is offline                         Send a private message to vipin
Reply With Quote
Old 10-02-2006, 09:32 AM   #2
_r.u.s.s.
I'm not Russ
but an ex-alektorophobic
 
_r.u.s.s.'s Avatar


 
Join Date: May 2005
Location: Nitra, Slovakia
Posts: 6,533
Default

configuring boot.ini leads to hell=)
at least i dont know of any like that, i would reformat and reinstall everything and have ONLY ONE HDD connected while installing operation system. if you install linux- it always messes up boot sector(at least for me it does).
then its not problem to just boot from another hdd from bios is it?
__________________
_r.u.s.s. is offline                         Send a private message to _r.u.s.s.
Reply With Quote
Old 10-02-2006, 09:39 AM   #3
Rogue
10 GOSUB Abandonia
20 GOTO 10
 
Rogue's Avatar

 
Join Date: Nov 2004
Location: Afrim, Albania
Posts: 2,113
Default

To change MBR (Master Boot Record), you will have to rewrite it. To do this, you can use fdisk that comes on your Win98 CD. Just type
Code:
fdisk /mbr
at the dos screen. Be aware that this might lead to problems, if you don't know what are you doing.

I did this more then once, and it helped me to avoid reinstalling of a good system.

But first of all, read more about it. Here are some links:

http://support.microsoft.com/kb/q69013/

http://www.computerhope.com/issues/ch000175.htm

http://www.fdisk.com/fdisk/

http://www.pcguide.com/ref/hdd/file/progFDISK-c.html

Good luck! :bye:
Rogue is offline                         Send a private message to Rogue
Reply With Quote
Old 11-02-2006, 09:47 PM   #4
chickenman
Hero Gamer

 
Join Date: Mar 2005
Location: Shella, Kenya
Posts: 417
Default

Windows XP + ubuntu Linux

(This will only work with the retail version of XP)
:Install XP:
Make two partitions, one for windows XP, and one for file transfer, leave space for Linux.

(example: 160GB HDD: 100GB Windows XP [NTFS], 10GB [FAT32], 50GB Linux [EXT3])
For the FAT32 partition use partition magic.

Once XP is installed we can go on to the Linux install.

:installing ubuntu:
Once you get to the partition editer select manualy edit partition table.
Make a EXT3 partition to install ubuntu on and set as active.
When it asks if it wants to install the GRUB boot loader select yes.
Finish the install.

chickenman is offline                         Send a private message to chickenman
Reply With Quote
Old 11-02-2006, 10:13 PM   #5
Eagle of Fire
Friendly Fire
 
Eagle of Fire's Avatar

 
Join Date: Sep 2004
Location: Valleyfield, Canada
Posts: 4,892
Default

Using fdisk usually lead to a whole format of the drive, so I would be very cautious if I'm you if you want to go that way.
__________________
I'm on a hot streak... Literally.
Proud member of The Abandoned since 2005.
Eagle of Fire is offline                         Send a private message to Eagle of Fire
Reply With Quote
Reply


Similar Threads
Thread Thread Starter Forum Replies Last Post
Booting Up... Sebatianos Tech Corner 8 23-04-2006 06:43 PM
Booting Windows In 5 Seconds Quintopotere Tech Corner 37 01-07-2005 12:04 AM
HOWTO: creating a dos-hdimage, booting it from an NTFS partition :) FreeFreddy Troubleshooting 8 03-06-2005 09:27 PM
Booting System Unknown Hero Tech Corner 7 31-01-2005 08:13 PM
Problems... Anonymous Troubleshooting 5 26-06-2004 02:28 PM

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump
 


The current time is 11:56 AM (GMT)

 
Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.