Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Fedora This forum is for the discussion of the Fedora Project.


  Search this Thread
Old 06-18-2004, 03:10 AM   #1
Senior Member
Registered: Mar 2003
Location: Earth
Distribution: Slackware, Ubuntu, Smoothwall
Posts: 1,571

Rep: Reputation: 45
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??
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.
Old 06-18-2004, 12:50 PM   #2
Senior Member
Registered: Mar 2003
Location: Earth
Distribution: Slackware, Ubuntu, Smoothwall
Posts: 1,571

Original Poster
Rep: Reputation: 45
It's a new day.

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.
Old 06-19-2004, 04:54 AM   #3
Registered: May 2001
Posts: 29,414
Blog Entries: 55

Rep: Reputation: 3590Reputation: 3590Reputation: 3590Reputation: 3590Reputation: 3590Reputation: 3590Reputation: 3590Reputation: 3590Reputation: 3590Reputation: 3590Reputation: 3590
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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Fedora Core 3 install screwed up my Windows XP install MichaelD Fedora - Installation 6 06-10-2005 03:54 PM
Dumb ass newbie! craigb Linux - Newbie 4 11-14-2004 01:07 PM
dumb mistake tej Linux - Newbie 1 09-01-2004 04:15 AM
Really dumb mistake - need a MDK 9.2 boot disk Delmarc Linux - Newbie 4 03-18-2004 05:39 PM
DUMB Mistake: installed RH9 rpm's on RH8 system ToBe Red Hat 5 09-23-2003 02:22 PM > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 12:00 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration