LinuxQuestions.org
Visit Jeremy's Blog.
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 06-07-2010, 04:30 PM   #1
john64
LQ Newbie
 
Registered: Jun 2010
Posts: 2

Rep: Reputation: 0
How Can I install LINUX and Windows and a different HD but same PC


Hi everyone my name is John and It is the first time that I use this great forum .
I have a desktop pc ( pentiun IV 2.4 ghz , 1GB RAM , 256 MB of grafic card)
and two hard drivers (C; 80gb and G:40 gb ) my question is how can I install Linux unbunto 8.0 in the G unit without uninstall windows xp in the c unit I want to have the 2 OS in the same pc and have an opción to chose and wich OS I want to into is someone can tell me how can I do this I will be very thank to you
 
Old 06-07-2010, 04:39 PM   #2
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551
What you're looking for is called "Dual Boot", and allows you to install/boot two or more OS's into one machine.

The only location that is *really* important, is the location of the Windows installation; while it is possible to install Windows in locations other than its default place (first OS on first drive) it is really asking for a headache. So, easy way: Have windows installed to the first HDD like usual, and then boot Ubuntu and use the built-in installer to install it to whatever drive/partition you want it in. The Ubuntu boot-loader should automatically detect the Windows OS on the other drive, and will add it to the boot menu that you get when you turn on the machine.

Please note: In the Linux world, there is no "C" or "D" or "G" drive. Each drive gets a letter, and each partition of a drive gets a number; typically hard-drives are labeled in order of their location on the bus. So as an example, the first hard drive, where your Windows is, might be labeled "sda", and the first partition, where Windows is, would be "sda1". A second hard drive would then be "sdb", a third would be "sdc". Partitions go in numerical order: sda1, sda2, sda3 etc..

Anyhow, read around a bit about "Dual Boot" or "dual booting Ubuntu Windows" and you will have near limitless reading material. Good luck, and welcome to LQ!

Sasha
 
Old 06-07-2010, 05:01 PM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 15,660

Rep: Reputation: 2257Reputation: 2257Reputation: 2257Reputation: 2257Reputation: 2257Reputation: 2257Reputation: 2257Reputation: 2257Reputation: 2257Reputation: 2257Reputation: 2257
You have two (common) options for a dual boot. One is to use bios to select the first bootable active partition if your system is new enough.
You can leave xp untouched. Open bios and select the second drive as first boot choice and install linux. It should do fine but as with all this BACK UP first.
I tend to prefer this if I have odd installs like xp on odd raid card.


Second is to do what many people do as stated by GrapefruiTgirl. A dual boot using a single hard drive partition active wtih a boot loader either MS or Grub or another to select the OS.


There is a quite safe third choice too that you should consider. Install a Virtual Machine in the current XP. You can very safely run both OS's and can keep some room on the extra hard drive for xp's virtual space to help speed up the system a bit. It would run a bit slow on your system so that is way I left it as last choice.

Last edited by jefro; 06-08-2010 at 04:28 PM.
 
Old 06-07-2010, 06:19 PM   #4
Fred Caro
Member
 
Registered: May 2007
Posts: 999

Rep: Reputation: 166Reputation: 166
to jefro

Please tell me more about using raid cards ( ie expansion cards) as I have had problems installing and upgrading distros when connected via an expansion card in lew of a second connection(ide) to the motherboard.
Sometimes the booter connects with the system, or not. Typically with several linux systems, and the option to boot all, it will only boot the first and I think that this to do with the physical set up but why does it install or boot.


Fred.
 
Old 06-07-2010, 07:17 PM   #5
myposts
Member
 
Registered: Jun 2010
Posts: 46

Rep: Reputation: 21
Easy...

All of modern installation will offer to you really easy to use graphical partitioning tool during the installation. You can do as you like just by reading the guidelines on a screen. I have linux jazz set, and all of them allow easily set any configuration for as long as you have enough space left on the drives. I remember I was struggling with it two years ago, it is not problem anymore. Fedora 13 is especially nice in this regard. My set came from Amazon, but you can get it elsewhere
http://www.amazon.com/6-disks-Introd...5952456&sr=8-1
 
Old 06-08-2010, 11:47 AM   #6
john64
LQ Newbie
 
Registered: Jun 2010
Posts: 2

Original Poster
Rep: Reputation: 0
thank you very much for all your help this in the next 2 weeks I will try to do all of this and search about dual boots if I get something I will notifice you
 
Old 06-08-2010, 12:08 PM   #7
cycling-rod
LQ Newbie
 
Registered: Jun 2006
Posts: 3

Rep: Reputation: 0
What about WUBI!

Personally, I would download the latest distribution of Ubuntu: Lucid Lynx, burn it to a CD as an ISO. Go into your computer's Bios and make the CD ROM drive as first boot. With the ISO CD in the drive, reboot your computer. Look for the offering of installing Ubuntu via WUBI on the ISO disc. Look up WUBI and ISO on Google for more info..
Wubi will allow you to install Ubuntu on your XP's C drive as a file.Therefore, there is no altering of your current partitioning or XP setup. Simply use ubuntu as a file, after the initial choice of logging into either XP or Ubuntu when switching on your computer (dual-booting the easy way!).
 
Old 06-08-2010, 01:12 PM   #8
johnsfine
LQ Guru
 
Registered: Dec 2007
Distribution: Centos
Posts: 5,286

Rep: Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181
Quote:
Originally Posted by john64 View Post
two hard drivers (C; 80gb and G:40 gb )
C and G are not actually hard drives. They are partitions.

You probably should figure out what D, E and F are before doing anything to "G". I expect one of D, E or F is a CD or DVD drive. Do you know what the others are?

Linux does not name hard drive partitions (nor CD/DVD drives) the same way windows does.

Linux probably names your hard drives sda and sdb, then names the first partition of each sda1 and sdb1.

Quote:
my question is how can I install Linux unbunto 8.0 in the G unit without uninstall windows xp in the c unit
There are many ways to set up a dual boot. The simplest to use and simplest to install (pretty much the default in the Ubuntu installer) is to let Linux take over the MBR of the first hard drive for the Grub bootloader. The Ubuntu installer will automatically create entries in Grub to allow chainload of Windows.

With Windows on the first drive and Linux on the second, that means the MBR on the first drive is set to load Grub from the second drive, then Grub is set to offer you a choice of chainloading Windows from the first drive or directly loading Linux from the second.

As I said before, that is easiest to use and easiest to install. It is not easiest to uninstall. If you wanted to remove Linux, you would need to first run the fixmbr program in Windows to get Windows to take back the MBR of the first drive. Other forms of dual boot are harder to install and in some forms also harder to use, but wouldn't need fixmbr if/when you remove Linux. I prefer the default choice, needing fixmbr. But I wanted to tell you that there are choices.
 
  


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
Windows install wants to install something on my linux disk sniff General 2 10-11-2007 09:00 AM
Windows with Linux..can't boot windows or install imari1027 Mandriva 4 11-13-2004 02:00 PM
Linux/Windows dual boot with Windows re-install dhowell1129 Linux - Newbie 6 04-25-2004 05:21 AM
On Windows and LInux dual boot - why install Windows first? yanar99 Linux - Newbie 13 12-18-2003 10:20 AM


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

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