home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / os / linux / 20248 < prev    next >
Encoding:
Internet Message Format  |  1992-12-13  |  3.0 KB

  1. 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
  2. From: haen@veces.stgt.sub.org (Herbert Neugebauer)
  3. Newsgroups: comp.os.linux
  4. Subject: Linux/LILO and Sector Size !!!!!! Help
  5. Message-ID: <724280226haen.news@veces.stgt.sub.org>
  6. Date: 13 Dec 92 20:57:06 GMT
  7. Sender: news@veces.stgt.sub.org
  8. Organization: TRN Porting Labs
  9. Lines: 74
  10.  
  11. Hello,
  12.  
  13. Last week I first installed Linux on my HD, and it worked
  14. very well from the beginning (using SLS with kernel 0.98pl1).
  15.  
  16. Normally I'm using OS/2, so I wanted to be able to boot
  17. Linux without floppy via the bootmanager. I read the faq
  18. and got the lilo 0.6 package. (I also got kernel 0.98pl5)
  19.  
  20. Disk paritioning:
  21.  
  22. /dev/sda4  primary C:  OS/2 HPFS   ~270MB
  23. /dev/sda5  log.             FAT    ~32MB
  24. /dev/sda6  log.        Linux ext.  ~50MB
  25. /dev/sda7  log.        Linux swap  ~25MB
  26. /dev/sda8  log.        Linux ext.  ~27MB
  27.  
  28. I'm using a 420MB SCSI disk via adaptec 1542B
  29.  
  30. /etc/lilo/disktab
  31. shows  for 0x80 64 heads, 32 sec/cyl. and 202 cyl.
  32. That would be correct, assuming a sectorsize of 1024 Bytes.
  33.  
  34. After compiling and installing lilo I tried the following 
  35. command:
  36.  
  37. /etc/lilo [root]# lilo -b /dev/sda6 -i boot.b -v -v -v /vmlinux
  38.  
  39. /vmlinux is the new kernel pl5 I compiled a few minutes before.
  40.  
  41. lilo complains that a cylinder (329) is beyond the end of the disk.
  42.  
  43. The complete systems seams to assume, that the disk is initialized
  44. with 512 bytes per sector. The system works correctly, shows
  45. correct values when using df ....
  46.  
  47. So what's wrong. fdisk still tells me that I should set the
  48. values for heads.., I didn't do that until now, because
  49. I don't know the really correct settings. fdisk also displays
  50. the beginning of the partitions on cylinder 309 and 349, so
  51. linux seams to run with the following settings for the harddrive:
  52. 64 heads  32 sectors/cylinder  404 cylinders and  512 bytes per sector
  53.  
  54. If I set the disktab setting for cylinders from 202 to 404, lilo
  55. installs the boot sector, and I can start the partition from
  56. the OS/2 bootmanager, but the disk tries to seek to 404, which is
  57. not available, so I ctrl-alt-del'd as soon as recognizing this
  58. noise  **huuh** :-<.
  59.  
  60. I changed a setting SECTOR_SIZE (or so) in the lilo-source
  61. from 512 to 1024 and recompiled lilo, but that did not help 
  62. against complaining that a sector is out of range (also changed
  63. back the disktab setting to 202 cylinders).
  64.  
  65. My scsi disk (or the adaptec controller) seams to translate
  66. the real settings of the disk (which I don't know) to 
  67. 64 heads, 202 cylinders, 32 sectors per cylinder with
  68. 1024 bytes per sector.
  69.  
  70. What can I do??????
  71.  
  72.  
  73. Please help
  74.  
  75. Thanx in advance
  76.  
  77.  
  78.    Herbert
  79. --
  80. ~~~~~~ Herbert Neugebauer ~~~ Eberhard Str. 5 ~~~~~~ W-7038 Holzgerlingen ~~
  81. ~~ haen@veces.stgt.sub.org ~~~ phone:  07031-603164 ~~~~~    Germany      ~~
  82. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  83. ~~  This sentence in English is difficult to translate into German.     ~~~
  84. ~~                       -  D. R. Hofstadter         ~~~
  85.