www.smartbusinesschoices.com

Leading Business and Technology,
News and information


Part of the Identityscape.com network...

getxfactor.com jmoodmusic.com smartbusinesschoices.com mintdepot.com lowfaresalways.com evangelicalview.com shoppingpodder.com soproudlywehail.com webnews.ws currenthumor.com

 

 

dual-boot, 2k and Fedora Core 2
   Smart Linux Business Choices! - the Best of UseNet Postings! Forum Index -> Linux - Red Hat Forum  
View previous topic :: View next topic  
Author Message
Guest







PostPosted: Mon May 22, 2006 3:28 am    Post subject: dual-boot, 2k and Fedora Core 2 Reply with quote

Hello:
I'm new, and therefore confused.

I've been running win2k on one hard drive.
I've added a second hard drive, and installed Fedora Core2.
I can boot the Fedora, but when I boot the win2k, I receive the famous:

rootnoverify (hd0,0)
chainloader +1

Well, it seems famous to me when I searched the newsgroups....
I followed one thread, and added:

map (hd0,0) (hd1,0)
map (hd1,0) (hd0,0)

as recommended in one thread.
The only difference is that these 2 lines also show up when the win2k
boot fails.

I'm quick enough to recognize that what seems like an "error" is really
the contents of the grub section that I've selected, but doesn't work.

I've tried to follow some of the discussions on this problem, but what
I've found is over my head. That's why I'm trying to do this in the
first place--to learn.

So, can someone in basic simple terms advise me on what to do?

Thanks
Back to top
Some Other Somebody Else
Guest






PostPosted: Mon May 22, 2006 5:13 am    Post subject: Re: dual-boot, 2k and Fedora Core 2 Reply with quote

On 21 May 2006 15:28:19 -0700, websurf1@cox.net wrote:

Quote:
Hello:
I'm new, and therefore confused.

I've been running win2k on one hard drive.
I've added a second hard drive, and installed Fedora Core2.
I can boot the Fedora, but when I boot the win2k, I receive the famous:

rootnoverify (hd0,0)
chainloader +1

Well, it seems famous to me when I searched the newsgroups....

It is normal for those lines to appear when windows is booted from
grub, and they are generally there long enough to be noticeable, but
normally they disappear as Windows continues to boot.

What exactly happens next in your case; does the system just lock up?

When you boot Fedora and enter "df" on a command line, what is the
output?

What does the remainder of your grub.conf file look like?

It might be important to make sure your Windows installation is still
there and on the partition where grub is looking for it; for that
purpose it would probably be useful to consider what type of drives on
what type of controllers you have.

Fedora 2 is old enough that you have to go to fedoralegacy.org and
follow the instructions there for the latest security updates and bug
fixes, and even then it doesn't have all of the latest features,
including some that might make setup more convenient; Fedora 4 or 5
might be significantly easier for a new user to get working. Still,
the dual boot should work without the latest updates, and it should be
possible to get 2 working if that is what you need or prefer to do for
whatever reason.
Back to top
Guest







PostPosted: Mon May 22, 2006 6:48 am    Post subject: Re: dual-boot, 2k and Fedora Core 2 Reply with quote

Some Other Somebody Else responded to my plea:

And I thank you very much.

Quote:
What exactly happens next in your case; does the system just lock up?
I can boot the Fedora OK.

When I attempt to boot the win2k, I see the aforementioned lines (the
same as the contents of that portion of the grub.conf file). The
computer then just hangs.

Quote:
When you boot Fedora and enter "df" on a command line, what is the output?
Filesystem 1k-blocks used available use%

Mounted on
/dev/hdb1 288451232 6441748 267357004 3% /
none 778720 0 778720 0%
/dev/shm

This is about what I think I might have expected. All of Fedora is
mounted on the second, new drive. I had hoped that the first, win2k
drive would not have to be touched. I intended that grub should have
been loaded on the new drive when the installer asked me about that.
I'm pretty sure that win2k is still on hda (the primary master), and
all the Fedora is on hdb (primary slave).

What does the remainder of your grub.conf file look like?

#brub.conf generated by anaconda
#Note that you do not have to rerun grub after making changes to this
file
#NOTICE: You do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, eg.
# root (hd1,0)
# kernel /boot/vmlinuz-version ro root=/dev/hdb1
# initrd /boot/initrd-version.img
#boot=/dev/hda
default=1
timeout=10
splashimage=(hd1,0)/boot/grub/splash.xpm.gz
title Fedora Core (2.6.5-1.358)
root (hd1,0)
kernel /boot/vmlinuz-2.6.5-1.358 ro root=LABEL=/ rghb quiet
initrd /boot/initrd-2.6.5-1.358.img
title Windows 2K
rootnoverify (hd0,0)
map (hd0,0) (hd1,0)
map (hd1,0) (hd0,0)

chainloader +1

..........................END OF
FILE....................................................

My guess is that my problem is with the grub, somewhere somehow--I
don't have much to go on yet. I tried various combinations of what to
boot from first in the BIOS, but that doesn't have any effect for the
things I tried.

