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

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


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; */

Before I commented out these two lines of code, I got the message
"attempt to access beyond end of device" when booting. Hardly
surprising, when the kernel thinks that the partition only has two
sectors.

-- 
Bob Broughton
mailto:roberb7@iceonline.com
WWW: http://www.iceonline.com/home/roberb7/WWW/index.html
Vancouver, BC, Canada