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

Re: grub/floppy/ext2 question



On Fri, Dec 27, 2002 at 01:32:55AM +0100, Brian May wrote:
> The major problem though is that which linux automatically detects the
> ext2 filesystem as an ext2 filesystem, grub automatically detects it as
> a FAT filesystem, with no files:
Clear the boot sector:
 dd if=/dev/zero of=/dev/fd0 bs=512 count=1

ext2 makes no use of the first sector of the floppy, to allow boot loaders
to be placed there. FAT has its 'magic numbers' in exactly this sector. So
mke2fs(8)ing a FAT medium creates a valid e2fs without removing the magic
numbers of the FAT file system. So do it yourself.

> The fact that grub is so confused seems rather puzzling.
I hope, my mail explains it a bit.

Michael Karcher
-- 
Quoting the output of "diff -rq" (as seen with diff 2.7):
'File /mnt/mi/.dosemu/run/dosemu.dbgin.611 is a fifo while file
/usr/home-copy/home/mi/.dosemu/run/dosemu.dbgin.611 is a fifo'



Reply to: