On Tue, 06 Feb 2007 16:35:16 +1030, Tim wrote:
On Mon, 2007-02-05 at 21:41 +0000, Beartooth wrote:
But I was wrong yet again about how to set up the dual boot -- it's trying to use rootnoverify in /etc/grub.conf, which doesn't work; and I shudder at trying once more to gnaw my way through the available grub instructions to dope out precisely enough how to make the FC entry look enough like the CentOS entries.
For information's sake, this is one my FC6 GRUB stanzas:
title Fedora Core (2.6.18-1.2257.fc5) root (hd0,0) kernel /vmlinuz-2.6.18-1.2257.fc5 ro root=LABEL=/ rhgb quiet initrd /initrd-2.6.18-1.2257.fc5.img
The (hd0,0) has to be set for where your /boot partition is, the root= bit for where your system / is, which may be an ordinary partition or a volume group, and hte version numbers have to suit what you've installed.
[...] All right; since CentOS does connect, I can ssh to it; doing that, I get the following on the p2 machine :
[root@localhost ~]# df Filesystem 1K-blocks Used Available Use% Mounted on /dev/mapper/VolGroup00-LogVol00 18803436 3530836 14317416 20% / /dev/hda1 101086 12455 83412 13% /boot none 192944 0 192944 0% /dev/shm [root@localhost ~]#
If I'm not totally fouled up (yet), that tells me I do have a boot partition on hda, and it's at hda1. Right so far?
Then I can edit /etc/grub.conf on the p2, go to the bottom of the file, delete the rootnoverify and chainload lines, copy & paste your stanza above onto it (with fc5 replaced by fc6) -- or maybe an fc6 stanza from /etc/grub.conf on one of my own other machines, which would also get an fc6 kernel version -- and then what?? Do I just leave what shows as hd(0,0) still hd(0,0)??
Fwiw, here're a couple fedora stanzas from /etc/grub.conf on the machine I'm using at the moment :
title Fedora Core (2.6.19-1.2895.fc6xen) root (hd0,0) kernel /xen.gz-2.6.19-1.2895.fc6 module /vmlinuz-2.6.19-1.2895.fc6xen ro root=/dev/VolGroup00/LogVol 00 module /initrd-2.6.19-1.2895.fc6xen.img
title Fedora Core (2.6.19-1.2895.fc6) root (hd0,0) kernel /vmlinuz-2.6.19-1.2895.fc6 ro root=/dev/VolGroup00/LogVol00 initrd /initrd-2.6.19-1.2895.fc6.img
title Fedora Core (2.6.18-1.2869.fc6) root (hd0,0) kernel /vmlinuz-2.6.18-1.2869.fc6 ro root=/dev/VolGroup00/LogVol00 initrd /initrd-2.6.18-1.2869.fc6.img
Will it work if I just put that (without the xen stanza) verbatim onto the bottom of the /etc/grub.conf that's in the p2 now? Will it find hdb by itself?