LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 05-23-2004, 09:10 PM   #31
marghorp
Senior Member
 
Registered: Jan 2004
Location: Slovenia
Distribution: Slackware 10.1, SLAX to the MAX :)
Posts: 1,040

Rep: Reputation: 45

You should probably start by suing Uncle Bill... LOL Just kidding.
 
Old 05-23-2004, 11:33 PM   #32
Kristijan
Member
 
Registered: Sep 2003
Location: Melbourne, Australia
Distribution: NetBSD 3.0.1, Slackware 10.1
Posts: 394

Rep: Reputation: 30
I dont seem to see any LBA option within my BIOS options. I have an ePox 8RDA+
 
Old 05-23-2004, 11:36 PM   #33
Ed-MtnBiker
Member
 
Registered: Oct 2003
Location: Reno, NV
Distribution: Fedora Core 3
Posts: 88

Rep: Reputation: 15
There appears to be a workaround emerging:
http://bugzilla.redhat.com/bugzilla/...?id=115980#c71

This doesn't help if you've already FUBARed your partition table, but it does seem to allow you to safely install a dual-boot configuration. And, it seems the problem centers around updating the partition with LBA definitions rather than CHS parameters.
 
Old 05-24-2004, 01:11 PM   #34
pembo13
Member
 
Registered: May 2003
Location: Caribbean
Distribution: Fedora Core2
Posts: 403

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by Ed-MtnBiker
There appears to be a workaround emerging:
http://bugzilla.redhat.com/bugzilla/...?id=115980#c71

This doesn't help if you've already FUBARed your partition table, but it does seem to allow you to safely install a dual-boot configuration. And, it seems the problem centers around updating the partition with LBA definitions rather than CHS parameters.
Yah thanks, I already noticed that post last night. But to be honest I couldn't really understand the procedure, maybe you could simplify for me please.

Thank you
 
Old 05-24-2004, 02:58 PM   #35
Flak Pyro
Member
 
Registered: Jul 2003
Distribution: Fedora Core 5
Posts: 126

Rep: Reputation: 15
http://bugzilla.redhat.com/bugzilla/...?id=115980#c71


pembo13:

as far as i can tell all you have to do is put in your FC2 cd and at the promt instead of just pressing enter type in "linux hda=2432,255,63" without the quotes. And then you should be able to install FC2 normally and use disk Druid all you like without breaking anything. However i cannnot confrim that this works. Can anyone else give this a try and report back? I havnt got mt FC2 disks from cheapbytes.com yet. (56k so i wasnt downloading all that)
 
Old 05-24-2004, 03:23 PM   #36
vincebs
Member
 
Registered: Oct 2003
Location: Mississauga, ON
Distribution: Ubuntu 9.04
Posts: 494

Rep: Reputation: 30
But those kernel parameters work only for a specific hard disk geometry.
 
Old 05-24-2004, 03:42 PM   #37
Ed-MtnBiker
Member
 
Registered: Oct 2003
Location: Reno, NV
Distribution: Fedora Core 3
Posts: 88

Rep: Reputation: 15
Quote:
Originally posted by vincebs
But those kernel parameters work only for a specific hard disk geometry.
Correct. In order to use this workaround, you need to determine your hard drive geometry on a pre-FC2 installation, like FC1, windows, etc. Jot those parameters down on a piece of paper, and enter them as kernel parameters when you boot FC2.

This way the FC2 installer won't write to the MBR/partition table using the LBA geometry which windows won't understand when it tries to boot.
 
Old 05-24-2004, 05:04 PM   #38
Flak Pyro
Member
 
Registered: Jul 2003
Distribution: Fedora Core 5
Posts: 126

Rep: Reputation: 15
Ok, i have two hard drives Hda with windows 2k and RH8 and Hdc with Mdk 9.2. I want to erase RH8 and create a Fat 32 partition, and then install FC2 on Hdc.

Two questions:

How do i find my disk geometry from inside windows 2000 or linux?

Next question, how would i enter this command for the use on both my hard drives? Like this?: "linux hda=geometry hdc = geometry" ?
 
Old 05-24-2004, 06:47 PM   #39
Ed-MtnBiker
Member
 
Registered: Oct 2003
Location: Reno, NV
Distribution: Fedora Core 3
Posts: 88

Rep: Reputation: 15
Quote:
Originally posted by Flak Pyro
How do i find my disk geometry from inside windows 2000 or linux?
Code:
[root@localhost root]# cat /etc/redhat-release
Fedora Core release 1 (Yarrow)
[root@localhost root]# cat /proc/ide/hda/model
WDC WD800JB-00DUA0
[root@localhost root]# cat /proc/ide/hda/geometry
physical     9729/255/63
logical      9729/255/63
[root@localhost root]# fdisk -l /dev/hda
 
