2003-01-03 00:42:07

by Jerry McBride

[permalink] [raw]
Subject: mkfs help, please.


I'm setting up a new computer with a 60gig maxtor. I'd like a 100meg /boot at
the very top of the disk to get around 1024 cylinder bios restriction with out
have to do anything special. This has to be as vanilla as possible.

After fdisking the disk the way I want it, when I try to mkfs.ext2 the first
partition I get this message: mkfs.ext2: Attempt to write block from
filesystem resulted in short write zeroing block 262576 at end of filesystem

In all my time on linux, I've never seen this one before. Any tips? The
partition giving this message is the first primary, 256meg on that drive. I've
tried specifying no reserve, blocksize=1024 and no change with the message.


--

******************************************************************************
Registered Linux User Number 185956
http://groups.google.com/groups?hl=en&safe=off&group=linux
Join me in chat at #linux-users on irc.freenode.net
7:30pm up 40 days, 21:09, 10 users, load average: 0.76, 1.06, 1.15


2003-01-03 01:23:03

by Sean Neakums

[permalink] [raw]
Subject: Re: mkfs help, please.

commence Jerry McBride quotation:

> I'm setting up a new computer with a 60gig maxtor. I'd like a 100meg /boot at
> the very top of the disk to get around 1024 cylinder bios restriction with out
> have to do anything special. This has to be as vanilla as possible.

What do you mean by "top"?

The /boot partition should be towards the front of the disk, i.e. with
a low starting cylinder number.

For example, my /boot is /dev/hda2:

# fdisk -l /dev/hda

Disk /dev/hda: 30.0 GB, 30005821440 bytes
255 heads, 63 sectors/track, 3648 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
...
/dev/hda2 1 3 24066 83 Linux
...

--
/ |
[|] Sean Neakums | Questions are a burden to others;
[|] <[email protected]> | answers a prison for oneself.
\ |