Go Back   PCMech Forums > Linux Support > Linux OS and Software Assistance

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 11-24-2001, 04:10 PM   #1
Member (11 bit)
 
RenegadeKing's Avatar
 
Join Date: Nov 2001
Location: Massachusetts
Posts: 1,487
Question Partitions

Hi. I'm trying to install Red Hat linux. I have a 60 gig hard drive so I don't exactly want to buy another one for linux. I used fips to split the partition, I deleted it and I tried to install linux. Well the install gave me crap about wrong boot sector sizes or sumthing so it refused to do all the partioning for me. So I made the partitions myself and when I tried to continue it yelled at me saying it strongly reccomended I didn't continue because the boot partion was too large. I'm not exactly sure what it said. When I did the manual partition I followed directions and made each partition the recommended size. I made sure that the boot partition was less than 1024 cylinders but I kept telling me that it was way over. Well that was Red Hat 7.1. I just tried 7.2. I did the same thing with fips and deleted that partition. This time I got farther. I created the partions but it did give me some warnings about the same stuff. I finished installing and lilo didn't work so I used a boot disk but a few things failed while loading linux and then never finished loading. Just kinda hung.

Well I thought maybe it didn't like being installed at the end of the hard drive, maybe it would prefer the first half and give windows the second half. I dunno though. I did follow red hat's instructions for using fips. I'm not even sure what the problem is. If anyone could help me I'd really appreciate it. Thanx.

RenegadeKing
__________________
"When the only tool you have is a hammer, every problem starts to look like a nail."
RenegadeKing is offline   Reply With Quote
Old 11-24-2001, 04:54 PM   #2
Premium Member
 
Statica's Avatar
 
Join Date: Jun 1999
Posts: 9,231
Ok, let's start with the basics...

* Why are you using FIPS to create a partition?

Are you trying to dualboot? Is there another OS on the same 60Gig HDD that you have?

* Are you trying to install only Linux to that HDD?

* Do you have any other partitions right now?

You are aware right that FIPS is to be used ONLY to split up a partition. For example, if you were using Windows and 60GB were being used by a FAT32 partition in C drive. Then you use FIPS to resize the partition, that is C drive being made into 10 GB and then to FREE up the space so that you could install redhat to the remaining 50 GB.

Elucidate on the contents of your HDD and your requirements and we can go from there.
Statica is offline   Reply With Quote
Old 11-24-2001, 05:01 PM   #3
Member (11 bit)
 
RenegadeKing's Avatar
 
Join Date: Nov 2001
Location: Massachusetts
Posts: 1,487
Redhat

Sorry I wasn't as clear as I should have been. I had a FAT32 windows partition on the whole drive. I used fips to split it so I can give windows 45 gigs and linux 15. So after I split it I deleted the 15 gig one so that redhat could install its partitions there.

So I ultimately want to dual boot linux and windows.
RenegadeKing is offline   Reply With Quote
Old 11-26-2001, 08:37 AM   #4
Premium Member
 
Statica's Avatar
 
Join Date: Jun 1999
Posts: 9,231
1) Go to windows/dos and run FDISK
2) delete any logical dos drives (on the 15GB partition)... keep the extended partition
3) Boot to RedHat setup from CD
4) During the partitioning setup select the 15GB partition for your work
and create the following (this is a very simplistic schema dealing with ONLY what you need):
schema - 1: this is the bare minimum
Size - type - mount point
----------------------------------
16MB - Linux native - /boot
128MB - Swap - swap
remaining - Linux native - /

schema -2 : this is a better partitioning format

Size - type - mount point
----------------------------------
16MB - Linux native - /boot
128MB - Swap - swap
50MB - Linux native - /tmp
50MB - Linux native - /var
500MB - Linux native - /home
10240 - Linux native - /usr
remaining - linux native - /

Checkpoint: DID YOU SELECT THE EMPTY SPACE ON THE 15GB PARTITION?

5) Dont worry about trying to get Linux to recognize your first partition (or C drive) for now it can be done later
6) create a bootdisk and install Lilo to the MBR

