-   Fedora (
-   -   screwed up fedora install - dumb mistake (

itsjustme 06-18-2004 02:10 AM

screwed up fedora install - dumb mistake
Well, I was all giddy about my new 1.5M DSL upgrade and so I downloaded fedora core 2.
Then I went to my red hat 8 machine and look at my partitions and I had a 6GB partition that was just sitting there doing nothing and nothing installed on it.

So, I thought, hey, I'll throw fedora on that partition. Which, I think, and now I'm not so sure, that it was /dev/hda2. Anyway, so I stupidly started the fedora install and got to the manually partition part and there was /dev/hda2. So, dang, I can't remember now if I deleted it and reassigned it or if I edited it and changed it. acckkk.. Anyway, I gave it a new mount point, / , since I thought (and that was my main problem), ok, this is going to be the root partition for fedora. Then I moved on to the rest of the installation all the time thinking, wait a sec, I must've missed something. Anyway, I proceeded with the installation and when I rebooted I had the option to go with fedora or with RH8, which I added during the installation. I think that is where it started seeming strange. Like, why did I just do that? Why didn't it already know about my red hat 8 system. Anyway, so I selected the RH8 option and immediately saw:
rootnoverify (hd0,0)
chainloader +1
And then it just sat there mocking me for being stupid and not thinking about what I was doing. It is now a duel boot, not a dual boot!
Have I totally hosed up my red hat 8 system?? :cry:
I am hoping I can recover somehow and hopefully my red hat 8 system is hiding there in hda3.

Here's some stuff as it stands now. I don't know why that hda4 is W95 Ext'd. The machine only had red hat 8 on it. There was nothing else. No windows. The fedora install must've done that or got confused.

[root@localhost root]# cat /etc/fstab
LABEL=/1                /                      ext3    defaults        1 1
none                    /dev/pts                devpts  gid=5,mode=620  0 0
none                    /dev/shm                tmpfs  defaults        0 0
none                    /proc                  proc    defaults        0 0
none                    /sys                    sysfs  defaults        0 0
/dev/hda5              swap                    swap    defaults        0 0
/dev/cdrom              /mnt/cdrom              udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/cdrom1            /mnt/cdrom1            udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/fd0                /mnt/floppy            auto    noauto,owner,kudzu 0 0
[root@localhost root]# fdisk -l
Disk /dev/hda: 40.0 GB, 40027029504 bytes
255 heads, 63 sectors/track, 4866 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
  Device Boot      Start        End      Blocks  Id  System
/dev/hda1  *          1          13      104391  83  Linux
/dev/hda2            4092        4866    6225187+  83  Linux
/dev/hda3              14        3837    30716280  83  Linux
/dev/hda4            3838        4091    2040255    f  W95 Ext'd (LBA)
/dev/hda5            3838        4091    2040223+  82  Linux swap
Partition table entries are not in disk order
[root@localhost root]# cat /etc/grub.conf
# grub.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 (hd0,1)
#          kernel /boot/vmlinuz-version ro root=/dev/hda2
#          initrd /boot/initrd-version.img
title Fedora Core (2.6.5-1.358)
        root (hd0,1)
        kernel /boot/vmlinuz-2.6.5-1.358 ro root=LABEL=/1 rhgb quiet
        initrd /boot/initrd-2.6.5-1.358.img
title RH 8
        rootnoverify (hd0,0)
        chainloader +1
[root@localhost root]#

I'll be checking back in the morning. I'm burnt out for tonight.
Help if you can. Call me stupid if you want. :cool: :D

itsjustme 06-18-2004 11:50 AM

It's a new day.:scratch: :cool:

Well, I mounted /dev/hda3 and sure enough, looks like my Red Hat 8 system is hiding in there.

I need to figure out how to change grub, I suppose, to see that and allow me to get at it.
Or, to go back to only see Red Hat 8 and forget about or delete fedora for now.

I'll be looking into that today, but I can use any specific advice about fixing this if you have any advice just laying around there for me. ;)

unSpawn 06-19-2004 03:54 AM

Think this should do, add three lines in grub.conf:
title RHL8.0
kernel (hd0,2)/boot/vmlinuz root=/dev/hda3 (add ide-scsi, acpi etc, etc parms)
initrd (hd0,2)/boot/the_kernel_to_boot.img
Note GRUB starts counting disks and partitions from zero.

All times are GMT -5. The time now is 02:17 PM.