Modifying FAT32 File-system under Linux.

From: Ayaz Ahmed Khan (resilient_at_myrealbox.com)
Date: 10/26/03


Date: Sun, 26 Oct 2003 14:43:24 -0500

While copying text files from within RH 7.1 to Windows 98 SE, I found, after
the house had burned to the last bit, that somehow the 'boot.ini' file was
missing from /dev/hda1, which is where Windows 98 SE is installed. I obviously
couldn't boot into Windows. I didn't know why, then, and in apparent confusion
I ran 'fdisk /mbr' from a boot-able CD. I lost 'lilo' from the MBR, and
couldn't boot into RH, too.

Booting off of the resuce image provided in the RH CD, I couldn't get the
'mkbootdisk' to work. It just didn't work, although the utility was there.
I, then, mistakenly, and in the hope of finding a way to get lilo back on the
MBR, ran the 'mkfs' command against /dev/hda1. In the absence of any specified
file system type, the 'mkfs' utility assumes the file system to be 'ext2', and,
thus, it modified /dev/hda1 to 'ext2' file system. I frightfully ran it again,
but this time with the 'msdos' file system type specified.

Somehow I did manage to get lilo back on the MBR, and am booting off RH, I
can't now mount /dev/hda1, at all.

Is everything that comprised /dev/hda1 lost?

-- 
Ayaz Ahmed Khan
Yours Forever in,
Cyberspace.


Relevant Pages

  • Large drive without partitions
    ... Windows related but tied to embedded file systems. ... We've got a third party file system on large USB hard drives ... and use the third-party file system, with or without an MBR. ...
    (comp.arch.embedded)
  • Re: Did not "activate" my XP...???
    ... something that triggered Windows Product Activation ... Is it safe to write to the HD? ... Evacuate data from HD, test HD, test file system, exclude malware ... Make whatever non-HD boot disk you like; ...
    (microsoft.public.windowsxp.general)
  • Re: NT server 4 dual booting with XP
    ... > How To Create a Multiple-Boot System in Windows XP ... > Installing Programs on More Than One Operating System ... > You can install more than one operating system on your computer and choose ... > Note that Encrypting File System is not available in the Windows XP ...
    (microsoft.public.windows.server.setup)
  • Re: Mount problems
    ... case on file names, even on FAT. ... looking for "bill" will match files with names such as ... Windows in most cases prohibits creating a file if the ... If, on the contrary, you delete the short name entry, the file is gone and you end up with an orphan LFN, which would be considered as a file system error. ...
    (comp.unix.bsd.openbsd.misc)
  • Re: Please Help!! Boot Failure!!
    ... Is it safe to write to the HD? ... Evacuate data from HD, test HD, test file system, exclude malware ... Windows on the host PC until you know it is safe to do so - while the ... Make whatever non-HD boot disk you like; ...
    (microsoft.public.windowsxp.general)