The only reason I am using Fedora2 is that I have a copy that was given
to me. I figured I'd play with that, then spend a bit of money getting
the latest, with some books to go with it, etc. Anyway, it doesn't
seem to be the Fedora I'm having a hard time with; just the grub and
getting to see the old win2k (It's not that I WANT to see the win2k,
but I have some programs for classes on it, so I rather HAVE to see
win2k.)

So, does any of this further the effort?
Thanks
Back to top
Some Other Somebody Else
Guest






PostPosted: Mon May 22, 2006 5:51 pm    Post subject: Re: dual-boot, 2k and Fedora Core 2 Reply with quote

On 21 May 2006 18:48:15 -0700, websurf1@cox.net wrote:

Quote:
[...]This is about what I think I might have expected. All of Fedora is
mounted on the second, new drive. I had hoped that the first, win2k
drive would not have to be touched. I intended that grub should have
been loaded on the new drive when the installer asked me about that.
I'm pretty sure that win2k is still on hda (the primary master), and
all the Fedora is on hdb (primary slave).

So the grub bootloader is only on the second drive, and you have
configured the BIOS to boot from the second drive? If so, it may be
that grub is working but Windows has a problem with the non-standard
drive order. What happens if you boot directly from the first drive;
does Windows still work then?

If Windows still works when its drive is the boot drive, you might
consider putting grub there; it shouldn't prevent Windows from booting
(that is what the chainloader is for) and it can be overwritten with
the Windows bootloader later if you want to use the Windows drive
independently at some point. If you put grub on the master and boot
from that, of course, the map commands in the grub configuration
should be removed or commented out. To put grub on hda's MBR without
reinstalling Fedora, given that Fedora is on hdb1, boot the Fedora
disk in rescue mode and run /mnt/sysimage/sbin/grub. Then, on the
grub command line, type the following commands:

root (hd1,0)
setup (hd0)

The "quit" command can then be used to exit grub, and when you reboot
from hda both Windows and Fedora should work.
Back to top
Guest







PostPosted: Mon May 29, 2006 6:49 am    Post subject: Re: dual-boot, 2k and Fedora Core 2 Reply with quote

Hello Some Other Somebody Else:
Sorry I haven't responded for a week. Job got in the way so I couldn't
play....

Quote:
So the grub bootloader is only on the second drive, and you have
configured the BIOS to boot from the second drive?

Yes, grub is on the second drive.

I have gone into the BIOS and tried to set either HDD0 or HDD1 as the
first boot device (the other as the second). It behaves slightly
differently from what I remember, but anyway today, when I set the BIOS
to boot from HDD0 (which is the old drive, I hope) the computer stops
at "verifying dmi pool data..."
That was new, so I did some searching.
I ended up trying to boot from the floppy and run "sys c:" or "fdisk
/mbr" but those both resulted in "Invalid drive specification" Not
good.

So, at this point win2k is not able to be started at all.

In the "standard cmos features" section of my BIOS, it still sees the
40G drive as primary master and the new 300G drive as the primary
slave.

I'm real confused and concerned that the sys c: or fdisk commands
didn't see the drive HDD0, which should be the first drive.

SO, no progress this week.

Ideas???
Thanks.
Back to top
Guest







PostPosted: Mon May 29, 2006 7:00 am    Post subject: Re: dual-boot, 2k and Fedora Core 2 Reply with quote

Hi, me again, with more info.

As an experiment, I physically removed the cable from the slave drive,
that should have the Fedora installation. The one remaining drive
should have win2k.

On trying to boot, the only drive that appears in the hardware
detection sequence is the original 40G hard drive. This is good!

At the end of the boot sequence, I get:
Verifying DMI Pool Data ......
GRUB Hard Disk Error
and then it locks up, of course.

Working......
So, I'm thinking that this remaining (original) drive has the win2k,
but somehow against my wishes, the GRUB loader, or part of it, landed
there.
Back to top
Some Other Somebody Else
Guest






PostPosted: Mon May 29, 2006 9:13 pm    Post subject: Re: dual-boot, 2k and Fedora Core 2 Reply with quote

On 28 May 2006 19:00:29 -0700, websurf1@cox.net wrote:

Quote:
Hi, me again, with more info.

As an experiment, I physically removed the cable from the slave drive,
that should have the Fedora installation. The one remaining drive
should have win2k.

On trying to boot, the only drive that appears in the hardware
detection sequence is the original 40G hard drive. This is good!

At the end of the boot sequence, I get:
Verifying DMI Pool Data ......
GRUB Hard Disk Error
and then it locks up, of course.

Working......
So, I'm thinking that this remaining (original) drive has the win2k,
but somehow against my wishes, the GRUB loader, or part of it, landed
there.

I've never seen grub break Windows, but however it happened it looks
like your Windows installation is broken. You probably need to fix
that in order to sort out what is going on with the dual boot setup
(maybe I'm stating the overly obvious, but sometimes thing are not as
straight forward as they seem). I suppose someone might want to
complain about discussion of Windows issues in a Linux group, but it
sounds like the trouble is related to something that happened during
the Linux installation, and someone in a Windows group might complain
too, so what the hay....

