?
Solved

Install cannot find files

Posted on 2000-01-01
9
Medium Priority
?
246 Views
Last Modified: 2013-12-15
I am installing RedHat 5.2 onto my laptop. My laptop does
not have a CDROM drive but my desktop does. I have copied
RedHat to floppy to harddrive into RedHat directory. I have
booted from floppy and gotten through the install program
to the point where it asks where the installation files are
in the "Select Partition" screen on the directory line.
I keep getting the error: "Device hda1 does not appear to
contain a Red Hat installation tree." What do I type on that
line so Linux will see the installation files on the DOS
partition?
I have tried:
 /,      /dev/hda1/,     /dev,        /dev/,
 c:,     c:\redhat,      c:\REDHAT,   /dev/hda1/redhat,
 /dev/hda1/redhat/,      redhat/,     redhat,
 REDHAT,           (and more)
0
Comment
Question by:builder
  • 4
  • 4
9 Comments
 

Author Comment

by:builder
ID: 2317677
Why there are no help options in the program is beyond me.
There is nothing in the documentation to show how to access
the DOS partition.
0
 
LVL 12

Expert Comment

by:j2
ID: 2318024
WHen you copy files to a DOS partition, it messes up UPPERCASE and lovercase filenames. redhat expects to find a directory called RedHat. NOT redhat or REDHAT. Then all files must also have the correct casing.

look at ftp://ftp.sunet.se/pub/Linux/distributions/redhat/old-releases/redhat-5.2/i386/

(or any other mirror) then make sure that ALL files have the right casing, there is only a few thousand to check.

0
 

Author Comment

by:builder
ID: 2318644
After posting this question I stripped redhat off my hard drive, copied the CD files to my desktop(stripping off some of the rpm files because of harddrive size), zipped it to floppy, and copied to my laptop under RedHat(not redhat or REDHAT). Linux still cannot find the files. Is something being lost while copying?
0
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 
LVL 12

Expert Comment

by:j2
ID: 2318679
Yes. RockRidge extensions will be lost. and you might screw up the CaSiNg of filenames. But once again, you must have a directory "RedHat" which must have the directories 'base' 'instimage' and 'RPMS' And you cant strip things either, since the installer expects to find ALL files. If you which to strip files, you will have to regenerate the install files manually.
0
 

Author Comment

by:builder
ID: 2321656
I have taken another approach. I have stripped my 340meg hard drive to just the required DOS files, xcopied the CDROM disk via serial cable to the harddrive(about a 6 hour process). I have to delete some of the rpm files because they alone are 373meg. I could not have messed up the case-sensitive directoy names or their locations because I did not type any names. I defragged, ran fips, and booted.
It still cannot find the files. WHAT IS THE COMMAND THAT IS TYPED ON THE LINE - "DIRECTORY HOLDING RED HAT"?????????
My directory looks like this:
c:
  DOS        DIR
  DOC        DIR
    ALPHA    DIR    EMPTY
    FAQ      DIR    EMPTY
    HOWTO    DIR    EMPTY
    RHMANUAL DIR    EMPTY
  DOSUTILS   DIR
    AUTOBOOT DIR
    FIPS15C  DIR
    FIPS20   DIR
    FIPSDOCS DIR
  GNOME      DIR
    DOCS     DIR
    RPMS     DIR
    SRPMS    DIR
  IMAGES     DIR
  MISC       DIR
    BOOT     DIR
    SRC      DIR
  REDHAT     DIR
    BASE     DIR
    INSTIMAG DIR
    RPMS     DIR
  (I left off RHMOVED directory)
  I386
  COMMAND.COM
  WINA20.386
  CONFIG.SYS
  AUTOEXEC.BAT
  COPYING
  README
  RPM-PGP-
  TRANS.TBL
  _BUILDLO

Tell me where RedHat has to go to be recognized!!!
 
0
 

Accepted Solution

by:
laven earned 100 total points
ID: 2321881
There are two possible ways to preserve the file names needed for the Redhat installer.

1. Use Win'9X to copy the files to your DOS partition.  This will make a VFAT filesystem on that partition, which the Redhat installer can mount.  Make sure you name the folder "RedHat", with the exact capitalization.

2. Use Redhat boot disk to copy the CD to your DOS partition, but make sure you mount as type "vfat".  Something like the following command should work.
mount -t vfat /dev/hda1 /mnt/disk

Be sure the /mnt/disk directory exists.

Again be sure the "RedHat" folder has the exact capitalization.

I now remember two additional problems from Redhat 5.2.  The stock boot image on the genuine Redhat 5.2 CD had problems installing from a DOS partition.  I downloaded an updated boot disk and supplemental image and the installation worked.  I think you need both with a hard drive installation, but I could be wrong.

http://www.redhat.com/support/errata/rh52-errata-general.html#BootImg

Go there for your updated boot and supplemental disk images.  The page says that it adds VFAT and FAT32 partition support, which is necessary to install RedHat from a DOS partition.

These instructions should work, but I highly suggest using Redhat 6.1.  There are many dramatic improvements from 5.2 in the latest Redhat distribution, and it will save much headache in the long run.  There must also be dramatic laptop improvements, which should also help.

Really cheap Redhat 6.1 CD's are avaiable from places like lsl.com.  I bought a few Redhat and Mandrake CD's from them before I got my burner.  From my experience their service is very good, and you can't beat the price.  They once made a mistake in my order and sent me a wrong CD.  After I e-mailed them they replied in less than an hour, saying that they made a mistake and they would ship me the CD again, free of charge.  Now that's service =)

I just checked lsl.com's web site and they have their Free Redhat CD offer again.  You just pay postage, and they mail you the CD.  Albeit the postage is kinda high, but the total cost is only a few bucks.  Only a few bucks for a new Redhat 6.1 CD in 2-3 days.  That's a deal if I see one.

0
 
LVL 12

Expert Comment

by:j2
ID: 2321970
"REDHAT     " <--- Messed up filename, it HAS to be RedHat. (Note that DOS does not support mixed casing)
0
 
LVL 12

Expert Comment

by:j2
ID: 2321973
.just noticed that laven already said that.
0
 

Author Comment

by:builder
ID: 2324442
Thanks everybody. Nothing works. RedHat 6.1 is too big. I don't have a CDROM to boot from. I can't even get all of 5.2 on the harddrive. It is time to throw it away and lose the money spent. I'm gone.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Can you run Linux on a Windows system?  Yep.  Here's how.
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses
Course of the Month3 days, 3 hours left to enroll

598 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question