cfdisk did the trick perfectly.  Thanks!

        The partition type byte had been changed to 0x44, which didn't 
fit any of the known types.  I changed it to FAT32, then the drive
booted right up.  There is a Gateway Goback on this system.  Once it was
able to boot, it could detect other changes in the MBR and correct them.
I think when I have a free moment, I'll take the HD back to the linux
box and back up the MBR as insurance against this happening in the
future.

        Thanks again!  And they say linux isn't user friendly.  I'd like
to see someone do this under widoze.

Peter

> 
> If you just want to manipulate the partition table, linux fdisk or
> cfdisk should do fine.  slackware has a cute little disk editor called
> bpe that I like to use to check and repair boot sectors and such, but
> you can make do with dd and vi, or od.  You can mount a windose 98
> partiton with fstype vfat, since aboout kernel 2.0.34.  If you had
> windose or msdose on the linux box before installing linux, and you
> installed lilo into the mbr, you have a copy of the standard msdose MBR
> boot program in /boot/boot.0300 (if it is an IDE box).  you could try to
> repair the MBR boot program with, for example
> 
> dd if=/boot/boot.0300 of=/dev/<windose hd device name> bs=446 count=1
> 
> On Fri, 23 Jun 2000, Peter Howell wrote:
> 
> >         Ok, this is a windows 98 problem, but I think there may be a
> linux
> > solution.  The boot record of one of our win98 has been trashed.  When
> we
> > boot from a floppy and run fdisk, it shows up as NON-DOS.  I suspect
> that
> > this was done by a lab mate in  an attempt to remove the antiexe.a
> virus.
> >
> >         What I am hoping, is that restoring necessary information to
> the
> > partion table will get us access to the drive.  This kind of low level
> > tinkering seems to be something I could do in linux.  So here is the
> > question.  If I move the HD to my linux box (which I invoke gloatingly
> > whenever these virus problems occur) is there a set of commands that
> > would let me look at and change the information in the drives partition
> > table and regain access to the partition?  At best I could restore the
> > drive to bootable status.  It would be almost as good for me to be able
> > to just get the drive to mount under linux.  Then I could get the
> > essential data files off it before I put it back in the old system to
> > reformat and reinstall.
> >
> >         I this possible, or is my imagination getting the better of me?
> >
> > Thanks
> >
> > Peter
> >
> Why wouldn't it be possible?
> 
> Lawson
> 
> Linux -- it is now safe to turn on your computer.
> 
> 
> 
> 
> ________________________________________________________________
> YOU'RE PAYING TOO MUCH FOR THE INTERNET!
> Juno now offers FREE Internet Access!
> Try it today - there's no risk!  For your FREE software, visit:
> http://dl.www.juno.com/get/tagj.
> 
> -
> To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
> the body of a message to [EMAIL PROTECTED]
> Please read the FAQ at http://www.linux-learn.org/faqs
> 


-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs

Reply via email to