Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Topic Options
#143201 - 13/02/2003 22:15 Removing linux boot loader
msaeger
carpal tunnel

Registered: 23/09/2000
Posts: 3608
Loc: Minnetonka, MN
I have windows xp on a 120 gig drive and linux mandrake 9.0 on a 15 gig drive. I want to remove the 15 gig drive because it is really loud. Does anyone know how I can get rid of the boot loader without losing all my data. I tried to just disconnect the 15 gig drive and when the computer boots I get

01010101010101010101010101010
01010101010101010101010101010
01010101010101010101010101010
01010101010101010101010101010

The only way I know is to do fdisk mbr but if I do that I would loose all the data on the drive right ?
_________________________

Matt

Top
#143202 - 13/02/2003 22:34 Re: Removing linux boot loader [Re: msaeger]
wfaulk
carpal tunnel

Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
Nope. ``fdisk /mbr'' should just copy the original boot record over the boot loader you have now. It won't affect the data on any of the partitions or the definitions of the partitions.
_________________________
Bitt Faulk

Top
#143203 - 13/02/2003 22:35 Re: Removing linux boot loader [Re: msaeger]
genixia
Carpal Tunnel

Registered: 08/02/2002
Posts: 3411
As I understand it, 'fdisk /mbr' only wipes the master boot region's bootloader code, and nothing else.

http://www.claws-and-paws.com/virus/articles/fdisk.shtml
_________________________
Mk2a 60GB Blue. Serial 030102962 sig.mp3: File Format not Valid.

Top
#143204 - 13/02/2003 22:45 Re: Removing linux boot loader [Re: msaeger]
clsmith
member

Registered: 15/01/2002
Posts: 183
If I understand correctly - You've Got a 120GB primary disk and a 15GB slave. XP is installed on the Primary and Linux is on the slave? I'm assuming that you let Linux load Lilo or Grub as the bootloader is this true?

If that's the case then fdisk /mbr would simply replace the MBR on the primary with a generic entry. Looks like a pointer to LILO/GRUB is in there now. I Don't think XP tries to be "cute" with the placement of the partition table so it would leave your data intact. I've used it in the past to remove LILO without issue.

If it turns out that you can't boot just copy: BOOT.INI, NTLDR, and NTDETECT.COM to a floppy prior to running fdisk. You can boot it off the floppy and repair then.
_________________________
CLS

Top
#143205 - 13/02/2003 22:52 Re: Removing linux boot loader [Re: msaeger]
msaeger
carpal tunnel

Registered: 23/09/2000
Posts: 3608
Loc: Minnetonka, MN
Thanks for the replies I wasn't sure if fdisk mbr would screw up everything. I actually used fixmbr from the xp recovery console and that worked without destroying anything.

Thanks again I'm getting closer to a silent system.

I ran the maxtor amset utility on the 120 gig and it is silent now. It was a pain to have to connect a floppy to run it though.
_________________________

Matt

Top