home *** CD-ROM | disk | FTP | other *** search
/ BURKS 2 / BURKS_AUG97.ISO / BURKS / LINUX / HOWTO / mini / lwin95.txt < prev    next >
Text File  |  1997-07-07  |  9KB  |  214 lines

  1.  
  2.    
  3.    
  4.    Authored 11/95 by Jonathan Katz. Fixed/revised April 10, 1996, not to
  5.    mention slightly updated June 25, 1996 all by Jonathan Katz,
  6.    jkatz@in.net
  7.    
  8.    _1 Introduction_
  9.    
  10.    Many people have recently bought new machines, which (unfortunatly)
  11.    come pre-loaded with Windows 95. After exploring the Internet, many
  12.    users find the likes of Linux, and want to run a better OS at a much
  13.    better price. There are many different issues to address, because new
  14.    computers usually come with large EIDE hard drives, and Windows 95 has
  15.    extentions on the old FAT filesystem. Linux understands these issues
  16.    and can handle these challenges in hardware and software.
  17.    
  18.    _2 Let's get Ready to Rumble!_
  19.    
  20.    Linux and Windows 95 can get along quite well on the same hard disk.
  21.    You can also install Linux onto a separate hard disk on the same
  22.    machine. If you have the money to spare to get a second hard disk, go
  23.    ahead and do that. Although it is safe and reliable to run Windows 95
  24.    and Linux on the same hard disk, it is safer to have a second disk.
  25.    But, since I am a poor student, (and so are most of the people I know)
  26.    we are stuck with one large disk.
  27.    
  28.    I assume your hard disk looks like this:
  29.  
  30.         +---------------------------------
  31. C:      |  800M or so, maybe bigger?
  32.         |
  33.         +---------------------------------
  34.  
  35.    
  36.    
  37.    and Windows 95 and MS-Office and Qmodem Pro, and whatever DOS/Windows
  38.    software you have only takes up around 400M + Swap (this is a big,
  39.    sarcastic assumption)! I take it you don't want to lose all this
  40.    software you've spent a lot of time configuring and installing, so you
  41.    don't want to delete this partition and restart all over again.
  42.    
  43.    _3 Ok, I have this partition I want to spare!_
  44.    
  45.    Don't lose hope. There is a program called FIPS, which can
  46.    re-partition your Hard Disk without destroying data. HOWEVER, make
  47.    sure before you use it, you defrag your hard disk (with the optimum
  48.    defrag method). Use the defrag that came with Win95 and use it in the
  49.    GUI-- otherwise you will loose your long file names. After you are all
  50.    defraged, run FIPS and make your disk look something like the
  51.    following:
  52.    
  53.  
  54.         +-------------------------------------
  55. C:      | This is your FAT/VFAT/Win95 partition
  56.  450M   |
  57.         +------------------------------------
  58. ???     | This is empty space that starts BELOW the 1024th
  59.         |       cylander
  60.         +------------------------------------
  61.  
  62.    
  63.    
  64.    It is _VERY IMPORTANT_ that your Linux partition start before (below)
  65.    the 1024th cylander, otherwise you will be unable to boot it (and
  66.    that's not a good thing).
  67.    
  68.    _4 What Next?_
  69.    
  70.    Go ahead and install Linux to that new free space. If you are
  71.    paranoid, you can boot into Windows 95 and mak sure it still runs OK.
  72.    Just make sure your root partition begins below the 1024th cylander.
  73.    If you are like most people, you'll make a 400M Linux partition (which
  74.    is pretty comfortable) as well as 30M of SWAP (which is more than
  75.    enough).
  76.    
  77.    At this point, you should be able to install whatever distribution of
  78.    Linux you have without any troubles.
  79.    
  80.    _5 Using your new system!_
  81.    
  82.    Linux can mount, read, and write to Win95's VFAT partitions serveral
  83.    ways. You can use the stock msdos filesystem support that has been
  84.    included in all kernels greater than 1.0. However, using commands
  85.    like:
  86.  
  87. litterbox~#: mount -t msdos /dev/hda1 /mnt
  88.  
  89.    will only get you as far as filenames with the 8.3 standard. Yick! You
  90.    have Windows 95 partly so you can use those nifty long file names.
  91.    
  92.    Some Linux users still run kernels that are anchient (by Linux
  93.    standards). In other words, 1.2.xx kernels. Someone coded a module for
  94.    this series of kernels so a user can read files that do not conform to
  95.    the old 8.3 standard. FTP to
  96.    ftp://mm-ftp.cs.berkeley.edu/pub/multimedia/linux/xmsdos/ and pick up
  97.    a copy of README before doing anything. _NOTE_ I received this e-mail
  98.    recently. Click Here for the latest info on this vfat.o module!
  99.    
  100.    Finally, newer kernels (1.3.4x) as well as the long awaited 2.0
  101.    RELEASE have internal vfat support that you can compile in. These
  102.    kernels allow safe read/writes to your VFAT partitions.
  103.    
  104.    _NOTE:_ A word of caution!
  105.    
  106.    IF you are running a "newer" version of Windows 95 (one that
  107.    supposedly doesn't exist, like OEM-SR2) that has support for a
  108.    non-existant convention called FAT32, Linux CANNOT read and write (or
  109.    even mount) a FAT32 partition (yet). How can you tell if you are
  110.    running a non-existant version of Windows 95? Chances are you signed
  111.    several pieces of paper saying that this version does not exist. If
  112.    you still aren't sure, when you run:
  113.  
  114. C:\> ver /r
  115.  
  116. Mircosoft Windows 95 [4.00.1034]
  117.         (C) 1981-1996 Microsoft Corporation.
  118.  
  119.    
  120.    
  121.    and get that output, (a minor version GREATER than 950) you are
  122.    running a copy of Windows 95 that does not exist. You still may be
  123.    running a FAT16 or FAT12 partition, which LILO can deal with. However,
  124.    you may be running a FAT32 partition which means you can't get LILO to
  125.    load up a DOS/Win95 command.com or even read/write/mount it. Run FDISK
  126.    on that partition to be sure of it's type. If indeed it is FAT32 your
  127.    best bet is then to use the LINLOAD package that comes with newer
  128.    distributions of Linux and is widely available at your favorite FTP
  129.    site.
  130.    
  131.    _5.1 HELP!, I'm stuck with FAT32!_
  132.    
  133.    _5.1.2.1 I have this brand new box that I got from (unamed
  134.    chain/retail store)_
  135.    
  136.    Newer PCs (Built/sold AFTER July 1996, claiming to have "Enhanced
  137.    Windows 95") Will probably have FAT32 installed. (Use MS's fdisk
  138.    program to verify this) If you are installing Linux ontop of this
  139.    pre-existing system, follow the steps from above about installing
  140.    Linux onto a Win95 system, but do NOT install LILO. Instead, skip to
  141.    section 5.1.2 entitled "linload, what's that?" and read the
  142.    step-by-step workaround for this unfortunate situation.
  143.    
  144.    _5.1.2.2 OK, I get that inside joke about "ver /r" and signing lotsa
  145.    papers, but I can't boot Win95/6!_
  146.    
  147.    You just got your shiny new CD from Microsoft and you just HAD to run
  148.    that fat32.bat program so you could free some clusters. The word beta
  149.    is a flashing neon sign to you saying "come one, slay me, find my
  150.    bugs." It's OK, I understand, I have a short attention span too, as
  151.    well as a need for disk space. When you installed/upgraded with
  152.    OEM-SR2 the MBR got overwritten (again!) You then probably
  153.    re-installed LILO (with procedures mentioned in section 6 and were
  154.    happy until you read the documentation on FAT32, and began to lust
  155.    after the 10 or 30 megs more you could have on your disk. Upon reboot
  156.    you then realize that LILO won't load a FAT32 partition (I don't think
  157.    it will, this is completely untested!) Do not completely blow your
  158.    brains out over this. IF you made an emegency, backup OEM-SR2 boot
  159.    disk (like you were supposed to) you can skip all the way to the
  160.    _italics_! If you didn't, there still IS a workaround!
  161.    
  162.    _5.1.2.2 I really messed up this time!_
  163.    
  164.    Load up Linux and mount the OEM-SR2 CD under /cdrom Then, find the
  165.    disk image of the emergency systems disk. Under Linux do a
  166.  
  167. litterbox:/cdrom# find ./ -name "rawrite.exe" -print
  168.  
  169.    to find the directory. Using "dd" copy this image to a new, FORMATTED,
  170.    floppy. (If you aren't sure how to use dd, "man dd" gives examples).
  171.    _Mount this floppy now as a DOS floppy, and copy a copy of your
  172.    kernel, as well as the linload package to it (either off of your
  173.    distribution CD-ROM or from your favorite sunsite mirror.) Reboot off
  174.    this floppy, and type "fdisk /mbr" which clobbers your MBR again. Copy
  175.    and install the linload program to its own directory on your hard
  176.    disk, as well as the kernel._
  177.    
  178.    _5.1.3 Linload, What's That?_
  179.    
  180.    Linload is a DOS execuatble which loads a kernel image from a DOS HD
  181.    (or floppy) and then boots the rest of the Linux Operating System from
  182.    an appropriate root partition. If you're really a good hacker,