I'd suggest running scandisk, but if your Windows recovery disk
doesn't recognize the partition that might have to wait. Fedora has a
counterpart in fsck.vfat, but that is still alpha in Fedora 2, so you
might not want to mess with that until you update Fedora, if and when
you do so.

You won't be able to get grub to work properly without the files it
uses on the Fedora partition. If "sys c:" and "fdisk /mbr" didn't
restore your Windows bootloader, that may require separate
troubleshooting, but there are a few things you can probably check
from Fedora as a starting point, so just to have at least one fully
functional operating system to work with in the meantime, you might
want to hook the Fedora drive back up and follow the procedure I
described before for setting up grub on /dev/hda. Then you should be
able to at least get some useful context information from the Fedora
system, since it apparently recognized both drives before.

Can you verify that your Windows partition is flagged as bootable in
the fdisk partition table? From Fedora, as root run:

# fdisk -l /dev/hda

When I do this I get the following output:

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 2633 21149541 c W95 FAT32
(LBA)

The asterisk under "Boot" indicates in this case that my Windows
partition is flagged as bootable for DOS/Windows purposes.

Of course, this also shows that I am using a FAT32 filesystem. If you
are using NTFS, Fedora won't recognize that - CentOS 4.x will, if you
use the "unsupported" kernel, and you can download CentOS for free,
but if you don't have broadband that might not be too practical for
the moment. Theoretically you could modify Fedora 2 so it would
recognize NTFS, but I don't know how much trouble or risk that would
entail. If you do have FAT32, you can try the following to make sure
your Windows filesystem is still more or less intact: Again as root,
run

mkdir foo
mount /dev/hda1 foo -o ro
ls -l foo

The "-o ro" is to make the mount read-only, to minimize the
probability that something will get messed up.

Once you have that background info it should be more straight forward
to determine what to do next so that both the Windows system and the
Fedora system are usable.
Back to top
Guest







PostPosted: Tue May 30, 2006 7:38 am    Post subject: Re: dual-boot, 2k and Fedora Core 2 Reply with quote

Some Other Somebody Else wrote:

Quote:
Of course, this also shows that I am using a FAT32 filesystem. If you
are using NTFS, Fedora won't recognize that

I can't verify it now, but I am pretty darn certain that NTFS is what I
used on the win2k drive.
I am using a different computer (obviously, I think) to access the net,
so I can download something else if I have to. Certainly I'd prefer
not to goober the system up with additonal complifications if I can
avoid it, but...

I booted fedora and ran the command:

## fdisk -l /dev/hda
Dis /dev/hda: 41.4 GB, 411110142976 bytes
16 heads, 63 sectors/track, 79656 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes. (It politely does the
math for me!!)

Device Boot Start End Blocks ID
System
/dev/hda1 * 1 79640 40138371 7
HPFS?NTFS

So that all looks similar to your output, and seems to indicate that
NTFS is indeed what is in use on that disk.
I ran the command on hdb as well, and got a similar output: An
asterisk in the boot column and Linux as the system.

I"m now optimistic that the win2k disk is still intact, if I can just
get to it.

I'm going to see if the win2k recovery console can be of help.

Back later.....
Back to top
Guest







PostPosted: Tue May 30, 2006 8:22 am    Post subject: Re: dual-boot, 2k and Fedora Core 2 Reply with quote

ME again
(replying to myself; the ng equivalent of talking to myself???)

Recovery console sees my c:\winnt system
I get a c:\winnt> prompt. I THINK THIS IS GOOD!

Actually, this is great. I can see all of my directories on the c:
drive, though many of my directories (including "programs") indicate a
size of 0. I can do a dir successfully on a couple of these, so I
think things are still OK on the drive.

At this point, I have the option of trying the fixmbr command.

BEFORE I DO THIS, DOES ANYONE HAVE ANY LAST WORDS OF WISDOM?
I have some things that I don't have backups for (don't kick me--I've
already done that), so I'd really, really like for fixmbr to not render
the drive data gone.

Thanks for reading and helping so far.....
Back to top
Guest







PostPosted: Wed Jun 07, 2006 6:18 am    Post subject: Re: dual-boot, 2k and Fedora Core 2 Reply with quote

websurf1@cox.net wrote:
Quote:
ME again


At this point, I have the option of trying the fixmbr command.

BEFORE I DO THIS, DOES ANYONE HAVE ANY LAST WORDS OF WISDOM?


I finally got back to trying some more stuff.
The fixmbr from the win2k disk didn't work.
And I now have trouble seeing the Linux disk. Oh well.
I have an acquaintance who has offered some help.
More to come....

Isn't learning fun????
Back to top
Display posts from previous:   
   Smart Linux Business Choices! - the Best of UseNet Postings! Forum Index -> Linux - Red Hat Forum  
Page 1 of 1
All times are GMT

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum