LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 04-19-2005, 03:13 PM   #1
Sparky1
Member
 
Registered: Apr 2005
Location: Montreal, Canada
Distribution: Suse 10, 9.3 Pro, FC 3
Posts: 36

Rep: Reputation: 15
Question bunch of questions


Hey all,

I'm currently running Fedora core 3 and WinXP on a dual boot config. My uncle just sent me Suse 9.3 Pro, I'm really happy!

Ideally I would like to have a tri-boot system, but I would have to partition off a new space on the hard disk.
I think if I use partition magic it will bork my MBR right and I will not be able to boot?

1) Would I be better of to set up everything from scratch?
2) Would I be better off to run Suse and XP only? If so, could I just blow off the Fedora install?
3) If I use partition magic, is there a way to modify, is it the fstab file? to recognize the new config without any problems?
4) On my existing Fedora install, I have done 2 kernel upgrades and the older kernels appear in the boot menu. What is the correct way to remove them from the menu and the system.

Thanks for all your help.
 
Old 04-19-2005, 03:17 PM   #2
twantrd
Senior Member
 
Registered: Nov 2002
Location: CA
Distribution: redhat 7.3
Posts: 1,438

Rep: Reputation: 52
I haven't used partition magic but it shouldn't over write the MBR. Which OS is handling the boot process? If Fedora is handling it, then look at the bootloader (either grub or lilo) and define the new OS (SuSE in there). You don't really need to start from scratch. However, I do recommend backing up your data in case you do something wrong and hang your system .

-twantrd
 
Old 04-19-2005, 03:27 PM   #3
frostillicus
Member
 
Registered: Jul 2004
Location: Florida
Distribution: Slackware
Posts: 32

Rep: Reputation: 15
the easiest would be to use your existing partitions and simply install the suse over the fedora. bada bing, done. you lose fedora, but....

i haven't used partition magic much, so i can't comment on that. however, once the you have a partition that you can use, adding other linux distros is cake (tri-boot, etc.). when installing the second distro say no to installing a boot loader and then follow the procedure that you use to boot a new kernel (copy kernel to /boot, add entry to grub, etc). so in this case you install suse, reboot to fedora, mount the suse partition, copy the suse kernel to the fedora /boot directory, make changes to fedora's grub.conf file, unmount suse, reboot and viola, you can boot win/fed/suse.

to remove the extra kernels simply remove them (and their System.map and config files) from the /boot directory and remove their entries in grub.conf.

hope this helps...

edit: the second paragraph assumes fedora is already installed and is being used to dual-boot win/fedora...

Last edited by frostillicus; 04-19-2005 at 03:31 PM.
 
Old 04-19-2005, 03:29 PM   #4
Sparky1
Member
 
Registered: Apr 2005
Location: Montreal, Canada
Distribution: Suse 10, 9.3 Pro, FC 3
Posts: 36

Original Poster
Rep: Reputation: 15
Grub is handling the booting duties. What I was worried about was if I boot from partition magic and add a new partition ( I will have to add it before the Fedora install, using some of my NTFS space) it will prevent grub from loading because what was hdb/8 for example will now be hdb/11 or whatnot. When I install Suse will it detect and sort out the mess or will I have to go in there and make some manual changes?

Thanks for your help twantrd

Last edited by Sparky1; 04-19-2005 at 03:32 PM.
 
Old 04-19-2005, 03:32 PM   #5
frostillicus
Member
 
Registered: Jul 2004
Location: Florida
Distribution: Slackware
Posts: 32

Rep: Reputation: 15
you will have to manually edit the grub.conf file if the partition numbers change.

edit: to clarify, the partition numbers are hardcoded in the grub.conf file, so if the fedora partition number changes, grub will have to be changed before you even add the extra partition. if you know you are gonna add a partition before the fedora, change the fedora grub.conf file before you do it. if fedora is on hda3 now, change it to say hda4, then go do the partition magic thing.

Last edited by frostillicus; 04-19-2005 at 03:39 PM.
 
Old 04-19-2005, 03:35 PM   #6
Sparky1
Member
 
Registered: Apr 2005
Location: Montreal, Canada
Distribution: Suse 10, 9.3 Pro, FC 3
Posts: 36

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by frostillicus
the easiest would be to use your existing partitions and simply install the suse over the fedora. bada bing, done. you lose fedora, but....