Does it work now?
Statica is offline   Reply With Quote
Old 11-26-2001, 05:07 PM   #5
Member (11 bit)
 
RenegadeKing's Avatar
 
Join Date: Nov 2001
Location: Massachusetts
Posts: 1,487
CRASH

Here is exactly what happened during and after installation:

I got to the manual partition Disk Druid part of the installation, but got this message:

"The partition table on /tmp/hde is inconsistent. There are many reasons why this might be the case. Often, the reason is that Linux detected the BIOS geometry incorrectly. However, this does not appear to be the case here. It is safe to ignore, but ignoring may cause (fixable) problems with some boot loaders, and may cause problems with FAT file systems. Using LBA is recommended."

I pressed ignore to continue. I made the partitions like you said in schema-2. I made sure they went into the 15 gig extended partition. After making the /boot partition though, I got this message:

"Warning: boot partition /boot may not meet booting constraints for your architecture. Creation of boot disk is highly encouraged."

I pressed "Add Anyway" to make it. When I finished making the partitions I made sure it used all the free space in the 15 gig extended partition and pressed continue. It said that the /boot partition was too small. It wanted it to be 50. It also wanted the swap partition to be at least the size of the available RAM I have (512 mb) I fixed that and continued.

I chose to install LILO to the MBR. Then continued the installation as normal. After it finished I rebooted and LILO didn't come up. It just continued to load windows. I rebooted this time with my linux boot disk. The first few things loaded with the green OK. Then out of nowhere it showed this message and hung there:

Code: 8b 44 82 18 0f af 5e 0c 89 42 14 03 5a 0c 40 75 05 8b 02 89
Kernel panic: Attempted to kill init!

So that is how far I am. Any idea on what is wrong?

RenegadeKing
RenegadeKing is offline   Reply With Quote
Old 11-27-2001, 08:03 AM   #6
Premium Member
 
Statica's Avatar
 
Join Date: Jun 1999
Posts: 9,231
Is your HDD on the RAID controller? what is the IDE controller?
Statica is offline   Reply With Quote
Old 11-27-2001, 03:38 PM   #7
Member (11 bit)
 
Computer Hobbyist's Avatar
 
Join Date: Feb 2001
Location: Blue Springs, MO
Posts: 1,766
Statica

Just a simple minded question, but for the average user, why is schema 2 better than schema 1?

CH
Computer Hobbyist is offline   Reply With Quote
Old 11-27-2001, 04:02 PM   #8
Member (11 bit)
 
RenegadeKing's Avatar
 
Join Date: Nov 2001
Location: Massachusetts
Posts: 1,487
Is this what you're looking for?

High Point HTP370 IDE Controller

Here is info on my mother board if it helps: http://www.abit-usa.com/eng/product/mb/kt7a-raid.htm

I have two HDDs on IDE3 which is the bottom orange IDE port in the picture on the above site.

I don't have a RAID array setup on the two HDDs.

RenegadeKing
RenegadeKing is offline   Reply With Quote
Old 11-27-2001, 11:44 PM   #9
Premium Member
 
Statica's Avatar
 
Join Date: Jun 1999
Posts: 9,231
RenegadeKing:

Thats what I thought, your HPT370 isnt natively supported by RedHat 7.2

What I'd suggest is doing the setup with your linux HDD connected to a vanilla IDE connector and then you can verify and test the highpoint drivers. Ok so I realize that the solution is cumbersome.

You can however go to the highpoint website and download the linux drivers and make yourself a HPT bootdisk for 7.2 and use that to boot up your setup. the directions should be provided in detail within the zip file. Remember to read the appropriate readme's. and i cant stress it enough ... .you have to check for hardware compatibility before you begin.
http://www.highpoint-tech.com/support.htm



Hi CH:

