LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 12-06-2009, 07:13 AM   #1
Gutsy_Iain_08
LQ Newbie
 
Registered: Jan 2008
Posts: 25

Rep: Reputation: 16
Talking 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?
 
Old 12-06-2009, 07:29 AM   #2
bret381
Member
 
Registered: Nov 2009
Location: Alabama
Distribution: Arch x86_64
Posts: 648

Rep: Reputation: 78
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
 
Old 12-06-2009, 07:32 AM   #3
carltm
Member
 
Registered: Jan 2007
Location: Canton, MI
Distribution: CentOS, SuSE, Red Hat, Debian, etc.
Posts: 697

Rep: Reputation: 93
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.
 
Old 12-07-2009, 12:12 AM   #4
Gutsy_Iain_08
LQ Newbie
 
Registered: Jan 2008
Posts: 25

Original Poster
Rep: Reputation: 16
@carltm

Quote:
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 )!
 
Old 12-07-2009, 12:50 AM   #5
JmaJeremy
LQ Newbie
 
Registered: Dec 2009
Location: Montreal, Canada
Distribution: Slackware, Mint, Knoppix, BackTrack
Posts: 14

Rep: Reputation: 1
Quote:
Originally Posted by Gutsy_Iain_08 View Post
@carltm



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".
 
Old 12-07-2009, 04:36 AM   #6
Fred Caro
Member
 
Registered: May 2007
Posts: 669

Rep: Reputation: 60
partioning

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.

Fred.
 
1 members found this post helpful.
  


Reply

Tags
grub, opensuse, partition, primary


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
Cannot activate primary partition after installing Linux Centos on a multi OS system Najish General 0 03-07-2009 11:46 AM
Tool to change partition from primary to extended without prior deleting? JZL240I-U Linux - Software 9 10-20-2008 01:41 AM
linux in primary partition Scarlett_987 Linux - General 2 01-28-2007 03:56 AM
Resizing primary partition to make room for a linux distro Bakoulou Linux - Newbie 5 12-13-2005 07:02 AM
setting up a linux partition and primary/extended partitions joemamma Linux - Newbie 6 02-23-2003 01:47 PM


All times are GMT -5. The time now is 01:44 AM.

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