home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!noc.near.net!hri.com!spool.mu.edu!yale.edu!ira.uka.de!smurf.sub.org!nadia!aragon.stgt.sub.org!veces.stgt.sub.org!haen
- From: haen@veces.stgt.sub.org (Herbert Neugebauer)
- Newsgroups: comp.os.linux
- Subject: Linux/LILO and Sector Size !!!!!! Help
- Message-ID: <724280226haen.news@veces.stgt.sub.org>
- Date: 13 Dec 92 20:57:06 GMT
- Sender: news@veces.stgt.sub.org
- Organization: TRN Porting Labs
- Lines: 74
-
- Hello,
-
- Last week I first installed Linux on my HD, and it worked
- very well from the beginning (using SLS with kernel 0.98pl1).
-
- Normally I'm using OS/2, so I wanted to be able to boot
- Linux without floppy via the bootmanager. I read the faq
- and got the lilo 0.6 package. (I also got kernel 0.98pl5)
-
- Disk paritioning:
-
- /dev/sda4 primary C: OS/2 HPFS ~270MB
- /dev/sda5 log. FAT ~32MB
- /dev/sda6 log. Linux ext. ~50MB
- /dev/sda7 log. Linux swap ~25MB
- /dev/sda8 log. Linux ext. ~27MB
-
- I'm using a 420MB SCSI disk via adaptec 1542B
-
- /etc/lilo/disktab
- shows for 0x80 64 heads, 32 sec/cyl. and 202 cyl.
- That would be correct, assuming a sectorsize of 1024 Bytes.
-
- After compiling and installing lilo I tried the following
- command:
-
- /etc/lilo [root]# lilo -b /dev/sda6 -i boot.b -v -v -v /vmlinux
-
- /vmlinux is the new kernel pl5 I compiled a few minutes before.
-
- lilo complains that a cylinder (329) is beyond the end of the disk.
-
- The complete systems seams to assume, that the disk is initialized
- with 512 bytes per sector. The system works correctly, shows
- correct values when using df ....
-
- So what's wrong. fdisk still tells me that I should set the
- values for heads.., I didn't do that until now, because
- I don't know the really correct settings. fdisk also displays
- the beginning of the partitions on cylinder 309 and 349, so
- linux seams to run with the following settings for the harddrive:
- 64 heads 32 sectors/cylinder 404 cylinders and 512 bytes per sector
-
- If I set the disktab setting for cylinders from 202 to 404, lilo
- installs the boot sector, and I can start the partition from
- the OS/2 bootmanager, but the disk tries to seek to 404, which is
- not available, so I ctrl-alt-del'd as soon as recognizing this
- noise **huuh** :-<.
-
- I changed a setting SECTOR_SIZE (or so) in the lilo-source
- from 512 to 1024 and recompiled lilo, but that did not help
- against complaining that a sector is out of range (also changed
- back the disktab setting to 202 cylinders).
-
- My scsi disk (or the adaptec controller) seams to translate
- the real settings of the disk (which I don't know) to
- 64 heads, 202 cylinders, 32 sectors per cylinder with
- 1024 bytes per sector.
-
- What can I do??????
-
-
- Please help
-
- Thanx in advance
-
-
- Herbert
- --
- ~~~~~~ Herbert Neugebauer ~~~ Eberhard Str. 5 ~~~~~~ W-7038 Holzgerlingen ~~
- ~~ haen@veces.stgt.sub.org ~~~ phone: 07031-603164 ~~~~~ Germany ~~
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- ~~ This sentence in English is difficult to translate into German. ~~~
- ~~ - D. R. Hofstadter ~~~
-