home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / os / linux / 8558 < prev    next >
Encoding:
Internet Message Format  |  1992-08-18  |  3.6 KB

  1. Path: sparky!uunet!europa.asd.contel.com!emory!athena.cs.uga.edu!pollux!hal
  2. From: hal@pollux.cs.uga.edu (Hal N. Brooks)
  3. Newsgroups: comp.os.linux
  4. Subject: mount errors when booting from HD, ok booting from diskette
  5. Keywords: SCSI, extended partitions, mount, partition table, Adaptec
  6. Message-ID: <1992Aug18.194718.14783@athena.cs.uga.edu>
  7. Date: 18 Aug 92 19:47:18 GMT
  8. Sender: news@athena.cs.uga.edu
  9. Organization: University of Georgia, Athens
  10. Lines: 81
  11. Originator: hal@pollux
  12.  
  13.  
  14. Though I can boot from my hard disk (HD), I can't 
  15. successfully mount a partition to /usr and swapon to 
  16. a different partition.  When I boot from diskette, these
  17. same partitions work swimmingly for /usr and swapping.
  18.  
  19. Note that I am trying to use extended partitions of
  20. a SCSI drive for both /usr and swap.
  21.  
  22. I'm using an Adaptec 1542B, the root partition is on
  23. /dev/sda2 (maj=8,min=2), I'm mounting /dev/sda9 (maj=8,min=9)
  24. on /usr, and using /dev/sda8 (maj=8,min=8) for swap.
  25. I'm working from Linux 0.97 boot and root images.
  26.  
  27. Here's what I get when I try to boot from the HD:
  28.  
  29. scsi0 : 1542.
  30. Adaptec 1542scsi : 1 hosts.
  31. sd0 at scsi0, id 0, lun 0 :
  32. scsi : detected 1 scsi disk 0 tapes total.
  33. sd0
  34.    part 1 start 133120 size 880640 end 1013759
  35. Unable to read partition table of device 0801
  36.    part 2 start 67584 size 65536 end 133119
  37.    part 3 start 2048 size 65536 end 67583
  38.    part 4 start 32 size 2016 end 2047
  39. Partition table ok.
  40. 331 buffers = 338944 bytes buffer space
  41. Free mem: 7147520 bytes
  42. bread failed
  43. /dev/sda9 already mounted or /usr busy
  44. scsidisk I/O error
  45. dev 0808, sector 0
  46. Unable to find swap-space signature
  47. swapon: /dev/sda8: file or device not configured
  48.  
  49. Now, when I boot the same bootimage from diskette, here's
  50. what I get (notice, no errors):
  51.  
  52. scsi0 : 1542.
  53. Adaptec 1542scsi : 1 hosts.
  54. sd0 at scsi0, id 0, lun 0 :
  55. scsi : detected 1 scsi disk 0 tapes total.
  56. sd0
  57.    part 1 start 133120 size 880640 end 1013759
  58.      Logical part 5 start 133152 size 65504 end 198655
  59.      Logical part 6 start 198688 size 339936 end 538623
  60.      Logical part 7 start 538656 size 65504 end 604159
  61.      Logical part 8 start 604192 size 32767 end 636927
  62.      Logical part 9 start 636960 size 376800 end 1013759
  63.    part 2 start 67584 size 65536 end 133119
  64.    part 3 start 2048 size 65536 end 67583
  65.    part 4 start 32 size 2016 end 2047
  66. Partition table ok.
  67. 339 buffers = 347136 bytes buffer space      <-- I don't know why this changes
  68. Free mem: 7147520 bytes
  69. /dev/sda9 on /usr/type minix (defaults)
  70. Adding Swap: 4091 pages (16756736 bytes) swap-space
  71. swapon: adding /dev/sda8 as swap device
  72.  
  73.  
  74. Addtional information:  I'm using OS/2's bootmanager and shoelace (I
  75.      only did the first step and that seems to have worked OK, in that
  76.      I CAN boot from the HD).  I originally partitioned the disk with
  77.      OS/2's fdisk, then used Linux's fdisk to change partition types
  78.      to 81 and 82 before running mkfs and mkswap.  The first logical
  79.      partition of the extended partition is a 32M FAT partition from
  80.      which I'm booting OS/2.  The second is a 166M FAT partition for
  81.      DOS and OS/2.  The third is a 32M HPFS partition.  The fourth
  82.      and fifth are for Linux swap and Linux /usr.
  83.  
  84. Summary:  I can't understand why the boot image on a diskette
  85.     can make sense of the partition table of device 0801 (/dev/sda1,
  86.     an extended partition), but the same boot image on the HD cannot.
  87.  
  88. All suggestions are welcomed, including flames regarding a specific
  89. section of an FAQ. :-)
  90.  
  91. =============================================================================
  92.  Hal N. Brooks     Voice: (706) 546-7792     Internet: hal@pollux.cs.uga.edu
  93. =============================================================================
  94.