LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 11-06-2006, 10:35 PM   #1
sirius57
Member
 
Registered: Jun 2004
Distribution: puppy linux, suse 10.0, opensuse 11.3, 12.1, mythdora, opensuse 13.1, opensuse tumbleweed
Posts: 527

Rep: Reputation: 33
An easy way to install core 6 into existing partition?


I want to update fedora core 1 with core 6. I have a multi-boot system and want to preserve my current grub boot loader. The current configuration is:
Win98
Suse 10.0 64 bit
Suse 10.0 32 bit
Fedora core 1

Will installing the new core 6 in the existing fedora core 1 partition kill the grub boot loader that Suse installed?
 
Old 11-06-2006, 11:11 PM   #2
FredGSanford
Senior Member
 
Registered: Nov 2005
Location: USA
Distribution: Mageia Cauldron - VoidLinux - Devuan
Posts: 1,091
Blog Entries: 5

Rep: Reputation: 181Reputation: 181
If suse's bootloader is in /dev/hda (mbr) than install fedora's grub in fedora's root partition and add it to suse's menu.lst.
 
Old 11-07-2006, 08:20 PM   #3
sirius57
Member
 
Registered: Jun 2004
Distribution: puppy linux, suse 10.0, opensuse 11.3, 12.1, mythdora, opensuse 13.1, opensuse tumbleweed
Posts: 527

Original Poster
Rep: Reputation: 33
Ok, I remember now that I had to edit the suse grub loader for fedora core 1 to be listed in the menu. I am assuming that when I install fedora core 6 that the installer will detect the existing fedora partition and ask if I want to format it. Is it also correct to assume that fedora will not install its boot loader unless I specify it to do so?
 
Old 11-08-2006, 08:44 PM   #4
sirius57
Member
 
Registered: Jun 2004
Distribution: puppy linux, suse 10.0, opensuse 11.3, 12.1, mythdora, opensuse 13.1, opensuse tumbleweed
Posts: 527

Original Poster
Rep: Reputation: 33
I have a copy of fedora for dummies for core 1 and starting on page 42, gives a detailed description for installation. My choices are:
1. remove all linux partitions on this system
2. remove all partitions on this system
3. keep all partitions and use existing free space

Assuming that core 6 works the same way, how do I tell the installer to let me force it to use an existing partion to overwright? And how do I make the grub loader install in the core 6 root partition?
 
Old 11-08-2006, 09:49 PM   #5
FredGSanford
Senior Member
 
Registered: Nov 2005
Location: USA
Distribution: Mageia Cauldron - VoidLinux - Devuan
Posts: 1,091
Blog Entries: 5

Rep: Reputation: 181Reputation: 181
You may have to delete the partition you want to install fc6 in, that will create the free space. If you don't want fc1 then delete that partition and then start fc6 install, it should see the free space.

When times come to install grub, tell it to install it in fc6 root partition. Do be very careful on which partition you're deleting. I haven't used redhat/fedeora since fc3.
 
Old 11-08-2006, 10:37 PM   #6
sirius57
Member
 
Registered: Jun 2004
Distribution: puppy linux, suse 10.0, opensuse 11.3, 12.1, mythdora, opensuse 13.1, opensuse tumbleweed
Posts: 527

Original Poster
Rep: Reputation: 33
Ok, I will try that. One last question: How is a partition deleted? Thank you for your help.
 
Old 11-11-2006, 06:08 AM   #7
anilbh
Member
 
Registered: Oct 2005
Location: India
Distribution: Proud User Fedora FC5/ Fedora 7 /Ubunt 7.10
Posts: 188

Rep: Reputation: 30
That should be easy using fdisk , or qtparted. You have to type 'm' for help in fdisk . Similar help should be there in qtparted.
 
Old 11-11-2006, 11:31 PM   #8
sirius57
Member
 
Registered: Jun 2004
Distribution: puppy linux, suse 10.0, opensuse 11.3, 12.1, mythdora, opensuse 13.1, opensuse tumbleweed
Posts: 527

Original Poster
Rep: Reputation: 33
I found fdisk docs for gentoo linux. Can I assume that fdisk works the same in any distribution? I have four boot partitions on the hard disk now. Is that the limit or can I install a fifth partition (the easiest since I have some unformatted space left over). Will the suse grub loader text file indicate the proper root and boot partitions to delete? Can Fedora use existing swap space? Do I need to delete extended partions?
 
Old 11-12-2006, 03:48 AM   #9
FredGSanford
Senior Member
 
Registered: Nov 2005
Location: USA
Distribution: Mageia Cauldron - VoidLinux - Devuan
Posts: 1,091
Blog Entries: 5

Rep: Reputation: 181Reputation: 181
fdisk should work the same with most distros.

You can have four primary partitions but if you make one of the four a extended partition, then you can have as many as you want, as much disk space you have.

I'm not sure what you mean about suse text file, but during the installation of FC6, you should be able to delete FC1 and then use that space to install FC6 as mention above.

You can use the same swap space for all distros installed. I do.
 
Old 11-12-2006, 08:07 PM   #10
sirius57
Member
 
Registered: Jun 2004
Distribution: puppy linux, suse 10.0, opensuse 11.3, 12.1, mythdora, opensuse 13.1, opensuse tumbleweed
Posts: 527