Disk /dev/hda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
 
   Device Boot    Start       End    Blocks   Id  System
/dev/hda1   *         1      3824  30716248+   7  HPFS/NTFS
/dev/hda2          3825      3837    104422+  83  Linux
/dev/hda3          3838      3967   1044225   82  Linux swap
/dev/hda4          3968      9729  46283265    f  Win95 Ext'd (LBA)
/dev/hda5          3968      5879  15358108+  83  Linux
[root@localhost root]#
Quote:
Originally posted by Flak Pyro
how would i enter this command for the use on both my hard drives? Like this?: "linux hda=geometry hdc = geometry" ?
Code:
linux hda=9729/255/63
 
Old 05-24-2004, 08:35 PM   #40
Flak Pyro
Member
 
Registered: Jul 2003
Distribution: Fedora Core 5
Posts: 126

Rep: Reputation: 15
Dosnt the code you gave me "linux hda=9729/255/63" deal only with Hda? I have two drives, hda and hdc so i need to tell anaconda the geomentry for both those drives do i not?


Also i used Mandrake Moves's disk drake, Windows's Partiton magic and the command you supplied in redhat and here is what i discovered:

Mandrake Moves Results:

HDA - 1568 , 225 , 63

HDC - 77545, 16, 63
-------------------------------------------------
Partition Magic

HDA- 1568, 225, 63

HDC- 4865, 225, 63
--------------------------------------------------
Redhat 8

HDA -

Physical - 24990, 16, 63
Logical- 1568, 225, 63

HDC
Physical - 77545, 16, 63
Logical - 77545, 16, 63
--------------------------------------------------

Now here is how my partitions are setup:

