[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Booting FC2 from hard disk w/RedHat 8



Thanks, Phil -- but I think I'm still too vague on the details. I'm trying to install from
HD b/c I haven't been able to burn CD's successfully.


I get "file not found" when it is looking for the kernel. So somehow I'm not pointing
quite right. I have the isos in the partition labeled dkernel (below) , and I planned to
install FC2 in the partition labeled distrotest. DOS and Red Hat Linux boot fine; the
others I have no idea about whether they are correct or not. dkernel and distrotest are
both partitions on hdb; /boot is on hda.


Please forgive the long post below.

My /etc/fstab is

LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
LABEL=/distrotest /distrotest ext3 defaults 1 2
LABEL=/dkernel /dkernel ext3 defaults 1 2
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hdb3 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,kudzu,ro 0 0
/dev/cdrom1 /mnt/cdrom1 iso9660 noauto,owner,kudzu,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0
/dev/hda2 /mnt/apollo ext3 defaults 0 0
/dev/hda3 /mnt/hercules ext3 defaults 0 0
/dev/hda4 /mnt/mercury ext3 defaults 0 0


and my hand-edited grub.conf says

title Red Hat Linux (2.4.18-14)
       root (hd1,0)
       kernel /vmlinuz-2.4.18-14 ro root=LABEL=/ hdd=ide-scsi
       initrd /initrd-2.4.18-14.img
title KernelTest
       rootnoverify (hd1,5)
       chainloader +1
title DOS
       rootnoverify (hd0,0)
       chainloader +1
title NewDistro
       rootnoverify (hd1,2)
       chainloader +1
title TryBoot
       root (hd1,5)
       kernel /vmlinuz-FC2 noapic pci=noacpi ramdisk-size=8192
       initrd /initrd-FC2.img

Here is the (edited) /boot directory:
-rw-r--r-- 1 root root 5824 Sep 5 2002 boot.b
-rw-r--r-- 1 root root 612 Sep 5 2002 chain.b
-rw-r--r-- 1 root root 42150 Sep 4 2002 config-2.4.18-14
drwxr-xr-x 2 root root 1024 Oct 18 17:41 grub
-rw-r--r-- 1 root root 131410 Oct 5 17:06 initrd-2.4.18-14.img
-rw-r--r-- 1 root root 2443013 Oct 12 21:17 initrd-FC2.img
-rw-r--r-- 1 root root 473 Oct 2 18:30 kernel.h
drwx------ 2 root root 12288 Oct 2 18:26 lost+found
lrwxrwxrwx 1 root root 21 Oct 5 17:06 module-info -> module-info-2.4.18-14
-rw-r--r-- 1 root root 15436 Sep 4 2002 module-info-2.4.18-14
-rw-r--r-- 1 root root 640 Sep 5 2002 os2_d.b
lrwxrwxrwx 1 root root 20 Oct 5 17:06 System.map -> System.map-2.4.18-14
-rw-r--r-- 1 root root 507814 Sep 4 2002 System.map-2.4.18-14
-rwxr-xr-x 1 root root 3236438 Sep 4 2002 vmlinux-2.4.18-14
lrwxrwxrwx 1 root root 17 Oct 5 17:06 vmlinuz -> vmlinuz-2.4.18-14
-rw-r--r-- 1 root root 1125194 Sep 4 2002 vmlinuz-2.4.18-14
-rw-r--r-- 1 root root 1209805 Oct 12 21:17 vmlinuz-FC2


Phil Schaffner wrote:

On Mon, 2004-10-18 at 06:45 -0700, Burnie West wrote:


I am running Red Hat 8.0; downloaded the four FC2 iso's into one of several available
partitions. Haven't yet been able to find instructions I can follow to boot FC2 from
there.


Any pointers? Links?



Loopback mount the first ISO image:


# mount -ro loop <path>/FC2-i386-disc1.iso /mnt/cdrom

Copy kernel and initrd to /boot:

# cp /mnt/cdrom/isolinux/vmlinuz /boot/vmlinuz-FC2
# cp /mnt/cdrom/isolinux/initrd.img /boot/initrd-FC2.img

Add the something like the following to /boot/grub/grub.conf:

title Fedora 2 Install
       root (hd0,0)
       kernel /vmlinuz-FC2 noapic pci=noacpi ramdisk_size=8192
       initrd /initrd-FC2.img

The root device spec above assumes /boot is the first partition on the
first drive - YMMV.

Reboot and choose "Fedora 2 Install" and "hard disk" install, specifying
the path to the ISO image directory on the device you saved them to.
Note that you cannot use the partition with the ISOs for the
install/upgrade.  Recommend a fresh install on separate partition[s] or
a new disk, keeping the RH8 installation for a dual-boot fallback, and
as a source for configuration and user information.  Would also
save/backup /home even if on a separate partition and start fresh on
home directories.  A lot has changed in the user config files.

Phil








[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]