From: drew@cs.colorado.edu (Drew Eckhardt) Subject: Re: Installation troubles with Linux Date: Fri, 6 Mar 1992 08:23:05 GMT
In article <TALVOLA.92Mar5203413@qin.Berkeley.EDU> talvola@qin.Berkeley.EDU (Erik Talvola) writes:
>I am just trying to install Linux. I have 3 partitions which look like this
>with Norton:
>
>System Boot Side Cylinder Sector Side Cylinder Sector Sectors Sectors
>------------------------------------------------------------------------------
>BIGDOS Yes 1 0 1 15 303 38 38 184794
>XENIX No 0 304 1 15 506 38 184932 123424
>? No 0 507 1 15 681 38 308256 106400
>
>Which seems fine. Also, Linux was able to mkfs the "XENIX" partition, and
>I could mount it. But, when I tried to patch the boot image and reboot, I
>got:
>
>Partition table ok.
>Unable to read swap device.
>Trying to read nonexistent block-device.
>Kernel panic: Unable to mount root.
>
>Did I patch the wrong bytes?
Yes.
>Here are the bytes I patched:
>
>1f8: 00 00 00 04 03 00 55 AA
>
>I figured the AA was the 512th byte. /dev/hd4 is the correct device, because
>I mounted it as that. Anyway, any help would be appreciated.
>
AA is the 512 byte, byt they are numbered from 0 - so it is offset 511.
You should patch offset 508 - so you would get something like
1f8: 00 00 00 00 04 03 55 AA