Re: V1.3 WON'T BOOT unless this change is made

sct@dcs.ed.ac.uk
Sun, 18 Feb 96 17:20 GMT


Hi,

On Sat, 17 Feb 1996 10:47:11 -0800 (PST), roberb7@iceonline.com said:

> My root file system is ext2, and it is in the second partition of my
> hard disk. I was unable to boot any 1.3 kernel until I made the
> following change to drivers/block/genhd.c, around line 296:

> /* prevent someone doing mkfs or mkswap on an
> extended partition, but leave room for LILO */
> /* if (hd->part[minor].nr_sects > 2)
hd-> part[minor].nr_sects = 2; */

You've set up your disk paritions wrongly. Use fdisk to give the
partition a partition-type of 0x83, reserved for ext2fs filesystems.
You are currently using type 5, which is for extended partitions --- a
different thing entirely.

Cheers,
Stephen.

--
Stephen Tweedie <sct@dcs.ed.ac.uk>
Department of Computer Science, Edinburgh University, Scotland.