i haven't used partition magic much, so i can't comment on that. however, once the you have a partition that you can use, adding other linux distros is cake (tri-boot, etc.). when installing the second distro say no to installing a boot loader and then follow the procedure that you use to boot a new kernel (copy kernel to /boot, add entry to grub, etc). so in this case you install suse, reboot to fedora, mount the suse partition, copy the suse kernel to the fedora /boot directory, make changes to fedora's grub.conf file, unmount suse, reboot and viola, you can boot win/fed/suse.

to remove the extra kernels simply remove them (and their System.map and config files) from the /boot directory and remove their entries in grub.conf.

hope this helps...

edit: the second paragraph assumes fedora is already installed and is being used to dual-boot win/fedora...
Thanks a lot, come hell or high water I'm jumping in Worse case scenario I blow it up and start over. I thought I would have to edit grub.conf
 
Old 04-19-2005, 03:49 PM   #7
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
You can manually boot from the grub menu, and even use auto-completion to find the kernel and ram-disk. Because you are inserting a partition after hda1, you may need to adjust the device names in your /etc/fstab file for fedora core. However, booting into the rescue mode or using something like Knoppix as a rescue systeam, in order to do this, shouldn't be a problem.

I would recommend that you print out your old fstab and menu.lst files before you begin. Also, printing out the grub man-page might be a good Idea. For example try
man -Tps grub >~/grub.ps to produce a postscript version of the manpage that you could print through KGhostscript. ( Or if you have a postscript laser-printer just printing the file directly is possible )

Another booting option would be to select your second partition for the lilo/grub boot loader for SuSE and chainload that loader in the FC's loader.

A third booting method would be to use XP's NTLDR to select from one of the three systems, with the FC and SuSE loaders written to their respective root partitions. Googling for 'NTLDR Linux Lilo' or 'NTLDR Linux Grub' should supply a long list of how-to's on how to do this. It has been addressed many times on this web-site also.

Last edited by jschiwal; 04-19-2005 at 03:50 PM.
 
Old 04-19-2005, 03:50 PM   #8
frostillicus
Member
 
Registered: Jul 2004
Location: Florida
Distribution: Slackware
Posts: 32

Rep: Reputation: 15
if you are having problems booting, when you get to the grub boot menu you can edit the grub line. use arrow keys to select the line, and then (i think) e to edit the entry. you can then change the partition number to the correct one and boot with the right number. the thing is, it is a one shot deal, the grub.conf file is not changed. if you do not hack the grub.conf file yourself the next time you boot you'll have to do the same editing trick again...

edit: /etc/fstab - good call, it has to be changed as well if the partitions change

Last edited by frostillicus; 04-19-2005 at 03:55 PM.
 
Old 04-19-2005, 09:03 PM   #9
Sparky1
Member
 
Registered: Apr 2005
Location: Montreal, Canada
Distribution: Suse 10, 9.3 Pro, FC 3
Posts: 36

Original Poster
Rep: Reputation: 15
frostillicus,

I've made copies of my grub.conf, fstab, menu.lst and colected other disk info. I'm going to try "when installing the second distro say no to installing a boot loader and then follow the procedure that you use to boot a new kernel (copy kernel to /boot, add entry to grub, etc). so in this case you install suse, reboot to fedora, mount the suse partition, copy the suse kernel to the fedora /boot directory, make changes to fedora's grub.conf file, unmount suse, reboot and viola, you can boot win/fed/suse."

Just another question(s), can I share the swap partition or do I create another one for the Suse install?

Basically, I have:
/dev/hdb6 is boot
/dev/hdb7 is swap
/dev/hdb8 is Fedora
So when I add the partition(s), does everything just move the equivalent amount of spaces?

If I added one partition, would it be correct to assume that it becomes;
/dev/hdb7 is boot
/dev/hdb8 is swap
/dev/hdb9 is Fedora

Last edited by Sparky1; 04-19-2005 at 09:08 PM.
 
  


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
Bunch of general questions Maligogo90 Suse/Novell 9 05-09-2005 05:21 AM
bunch of KDE 3.3 questions cjae Linux - Newbie 1 04-07-2005 01:59 AM
Bunch of basic Mandrake 9 questions coopns Linux - Software 3 01-20-2004 07:13 PM
DNS - a bunch a questions steels Linux - Networking 4 09-21-2003 12:01 AM
a bunch of software questions dizzyflower28 Linux - Software 7 08-17-2003 10:24 PM


All times are GMT -5. The time now is 06:46 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration