Change linux distrabution on first primary partition from opensuse to ubuntu?
Linux - NewbieThis 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
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.
Change linux distrabution on first primary partition from opensuse to ubuntu?
I have opensuse running as the primary operating system on my HD. I installed it when I first got this computer, and use it really really infrequently, after all I only have 50GB of hard drive space partitioned off for it... But then on the remaining space I have a windows system operating.
Basically, I dont want opensuse there, I want Ubuntu. Now I have been experimental when it comes to tearing down the OS and re-installing a new one, I even tried various flavors of linux in the first place, but secondly, I don't want to loose my windows system at all, after all it has 100GB of hard drive space dedicated to it ( this is something I spent a lot of time re-organising when I upgraded to 7 ) and plenty of time doing cool stuff on...
The question is really if I delete and re-install a new OS on my primary partition, such as Ubuntu, then am I going to loose all my time and energy that I poured into the windows, because linux will decide I need a new boot order and forget that windows exists. Like Grub might tear away the fact that windows exists?
Believe me when I say that it might happen considering grub did this once when I used this same setup earlier with XP and openSUSE, and grub just couldnt find XP?
So, HOW do I make sure that if I go ahead and get Ubuntu and load it, its going to keep the way windows is running smoothly? I know backing up is an option if anything goes wrong, but 'sigh' I'm not going to switch it back if that is the only option... What are my options?
Grub USUALLY does a good job at finding other OS partitions and setting them up for you. However, unless something has changed in Windows 7, it will not boot from the secondary IDE.. for this I suggest adding the following to your /boot/grub/menu.lst
Quote:
title Windows
map (hd0) (hd1)
map (hd1) (hd0)
root (hd1,0)
chainloader +1
My suggestion is to back up your Windows installation, since that's what
you consider the most valuable.
Do not remove the opensuse installation. All you need to do is install
Ubuntu using the same partition(s) that opensuse uses. This will completely
erase opensuse and will not touch the Windows partition. During the setup
you will be able to choose whether to boot Ubuntu or Windows by default.
During the setup you will be able to choose whether to boot Ubuntu or Windows by default.
I'm not so certain, and therefore I want to avoid trying it. It has happened before that it was totally glossed over by grub and the whole 100GB space missed completely ( XP and everything )!
I'm not so certain, and therefore I want to avoid trying it. It has happened before that it was totally glossed over by grub and the whole 100GB space missed completely ( XP and everything )!
I'd just have to tell you to be careful what you click on during the installation. "User-friendly" distros like Ubuntu have streamlined installations that make some assumptions, so you have to make sure that you configure the partitions yourself, and explicitly instruct Ubuntu to install on the partition previously used for OpenSUSE. It's possible that if you don't specify it will assume you want to format and replace everything on the harddrive. From my experience it will always give you a screen for partition options during a Ubuntu install, but just read everything carefully before clicking "next".
On the face of it bret's answer should be taken note of but also be aware of the assumptions made by the 'easy to use'. Going manual involves taking note of cylinder numbers and matching them exactly, so perhaps do a printout of fdisk -l and or df -h beforehand.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.