HDA:
/dev/hda1 - Win95 (Fat32)
/dev/hda2 - Win95 (Ext'd) (LBA)
/dev/hda5- Win 95 Fat32
/dev/hda6 - Linux
/dev/hda7 - Swap
/dev/hda8 - Linux

So for HDA i have my Two windows partitions (I dont really know what the extended LBA thing is) and my linux partitions that Redhat 8 created last summer when i first installed it.

HDC:
/dev/hdc1 - Linux
/dev/hdc2 - Extended
/dev/hdc 5 - Linux Swap
/dev/hdc6 - Linux

This is where Mandrake 9.2 is installed, once again i let the installer set up everything on its own.
-------------------------------------
Now for the geometry of Hda1, are the physical and logical values supposed to be the same? I also noticed that Partition magic is reporting a different value then Mandrake and Redhat are for HDC, i am going to assume thats a error on Partition magics behalf. Also when i load partition magic it tells me that my LBA and CHS values for HDC are different when they should both be exactly the same, it tells me that it knows that the LBA value is correct and wants to know if it should fix the CHS value.

---------------------------------------
Now here is what i want to do if this is possible:
Format all of HDA except my windows partition and create a large fat 32 partition that i can use to back things up to. Windows 2000 is installed on hda1. I am wondering if because the rest of the partitions are in the extended group that i may have to format all of them which i dont mind doing. The other fat32 partition there now is my current backup partition that i was going to make bigger but if i have to do that destructivly that doesnt matter.

I want to erase all of HDC and then create a /boot /root and /swap partition set there which i will installl Fedora Core 2 to.


Thats basically this computers life story. If i really messed it up its not matter as i got it on ebay fairly cheap for the sole purpose of messing with linux on it and thats what im doing .
 
Old 05-25-2004, 07:37 AM   #41
pembo13
Member
 
Registered: May 2003
Location: Caribbean
Distribution: Fedora Core2
Posts: 403

Original Poster
Rep: Reputation: 30
In the case where there is only a Windows installtion, what's the command/util to find the HDD geometry?

Flak Pyro described his harddrives as hda and hdc....i thought these things went in alpha order, do explain please.

I'd just like to thank the people who thought to allow kernel parameters even during installation so that in the midst of sort of a bug, all hel need not break loose.
 
Old 05-25-2004, 09:12 AM   #42
Flak Pyro
Member
 
Registered: Jul 2003
Distribution: Fedora Core 5
Posts: 126

Rep: Reputation: 15
well my first hard drive (hda) is on the same ide channel as my cdrom, while my second hard drive (hdc) is on its own channel. Mabey this has something to do with it? Also can someone answer my questions above?
 
Old 05-25-2004, 10:58 AM   #43
Flak Pyro
Member
 
Registered: Jul 2003
Distribution: Fedora Core 5
Posts: 126

Rep: Reputation: 15
I think this should work in my case, let me know what you guys think:

-delate all of HDC using Partition magic, knoppix or mandrake move.

-make a fat partition on HDC and take its geometry and make sure it is correct, if it isnt let partition magic fix it to the correct vales. (Should be the same as the 2.4 kernel reports.

-take the geometry of hda (1568, 255, 63)

-install FC2 on HDC and insert the kernel prameter "linux hda=1568/255/63 this will allow you to format hda to remove redhat 8 and allow FC2 to write grub to the MBR without messing anything up. During grub config tell grub the kernel prameter hda=1568/255/63 during grub configuration.

-If the HDC geometry is wrong use mandrake move, partition magic or knoppix to find the correct geomerty and put in the FC2 cd 1 and type "Linux hdc =p/r/a rescue
 
Old 05-26-2004, 08:54 AM   #44
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,296

Rep: Reputation: 65
i've done this kind of crap over the years a million times, so i guess i should add some stuff. the linux fdisk doesn't remove any data from a partition when you change the partition table. Ive recreated a messed up partition table many times over the years by deleting all the partitions, then recreating each, one at a time, and tryinng to mount each as i go, to see if i got it right. if you just had one partition on a hard drive taking up the full disk, it should be fairly simple.
you can change the number of heads and sectors per cylinder in fdisk in xpert mode.
delete the partition that's not working. start fdisk in xpert mode and change the number of heads to 255 and the sectors per cylinder to 63. go back to normal mode, and make a partition taking up the full disk. your number of cylinders will be incorrect, but fdisk will correct this for you. save the partition. restart fdisk, and see if the partition looks ok. save and exit again if you wish, and all that misalligned stuff will be gone. maybe xp can handle that and boot.
i have for years always made linux and fdisk change my heads to 255 and sectors to 63 in xpert mode, so that i always know what they are. and i make my partition boundries on even 100 or 1000 cylinder numbers, to keep things straight. i have had to recreate my partition table by hand many times, and the even numbers makes it very easy. less than a 15 minute job, even when i have up to 20 partitions on a drive. i often print out the partition table on a piece of paper too, so i don't have to do the guessing.


Disk /dev/hda: 81.9 GB, 81964302336 bytes
255 heads, 63 sectors/track, 9964 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 260 2088418+ 6 FAT16
/dev/hda2 261 1500 9960300 c W95 FAT32 (LBA)
/dev/hda4 1501 9964 67987080 85 Linux extended
/dev/hda5 1501 3500 16064968+ 83 Linux
/dev/hda6 3501 3700 1606468+ 83 Linux
/dev/hda7 3701 4000 2409718+ 83 Linux
/dev/hda8 4001 9964 47905798+ 83 Linux
/#


i haven't strictly followed my own rules here, but it's close.
just dont' try any of that stuff with windows fdisk. it does other crap that will ruin everything.


Disk /dev/hda: 81.9 GB, 81964302336 bytes
240 heads, 63 sectors/track, 9964 cylinders
Units = cylinders of 15120 * 512 = 7741440 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 277 2088418+ 6 FAT16
Partition 1 does not end on cylinder boundary.
/dev/hda2 277 1594 9960300 c W95 FAT32 (LBA)
Partition 2 does not end on cylinder boundary.
/dev/hda4 1594 10587 67987080 85 Linux extended
Partition 4 does not end on cylinder boundary.
/dev/hda5 1594 3719 16064968+ 83 Linux
/dev/hda6 3719 3932 1606468+ 83 Linux
/dev/hda7 3932 4250 2409718+ 83 Linux
/dev/hda8 4251 10587 47905798+ 83 Linux


if i take the same partition table into expert mode and change the heads to 240, and print it looks all screwed up like that. that's probably something similar to what is going on with anaconda or the 2.6 kernel or whatever is causing the problem. changing the numbers of heads does that. luckily, you could try a bunch of different settings until it looks right if you wanted to spend the time.

Last edited by whansard; 05-26-2004 at 09:01 AM.
 
Old 05-26-2004, 04:05 PM   #45
Flak Pyro
Member
 
Registered: Jul 2003
Distribution: Fedora Core 5
Posts: 126

Rep: Reputation: 15
I am thinking that they physical and logical values on the hard drive geometry are supposed to be the same yet partition magic does not report any errors to do with HDA, only the CHS values on HDC.
 
  


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
trying to dual boot windowsxp/fc2 using windows boot loader. dr_zayus69 Linux - Software 7 02-08-2005 11:59 PM
Dual boot XP/FC2 probs aftter FC2 install - "cannot find operating system" bcal Fedora - Installation 4 01-30-2005 03:38 PM
Does Suse 9.2 fix dual boot problems? rsowden SUSE / openSUSE 3 10-27-2004 09:12 AM
FC2 dual-boot fix Sovetskeey Linux - Newbie 19 09-14-2004 01:15 AM
FC2 XP dual boot fix? demmylls Fedora 20 06-17-2004 07:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 07:05 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
Open Source Consulting | Domain Registration