Original Poster
Rep: Reputation: 33
By text file, I meant the suse grub loader. Every installation of Linux used its grub loader to supercede the current loader. To get all my partitions to boot, I had to edit the grub loader from the latest install so it would list all the bootable partitions. Which brings me to an important point; at which point am I prompted during the installation to tell the fc-6 installer to put its grub loader in its own root partition and not mess with the suse loader? I read my fedora book and could not find any info on that detail.
 
Old 11-15-2006, 05:20 PM   #11
FredGSanford
Senior Member
 
Registered: Nov 2005
Location: USA
Distribution: Mageia Cauldron - VoidLinux - Devuan
Posts: 1,091
Blog Entries: 5

Rep: Reputation: 181Reputation: 181
Ok, I'm in the process of installing FC6 using the gui install.

It picked up all my current partitions. I wanted to install to /dev/hda3, so I had to do a custom partition or whatever it's called. I made sure it chose hda3 and reformat, chose root on it and continued the install.

You don't need to manually remove the partition you want to install fc6 into. It should do it for you.

When time for grub, I had to choose 'don't install grub', meaning I will use my Debian's grub.

I will have to edit debians grub's menu.lst file to add fc6.

That's basically how it's done.
 
Old 11-15-2006, 08:14 PM   #12
sirius57
Member
 
Registered: Jun 2004
Distribution: puppy linux, suse 10.0, opensuse 11.3, 12.1, mythdora, opensuse 13.1, opensuse tumbleweed
Posts: 527

Original Poster
Rep: Reputation: 33
That is very good news about the install. I will follow the steps listed in your post and post back my results.
 
Old 11-22-2006, 04:14 PM   #13
sirius57
Member
 
Registered: Jun 2004
Distribution: puppy linux, suse 10.0, opensuse 11.3, 12.1, mythdora, opensuse 13.1, opensuse tumbleweed
Posts: 527

Original Poster
Rep: Reputation: 33
I did the install for Fedora core 6. I was surprised to see that one option was to do an update. I chose that, and instead of using my better judgement, I let it update the existing grub. Big mistake. First, core 6 could not load x and it is using the fedora grub menu. I am able to get into my existing partitions and edited my suse menu.lst grub to its original state, but I want to remove the fedora grub. I can get to the login prompt in fedora, but it does not let me log in in text mode. The user may have been wiped out. I remember having to manually add a user with suse 10.1 on another box. Is there a way to add a user in fedora so I can log into that partion? I then want to remove its grub.conf if that will let it boot like before. To use suse's grub, I am using super grub disk that will let me boot using the menu.lst.
 
Old 11-22-2006, 07:15 PM   #14
sirius57
Member
 
Registered: Jun 2004
Distribution: puppy linux, suse 10.0, opensuse 11.3, 12.1, mythdora, opensuse 13.1, opensuse tumbleweed
Posts: 527

Original Poster
Rep: Reputation: 33
An update, I fixed the grub bootloader using super grub disk. I chose to manually fix the bootloader, first picking the partition where the mbr resides, then selecting the partition that contains the bootloader that fedora wiped out, then select the boot hard drive (hda). That took a few hours to figure out. I would recommend super grub disk even if you have only one os on your box. Now I am back to the problem of getting core 6 to boot. It will not let me log in using the previous user name and password.
 
Old 11-23-2006, 01:03 PM   #15
sirius57
Member
 
Registered: Jun 2004
Distribution: puppy linux, suse 10.0, opensuse 11.3, 12.1, mythdora, opensuse 13.1, opensuse tumbleweed
Posts: 527

Original Poster
Rep: Reputation: 33
I think I might need the long answer to format a specific partition. The fedora installer gives the user the option to edit a partition. I was unsure what effect it would have to delete the hda3 partition, so I did the upgrade option. I then edited menu.lst and received an error that it could not find the file. Here is the menu.lst listing for Fedora:
title Fedora Core (2.6.18-1.2798.FC6)
root (hd0,1)
kernel /vmlinuz-2.6.18-1.2798.FC6 ro root-LABEL=/ rhgb
initrd /iinitrd-2.6.18-1.2798.FC6.img
title DOS
rootnoverify (hd0,0)
chainloader +1

The drive is a maxtor 4r120L0 size 117240 kbytes

My partitions are:
/dev/hda format size
/dev/hda1 vfat 20003
/dev/hda2 ext3 102
/dev/hda3 ext3 20003
/dev/hda4 extended 77132
/dev/hda5 swap 1992
/dev/hda6 reiserfs 20481
/dev/hda7 reiserfs 54659

boot partitions are: hda1, hda3, hda6 and hda7
In the partition list, if fedora is using hda3, what is hda2 used for? Should that be deleted as well? And, if I choose custom installation, can I delete a partion in the custom installation menu that lists the hard disk partitions and let the installer do the rest of the work? I did not see where I could reformat a specific partion using the fedora installer. Or can I use Suse linux to fdisk hda3? Would that be under yast boot loader? I never used it...
 
  


Reply


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
Easy-use, easy-install, fast, minimal KDE distro? lukeprog Linux - Distributions 8 09-08-2007 05:21 PM
Can you create a dual boot partition on an existing Linux install? shazzrie Linux - Hardware 5 04-02-2006 10:02 PM
Install Linux on existing RAID stripe partition arsham Linux - Newbie 3 05-05-2005 04:05 PM
Any way to install a distribution to an existing partition? ZakuSage Linux - Newbie 5 05-01-2005 02:42 AM
Can I install RedHat on an existing partition leaving data intact? prcarp Linux - Newbie 1 02-09-2004 09:00 AM

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

All times are GMT -5. The time now is 03:52 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration