home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 36 Tips / 36-Tips.zip / multios.txt < prev    next >
Text File  |  1996-09-24  |  54KB  |  1,368 lines

  1. I am trying to understand the principles involved in getting multiple
  2. OSes to be compatible before proceding with partitioning a new
  3. hard drive and adding LINUX and a boot manager. To do this in the best 
  4. possible way, I e-mailed the following questions to a number of 
  5. individuals who had posted on this topic in the OS2USERS and UNIOXFORUM 
  6. fora.
  7.  
  8. Since the responses are interesting and others might enjoy reviewing 
  9. them and adding comments, I have uploaded them in this file to these 
  10. two fora.
  11.  
  12. The six questions I asked are listed below and the individual responses 
  13. follow.  Since I was the only person who saw all responses, the writers 
  14. were not in a position to comment on each others comments. Note that 
  15. some responders were unfamiliar with LINUX.
  16.  
  17. Since System Commander and Partition Magic, 2 utilities that are 
  18. commonly used in complicated setups,  have compuserve presences
  19. (103425,1241 and 74601,354 respectively), I have also sent these
  20. summaries tothem and asked them to respond to the two fora threads
  21. (Title: "MultipleOSes Setup!") posted in Section 16 (LINUX SYSTEM)
  22. section in UNIXFORUM and Section 3,(OS/2 & Hardware) in the OS2USERS
  23. Forum.
  24.  
  25. In addition, I am including as an appendix several posts on the UNIXFORUM on 
  26. similar subjects.
  27.  
  28. Steve
  29.  
  30. Questions:
  31.  
  32. (1) There are four boot managers available to me:
  33.     Three as part of an OS-
  34.        DOS with a multiboot config.sys
  35.        OS/2 boot manager
  36.        LILO
  37.    One commercial product (which I have purchased but not installed yet)-
  38.        System Commander
  39.  
  40.    The best choices appear to be System Commander, OS/2 Boot Manager and
  41.    LILO; I am planning to go with System Commander unless there are
  42.   advantages to one of the other two...
  43.  
  44. (2) I imagine that one might want to have separate partitions for each OS
  45. to avoid inadvertent corruption of one OS by another. Are there any
  46. circumstances where one might need to work on one OS using another OS or is
  47. the basic principle to have emergency OS boot capability via diskettes,
  48. CDROM or tape to handle any OS problems?
  49.  
  50. (3) Maximum access to data files (from all possible OSes and all possible
  51. locations) would seem a reasonable principle, yes?
  52.  
  53. Linux and OS2 apps can read data files on FAT, HPFS or ext2fs partitions
  54. as long as they can interpret the specific application format in which the
  55. FILE was saved and in the case of OS/2, the ext2fs for OS2 utility is
  56. available and the OS/2 OS is NOT on a primary partition, yes or no?
  57.  
  58. (4) Can apps in DOS sessions under OS2 also read data files on ext2fs
  59. partitions if they can handle the FILE format in which the datafile is
  60. saved and the OS/2 setup includes the ext2fs for OS2 utility?
  61.  
  62. (5) What advantages are there to creating multiple primary partitions on
  63. hard drives rather than using extended drives and a single primary/hard
  64. drive, assuming that each hard drive MUST have at least one primary
  65. partition?
  66.  
  67. (6) I believe OS/2 and LINUX swap files will work
  68. best when placed on native file system partitions, yes?
  69.  
  70. Implications of above:
  71.  
  72. If the above are true, then the major issues in defining the type and size of
  73. partitionsd are leaving enough fat for DOS install (including System Commander
  74. files, if I use it) and then having specific partitions to separate each OS
  75. and a partition for application programs separate from OSes or data files.
  76.  
  77. This may be accomplished by (1) an OS/2 Boot Manager partition or placing the
  78. boot manager in the 1st FAT partition (System Commander, LILO) with DOS, and
  79. (2) having separate extended partitions for each other OS (OS/2, LINUX, etc)
  80. and separate HPFS and ext2fs partitions for OS/2 and LINUX apps respectively
  81. and either separate HPFS and ext2fs partitions for data files or just ext2fs
  82. partitions that won't be viewed from "real" DOS. Assuming separate
  83. partitions for the OS/2 and Linux swap files, we would have something like
  84.  
  85. HD#1: (730 MEGS)                           HD#2: (1.6 Gigs)
  86. (OS/2 Boot Manager partition)- 1 meg
  87. C: FAT 200 megs  (primary)                *D: FAT 300 megs Backup1(primary)
  88.    DOS, System Commander (?or LILO)
  89.    FAT Data files
  90.  
  91. E: HPFS - 200 megs (extended)              G: HPFS 100 megs OS2 SWAP
  92.    OS/2 WARP
  93.    WFWG3.11
  94.  
  95. F: HPFS - 300 megs (extended)              H: EXT2FS 400 megs
  96.    Program files for DOS, WIN                 LINUX OS
  97.    OS/2
  98.                                               I:EXT2FS100 megs
  99.                                                 LINUX SWAP
  100.  
  101.                                          **J: EXT2FS 300 megs
  102.                                               Data files
  103.  
  104.                                          **K: HPFS 500 megs
  105.                                               Data files
  106.  
  107. * A common lowest common denominator to back up important files from any
  108. source.
  109.  
  110. **or one partition depending on the ability of OS/2 and Linux to effectively
  111. share datafiles of one or the other file system formats.
  112.  
  113. This approach ignores accomodations for WIN NT or WIN9x. I am assuming WIN
  114. NT can use HPFS and possibly will learn to use ext2fs<g>. I am not
  115. interested in WIN9x.
  116.  
  117. RESPONSES:
  118.  
  119. #: 417 S0/CompuServe Mail  [MAIL]
  120.     29-Jul-96 17:23 EDT
  121. Sb: LINUX and OS2
  122. Fm: Paul [70152,52]
  123.  
  124. Steve -
  125.  
  126. Just a couple of comments:
  127.  
  128. (1) I'm running OS/2 Boot Manager with Linux quite successfully.  I have two
  129. bootable OS/2 partitions, one running Warp and the other running 2.1.  The main
  130. advantage of that is that I can use the 2.1 partition to maintain the Warp
  131. partition when it starts misbehaving (which it sometimes does).  With Linux,
  132. booting from diskette and getting access to all your filesystems isn't quite
  133. such a pain; you just mount them once you've gotten your system started.
  134.  
  135. Generally I keep my private data (data that wasn't part of the standard
  136. installation) in a separate partition.  That way, if I have to reinstall an OS,
  137. I don't have to worry quite so much about how to coordinate the new stuff with
  138. the stuff that has to be saved.
  139.  
  140. I've been storing some Linux data on a FAT partition, mainly so that I can also
  141. access it from OS/2.  I haven't used the OS/2 ext2fs IFS driver, but I have
  142. accessed an OS/2 HPFS partition read-only from Linux.
  143.  
  144. Hope this is useful.
  145.  
  146. Paul
  147.  
  148. #: 419 S0/CompuServe Mail  [MAIL]
  149.     29-Jul-96 22:55 EDT
  150. Sb:  LINUX and OS/2
  151. Fm: R J Martino [72210,3170]
  152.  
  153.  
  154.  Steve,
  155.  
  156.  Well I got your mail and as there was a lot in there, I will take it in
  157. small bytes <g>.
  158.  
  159.  > (1) The best choices appear to be System Commander,
  160.  > OS/2 Boot Manager and LILO; planning to go with
  161.  > System Commander unless there are
  162.  > advantages to using one of the other two...
  163.  
  164.  I have System Commander also, and use it on one of my home boxes, but I
  165. think that Boot Manager is a more robust implementation.  BM resides in it's
  166. own
  167. partition, whereas SysCmdr lives on the first primary partition, which must be
  168. DOS FAT.  FWIW I always install BM at the end of the drive rather
  169. than at the start.  This sort of keeps it out of the way of things that like to
  170.  
  171. play with sector 0.  This might be a problem with EIDE drives > 1024 cylinders
  172. tho.
  173.  
  174.  > (2) I imagine that one might want to have
  175.  >  separate partitions for each OS
  176.  
  177.  I always think that this is better and safer.
  178.  
  179.  > Are there any circumstances where one might
  180.  > need to work on one OS using another OS
  181.  
  182.  Yes.  It's a whole lot easier to boot from the hard drive than fumbling around
  183.  
  184. with floppies.  As you noted, you can read and write FAT from OS/2 and linux.
  185. You can read HPFS from linux and vice versa.  Any spare partition can be made
  186. to
  187. boot OS/2 with the EWS utility BOOTHS2.  IOW a FAT partition can hold apps and
  188. data for DOS/Win/OS2 or whatever and still be a bootable maintenance partition.
  189.  
  190.  
  191.  > (4) Can apps in DOS sessions under OS2 also
  192.  > read data files on ext2fs
  193.  
  194.  I don't remember if the ext2 IFS driver allows this.  I will check when I can,
  195.  
  196. or you can post to OS2USER.
  197.  
  198.  > (5) What advantages are there to creating
  199.  > multiple primary partitions on hard drives
  200.  
  201.  The advantages I can think of would be:
  202.  
  203.          a- if you wanted to have something invisible to something else
  204.          b- if an OS required a primary partition
  205.  
  206.  
  207.  > assuming that each hard drive MUST have
  208.  > at least one primary partition?
  209.  
  210.  Only the first drive must have a primary partition.  All others need only have
  211.  
  212. extended partitions and logical drives.  This is the way I usually set
  213. up my drives.  The drive letters don't change that way.
  214.  
  215.  
  216.  > (6) I believe OS/2 and LINUX swap files will work
  217.  > best when placed on native file system partitions, yes?
  218.  
  219.  I think that is probably true for OS/2, at least that is what I have always
  220. done.  The swap partition for linux is just that, a partition and not a file.
  221.  It lives on a partition with a different type ID than ext2, is not readable by
  222.  
  223. the OS, and is not usable for anything else.  OS/2 uses a paging file that
  224. grows
  225. and shrinks as needed.  It doesn't need it's own partition, just start it at
  226. 20-30 megs or so on an HPFS partition.
  227.  
  228.  
  229.  > This may be accomplished by (1) an OS/2 Boot Manager partition or
  230.  > placing the boot manager in the 1st FAT partition (System
  231.  > Commander, LILO) with DOS, and (2) having separate extended
  232.  > partitions for each other OS (OS/2, LINUX, etc) and separate HPFS
  233.  > and ext2fs partitions for OS/2 and LINUX apps respectively and
  234.  > either separate HPFS and ext2fs partitions for data files or just
  235.  > ext2fs partitions that won't be viewed from "real" DOS. Assuming
  236.  > separate partitions for the OS/2 and Linux swap files, we would
  237.  > have something like
  238.  
  239.  If you are thinking of NT in the future, as you mention, then you might want 2
  240.  
  241. primary C partitions on the first drive.  DOS/Win requires one of course, and
  242. NT
  243. needs access to the C drive for it's loader.  It will mess with the boot sector
  244.  
  245. of the C drive during the install no matter where you install it.
  246.  The NT loader will however accept a second C partition controlled by BM, and
  247. that will allow you to keep a clean copy of Win3.1 and a clean copy of NT
  248. separate from each other.  They can share any FAT partitions for data and apps.
  249.  
  250.  OS/2 and linux can be self contained on extended partitions, and be happy on
  251. any physical drive.  Install LILO to the superblock of the root ext2 partition,
  252.  
  253. and add it to the BM menu.  They can both also share the FAT partitions for
  254. data
  255. and apps.
  256.  
  257.  Note that NT can see HPFS partitions up to v3.51.  Bill has decided to drop
  258. this from v4.  Also, as he has not allowed the release of the specs for NTFS,
  259. no
  260. one can write an IFS driver, so linux and OS/2 can not see NTFS
  261. partitions.
  262.  
  263.   BM will boot all this directly with only minor problems caused by the
  264. installation routines of NT (or W95).  If you are going to be using OS/2, I
  265. would go with BM.  I think that as it resides on a separate primary
  266. partition, it is inherently more stable that SysCmdr.  If fact if IBM could
  267. work
  268. out the details, they could sell it as a stand alone utility.
  269.  
  270. So what do we have then?
  271.  
  272.  BM on the first HD, end-of-file-space if possible, with 2 primary partitions
  273. for DOS and NT.  The rest of the space, if any, should be extended.  It depends
  274.  
  275. on how you want to size the OS partitions.  Making another primary would not do
  276.  
  277. anything for you, but you could squeeze in OS/2 on an extended partition.
  278.  
  279.  The second HD can have a primary or not, depending on how you want the letters
  280.  
  281. to come out.  As a rule of thumb, linux partitions, for data and
  282. swap, should be at the end of the drive.  The partitions will not be assigned
  283. letters by any OS, and it is a good idea to keep them out of the way of the
  284. OSes
  285. that use letters.
  286.  
  287.  By keeping NT on the second primary you get the best of the available options.
  288.  
  289. NT doesn't like to play with the other children and won't let the other
  290. children
  291. play with it's toys.  When NT is booted you would loose access to the DOS
  292. partition, but then you keep NT from messing about with Win 3.1.  When DOS is
  293. booted you only loose access to NT, which no one else can read anyway.
  294.  
  295.  Access to all the other partitions is dependant on the OSes themselves, not
  296. the
  297. way you have partitioned the drives.
  298.  
  299.  
  300.  Rick
  301.  
  302.  22:55
  303.  29-Jul-96
  304.  
  305.  
  306. #: 610123 S0/Outbox File
  307.     30-Jul-96  8:43:00
  308. Sb: LINUX and OS/2
  309. Fm: MAIL 
  310. To: R J Martino [72210,3170]
  311.  
  312. That was a lot to chew on, and made me even more aware of my lack of actual
  313. experience in handling multiple independent OSes and multiple hard drive
  314. setups.
  315.  
  316. One question for now:
  317.  
  318. You mention adding a second C: primary partition to accomodate NT. I am not
  319. planning on installing NT until I have digested (or given up LINUX<g>).  My
  320. current first hard drive is likely to become my second hard drive after I
  321. have setup the new (and currently second) hard drive. Thus, I am loath to
  322. transform this one unnecessarily.  I hope to have the second hard drive
  323. configured with enough room to split partitions later to accomodate NT in
  324. its first partition if necessary.
  325.  
  326. According to the System Commander manual I could just install NT's OS loader
  327. code in a C: partition and the OS can be placed in any partition.
  328.  
  329. What is the advantage of using a second C: primary partition for NT on the
  330. first hard drive? If I have NT OS and data files in HPFS extended partitions,
  331. I would have a more efficient setup than DOS and the OS would still be
  332. invisible to DOS, yes? Am I missing something here?
  333.  
  334. I will undoubtedly have more questions for you as I go along, if you don't
  335. mind; you are a real fount of knowledge.
  336.  
  337. Steve
  338.  
  339. BTW, I have sent this message to several other people who have posted on the
  340. UNIXFORUM or OS2USERS forum on this subject.  I guess it would be nice to
  341. have these responses available to each respondent and anyone else interested
  342. in this subject. Since there isn't a section devoted to multiOS questions
  343. (pity), maybe I will upload everybody's responses to the OS2USERS and UNIXFORUM
  344. libraries.
  345.  
  346. What do you think?
  347.  
  348.         
  349.  
  350. #: 420 S0/CompuServe Mail  [MAIL]
  351.     30-Jul-96 03:19 EDT
  352. Sb:  LINUX and OS2
  353. Fm: Ron Higgin [71154,2043]
  354.  
  355.  
  356.  > planning to go with System Commander
  357.  
  358. A good choice.
  359.  
  360.  
  361.  > I imagine that one might want to have separate partitions for each
  362.  > OS to avoid inadvertent corruption of one OS by another. Are there
  363.  > any circumstances where one might need to work on one OS using
  364.  > another OS
  365.  
  366. Yes.  I maintain a self contained bootable recovery (OS/2) system for this
  367. purpose.  I use this to make changes to my other OS/2 systems (installed in
  368. extended HPFS partitions), and occasionally to a single DOS partition I
  369. maintain
  370. (principally for software compatibility testing).
  371.  
  372. The key to using multiple systems is to fully understand the rules concerning
  373. operating system residency, supported file systems, and data compatibility. The
  374.  
  375. basic rules are as follows:
  376.  
  377.    1. DOS only supports the FAT file system and MUST be booted from a PRIMARY
  378.       partition residing on the FIRST physical hard disk. DOS can access
  379.       other primary partitions (on other than the first physical disk) OR
  380.       extended logical drives (residing on any physical drive) providing
  381.       those partitions are formatted for the FAT file system. DOS does NOT
  382.       recognize and cannot access data residing on partitions formatted for
  383.       other than the FAT file system.
  384.  
  385.    2. OS/2 supports both the FAT and HPFS file systems. OS/2 itself can be
  386.       installed on ANY partition (residing on ANY physical disk) accessible
  387.       to the system or hard disk controller BIOS (for the purpose of
  388.       booting) providing that Boot Manager (or an equivalent multisystem
  389.       boot facility) is installed on the FIRST physical disk. OS/2 can be
  390.       installed on a partition formatted for either the FAT or HPFS file
  391.       systems. OS/2 can also be installed (space permitting) such that it
  392.       shares a pre-existing DOS primary partition. In this case Boot Manager
  393.       is NOT required to switch between OS/2 and DOS, but the shared
  394.       partition must of course be formatted for the FAT file system.
  395.  
  396.    3. Linux has its own private partition type.  It can be initially defined
  397.       as either a primary or extended partition but once formatted it cannot
  398.       be accessed by either DOS or OS/2, and I don't believe either system
  399.       will even recognize the existence of the a Linux partition. I am not
  400.       sure whether or not Linux is capable of accessing HPFS formatted
  401.       partitions but I'm pretty sure it can access FAT formatted ones.
  402.  
  403.  
  404.  > Maximum access to data files (from all possible OSes and all
  405.  > possible locations) would seem a reasonable principle, yes?
  406.  
  407. In principal .. YES.  However, one has to be VERY careful when accessing the
  408. same partition from multiple types of operating systems. For example, OS/2
  409. regularly attaches extended attribute (EA) data to files and directories
  410. residing on FAT (as well as HPFS) partitions which can be easily destroyed or
  411. corrupted by DOS and Windows programs running under either native DOS or OS/2
  412. (in DOS sessions).  The same is true for Win95.  In general sharing partitions
  413. between multiple dissimilar operating systems is NOT a good idea.
  414.  
  415.  
  416.  > Linux and OS2 apps can read data files on FAT, HPFS or ext2fs
  417.  > partitions as long as they can interpret the specific application
  418.  > format in which the FILE was saved and in the case of OS/2, the
  419.  > ext2fs for OS2 utility is available and the OS/2 OS is NOT on a
  420.  > primary partition, yes or no?
  421.  
  422. I have to admit you've kind of lost me here.  I believe I've already answered
  423. the intent of this question.  I'm afraid I can't give you a definitive answer
  424. with regard to "ext2fs" as I am not familiar with it.
  425.  
  426.  
  427.  > Can apps in DOS sessions under OS2 also read data files on ext2fs
  428.  > partitions if they can handle the FILE format in which the
  429.  > datafile is saved and the OS/2 setup includes the ext2fs for OS2
  430.  > utility?
  431.  
  432. I don't know for sure, but I doubt it.  As I understand it, OS/2 cannot access
  433. Linux-type partitions.
  434.  
  435.  
  436.  > What advantages are there to creating multiple primary partitions
  437.  > on hard drives rather than using extended drives and a single
  438.  > primary/hard drive, assuming that each hard drive MUST have at
  439.  > least one primary partition?
  440.  
  441. First off, hard drives (other than the first) do NOT have to contain any
  442. primary
  443. partitions.
  444.  
  445. The principal advantage of multiple primaries is that they completely isolate
  446. each system from the other.  Since only one primary (per physical disk) can be
  447. active, all primaries other than the active one are invisible (inaccessible) to
  448.  
  449. the operating system booted from the active primary partition.
  450.  
  451. The only other potential advantage multiple primaries offer is the ability to
  452. keep drive letter mappings consistent regardless of which system is booted.
  453. For
  454. example, if DOS and OS/2 are each installed in their own primary partitions (on
  455.  
  456. the same physical disk), then the boot partition drive letter will be identical
  457.  
  458. (in this case, "C") regardless of which system is booted.
  459.  
  460.  
  461.  > I believe OS/2 and LINUX swap files will work best when placed on
  462.  > native file system partitions, yes?
  463.  
  464. That is correct.
  465.  
  466.  
  467.  > I am assuming WIN NT can use HPFS
  468.  
  469. Bad assumption.  The current version (3) of WinNT CAN access HPFS partitions.
  470. However, the next version (4) of WinNT CANNOT access them.
  471.  
  472.  
  473.  
  474. Ron Higgin [OS/2 Advisor]
  475.  
  476.  
  477. #: 610138 S0/Outbox File
  478.     30-Jul-96  8:58:00
  479. Sb: LINUX and OS2
  480. Fm: MAIL 
  481. To: Ron Higgin [71154,2043]
  482.  
  483. Thanks a lot Ron.
  484.  
  485. I am beginning to comprehend the notion that primary partitions may be
  486. valuable to avoid confounding of drive letter assignments, if it is possible
  487. to have each OS in its own C: partition.  Some OSes-like LINUX- do not
  488. consider the drive letter and this is not an issue for their placement.
  489.  
  490. If OS/2 and NT are placed in logical partitions after any FAT partitions and
  491. only one primary partition is employed, will changes in drive letters occur
  492. with shifts in the active OS?
  493.  
  494. I have sent this same "posting" to several people who have posted messages
  495. on this subject on the OS2USERS and UNIXFORUM.  I plan to collect all the
  496. responses (and responses to the responses and...) and upload them to these
  497. fora, since there is no section devoted to discussion of multiOS systems.
  498.  
  499. Thanks again
  500.  
  501. Steve       
  502.  
  503. #: 423 S0/CompuServe Mail  [MAIL]
  504.     30-Jul-96 22:09 EDT
  505. Sb:  LINUX and OS/2
  506. Fm: R J Martino [72210,3170]
  507.  
  508.  
  509.  Steve,
  510.  
  511.  > According to the System Commander manual I could
  512.  > just install NT's OS loader code in a C: partition
  513.  > and the OS can be placed in any partition.
  514.  
  515.  This is true, but then you will have the NT loader booting that C partition.
  516. I just prefer to keep it a self contained install.
  517.  
  518.  
  519.  > What is the advantage of using a second C: primary
  520.  > partition for NT on the first hard drive?
  521.  
  522.  > If I have NT OS and data files in HPFS extended partitions, I
  523.  > would have a more efficient setup than DOS and the OS would still
  524.  > be invisible to DOS,
  525.  
  526.  
  527.  Well a second C can only be on the first drive, if that was your question.
  528. All I was trying to say tho was that installing NT, if you are going to use it
  529. on a trial basis, on a second C is what I would do to keep it from messing
  530. about with a primary C that I didn't want messed about with.
  531.  
  532.  NT will I think, only install to FAT or NTFS.  As I mentioned last time,
  533. Bill has dropped HPFS support for NT in the next release.  FAT is inefficient
  534. and nothing can read NTFS but NT.
  535.  
  536.  Yes I think that discussions such as this are better held in the common msg
  537. areas. There is always the chance that something we might overlook may be
  538. noticed by someone else.
  539.  
  540.  Rick
  541.  
  542.  
  543.  22:10
  544.  30-Jul-96
  545.  
  546. #: 426 S0/CompuServe Mail  [MAIL]
  547.     31-Jul-96 02:31 EDT
  548. Sb:  LINUX and OS2
  549. Fm: Ron Higgin [71154,2043]
  550.  
  551.  
  552.  > If OS/2 and NT are placed in logical partitions after any FAT
  553.  > partitions and only one primary partition is employed, will
  554.  > changes in drive letters occur with shifts in the active OS?
  555.  
  556. Depends on which version of NT you use.  For NT V3 the drive letters should
  557. remain constant, but for NT V4 they will change since NT V4 doesn't recognize
  558. HPFS partitions whereas NT V3 does.
  559.  
  560.  
  561.  
  562. Ron Higgin [OS/2 Advisor]
  563.  
  564. #: 427 S0/CompuServe Mail  [MAIL]
  565.     31-Jul-96 14:32 EDT
  566. Sb: LINUX and OS/2
  567. Fm: Richard Singer [76370,164]
  568.  
  569.  
  570. You seem to have most of the concepts down pretty well.  Not having used System
  571. Commander before, I can't comment on it, but I have heard good things about it.
  572. If you are just using OS/2, DOS and Linux, you don't really need it, but since
  573. you have it already, use it.
  574.  
  575. Recently I added a third hard drive (Merlin beta needs 300 Mb or so, I was
  576. getting a bit tight on Linux and OS/2 space, and my FAT was Stacked), at which
  577. time I added a primary partition for Win95.  Boot diskettes are a necessity in
  578. my opinion, but being able to boot to another partition is quicker.  For OS/2
  579. you can use the BOOTOS2 utility to add a minimal boot capability to any
  580. partition, for instance one of your data or program drives.  I believe there
  581. are similar utilities for making Linux boot diskettes.
  582.  
  583. On your #3 point, I don;t think it makes a difference about OS/2 being in a
  584. primary partition or not, unless you are thinking about it not being able to
  585. see another primary partition.  Linux can see any partition, even multiple
  586. primary partitions.
  587.  
  588. I have not used the OS/2 ext2fs utility for a while, and when I did use it, it
  589. would only read and not write to the ext2fs partitions.  That has been changed,
  590. I believe, but I don't know how stable or bulletproof it is at this time.   Use
  591. caution if you have valuable information at stake.  You should be able to use
  592. DOS apps without trouble, though remember that OS/2 DOS support does no long
  593. name changing, the files are just invisible to DOS..
  594.  
  595. You do not need to have any primary partiton other than the extended partition
  596. on your second drive.  Both my second and my third hard drive do not have any
  597. primary partitions, just the extended partitoon with several logical drives.
  598.  
  599. The Linux swap file works best in a separate partition, which does not have a
  600. file system.  You set it up with the Linux fdisk,, and designate it as type 83.
  601. A good size for it is twice your system memory, though if you have space to
  602. spare, larger is good.
  603.  
  604. As for NT, I haven't had to deal with it yet.  However, I have heard that the
  605. new 4.0 version has dropped HPFS support.  Whether anyone is working on Linux
  606. support for the NT file system, or whether anyone could add ext2fs support to
  607. NT, I don't have any idea.
  608.  
  609. A couple of comments on your proposed layout.   One is about the two FAT
  610. partition sizes.  If you go over 255 Mb, the cluster size becomes 8 Kb, which
  611. starts to waste space for small files.  Consider making the two partitions 250
  612. Mb each.  The other is your choice of installing WfWG on an HPFS drive.  This
  613. is possible, but there may be occasions when you might want to able to check if
  614. something works under plain DOS and Windows, so you might want to put it on one
  615. of your FAT drives.
  616.  
  617. Things are busy right now for me, as I just got back from a vacation, I have
  618. end of month reports to do, and we are moving our business in two weeks, so I
  619. might not get back to you quickly if you reply.  However, if your are patient,
  620. I will respond.  Good luck with your rearrangement.  Oh, one very useful
  621. utility if you start living with that many partitions is Partition Magic..
  622. Works as advertisied, and is great for adjustment of parititon sizes.
  623.  
  624.  
  625. Distribution:
  626.  
  627. To: stephen s rinsler > [70353,714]
  628.  
  629.  
  630. #: 430 S0/CompuServe Mail  [MAIL]
  631.     31-Jul-96 18:19 EDT
  632. Sb: LINUX and OS2
  633. Fm: Kelley Cook [74171,704]
  634.  
  635.  
  636.  > I am trying to understand the principles involved in getting
  637.  > multiple OSes
  638.  > to be compatible before proceding with partitioning a new hard
  639.  > drive and adding LINUX and a boot manager.
  640.  
  641. I unfortunately have only played around with Linux and therefore am not the
  642. person to ask, but I'll try somethings.  After much agony, Trevor Hemsley
  643. (75704,2477) has Linux, OS/2, and NT on his system so he probably can help you
  644. more.
  645.  
  646.  >    The best choices appear to be System Commander, OS/2 Boot
  647.  > Manager and LILO; planning to go with System Commander unless there are
  648.  > advantages to using one of the other two...
  649.  
  650. As far as I know, you should either use System Commander by itself OR Boot
  651. Manager and LILO combined.  I don't think that you need BM or LILO with S.C.
  652.  
  653.  > (2) I imagine that one might want to have separate partitions for
  654.  > each OS to avoid inadvertent corruption of one OS by another. Are there
  655.  > any circumstances where one might need to work on one OS using another
  656.  > OS or is the basic principle to have emergency OS boot capability via
  657.  > diskettes, CDROM or tape to handle any OS problems?
  658.  
  659. Linux will see all partitions on the computer (unless you don't install the
  660. HPFS linux driver).  Unlike OS/2 and Windows, Linux sees all Primary
  661. partitions.  OS/2 will see the DOS partition -- unless you put OS/2 and DOS
  662. each into there own primary partition.
  663.  
  664.  > Linux and OS2 apps can read data files on FAT, HPFS or ext2fs
  665.  > partitions as long as they can interpret the specific application format in
  666.  > which the FILE was saved and in the case of OS/2, the ext2fs for OS2
  667. >utility is available and the OS/2 OS is NOT on a primary partition, yes
  668. >or no?
  669.  
  670. Correct.  Is there a ext2fs utility for OS/2? (or were you asking me that)
  671.  
  672.  > (4) Can apps in DOS sessions under OS2 also read data files on
  673.  > ext2fs partitions if they can handle the FILE format in which the
  674.  > datafile is saved and the OS/2 setup includes the ext2fs for OS2 utility?
  675.  
  676. DOS apps running under OS/2 do not care about the underlying file structure as
  677. long as they conform to 8.3.
  678.  
  679.  > (5) What advantages are there to creating multiple primary
  680.  > partitions on hard drives rather than using extended drives and a single
  681.  > primary/hard drive, assuming that each hard drive MUST have at least one
  682.  > primary partition?
  683.  
  684. As stated above DOS & OS/2 will only see the active primary partition.  It is
  685. useful for hiding data from the other operating system.  Limitations:  without
  686. System commander, you only can have four partitions per drive.  BM takes one,
  687. each Primary partition takes one, and all the extended partitions combined
  688. take one.
  689.  
  690.  > (6) I believe OS/2 and LINUX swap files will work best when placed
  691.  > on native file system partitions, yes?
  692.  
  693. Don't know about Linux at all.  The OS/2 swapper works much better in HPFS
  694. than in FAT because HPFS is faster than FAT.  Have no idea about on a ext2fs
  695. partition (as I said I didn't know there was an IFS driver for it)
  696.  
  697.  > Assuming separate partitions for the OS/2 and Linux swap files, we would
  698. have
  699.  > something like ...
  700.  
  701. Drive partitions Look Pretty Good to me although I would put your proposed K:
  702. drive in the H: position if OS/2 is unable to read ext2fs.  This would
  703. eliminate the swapping of drive letters for that drive when going from OS/2 to
  704. Linux.
  705.  
  706.  > This approach ignores accomodations for WIN NT or WIN9x. I am
  707.  > assuming WIN NT can use HPFS
  708.  
  709. A questionable assumption since the current betas of NT 4 do not come with the
  710. HPFS driver.
  711.  
  712. This is probably the best I can do, not being a Linux user.
  713.  
  714.  - Kelley Cook
  715.  
  716. P.S.  - One of these days I am going to have buy the $25 Linux CD from Walnut
  717. Creek and install it on my computer.  I kind of liked Unix from my Sun
  718. Workstation days in college.
  719.  
  720.  
  721. #: 612904 S0/Outbox File
  722.     1-Aug-96  7:04:00
  723. Sb: LINUX and OS2
  724. Fm: MAIL 
  725. To: Kelley Cook [74171,704]
  726.  
  727. Thanks for comments.
  728.  
  729. I didn't know that Trevor had a multiOS install or I would have included him
  730. on the original mailing of my question.
  731.  
  732. For everyone's benefit/enjoyment, I will post the aggregated response on the
  733. OS2USER and UNIXFORUM fora.
  734.  
  735. FYI, yes there is an ext2fs for OS/2 utility. I downloaded version 0.9 which
  736. according to its author is now NON beta in spite of the version number.
  737.  
  738. When I mentioned the alternatives boot managers, I meant an exclusive or,
  739. that is if using System Commander then you would need this setup, but if
  740. using Boot Manager you would have this other setup.  Didn't mean one would
  741. have both, but System Commander's manual discusses several scenarios where
  742. it works with a specific OS boot loader (NT, LINUX) so I guess there are
  743. different ways of doing this, although not necessarily involving multiple
  744. boot managing partitions.
  745.  
  746. Steve
  747.  
  748. This is my addon which includes posts on this general subject
  749. from the UNIXFORUM.
  750.  
  751. Steve
  752.  
  753. #: 281694 S16/Linux System  [UNIXFORU]
  754.     16-Jul-96  04:24:18
  755. Sb: #OS/2 Boot manager
  756. Fm: JIM HOLMES 101561,2536
  757. To: All
  758.  
  759. Hi
  760.  
  761. I am currently setting up a multiple OS system with the following:
  762.  
  763. Windows
  764. Linux
  765. Netware4.1
  766. OS/2 Warp
  767.  
  768. Im using the OS/2 boot manager as follows
  769.  
  770. /dev/hda1 .... Windows
  771. /dev/hda2 .... Netware 4.1
  772. /dev/hda3 .... OS/2 Warp
  773.  
  774. /dev/hdb1 .... Application partition
  775. /dev/hdb2 .... Linux kernel ver 1.2.1
  776. /dev/hdb3 .... Linux swap space.
  777.  
  778. Everything seems to be o.k. except I cant get Linux to boot using the OS/2
  779. boot manager. Previously I had Windows and Linux installed using LILO. Is
  780. there anyway to boot the Linux kernel using OS/2 boot manager or will I just
  781. have to resort to a boot disk for the Linux kernel.
  782.  
  783. Many thanks
  784.  
  785.         Jim.
  786.  
  787. There is 1 Reply.
  788.  
  789. #: 281700 S16/Linux System  [UNIXFORU]
  790.     16-Jul-96  08:21:23
  791. Sb: #281694-OS/2 Boot manager
  792. Fm: Walter Sartory 72650,152
  793. To: JIM HOLMES 101561,2536
  794.  
  795. >Hi
  796. >
  797. >I am currently setting up a multiple OS system with the >following:
  798. >
  799. >Windows
  800. >Linux
  801. >Netware4.1
  802. >OS/2 Warp
  803. >
  804. >Im using the OS/2 boot manager as follows
  805. >
  806. >/dev/hda1 .... Windows
  807. >/dev/hda2 .... Netware 4.1
  808. >/dev/hda3 .... OS/2 Warp
  809. >
  810. >/dev/hdb1 .... Application partition
  811. >/dev/hdb2 .... Linux kernel ver 1.2.1
  812. >/dev/hdb3 .... Linux swap space.
  813. >
  814. >Everything seems to be o.k. except I cant get Linux to >boot using the OS/2
  815. boot manager. Previously I had >Windows and Linux installed using LILO. Is
  816. there anyway >to boot the Linux kernel using OS/2 boot manager or will >I just
  817. have to resort to a boot disk for the Linux >kernel.
  818. >
  819. >Many thanks
  820.  
  821. >     Jim.
  822.  
  823. You need to install LILO on /dev/hdb2 if you have not already done so.
  824.  
  825.  Walt
  826.  
  827.   -Walter Sartory
  828.  
  829. #: 281774 S16/Linux System  [UNIXFORU]
  830.     17-Jul-96  08:15:34
  831. Sb: #281694-#OS/2 Boot manager
  832. Fm: Tony Beaumont 100752,3204
  833. To: JIM HOLMES 101561,2536 (X)
  834.  
  835. >>..  Is there anyway to boot the Linux kernel using OS/2 boot manager or will
  836. I just have to resort to a boot disk for the Linux kernel..<<
  837.  
  838. It should work. What you may have to do is set up the partitions using OS2
  839. fdisk, then boot Linux with a floppy and use the Linux fdisk program to retag
  840. the partitions Linux native (type 83) and Linux swap (type 82). Reformat the
  841. partitions under Linux during setup and _install Lilo in the superblock of the
  842. root Linux partiton_ (not the master boot record). You have to add Linux to
  843. the OS2 boot manager, which should afterwards transfer the boot to Lilo
  844. whenever you select it.
  845.  
  846. It works for me anyway, whether Linux is installed on /dev/hda or any drive up
  847. to /dev/hda4.
  848.  
  849. Tony
  850.  
  851. There is 1 Reply.
  852.  
  853. #: 281862 S2/New to UNIX  [UNIXFORU]
  854.     19-Jul-96  00:13:15
  855. Sb: #281847-Installing LINUX
  856. Fm: Thomas  Mueller 76020,273
  857. To: Willy Clarkson 73072,2437
  858.  
  859. Willy,
  860.  
  861. I believe Linux will run from second hard disk using LILO as secondary loader
  862. and OS/2 Boot Manager as primary loader.  Another possibility is to install
  863. LILO in place of OS/2 Boot Manager on disk 1; that does not use a partition.
  864. You could even put LILO on a floppy boot disk.  Repartitioning disk 2 so as to
  865. include a Linux partition, or two partitions if you include a swap partition,
  866. will require a place to save the current OS/2 data.
  867.  
  868. Tom
  869.  
  870. #: 281868 S2/New to UNIX  [UNIXFORU]
  871.     19-Jul-96  04:05:05
  872. Sb: #281847-Installing LINUX
  873. Fm: Tony Beaumont 100752,3204
  874. To: Willy Clarkson 73072,2437
  875.  
  876. >>..  using boot manager, will LINUX install and run from disk two instead of
  877. the first disk? ..<<
  878.  
  879. Yes, definitely. You have to repartition using OS2, so you can add the Linux
  880. partition to your boot manager. When you come to install Linux, go into the
  881. Linux fdisk program and retag the partitions you want for Linux as Linux
  882. native (Type 83) and Linux swap (Type 82). You will reformat the partitions
  883. during Linux installation.
  884.  
  885. Make sure you install Lilo, the Linux loader, on the superblock of the root
  886. Linux partition, _not_ in the master boot record or you will overwrite OS2's
  887. boot manager.
  888.  
  889. Good luck
  890.  
  891. Tony
  892.  
  893. #: 281871 S16/Linux System  [UNIXFORU]
  894.     19-Jul-96  07:56:49
  895. Sb: SystemCommander troubles
  896. Fm: Ryszard Kulecki 102660,1667
  897. To: Allen Robinson 102023,2644
  898.  
  899. Dear All,
  900. My first attempt to install Linux and other systems on my PC
  901. was complete fiasko!
  902. I deleted entire partition 853 Mb, then created new smaller 503 Mb
  903. primary Dos, went to System Commander to hide it in order to
  904. be able to create another bootable partition. After this nothing but
  905. troubles... Something must gone wrong, I decided to start all over
  906. again, run fdisk /MBR , now when I create new partition fdisk shows
  907. maximum space available as 503Mb not 853!  My BIOS at the boot
  908. shows correct 853 Mb.
  909. Any idea how to restore full drive capacity?  Is the part of the drive
  910. not accessible by fdisk?
  911. My working copy of the System Commander is completely ot
  912. of wak, but still have original intact.
  913.  
  914. Please help,
  915.  
  916. Richard.
  917.  
  918. #: 281880 S16/Linux System  [UNIXFORU]
  919.     19-Jul-96  09:41:42
  920. Sb: #281862-#Installing LINUX
  921. Fm: Willy Clarkson 73072,2437
  922. To: Thomas  Mueller 76020,273 (X)
  923.  
  924. Tom
  925.         I will try with OS/2 boot manager first on the second drive. I was
  926. raising the question because the LINUX book indicated a primary partition was
  927. required. That isn't a problem. But, in the past, I had to revise my
  928. partitions because neither DOS or WIN95 would install on the secondary disk.
  929. They refused and had to be put on disk one. OS/2 could care less. Any disk,
  930. and primary or logical.
  931. Thanks Willy
  932.  
  933. There is 1 Reply.
  934.  
  935. #: 281904 S16/Linux System  [UNIXFORU]
  936.     19-Jul-96  16:42:07
  937. Sb: #281902-Installing LINUX
  938. Fm: Willy Clarkson 73072,2437
  939. To: Tony Beaumont 100752,3204 (X)
  940.  
  941. Tony
  942.  
  943. >>If you are using Win95 you will have to install, or reinstall, the OS2 boot
  944. manager again >>afterwards, as Win95 tries to suppress it (and every other
  945. competing OS such as >>Linux).
  946.  
  947.         WIN95 is already there. The first disk already has boot manager, DOS,
  948. WIN95 & OS/2 Warp. I had to re-enable boot manager months ago when I installed
  949. WIN95. All is ok now though. From what different CIS members as yourself have
  950. replied, it seems all I need is to repartition disk 2 and then add LINUX to
  951. the boot manager menu.
  952.  
  953. Thanks Willy
  954.  
  955. #: 281901 S16/Linux System  [UNIXFORU]
  956.     19-Jul-96  15:33:21
  957. Sb: #281871-SystemCommander troubles
  958. Fm: Tony Beaumont 100752,3204
  959. To: Ryszard Kulecki 102660,1667
  960.  
  961. >>.. run fdisk /MBR , now when I create new partition fdisk shows
  962. maximum space available as 503Mb not 853!  My BIOS at the boot
  963. shows correct 853 Mb..<<
  964.  
  965. Although Dos can only see 503Mb, the whole 853Mb drive should be seen by
  966. Linux, so you can add your Linux partitionsusing the Linux fdisk utility
  967. beyond the 503Mb limit - at least if you are using most recent versions of
  968. Linux.
  969.  
  970. Tony
  971.  
  972. #: 281906 S16/Linux System  [UNIXFORU]
  973.     19-Jul-96  17:57:35
  974. Sb: #281871-SystemCommander troubles
  975. Fm: Peter Johnston 70630,571
  976. To: Ryszard Kulecki 102660,1667
  977.  
  978. Richard,
  979.  
  980. 1. V-Communications technical support is, in my experience, excellent.
  981.  
  982. 2. If you got as far as actually formatting a partition under Linux, your
  983. media descriptor byte will be set to a value (83?) that prevents MS-DOS FDISK
  984. from operating on it. From your description, it doesn't sound as if you got
  985. that far.
  986.  
  987. 3. How old is your BIOS? It could be that you were, without knowing it,
  988. running some sort of disk manager software to fool DOS into seeing a drive
  989. larger than 500 Mb (I forget the exact size). If you repartitioned or
  990. reformatted the drive, that software would have been effectively deleted, so
  991. DOS could only see a drive limited to the 'normal' DOS maximum. Unless your PC
  992. supports LBA disk access (or you've somehow turned it off in BIOS), this seems
  993. a likely possibility.
  994.  
  995. 4. If you install Linux, it will see the full disk size set in the BIOS. If
  996. you use the Linux FDISK, you may then be able to create a useable DOS
  997. partition, and use System Commander to acheive your ends, albeit with the
  998. partitions 'the wrong way round' from what you intended. ***WARNING The
  999. creation of MS-DOS partitions with Linux is 'not recommended' and may not
  1000. work.***
  1001.  
  1002. Regards
  1003. Peter
  1004.  
  1005. #: 281925 S16/Linux System  [UNIXFORU]
  1006.     20-Jul-96  10:26:17
  1007. Sb: #281906-SystemCommander troubles
  1008. Fm: Ryszard Kulecki 102660,1667
  1009. To: Peter Johnston 70630,571 (X)
  1010.  
  1011. Peter,
  1012. >> Unless your PC supports LBA disk access (or you've somehow turned it off in
  1013. BIOS), >> this seems a likely possibility.
  1014. Excellent point ! LBA was off, now I'm back on track .
  1015.  
  1016. Thank you for your response,
  1017. Richard
  1018.  
  1019. #: 282003 S16/Linux System  [UNIXFORU]
  1020.     22-Jul-96  07:20:13
  1021. Sb: #282002-LINUX and HPFS??
  1022. Fm: Tony Beaumont 100752,3204
  1023. To: stephen s. rinsler 70353,714
  1024.  
  1025. >>.. Can LINUX be installed on an HPFS partition? ..<<
  1026.  
  1027. I  don't think so. If it can, it won't work properly as HPFS access is
  1028. read-only.
  1029.  
  1030. >>.. Can LINUX read files on an HPFS partition? ..<<
  1031.  
  1032. Yes, but access is read-only.
  1033.  
  1034. >>.. Can LINUX apps work on files located on an HPFS partition?
  1035.  
  1036. See above.
  1037.  
  1038.  You may be able to access HPFS files sufficiently to produce results that you
  1039. need in your Linux partition, e.g. when patching the kernel (from /usr/src in
  1040. Slackware) you may be able to
  1041.  
  1042.         "gunzip -c /hpfsdrive/cserve/download | patch -p0"
  1043.  
  1044. I do that with downloads to  /dosc (my C: drive) on a regular basis, which
  1045. patches correctly, leaving the original downloaded gzipped patch untouched,
  1046. but my C: drive is dos, not HPFS.
  1047.  
  1048. If you want to try, please let us know how it works.
  1049.  
  1050. Tony
  1051.  
  1052. #: 282045 S16/Linux System  [UNIXFORU]
  1053.     22-Jul-96  20:30:04
  1054. Sb: #282038-#LINUX and HPFS??
  1055. Fm: Martin von Lowis 74453,752
  1056. To: stephen s. rinsler 70353,714
  1057.  
  1058. Steve,
  1059. If you intend to share a large amount of data between Linux and OS/2, a small
  1060. FAT partition is probably not the best option. Linux cannot read HPFS, and it
  1061. has been that way for several years now.
  1062. Check out the ext2fs driver for OS/2, though.
  1063.  
  1064. Regards,
  1065. Martin
  1066.  
  1067. There are 2 Replies.
  1068.  
  1069. #: 282061 S16/Linux System  [UNIXFORU]
  1070.     23-Jul-96  02:16:56
  1071. Sb: #282038-LINUX and HPFS??
  1072. Fm: Tony Beaumont 100752,3204
  1073. To: stephen s. rinsler 70353,714
  1074.  
  1075. >>.. I am trying to figure out the best assortment of partitions for a three
  1076. OS setup using HPFS and ?ext2 formats (in addition to a mimimally sized FAT
  1077. partiition for DOS) for optimal performance..<<
  1078.  
  1079. That is exactly what I have, except my Dos/Win partition is more than minimal,
  1080. since it is the fallback for my business when I get stuck with Linux - which
  1081. happens frequently, as I am still learning. Also I am still trying to decide
  1082. which version of Linux to major on so I have three loaded experimentally:
  1083. Slackware, Linux-FT and Caldera. The whole lot are controlled by the OS2 boot
  1084. manager.
  1085.  
  1086. How big is your HD? I have a 1.2+ gig Quantum Fireball, of which I have
  1087. allocated 200Mb for Dos/Win, 200Mb HPFS for OS2, 200Mb for Slackware, 200Mb
  1088. for Linux-FT, and the balance of 400+Mb to Caldera (because I,m still playing
  1089. with it most).
  1090.  
  1091. I have two other DHs, one backing up Dos/Win and OS2, and one backing up the
  1092. Linuxen, but am looking for a second Quantum identical to the first.
  1093.  
  1094. Tony
  1095.  
  1096. #: 282100 S16/Linux System  [UNIXFORU]
  1097.     24-Jul-96  03:29:45
  1098. Sb: #282076-LINUX and HPFS??
  1099. Fm: Martin von Lowis 74453,752
  1100. To: stephen s. rinsler 70353,714
  1101.  
  1102. Stephen,
  1103. Sorry, no, there are no ext2 drivers for NT or Win95, yet. The OS/2 driver
  1104. consists of a IFS and a type specific driver (TSD) which allows you to assign
  1105. arbitrary drive letters to your ext2 partitions (and, in the course, to any
  1106. other partition). This was necessary because the original one would do strange
  1107. things if told to accept ext2 partitions.
  1108. The architecture of a Win95 IFS would be similar, however, the DDK is not
  1109. specific enough to actually enable a developer to write an IFS for Win95. As
  1110. there is *some* documentation, I expect this one day or the other, though.
  1111. As for NT, Microsoft is withholding any information on how file system drivers
  1112. on NT work. They promised to release an FS SDK years ago, but later dropped
  1113. that plan. So, no third party IFS drivers for NT any time soon.
  1114. Finally, there are the ext2 tools for DOS. These are applications rather than
  1115. drivers. So you have tools like e2ls and e2cp. Although this does not give you
  1116. native file system feeling, it still allows you to get files off the ext2
  1117. drive.
  1118.  
  1119. Regards,
  1120. Martin
  1121.  
  1122. #: 282174 S2/New to UNIX  [UNIXFORU]
  1123.     25-Jul-96  13:26:13
  1124. Sb: #282171-dos/windows/unix
  1125. Fm: Udo Munk 74431,1671
  1126. To: Mary Childs 100621,2710 (X)
  1127.  
  1128. This is possible yes, Linux comes with a UMDOS filesystem which lives as a
  1129. huge file under DOS. It is not recomended to use this because it causes a
  1130. significant performance loss for filesystem I/O, but it is possible. It comes
  1131. with a program you run from DOS to boot Linux, so it is not necessary to
  1132. replace the boot loader at all.
  1133.  
  1134. #: 282203 S16/Linux System  [UNIXFORU]
  1135.     26-Jul-96  02:33:42
  1136. Sb: #282109-#LINUX and HPFS??
  1137. Fm: Martin von Lowis 74453,752
  1138. To: stephen s. rinsler 70353,714
  1139.  
  1140. >>Do the ext2fs tools for DOS, allow access to files located on an ext2fs
  1141. partition when one is running DOS or Windows on a FAT partition?
  1142.  
  1143. Exactly.
  1144. As for booting OS/2 from an ext2 partition, I understand it is 'somewhat'
  1145. supported. That is, if you could get around the part where the OS/2 boot
  1146. loader reads config.sys to load the ext2 driver, it would work.
  1147. As for NT and HPFS, are you aware that HPFS support is being dropped 
  1148. from NT4?
  1149.  
  1150. Martin
  1151.  
  1152. #: 604962 S0/Outbox File
  1153.     26-Jul-96  18:42:00
  1154. Sb: partitioning 2hds !!
  1155. Fm: stephen s rinsler
  1156. To: all
  1157.  
  1158. I have installed a second hard drive which has now been sitting empty for a
  1159. while.
  1160.  
  1161. I have DOS, OS/2 installed as operating systems on Partition C from which I
  1162. boot.
  1163.  
  1164. The new drive is larger and ultimately I may want to make it my C: drive and
  1165. boot everything from it.
  1166.  
  1167. However, at this time I have no desire to move the existing OSes to this drive,
  1168. so I thought I might just format 2 partitions first and just install Linux on
  1169. this drive. I am planning to install System Commander onto the C: partition
  1170. (where DOS and OS2 currently are located).
  1171.  
  1172. If I make the second hard (which is much the larger of the two) the C: drive,
  1173. I will do so by switching the drive to the primary IDE connection on the
  1174. motherboard from the secondary one it is connected to now.
  1175.  
  1176. In anticipation of that, I plan to make the first partition on this second
  1177. drive FAT and then have a ext2fs format (for Linux). OS/2 files can be
  1178. written and read from ext2fs partitions using the ext2fs for OS2 utility.
  1179.  
  1180. With this setup, OS/2 should be able to access all partitions (if I don't use a
  1181. primary partition on the second hard drive) and Linux will be able to see
  1182. everything (except the files on the FAT partition?).  (I won't need an HPFS
  1183. partition unless that is desirable for an OS2 swap file.)
  1184.  
  1185. Size of partitions: to begin with, I thought I would have a small (200 meg)
  1186. FAT partition and then a medium (700 meg?) ext2fs partition and leave 700
  1187. megs unformatted for now.)
  1188.  
  1189. I await comments with bated breath<g>.
  1190.  
  1191. Steve
  1192.  
  1193. #: 282306 S16/Linux System  [UNIXFORU]
  1194.     28-Jul-96  10:53:57
  1195. Sb: #282252-partitioning 2hds !!
  1196. Fm: C. Hoesle-Kienzlen 100120,1273
  1197. To: stephen s. rinsler 70353,714
  1198.  
  1199. Stephen:
  1200. be careful. As far as I know, you can read OS/2 but not write to it. DOS is
  1201. absolutely no problem, you can read and write to any FAT partition, be it
  1202. primary or secondary, from linux.
  1203. You should consider how many primary partitions you will use. DOS will serve
  1204. those first with drive-letters. DOS will not "see" an HPFS or ext2fs -
  1205. formatted primary partition at all, it only sees a primary partition anyhow if
  1206. it is bootable. Linux has no such constraints, it can be booted from any
  1207. partition, primary or extended.
  1208. On good way would be if you set up the OS/2 bootmanager as the first partition
  1209. on the first HD, then partition all others with OS/2s FDISK, especially those
  1210. for Linux. Then you can use the bootmanager to boot either of the three OSses.
  1211. If you partition the Linux partitions with Linux's FDISK, then the bootmanager
  1212. will not accept them. To be sure, OS/2s start partition should be starting
  1213. below 512 MB, otherwise you will have troubles. Again, Linux is not so
  1214. particular.
  1215. I have the following configuration:
  1216. HD0:
  1217. 1) (primary) OS/2s bootmanager - 2 MB
  1218. 2) (primary) DOS-drive C: - for ODS/Windoze programs
  1219. 3) (primary) HPFS-OS/2 drive C: for OS/2 programs
  1220. 4) (extended) DOS drive D: for DOS/Windoze data
  1221. HD1:
  1222. 1) (extended) DOS drive E: for DOS/Windoze temp and swap
  1223. 2) (extended) HPFS-OS/2 drive D: for OS/2 data
  1224. 3) (extended) HPFS-OS/2 drive E: for swap
  1225. 4) (primary) ext2fs Linux root
  1226. 5) (primary) ext2fs Linux /home
  1227. 6) (primary) ext2fs Linux swap
  1228.  
  1229. My choice reflects what I want the different OSses to see and, in case of DOS
  1230. and OS/2 what drive-letters I want them to allocate. This way, I have C: D:
  1231. and E: each for DOS and OS/2 (where OS/2 can see the D: and E: DOS-partitions
  1232. and DOS can not see any other than it's own.  Linux can see them all, but then
  1233. Linux doesn't use those ridiculous drive letters.
  1234.  
  1235. You see, there are all kinds of ways to do this, it's really very tricky.
  1236.  
  1237. Cheers, Conrad
  1238.  
  1239. #: 282306 S16/Linux System  [UNIXFORU]
  1240.     28-Jul-96  10:53:57
  1241. Sb: #282252-partitioning 2hds !!
  1242. Fm: C. Hoesle-Kienzlen 100120,1273
  1243. To: stephen s. rinsler 70353,714
  1244.  
  1245. Stephen:
  1246. be careful. As far as I know, you can read OS/2 but not write to it. DOS is
  1247. absolutely no problem, you can read and write to any FAT partition, be it
  1248. primary or secondary, from linux.
  1249. You should consider how many primary partitions you will use. DOS will serve
  1250. those first with drive-letters. DOS will not "see" an HPFS or ext2fs -
  1251. formatted primary partition at all, it only sees a primary partition anyhow if
  1252. it is bootable. Linux has no such constraints, it can be booted from any
  1253. partition, primary or extended.
  1254. On good way would be if you set up the OS/2 bootmanager as the first partition
  1255. on the first HD, then partition all others with OS/2s FDISK, especially those
  1256. for Linux. Then you can use the bootmanager to boot either of the three OSses.
  1257. If you partition the Linux partitions with Linux's FDISK, then the bootmanager
  1258. will not accept them. To be sure, OS/2s start partition should be starting
  1259. below 512 MB, otherwise you will have troubles. Again, Linux is not so
  1260. particular.
  1261. I have the following configuration:
  1262. HD0:
  1263. 1) (primary) OS/2s bootmanager - 2 MB
  1264. 2) (primary) DOS-drive C: - for ODS/Windoze programs
  1265. 3) (primary) HPFS-OS/2 drive C: for OS/2 programs
  1266. 4) (extended) DOS drive D: for DOS/Windoze data
  1267. HD1:
  1268. 1) (extended) DOS drive E: for DOS/Windoze temp and swap
  1269. 2) (extended) HPFS-OS/2 drive D: for OS/2 data
  1270. 3) (extended) HPFS-OS/2 drive E: for swap
  1271. 4) (primary) ext2fs Linux root
  1272. 5) (primary) ext2fs Linux /home
  1273. 6) (primary) ext2fs Linux swap
  1274.  
  1275. My choice reflects what I want the different OSses to see and, in case of DOS
  1276. and OS/2 what drive-letters I want them to allocate. This way, I have C: D:
  1277. and E: each for DOS and OS/2 (where OS/2 can see the D: and E: DOS-partitions
  1278. and DOS can not see any other than it's own.  Linux can see them all, but then
  1279. Linux doesn't use those ridiculous drive letters.
  1280.  
  1281. You see, there are all kinds of ways to do this, it's really very tricky.
  1282.  
  1283. Cheers, Conrad
  1284.  
  1285. #: 282317 S16/Linux System  [UNIXFORU]
  1286.     28-Jul-96  18:08:28
  1287. Sb: #282299-LINUX and HPFS??
  1288. Fm: Martin von Lowis 74453,752
  1289. To: Thomas  Mueller 76020,273
  1290.  
  1291. Tom,
  1292.  
  1293. >As for disk space taken just to support HPFS under Win NT, I suppose that
  1294. would be the size of the .IFS file.
  1295.  
  1296. Oh, I just found that I misread your message. Yes, on NT 3.51, it is just
  1297. pinball.sys: 121K. For comparison, the NTFS driver is 326K, and the FASTFAT
  1298. driver 130K. Only CDFS is smaller: 48K.
  1299. I don't think that space considerations are the reason to drop it, that would
  1300. be stupid considering the total size of NT. It is the man power that this
  1301. driver consumed, and which can now be spend elsewhere.
  1302.  
  1303. Imagine the following scenario: Somebody changes the IFS interface for NT 4,
  1304. maybe for performance reasons. The HPFS driver would need an update, however,
  1305. there is a permanent shortage of skilled IFS people (all over the world). So
  1306. the management decides to let these people work on something else.
  1307.  
  1308. >>MS has been dropping OS/2 support from a lot of other products as well
  1309.  
  1310. I can't blame them for not supporting a dying operating system, anymore. I
  1311. never thought it would be a success, anyways.
  1312.  
  1313. >>difficultirs running some of the Windows products under WIN-OS/2.
  1314.  
  1315. Well, I had difficulties to run OS/2 software on OS/2 (drivers in particular),
  1316. so I'm not surprised that the Windows emulation has problems. Windows software
  1317. is designed for Windows, not for OS/2. If the emulation is bad, fix the
  1318. emulation.
  1319.  
  1320. Martin
  1321.  
  1322. #: 282331 S16/Linux System  [UNIXFORU]
  1323.     29-Jul-96  05:01:55
  1324. Sb: #282298-LINUX and HPFS??
  1325. Fm: Tony Beaumont 100752,3204
  1326. To: Thomas  Mueller 76020,273
  1327.  
  1328. >>.. Most of us will be straitjacketed into using M$ OSs if we are willing to
  1329. be, and don't develop applications for other OSs such as OS/2 and
  1330. Linux/Unix..<<
  1331.  
  1332. I guess that is right. Further to which I am becoming concerned by the
  1333. shortage of commercial ports to Linux. Apart from the Unix version of
  1334. WordPerfect now available from Caldera either stand-alone or as part of their
  1335. "Network Office Suite" (as Lasermoon rather grandly describes it, though
  1336. Caldera still refers to it on their Internet site as an "applications
  1337. bundle"), there is not too much available. Up to now I have not tried it, but
  1338. I will very shortly. Apart from that there is Angoss Smartware Plus, Wazo and
  1339. not much else.
  1340.  
  1341. Fortunately the quality of the shareware and freeware available for Linux/Unix
  1342. is pretty good, and generally adequate for internet use, but I really need
  1343. commercially supported DTP, scanning, painting and drawing packages as well as
  1344. Internet stuff.
  1345.  
  1346. To that end, I intend to start badgering Corel, Adobe and others.
  1347.  
  1348. I suggest other Linux users do the same.
  1349.  
  1350. Tony
  1351.  
  1352. #: 282332 S16/Linux System  [UNIXFORU]
  1353.     29-Jul-96  05:02:02
  1354. Sb: #282306-partitioning 2hds !!
  1355. Fm: Tony Beaumont 100752,3204
  1356. To: C. Hoesle-Kienzlen 100120,1273
  1357.  
  1358. >>.. On good way would be if you set up the OS/2 bootmanager as the first
  1359. partition on the first HD, then partition all others with OS/2s FDISK,
  1360. especially those for Linux..<<
  1361.  
  1362. Yes that works - except you forgot to add that you must then retag the Linux
  1363. partitions as Type83 (Linux native) or Type 82 (Linux swap), and format (or
  1364. reformat) them during the Linux install.
  1365.  
  1366. Tony
  1367.  
  1368.