Mourning the loss of our friend, WhitPhil.
There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
 
Linux and Unix
Tag Cloud
access audio black screen blue screen boot bsod connection crash dell desktop drivers dvd email error excel excel 2003 firefox hard drive hardware hdmi hijackthis internet keyboard laptop malware monitor motherboard network networking outlook problem processor recovery router safe mode slow sound spyware tdlwsp.dll trojan vba video virus vista vundo windows windows 7 windows vista windows xp wireless
Search
Search for:
Tech Support Guy Forums > Operating Systems > Linux and Unix >
Boot to second OS

Tip: Click here to scan for System Errors and Optimize PC performance
[ Sponsored Link ]

Closed Thread
 
Thread Tools
Durelsh's Avatar
Computer Specs
Junior Member with 5 posts.
 
Join Date: May 2007
Experience: Intermediate
11-May-2007, 11:44 PM #1
Boot to second OS
I just bought a new 250 gb hard drive , my first thoughts were to fresh install WinXp , but low and behold , i re flash my Bios and Windows tells me im in violation of their license agreement. So screw them , i put Ubuntu on my new drive. Problem is i figured there would be an option to let me choose between operating systems at boot , their isnt. Is this because each is on different drives?WinXP is on a WD 36GB Raptor , Ubuntu is on the new WD 250 GB 7200. Any help on configuring an OS to choose at boot would be appreciated.

Last edited by Durelsh : 12-May-2007 12:57 AM.
saikee's Avatar
Distinguished Member with 2,835 posts.
 
Join Date: Jun 2004
Location: Newcastle
Experience: A Linux user gone nuts on multi-boot
12-May-2007, 06:32 AM #2
Technically speaking you can't have two Windows on the same PC as MS will only activate one license for it. However there is nothing to stop you from making a back up.

I would in you case clone the 36Gb disk into the new 250Gb disk. Remove the 36Gb disk and put away as the backup for safe keeping and starting using the new 250Gb disk right away. The difference between 250-36 = 214Gb is free hard disk space available for as many other OS installation as you wish to boot.

(1) How to clone the disk

Assuming your original disk is sda (in Linux term) for the 36Gb and the new 250Gb as sdb which you can verify in a boot-up Ubuntu by terminal command
Code:
sudo fdisk -l
The target sdb can be clone in about 10 to 15 minutes by terminal command in Ubuntu
Code:
dd if=/dev/sda of=/dev/sdb bs=32768
The only thing you have to be absolutely certain is the input file must be the 36Gb device which I have assumed to be sda, thinking Raptor should be a Sata and hooked to the first Sata port of your mobo. If you are unsure post the output of fdisk -l here.

Once you remove the old 36Gb from the PC you will find the new 250Gb hard disk boot exactly as the old one. XP will detect a change of the hard disk. This is allowed but it will demand an immediate reboot. After a reboot you can enjoy XP permanently as the legal copy already activated. You will find the back up copy is hardware-specific to your PC and cannot be used on any other machine. You can hook it back and run it as a 2nd copy but this is not advisable as XP makes a connection to MS site every time you are using the Internet and it will confuse them that the same IP address has XP changing repeatedly. The 36Gb may be formatted to work as a new disk after you are comfortable the migration has been 100% successful.

(2) How to install Ubuntu

Run the program "sudo cfdisk /dev/sda" in terminal mode of the boot up CD of Ubuntu. Again I am assuming the new disk is sda after you have removed the 36Gb disk forcing the old sdb to become sda. Use this program to create one logical partition of 1Gb large and Type 82 for swap and another logical partition of 10Gb and Type 83 for Ubuntu installation. Every partition you create in Linux will be Type 83 by default and you only need to change it to Tpe 82 for swap. You will find the two partitions will be called sda5 and sda6 respectively.

Click the hard disk installation icon on the boot-up screen of Ubuntu and install the Linux in the larger partition sda6. Basically you tell the installer sda6 is to be used for the mounting point of the "/" or the root of the Ubuntu. Have the boot loader Grub installed in the MBR of sda, the only hard disk in the system.

You should find upon a reboot after Ubuntu installation both XP and Linux will be available for your selection for booting. If this doesn't happen let us know. The cure is trivial.

-------------------------

In Linux the installation and booting of the 2nd system is no different to the 100th system. Same method applies but you may need to configure the boot loader to minimize the work involved.

Last edited by saikee : 12-May-2007 06:46 AM.
Closed Thread Bookmark and Share

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Smart Search

Find your solution!



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.

Thread Tools


You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -5. The time now is 07:22 AM.
Copyright © 1996 - 2009 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2009, Jelsoft Enterprises Ltd.
Powered by Cermak Technologies, Inc.