I'll briefly elucidate what should be a good partitioning schema.
Basically, even though the ext2 is very efficient in keeping down fragmentation to a minimum and never compromising on data integrity and access speed, it is also up to the sysadmin to make sure that the partition schema reflect the needs of the users and the uses. To this effect it is recommended that you partition out cleverly. Also as you can see the better the partitioning the easier it is to manage disk space. Paritioning should also be determined by the lifetime of a particular file. For example, the files in your /boot rarely ever change, whereas files in /tmp or /var/log would change frequently, perhaps even on an hourly basis.
Say you put your /tmp the same partition as /, then you would run the risk of having too many temp files without you needing them. Or suppose you ran out of space on your /, you might not be able to save as many /var/log files that you might need.
So I recommend that partitioning system as a decent enough way to get ahead:
16MB /boot (to get the kernel under the 1024 cyl)
128MB - Swap (renegadeking had decent amt of RAM
50MB - /tmp (most home users dont accumulate more than that)
50MB - Linux native - /var (again most home users dont need to store more than 50MB of logs .. mind you these are ASCII files, not bloated proprietary stuff that M$ and its buddies generate)
500MB - /home - to most with say 2 or 3 users that is more than enough
10240 - /usr (executables, programs etc get stored here)
remaining - linux native - / for the rest of it

This is just scratching the surface of a bigger picture. you get better with time at what works best.

Cheers
Statica is offline   Reply With Quote
Old 11-28-2001, 09:22 PM   #10
Member (11 bit)
 
RenegadeKing's Avatar
 
Join Date: Nov 2001
Location: Massachusetts
Posts: 1,487
Well, I downloaded the file release_v1.1_for_redhat.zip from http://www.highpoint-tech.com/370drivers_down.htm and read the install manual.

I think I could figure out the install with HPT370 boot disk, but I have a few questions.

It says "Before installation, you must remove all the disk drives, which are not physically attached to HPT370 controller, from your system." Are my cd and dvd rom drives connected to the HPT370 controller, or are just HDDs? If not, do they need to be disconnected? I don't think so because how then would I install linux.. I just thought I'd ask.

Here is what I'm really not sure about. It says if I am installing RH 7.1 then I must boot from a customized boot diskette to start installation. It includes the image rh71boot.img for the boot disk. Will this work for me since I am installing 7.2, or will I have to install 7.1? I did a Google search for rh72boot to see if there was one for 7.2, but it didn't find anything. You did say I could make myself an HPT bootdisk for 7.2 so I am still hopeful.

And lastly, you said it was very important to check for hardware compatibility. Did you mean with Redhat 7.2, or just these drivers? Where can I check for hardware compatibility?

Thanx for all the help so far, I appreciate it.

RenegadeKing
RenegadeKing is offline   Reply With Quote
Old 11-29-2001, 08:38 AM   #11
Premium Member
 
Statica's Avatar
 
Join Date: Jun 1999
Posts: 9,231
Quote:
Originally posted by RenegadeKing
Well, I downloaded the file release_v1.1_for_redhat.zip from http://www.highpoint-tech.com/370drivers_down.htm and read the install manual.

I think I could figure out the install with HPT370 boot disk, but I have a few questions.

It says "Before installation, you must remove all the disk drives, which are not physically attached to HPT370 controller, from your system." Are my cd and dvd rom drives connected to the HPT370 controller, or are just HDDs? If not, do they need to be disconnected? I don't think so because how then would I install linux.. I just thought I'd ask.



If you are going to install the drivers after your installation of RedHat then you need to remove 2 of the components FROM THE HPT controller that are going to be used to install : the HDD and the CD device that is going to run the setup for you. If you have the HDD on the HPT controller then you need to move it to the regular IDE connector.




Here is what I'm really not sure about. It says if I am installing RH 7.1 then I must boot from a customized boot diskette to start installation. It includes the image rh71boot.img for the boot disk. Will this work for me since I am installing 7.2, or will I have to install 7.1? I did a Google search for rh72boot to see if there was one for 7.2, but it didn't find anything. You did say I could make myself an HPT bootdisk for 7.2 so I am still hopeful.





You should be fine simply using the RH7.1 bootdisk, am not too sure .. shouldnt hurt to give it a try eh? If not you could always put in 7.1 and then upgrade over to 7.2 (its basically a kernel upgrade).




And lastly, you said it was very important to check for hardware compatibility. Did you mean with Redhat 7.2, or just these drivers? Where can I check for hardware compatibility?






Every linux distrib. has its own set of hardware compatibility lists, this is simply a list of the drivers that distrib ships with. for redhat check out:
http://hardware.redhat.com/hcl/

this is by no means the only list of devices that are supported by redhat or linux. there is more informtion at http://lhd.datapower.com/






Thanx for all the help so far, I appreciate it.

No worries.. hope u can get it running soon.
RenegadeKing [/B]
Statica is offline   Reply With Quote
Old 11-29-2001, 05:59 PM   #12
Member (11 bit)
 
RenegadeKing's Avatar
 
Join Date: Nov 2001
Location: Massachusetts
Posts: 1,487
Well, the disk wouldn't work with 7.2, so I installed 7.1. It loaded the HPT driver in the beginning of the installation without problems, and so the HDDs were shown as sda, so I assume that the driver did it's thing. I tried to make /boot in disk druid, but it said it was over 1024 cylinders, so it would make it. I went back to make it with redhat's fdisk, just to make sure it was under 1024. I made it and then went back to disk druid because I couldn't figure out how to make a swap partition with fdisk. I made the rest of the partitions with disk druid and continued. It warned me that the /boot partition was over 1024 cylinders so I should make a boot disk. Now I'm really confused. I saw what fdisk said and it was definitely less than 1024. Oh well. The rest installed fine, except the GUI stuff wouldn't work because 7.1 doesn't recognize the GeForce3. Oh well. I did the post install stuff, and restarted. I crossed my fingers.... And LILO popped up! I chose linux, and it loaded with NO problems! I'm going to upgrade to 7.2. Thanx so much for all the help! I'll post once more to let you know how the 7.2 upgrade goes..

RenegadeKing
RenegadeKing is offline   Reply With Quote
Old 11-29-2001, 09:37 PM   #13
Member (11 bit)
 
RenegadeKing's Avatar
 
Join Date: Nov 2001
Location: Massachusetts
Posts: 1,487
I can't upgrade to 7.2. It says that my swap partition (sda6) doesn't exist. I'm sure because it needs the HPT driver, but loading them the same way I did with 7.1 apparently doesn't work. So I guess that's ok. I can upgrade the kernel and such myself. But for now I don't have a gui, so.. I was able to download the Nvidia drivers from nvidia.com on windows. I set up linuxconf to mount my windows partition. I installed the drivers, but now I have to edit the xf86config-4 file. I want to use the the sample xf86config file that came with the drivers, but I know I'll have to edit it a little bit, like my monitor refresh rate and such. I opened it with vi, but I can't figure out how to edit it. Or maybe could I download whatever xconfig thing 7.2 uses, because that did have the geforce3 and it worked when I tested it b4 completing the installation.

RenegadeKing
RenegadeKing is offline   Reply With Quote
Old 11-30-2001, 08:12 PM   #14
Member (11 bit)
 
RenegadeKing's Avatar
 
Join Date: Nov 2001
Location: Massachusetts
Posts: 1,487
Talking

Well, finally, everything is running smoothly. I figured out how to edit the XF86Config-4 file. I got it to see the nVidia driver and got into gnome. Everything seems to work: video, sound, internet, mouse, keyboard. I downloaded Opera and am using it right now to post this. So this is my first post from linux. Thanx again for all the help! I really appreciate it.

RenegadeKing
RenegadeKing is offline   Reply With Quote
Old 12-01-2001, 05:13 AM   #15
Premium Member
 
Statica's Avatar
 
Join Date: Jun 1999
Posts: 9,231
Congratulations RenegadeKing. Can assure you that Linux is well worth the effort. Anyways the way you've worked your way out of the curveballs thrown at you during setup, can tell that you will have NO problems with the OS.
Statica is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 06:02 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2