LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-24-2002, 05:31 PM   #1
Hachaso
Member
 
Registered: May 2001
Posts: 42

Rep: Reputation: 15
Thumbs down Red Hat 7.1 Installation


Hi!

My problem is that I can't install linux properly. I can partition the harddrive, and the installation process begins, but at the end it says something like...that device 0x03xxx(something) exceeds 1024 cylinders. It says that I need a boot disk to be able to boot linux. I've tryed partitioning the hardrive with Disk Druid...given it small partitions. Even tryed fdisk to see to that the boot partition doesn't excedd 1024 cylinders. What am I doing wrong.

Can someone give me detailed description of how to partition my harddrive. I need a good example that should work. I have a 20 Gb harddrive but I only want to use 10 Gb for linux.

Please help!
 
Old 03-24-2002, 05:36 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
search this forum for info on the lilo cylinder issue.

easier to jsut get a newer version of redhat, that's and old version now.
 
Old 03-26-2002, 06:54 AM   #3
subhasis_ray
Member
 
Registered: Jul 2001
Location: india
Distribution: RedHat 7.1,7.2,7.3, 8.0,9.0,Fedora,EL2.1,EL3.0
Posts: 103

Rep: Reputation: 16
it is true that RH7.1 is really an old distro now. but what u want can be done. i need to know what kind of hardware u have.

making small partitions is perfectly allright, but not needed. the problem lies with ur bios. if the bios is post year 2k, then it is supposed to allow booting from beyond 1024 cylinders.

i need to know where is your linux partition located? my guess is the partition containing linux is on the second half of the 20GB drive.

if the bios is post year2k, then let the install complete. then make a boot floppy when asked for. after complete install boot from the boot disk created, and edit /etc/lilo.conf

add the line "lba32" (without the double qoutes...), run /bin/lilo.

now ur lilo should work as expected.
 
Old 03-26-2002, 07:08 AM   #4
Hachaso
Member
 
Registered: May 2001
Posts: 42

Original Poster
Rep: Reputation: 15
Well the thing is that I tryed to only have linux on my harddrive. So there's no other OS right now. The strange thing is that it worked before, now it doesn't seem to do so.

I tryed to start linux with the bootdisk but doesn't seem to find any linux in /dev/hdb5. I think that it's the default location to look at???

Well I tryed to change the location to /dev/hda1, /dev/hda2 etc.
nothing works...

My computer is a Compaq Presario 5900T, 733 MHz(Intel PIII).
Found this in Compaq's homepage:

http://web14.compaq.com/falco/sp_det...Software=33721

Maybe this will help some???

Thanks!!!

Last edited by Hachaso; 03-26-2002 at 07:46 AM.
 
Old 03-27-2002, 12:42 AM   #5
subhasis_ray
Member
 
Registered: Jul 2001
Location: india
Distribution: RedHat 7.1,7.2,7.3, 8.0,9.0,Fedora,EL2.1,EL3.0
Posts: 103

Rep: Reputation: 16
u did not write if u have linux on the second half of ur 20GB drive. see this is important.....

well from ur reply it seems that due to some reason the linux was not installed properly. if u dont have any data (which i guess should be the case.....) reinstall the os, and this time make partitions with fdisk. the option is asked during installation. remember to make a swap partition of approximately double ur RAM size. i.e if u have 128MB of RAM make a swap of 250 to 275 MB.

and do not forget to make a new boot disk. note down the drive notation that the installer detects.... /devhda(Primary Master) or /dev/hdb(Primary Slave). Sometimes it so happens that the hdd is installed in the secondary IDE Cable. so check it out.

before doing all this, try booting with ur existing boot disk. press ctrl+x at the lilo screen, and u will get a prompt like this boot:
pass the following parameter--

linux root=/dev/hda1

see if it works. if not reinstall linux again and make the partitions as mentioned above..... DO NOT FORGET TO MAKE A NEW BOOT DISK


hope this works

well iwent to the site of compaq.. it seems that ur bios will allow booting from beyond 1024 cylinders. so it is OK. try what i wrote above and tell me.

Good Luck!!!!!!

Last edited by subhasis_ray; 03-27-2002 at 12:45 AM.
 
Old 03-28-2002, 03:59 AM   #6
Hachaso
Member
 
Registered: May 2001
Posts: 42

Original Poster
Rep: Reputation: 15
Hi again!

Well I was wondering, is it the boot partition which has to be below 1024 cylinders?

I have two harddrives. If I make a partition of 12 Gb at the beginning of the second drive, for linux. How do I have to do to make it work with Windows on the other??

Drive 1: 20 Gb Drive 2: 30 Gb
Windows XP 12 Gb for linux


What do I need. Assume the both are disks are empty. What to do??

Thanks!!!

Last edited by Hachaso; 03-28-2002 at 04:45 AM.
 
Old 03-28-2002, 05:16 AM   #7
subhasis_ray
Member
 
Registered: Jul 2001
Location: india
Distribution: RedHat 7.1,7.2,7.3, 8.0,9.0,Fedora,EL2.1,EL3.0
Posts: 103

Rep: Reputation: 16
yes u r right. the boot partition must be below 1024 cylinders.
but ur system seems to be post year 2000, and thus this is not that important. the bios should support booting from eyond 1024 cylinders......

what u do is repartiton ur drives as follows:

drive 1: entire win xp
drive 2: the first 12 GB to linux, and the rest to win XP or something else.

remember to make a boot disk for linux.

during installation, if ur WIN XP is the upgrade win 98 version, then install win98, then install linux and then upgrade win98 to winXP. in this manner u can preserve ur MBR.

after u install linux, boot the system with the linux bootable, and then edit /etc/lilo.conf as mentioned in the last post. DO NOT FORGET to add the line lba32 in /etc/lilo.conf......

then run lilo from the command prompt.

try booting the system.... lilo must work.

then upgrade win98 to winXP. this time the installer for winXP does not make any changes to the MBR.

try this and good luck again

Last edited by subhasis_ray; 03-28-2002 at 05:20 AM.
 
Old 03-28-2002, 05:54 AM   #8
Hachaso
Member
 
Registered: May 2001
Posts: 42

Original Poster
Rep: Reputation: 15
The strange thing is the many times when I tryed to install linux, it complains that the boot partition is past 1024 cylinder. How come?

Ok, I have both drives empty. But the installation of Win XP is from scratch, no upgrade.
How do I do in this case???

Does is work better with Red Hat 7.2??

Thanks!
 
Old 03-28-2002, 07:38 AM   #9
subhasis_ray
Member
 
Registered: Jul 2001
Location: india
Distribution: RedHat 7.1,7.2,7.3, 8.0,9.0,Fedora,EL2.1,EL3.0
Posts: 103

Rep: Reputation: 16
well that is no problem. let it report that the booting is from beyond 1024 cylinders.. just be sure to make a boot disk.

if u have to install win XP from scratch then i guess install winXp first and then install linux. still make boot disks.

always install a microsoft product and then install linux. as microsoft always thinks that your hard disk is its playground. so always install microsoft os es first.
 
Old 03-28-2002, 07:39 AM   #10
hanzerik
Member
 
Registered: Jan 2002
Location: Cheyenne Wyoming
Distribution: Debian/Raspbian/Mint
Posts: 717

Rep: Reputation: 32
During the install choose manual partition using diskdruid, the first partition you make will make will be on your second drive, probably "hdb" and it will be a 50meg /boot partition
then your /
then your swap
/win use remaining space

so when you are done the diskdruid window for hdb should look like:

/boot 50meg
/ 12g
swap 256meg
/win what is leftover, filesystem type fat32, used by both windows and linux

always make your /boot partition first.

I always install lilo on the MBR of first drive; hda, make sure you make a boot disk.


the harddrive designations might be different for your system:
hda = master primary ide controller
hdb = slave primary ide controller
hdc = master secondary ide controller ( usally cdrom )
hdd = slave secondary ide controller
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Installation doesn't recognize Red Hat Enterprise Linux ES installation cd bizkut Red Hat 2 08-15-2004 09:57 AM
Own Red Hat installation hendrixbart Linux - Software 0 04-19-2004 04:03 PM
Red Hat 9 Installation dragonback Linux - Distributions 6 06-21-2003 11:37 AM
Red Hat Installation fahad Linux - General 11 12-27-2002 08:08 PM
Help me with my Red Hat 7 installation gavina Linux - Software 3 04-19-2001 06:28 AM


All times are GMT -5. The time now is 03:20 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration