bug-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Dos first drive overwritten?


From: Declan. Moriarty
Subject: Dos first drive overwritten?
Date: Mon, 20 Oct 2003 18:03:48 +0100
User-agent: Mutt/1.3.99i

I am sure you have come across this before:

I installed grub - as per linuxfromscratch instructions, in the grub
shell

root (hd0,1)
setup (hd0)
quit
         
It wrote 15 sectors of e2fs on the first (vfat)partition, which now is
buggered beyond rescue by dos tools. It's a new 40G disk. this is the
o/p of fsisk -l

Disk /dev/hda: 255 heads, 63 sectors, 4863 cylinders
Units = cylinders of 16065 * 512 bytes

   Device Boot    Start       End    Blocks   Id  System
   /dev/hda1   *         1      1275  10241406    c  Win95 FAT32 (LBA)
   /dev/hda2          1276      1280     40162+  83  Linux  [/boot]
   /dev/hda3          1281      1357    618502+  82  Linux swap
   /dev/hda4          1358      4863  28161945    f  Win95 Ext'd (LBA)
   /dev/hda5          1358      1740   3076447    b  Win95 FAT32
   /dev/hda6          1741      3015  10241406   83  Linux [LFS-3.3]
   /dev/hda7          3016      3653   5124703+  83  Linux [THIZ]
   /dev/hda8          3654      4863   9719293+  83  Linux [LFS-5.0]

The Dos entry in menu.lst is
title=Dos&Windoze
        rootnoverify (hd0,0)
        chainloader +1

Linux is fine - now. I did have some fun, but sorted it (root should
never go near a pc _before_ he finishes waking up ;-). I have entries
for and can boot lfs-3.3 and lfs-5. 

The dos Error I see is "Invalid media - Drive C". It is assigned a drive
letter, but is not accessible. I tried with scandisk - it took one look
and quit. NDD makes a better attempt: It failed on startup examination
(error reading drive c: abort/retry/fail; I chose Fail). It then
complained about the boot record, went to rewrite it, failed, and came
up with no options. It didn't even suggest a format.

Please copy me on any replies as I am offlist. Is there a doc, or
something I can refer to? I did check the FAQ. Why is it writing e2fs on
a vfat partition?
-- 

        With best Regards,


        Declan Moriarty.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]