LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


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

Rep: Reputation: 47
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.
Code:
[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
#boot=/dev/hda
default=1
timeout=10
splashimage=(hd0,1)/boot/grub/splash.xpm.gz
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, 11:50 AM   #2
itsjustme
Senior Member
 
Registered: Mar 2003
Location: Earth
Distribution: Slackware, Ubuntu, Smoothwall
Posts: 1,571

Original Poster
Rep: Reputation: 47
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, 03:54 AM   #3
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

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


Reply



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 02:54 PM
Dumb ass newbie mistake...help! craigb Linux - Newbie 4 11-14-2004 12:07 PM
dumb mistake tej Linux - Newbie 1 09-01-2004 03:15 AM
Really dumb mistake - need a MDK 9.2 boot disk Delmarc Linux - Newbie 4 03-18-2004 04:39 PM
DUMB Mistake: installed RH9 rpm's on RH8 system ToBe Red Hat 5 09-23-2003 01:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 05:41 PM.

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