Dual boot WinXP, FC6, but need to replace FC6 with Feisty
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Dual boot WinXP, FC6, but need to replace FC6 with Feisty
I have a WinXP Pro/ FC6 machine. I used GParted once upon a time to make room for FC6. This was successful. There is a third “recovery” partition that is not important to me, but I mention it in case it is important in the following scenario.
I want to replace FC6 with Ubuntu Feisty, but I am concerned that I will make the system unbootable, since the GRUB config file would have been in the nuked FC6.
Perhaps there’s no trick to it, and I simply need to proceed.
But, it would be a severe pain if I render the system unbootable and have to star from scratch, so…uh… here I am, asking for advice…
Just install Ubuntu over your FC - it will overwrite your GRUB with its own.
It looks like I will have to nuke the FC6 partitions before I can install Ubuntu.
The Partition Manager for Ubuntu gives me the option to pick the whole drive (smoking the WinXP and FC6 partitions) or “Manual”.
Manual mode can see the two linux partitions fro FC6 , but only recognizes the small ext3 partition. It shows the larger partition as “uknown”. (It is shown as an extended partition).
I did not get through this successfully.
If I used GParted to free up those partitions and run the Ubuntu Feisty installation again, I assume that Ubuntu will still detect my WinXP installation and add the Ubuntu entry in to GRUB.
Will GRUB or the Ubuntu installation get “upset” because one of the entries in GRUB is not valid? (The old FC6 installation will still be declared in GRUB, but FC6 will no longer be present).
OR? Will GRUB or Ubuntu be “upset” because GRUB is installed without a GRUB config file? (Because the GRUB config file –was- on the FC6 installation, which has been vaporized.)
The idea is to know what will happen –before- making changes. Heh. ;-)
If GRUB is installed in your MBR and you have your XP Pro install CD, you can use the Recovery Console. Type:
fixmbr
at the prompt. Boot into XP, open Control Panel -> Administrative Tools -> Computer Management -> Disk Management, and then delete your FC6 partititions.
Ubuntu puts GRUB in the MBR so everything should be OK.
Whow, too many questions at 11PM, getting all confused.
OK, the reason your installer doesn't recognize the FC 6 partition is more than likely that FC was installed in an LVM - in which case there are only two partitions: a small one for /boot and a larger one that has all the rest. Many installers can't make sense of LVM so they report it as unkown.
To play it safe, you can use Gparted and delete both Fedora partitions. This would create the GRUB issue that you are trying to get around but that's OK since you're not going to boot into XP anyway until you are done installing Ubuntu; once Ubuntu is up, you have a fully functional, fresh GRUB. And yes, it will discover and add XP. While you're using Gparted, you can also create new partitions in the freed-up space: one for swap (twice the size of your RAM), one for / (at least 6GB, more if you want both KDE and Gnome) and one for /home (the remaining space). If unsure, you can always make partitions for swap and / only (then home ends up under /) but this is not the safest option if you ever need to upgrade or reinstall. If you place /home on its own partition, you can reformat and reinstall only / - in the other case, you have to format everything, including your personal data (ouch!). Of course, you can also hold off and do the partitioning while installing.
The partitioners in GUI based installers have a poor history. And that includes the new Gentoo installer.
Ubuntus have been from "very bad" to "just average" with Feisty.
I concur with jay73 - set up the partitions first, then install fresh. FWIW I always do this for any install.
Nah, the active flag is irrelevant to grub - simply booting the wrong partition. From Feisty, lets see the output from these commands
Code:
fdisk -l
egrep -v "(^#|^$)" /boot/grub/menu.lst
Thank you... I'll try that and post the results...
Uh.. I wiped out GRUB while I was trying to get XP to boot. The Feisty isntall is still there. Should I just reinstall UB? Or should I install grub, and if just grub, then how do I do that?
Being un-newbified is such a pain, but I am quite certain it is totally worth it, for Linux.
Sorry, didn't read your earlier post closely enough.
Just restore grub - have a look here; skip to the second section "Using the Desktop/LiveCD and Overwriting the Windows bootloader". That seems to cover it.
"cut and paste" the commands - the spaces between parameters aren't obvious with that font. Get Ubuntu going again, then run those commands I gave your above.
"Beware the Restore Partition" on at least Gateways.
My fatal system mistake was this:
I did not realize that the system restore partition is the "system" partition, and had the multi-boot info (boot WinXP or Restore). FC6 had no trouble with this, but Ubuntu 7.04's install did not deal with it so well. So when I copied over the boot.ini, ntldr, etc... I copied them the wrong direction and killed the correct boot files to boot the WinXP partition. I gave up trying to get the partition to boot.
So... I plasmified all partitions on the drive, so there is now but 1 partition, with WinXP. I have free space left over for Ubuntu, but Ubuntu will not have to navigate the odd restore partition stuff, and neither will I.
Forbaracudantely for me, I did back up of most all I coudl think of that was important before doing any of this.
...Bright side is: I tried many different ways to recover from the error, and learned more about GRUB and various partition stuff.
So, uh... Moral of the story is: Use extra care with restore parititons.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.