On Sun, 26 Dec 2004 18:05:47 -0500, John Cox <pkands(a)gmail.com> wrote:
On Sun, 26 Dec 2004 13:47:05 -0800, cfk <cfk(a)pacbell.net>
wrote:
> On Sunday 26 December 2004 13:09, John Cox wrote:
> > On Sun, 26 Dec 2004 12:38:53 -0800, cfk <cfk(a)pacbell.net> wrote:
> > > Gentlemen:
> > >
> > > Things are getting a little trickier today. So far, on one test
> > > computer, I have debian on hda1 and fedora3 on hda3. Each one demands
> > > that it write grub to the MBR.
> > >
> > > If I allow debian to write the MBR, then Fedora doesnt boot.
> > > Similarly if I let Fedora write to the MBR, then Debian doesnt boot.
> > >
> > > After going back and forth for a while, I have Debian to where it
> > > will boot and Fedora to where it will almost boot.
> > >
> > > Fedora displays an unusual message right after md: ... autorun
> > > DONE.
> > >
> > > EXT2-fs warning (device hda3): ext2_fill_super: mounting ext3 filesystem
> > > as ext2
> > > VFS: Mounted root (ext2 filesystem) readonly
> > > Freeing unused kernel memory: 144k freed
> > > Warning: unable to open an initial console
> > > SELinux: Disabled at runtime.
> > > SELinux: Unregistering netfilter hooks
> > >
> > > And the Fedora boot hangs forever at this point.
> > >
> > > Would anyone be willing to suggest a next step or two?
> > >
> > > Charles
> >
> > If you start up using the MBR installed by FC does FC startup OK?
> > John
>
> Dear John:
>
> Either one starts fine with its own grub demands. It is curious that there
is
> no grub.conf with the debian distribution in /boot/grub. A 'find -name
grub*'
> or 'find -name grub.conf' finds nothing with Debian.
>
> I do have the grub incantations for each and am booting debian right now.
> When I get to the grub prompt and enter the FC incantations, grub compains
> with an 'Error 27: Unrecognized command' for FC's stuff.
>
> Here are the incantations for each. The first one works with Debian's
grub,
> the second one works with FC's grub and neither works with the other's
grub.
>
> Debian:
>
> root (hd0,0)
> kernel /boot/vmlinuz-2.4.27-1-386 root=/dev/hda1 ro
> initrd /boot/initrd.img-2.4.27-1-386
> savedefault
> boot
>
> Fedora Core3:
>
> root (hd0,2)
> kernel /boot/vmlinuz-2.6.9-1.667 ro root=LABEL=/1 rhgb quiet
> initrd /boot/initrd-2.6.9-1.667.img
>
> I tried changing the root=LABEL=/1 statement to root=/dev/hda3 to no avail. I
> am unfamiliar with the '=/1' after LABEL, although I believe LABEL refers
to
> grub.conf on the Fedora partition.
>
> The rhgb and quiet stuff leaves me a little puzzled, but I suspect that will
> be revealed in the fullness of time as I suspect they have to do with the X
> stuff and not the disk stuff.
>
> With Respect, Charles Krinke
>
>
grub.conf is a redhat thing. Debian uses menu.lst. There is probably a
menu.lst in fedora that is a link to grub.conf.
What I would try at this point is just to add the Fedora entry to the
/boot/grub/menu.lst. of your Debain partition by editing it as root.
There should be a section for adding other OSs near the end of
menu.lst. You should then be able to boot either. Just add what you
have above from Fedora. Should work.
Of course, you can do the reverse and install a new grub frorm FC and
then add the Debian stuff to /boot/grub/grub.conf on your Fedora
grub.conf
John