LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-14-2003, 04:48 PM   #1
dot hog
Member
 
Registered: Oct 2003
Location: Boondocks USA
Distribution: RH9
Posts: 50

Rep: Reputation: 15
Quick Newbie Quest. about 1st 1024 cylinders


Hello, everyone.

A friend told me I needed to get my /boot somewhere in the 1st 1024 cylinders of my HD to be able to dual-boot Linux and XP. Without Part. Magic, it took me a year and a day to move the XP partition (which is in NTFS format, so can't move it w/ freeware). But I got it done.

Now I can't boot up XP (or Linux, another post, another time), and I know it's because XP went from being hda1 to hda4.

After reading a bunch of posts, I'm wondering: Did I even need to bother putting /boot in the first 1024 cylinders? So many people have /boot all the way back at hda6 or 7 that I'm wondering if the GRUB install to the MBR is good enough to do the job.

Clue me in. If XP wants to be a big baby about it and just HAS to be hda1, then I'll just reformat the whole stinkin' drive and start from square 1 (assuming I can install XP from my Dell XP re-installation CD).

Thanks.
 
Old 10-14-2003, 04:55 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
Older hardware would have required it but most modern hardware would be ok - If you had tried you would have found out and it wouldn't have done any harm
 
Old 10-14-2003, 05:17 PM   #3
dot hog
Member
 
Registered: Oct 2003
Location: Boondocks USA
Distribution: RH9
Posts: 50

Original Poster
Rep: Reputation: 15
Yeah, when I first went through the RH9 install and had my drive as:

hda1 39 MB BIOS/MBR
hda2 23 GB Win XP
----- 15 GB Free space

I tried to just install RH9 to the free space. But RH freaked out and gave me a prompt telling me something about disk geometry. So I figured my friend was right and went ahead with the crazy partitioning.

RH9 just must be living in the past re: /boot and the 1024 rule. Guess they keep it for older machines, but they should at least mention something.

Thanks.
 
Old 10-14-2003, 05:19 PM   #4
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
The warning is still there but it is more or less redundant now.
 
Old 10-14-2003, 05:22 PM   #5
DMR
Member
 
Registered: Jun 2001
Location: Fairfax, California
Distribution: RH 9.0, RH 7.3, Mandrake 8.0
Posts: 986

Rep: Reputation: 30
It was a limitation of much older BIOSes, and also a limitation in early (pre 21.4) versions of lilo, which did not support lba32 mode. For some reason, many people still think it's an issue, but it itsn't. BTW- Grub never had this limitatation.

As for the above-mentioned experience with Redhat 9 and disk geomentry, that's almost certainly not a function of the 1024 cylinder limit, even if it is geometry-related in general.

You might be able to get XP to boot from hda4, some versions of Windows are less picky about where they live than others.

What are you currently using as your bootloader? Post the contents of the bootloader's configuration file.

Last edited by DMR; 10-14-2003 at 05:26 PM.
 
Old 10-14-2003, 05:38 PM   #6
dot hog
Member
 
Registered: Oct 2003
Location: Boondocks USA
Distribution: RH9
Posts: 50

Original Poster
Rep: Reputation: 15
Using GRUB.

grub.conf looks something like:
title RH9 (2.4.20-8)
root (hd0,1)
kernel /vmlinuz-2.4.20-8 ro root=LABEL=/
initrd /initrd-2.4.20-8.img
title XP
rootnoverify (hd0,4)
chainloader +1

my HD looks like:
hda 1 Dell System BIOS (MBR)
hda 2 /boot
hda 3 extended (Linux)
hda 5 swap
hda 6 / {root}
hda 4 Win XP (NTFS)

As things stand, the GRUB comes up fine but can't get me to XP. It takes me to Linux okay, though.

I'll wait to format and fdisk in case somebody has any ideas.
I'm planning on the format, fdisk, then going back to original
config that Win XP liked:
hda 1 Dell BIOS
hda 2 Win XP
----- Free Space

But this time I'll make sure XP is in FAT32 format. Then I'll install RH9 to the free space at the END, not middle, of the partitions.

Appreciate the help. Any more ideas greatly appreciated.

Last edited by dot hog; 10-14-2003 at 05:45 PM.
 
Old 10-14-2003, 06:04 PM   #7
DMR
Member
 
Registered: Jun 2001
Location: Fairfax, California
Distribution: RH 9.0, RH 7.3, Mandrake 8.0
Posts: 986

Rep: Reputation: 30
Quote:
rootnoverify (hd0,4)
Grub starts it's drive/partition numbering at "0", so if XP is truly on hda4, that line should read:

rootnoverify (hd0,3)
 
Old 10-14-2003, 06:13 PM   #8
dot hog
Member
 
Registered: Oct 2003
Location: Boondocks USA
Distribution: RH9
Posts: 50

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by DMR
Grub starts it's drive/partition numbering at "0", so if XP is truly on hda4, that line should read:

rootnoverify (hd0,3)
Man alive. Thanks -- didn't even notice that. I had it right for my Linux, but forgot about Win XP.

Changing it now. You saved me an hour of sitting through boring installations. Thanks again.

Now to attack my Linux drivers!
 
Old 10-14-2003, 06:34 PM   #9
DMR
Member
 
Registered: Jun 2001
Location: Fairfax, California
Distribution: RH 9.0, RH 7.3, Mandrake 8.0
Posts: 986

Rep: Reputation: 30
You're welcome; hope that does the trick for you!

 
  


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
post 1024 cylinders unpartitioned installation? eliteskills Linux - Newbie 2 02-14-2005 05:09 PM
problem with Installing red hat linux dual boot(/boot < for 1024 cylinders ) praveenb Linux - Newbie 2 02-13-2004 09:49 PM
Boot partition after 1024 cylinders concoran Linux - General 5 10-19-2001 03:21 PM
Boot sector > 1024 cylinders amitrgholap Linux - Software 2 09-28-2001 01:41 PM
Boot sector > 1024 cylinders amitrgholap Linux - Newbie 1 09-28-2001 06:55 AM


All times are GMT -5. The time now is 10:40 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