Paul Howarth wrote:
On Sat, 2005-03-12 at 16:24 +0900, Mark Sargent wrote:
Hi All,
after not finding any solution for my previous FC2 install(couldn't load X system), I went ahead and did a fresh install of FC3 on to another partition. I didn't create another boot partition, as I was thinking I could either redirect grub to the boot dir for the new install or copy the dir/files onto the existing boot partition. Which way would you do/have done it..? Cheers.
new install = /dev/hda5
boot partition = /dev/hda9
old install = /dev/hda12
I usually install with multiple partitions/logical volumes anyway.
I assume that your entire new installation went into /dev/hda5 and you didn't tell the installer to re-use the existing /boot partition in /dev/hda9?
You can configure your existing FC2 grub to chain-load the FC3 grub from /dev/hda5, or you could copy the grub.conf kernel entries from your FC3 install into your FC2 grub.conf. I would do the former rather than the latter, because the latter would require you to repeat the operation every time you upgraded the FC3 kernel.
If you post the output of "fdisk -l /dev/hda" and your FC2 grub.conf file, you might get more specific help.
Paul.
Hi All,
here is what was asked for. FC2 grub.conf and fdisk output,
Grub: # grub.conf generated by anaconda # # Note that you do not have to rerun grub after making changes to this file # NOTICE: You have a /boot partition. This means that # all kernel and initrd paths are relative to /boot/, eg. # root (hd0,9) # kernel /vmlinuz-version ro root=/dev/hda11 # initrd /initrd-version.img #boot=/dev/hda default=0 timeout=10 splashimage=(hd0,8)/grub/splash.xpm.gz password --md5 $1$zVCW8EN2$ZVsfDdJMJGmcxb/qge15k0 title Fedora Core (2.6.10-1.14_FC2) root (hd0,8) kernel /vmlinuz-2.6.10-1.14_FC2 ro root=LABEL=/ rhgb quiet initrd /initrd-2.6.10-1.14_FC2.img title Fedora Core (2.6.10-1.12_FC2) root (hd0,8) kernel /vmlinuz-2.6.10-1.12_FC2 ro root=LABEL=/ rhgb quiet initrd /initrd-2.6.10-1.12_FC2.img title Fedora Core (2.6.9-1.11_FC2) root (hd0,8) kernel /vmlinuz-2.6.9-1.11_FC2 ro root=/dev/hda12 rhgb quiet initrd /initrd-2.6.9-1.11_FC2.img title Fedora Core (2.6.9-1.6_FC2) root (hd0,8) kernel /vmlinuz-2.6.9-1.6_FC2 ro root=/dev/hda12 rhgb quiet initrd /initrd-2.6.9-1.6_FC2.img title Fedora Core (2.6.5-1.358) root (hd0,8) kernel /vmlinuz-2.6.5-1.358 ro root=/dev/hda12 rhgb quiet initrd /initrd-2.6.5-1.358.img title Windows rootnoverify (hd0,0) chainloader +1
FDisk: Disk /dev/hda: 45.0 GB, 45020602368 bytes 255 heads, 63 sectors/track, 5473 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System /dev/hda1 * 1 510 4096543+ b W95 FAT32 /dev/hda2 511 5473 39865297+ f W95 Ext'd (LBA) /dev/hda5 * 511 1020 4096543+ 7 HPFS/NTFS /dev/hda6 1021 2138 8980303+ b W95 FAT32 /dev/hda7 2139 3688 12450343+ 7 HPFS/NTFS /dev/hda8 3689 3943 2048256 b W95 FAT32 /dev/hda9 3944 3956 104391 83 Linux /dev/hda10 3957 4086 1044193+ 82 Linux swap /dev/hda11 4087 4596 4096543+ b W95 FAT32 /dev/hda12 4709 5473 6144831 83 Linux
Paul, I also tried to point grub to the partition like below, but, it generated errors,
root (hd0,4) filesystem type unknown, partition type 0x7
setup (hd0) Error 17: Cannot mount selected partition
Don't un this, as I can mount the partition under the old install like so,
mount -t ext3 /dev/hda5 /mnt/hda5
And, I also don' un why it shows as HPFS/NTFS when I formatted as ext3. Cheers.
Mark Sargent.