Forum Home
Press F1
 
Thread ID: 46252 2004-06-18 03:12:00 Partition Drive to install Fedora Core 1 Antonia (730) Press F1
Post ID Timestamp Content User
245665 2004-06-19 01:28:00 You are getting a fast introduction to Linux here. :)

So on the Grub boot menu, it will no longer boot into Windows if you select "Other"? Log into Fedora as root, and then go to the / directory. Easiest way of doing this is to go into Root's Home directory in Konqueror or Nautilius (depending on whether you are using KDE or GNOME) and use the up arrow to up a directory level into /. Then go into /etc and look for the text file called grub.conf (it will be after all the folders down the page). Double click on it to open it and copy the contents here. Don't make any changes to this file yet.

Did you make a boot floppy for Fedora when asked to during the installation?
Jen C (20)
245666 2004-06-19 09:38:00 Thanks JenC.
Unfortunately we can't get to the full Fedora program at the moment. I did reinstall and tried to move GRUB to the MBR but it would not shift. Did manage to get the correct version of Monitor recognised so that was a bonus.

However I did manage to find the FedoraCore2 rescue disc on the internet, downloaded and burnt it to CD and that has been helpful. It gives a version of Windows DOS to work in. I wonder whether I can view the Grub conf file there. Will try.

Mike Bartz mentioned the Fedora2 dualboot bug and we have been looking into that. There is a very good article on the problem here
lwn.net

we were warned about the issue at the course; that's why I decided to stick to Core1. I have since learned that other versions have also had occasional problems with the bug.

Anyway, the rescue disc helped us to check what our HD looks like after the partioning by Linux. This is what it tells us:

Disk/dev/hda:4863 cylinders,255 heads,63 sectors/tracks
Old situation
Units=cylinders of 8225280 bytes,blocks of 1024 bytes, counting from 0

/dev/hda1 0+ 3 4- 32098+ 6 Fat 16
/dev/hda2 4 3677 3674 29511405 17 Hidden HPFS/NFTS
/dev/hda3 3678 3690 13 104422 83 Linux
/dev/hda4 3691 4862 1172 9414090 F W95 Ext'd LBA
/dev/hda5 3691+ 4797 1107 8891946 83 Linux
/dev/hda6 4798+ 4862 65 522081 82 Linux swap

This info came up after the command: sfdisk -d /dev/hda | sfdisk --no-reread -H255/dev/hda

After that the command prompt was :sh - 2,05 b#

Maybe you or one of the other experts can make sense of it. Has Linux changed the geometry of the volume information and is that why the booting to Windows does not work?
If so what do we do next?
Yes, I did make a bootfloppy.

Thanks all very much.
Antonia (730)
245667 2004-06-20 00:22:00 Hi Antoinia

What is the current situation with which OS is still bootable? You say you can can't boot into Windows and now you also say you cannot boot into Fedora. Is this correct?

If you use the boot floppy for Fedora and boot off that, you should be able to get into Fedora.

Looking at your sfdisk output, the number of heads reported (255) looks correct, the bug with FC2 was that this changed to 16 if I understand this properly.

My own hda which only has Fedora Core 2 installed (does not dual boot) gets reported as:
Disk /dev/hda: 41.1 GB, 41110142976 bytes
16 heads, 63 sectors/track, 79656 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes

If I ran the same command you did, this is my error message (sfdisk didn't make any changes for me with this command as it didn't like what it saw):
[root@myth root]# sfdisk -d /dev/hda | sfdisk --no-reread -H255 /dev/hda
Warning: HDIO_GETGEO says that there are 16 heads

Disk /dev/hda: 79656 cylinders, 255 heads, 63 sectors/track
Warning: extended partition does not start at a cylinder boundary.
DOS and Linux will interpret the contents differently.
Old situation:
Warning: The partition table looks like it was made
for C/H/S=*/16/63 (instead of 79656/255/63).
For this listing I'll assume that geometry.
Yet my slave HDD (hdb) which only contains FAT32 partitions and no OS gets reported with the 255 heads:
Disk /dev/hdb: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

I am thinking that your problem is with the MBR and grub and not with the known Core 2 bug with disk geometry. My own disk geometry is up the whack compliments of this bug, but as I do not dual boot I don't have any problems with it. It would be nice if someone who understands disk geometry could confirm this has nothing to do with your current problem from your sfdisk output.
Reference to dual boot problem (www.redhat.com)

If others agree with the Grub and MBR being the actual problem, then the final option would be to start from scratch again, but first restore the original MBR for Windows by using the Windows installation disk and going into the recovery mode and running fdisk /mbr to overwrite the MBR back to the default Windows settings. When you then install Feodora, make sure you select that Grub goes into the MBR which should hopefully work this time.
Jen C (20)
245668 2004-06-20 03:43:00 Well, things are getting better and thinks are getting worse.

I could net get to windows. Even using the Winxp installation disk took me to Fedora (when I selected to boot from the CD).

I did a fresh install of Fedora. Grubs on the MBR which resides on hdA.
WinXP as default. Fedora now looks great, no problems.
But no way of reaching WinXP. The Logo comes up, then the blue screen with fatal error message:
C 000021a {Fatal system Error}
The session Manager initialisation system process terminated unexpectedly with a status of 0X000003a (0X00000000 0X00000000)


The Grub Conf reads:
all kernel and initrd paths are relative to /boot/, eg. root (hdo,2)
Kernel/vmlinuz - version ro root=/dev/hda 5
initrd/initrd - version.img
boot=dev/hda
default=1
timeout=10
Splashimage=(hdo,2)grub/splash.xpm.gz
TITLE FEDORA CORE
(2.4.22-1.2115.nptl)
root (hdo,2)
kernel/vmlinuz-2.4.22 - 1.2115.nptl ro root = label = hdc = ide-scsi rhgb
initrd/initrd - 2.422-1.2115.nptl.img
TITLE WINXP
root no verify (hdo,1)
chainloader +1

How do I get information on the Harddrive in Fedora as in windows
My computer> poperties. Just want to check the used space to find out whether XP is still there !

Thanks to anyone who can throw some more light on the matter.
Bye for now, Antonia. (will check out the error message on Google)
Antonia (730)
245669 2004-06-20 04:29:00 Before delving into the deep end with this new error, do you run Roxio GoBack?

GoBack Causes a Stop Error C000021a (support.microsoft.com)

>How do I get information on the Harddrive in Fedora as in windows
My computer> poperties. Just want to check the used space to find out whether XP is still there!

There will be a graphic tool which will show all your partitions and usage, but I imagine you are using GNOME and I am not sure what they call the program in that. Have a look under System Tools for programs with "disk" in it (I use KDE). Another option is to open up a Terminal Console (right click on desktop and select Terminal), then enter in df -hT. This will display all your partitions and usage (%) and the file system used.

Really hope you haven't been put off by this run-around you are unfortunately experiencing for your first introduction to Linux.

But you do sound determined - so don't give up yet :)
Jen C (20)
245670 2004-06-20 05:11:00 Hi JenC,

Thanks all very much for your help. Have decided to start from scratch.Deleted everything on C drive and formatted an 8 GB partition for
Windows XP which is reinstalling at the moment. Will still install Fedora on its own newly created partition and see what happens. Should have better luck next time now we know a bit more, so time and effort has not been wasted.

I may post a new topic asking for confirmation that XP and Fedora 1 can live happily together on one drive.

I will probably need you again for advise. (hopefully not for anything major)!!!!!

PS: No I don't use Roxio Goback
Antonia (730)
245671 2004-06-20 05:18:00 >I may post a new topic asking for confirmation that XP and Fedora 1 can live happily together on one drive.

Yes it can. The problem with Core 2 is a combination of some motherboards BIOS, the 2.6 kernel and the installer program using parted to make the partitions. Fedora Core 2 is getting the rap over this, but other distributions such as SuSE and Mandrake have also struck it.

It is unfortunate that you have to reinstall XP now, but when you install Fedora again, and put Grub into the MBR you shouldn't have any problems. Lots of people dual boot Fedora Core 1 with Windows XP with no such problems.

Good luck, and let us know how you get on. :)
Jen C (20)
1 2