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 11-19-2007, 01:43 PM   #1
gonzolono
LQ Newbie
 
Registered: Nov 2007
Posts: 9

Rep: Reputation: 0
installing ubuntu on one drive from another with iso disc


Hi all,

I have a PC with two hard-drives (C: and J and want one to remain with Windows XP (C (I have to use it for the moment unfortunately) and the other (J to be the linux drive.
I used to have XP on that drive but it crashed (viruses) and so I just installed it on C: so have not uninstalled XP. So these questions arise:

1) I can't remember how to boot from J: so how do I install Ubuntu on J:?
2) I don't remember how to make J: the primary drive (soemthing to do with changing cables on the motherboard?)so how do I tell the system to boot from J: once I have ubuntu installed?;
3) How do I swtich between Windows and Ubuntu without having to open up the guts of the PC each time?
4) Is there a particular method I should use for getting rid of xp and associated junk off drive J:?
Sorry for being a dumbass. I'm not really all that bad, I just have a lousy memory.

many thanks

Ben
 
Old 11-19-2007, 01:47 PM   #2
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
First figure out which drive is the primary drive and which is the secondary drive. I assume C: is the primary drive (which should be /dev/hda). Then boot the Ubuntu CD and just install it to the secondary drive (/dev/hdb). When it asks to install the bootloader (grub) install it to /dev/hda. This will give you a menu that you can choose to boot either Windows or Ubuntu.
 
Old 11-19-2007, 02:23 PM   #3
gonzolono
LQ Newbie
 
Registered: Nov 2007
Posts: 9

Original Poster
Rep: Reputation: 0
thanks for sparing the time and patience, pljvaldez.

How do I tell which is the primary drive and which is the secondary? I'm thinking that C: must be the primary because I'm running XP from it. Is that right?
When I went into the CMOS one drive is on the channel 2 master and the other on the channel 3 master. Should this tell me anything?

many thanks

Ben
 
Old 11-19-2007, 02:31 PM   #4
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
Here's what I would do:
1) Boot into Windows and go to Start --> Run --> compmgmt.msc --> "Storage" --> "Disk Management". Then delete the partition on the J drive. Just leave it blank, don't reformat it.

2) Boot into the Ubuntu CD, which should be a live CD that allows you to run the OS from CD. Open a terminal and type sudo fdisk -l (that's -L) which should list the drives and partitions. One drive should read /dev/hda with a single partition /dev/hda1 of type NTFS. The other should just list a drive (probably /dev/hdb) with no partition. If you're not sure, post the output of the fdisk command here and we can verify the correct place to install.

3) Start the installation, install to the blank drive, and then put grub in the MBR of the NTFS drive (again, it should be /dev/hda).
 
Old 11-19-2007, 03:49 PM   #5
gonzolono
LQ Newbie
 
Registered: Nov 2007
Posts: 9

Original Poster
Rep: Reputation: 0
ok, so after a little faffing and having to reburn the ubuntu image i managed to run it as a livecd and did as you suggested. the results of the fdisk were as follows:

device /dev/sda1
boot *
start 1
end 14946
blocks 120053713+
Id 7
system HPFS/NTFS


device /dev/sdb
boot
start
end
blocks
Id
system

where /dev/sdb has gaps assume nothing shown.

I started the install and got to the partitioning screen which asked me if I wanted to partition (this is where I may forget details) sda1 or "guided" and some other options I forget.

Does this look right?

cheers

Ben
 
Old 11-19-2007, 03:53 PM   #6
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
Yeah it does. Just make sure you do "guided" and DON'T put it on /dev/sda1 (that's your Windows install). Make sure you put it on /dev/sdb. I've never installed Ubuntu myself, but it should be something like "Guided -- use entire disk" and then select sdb.
 
Old 11-19-2007, 05:15 PM   #7
gonzolono
LQ Newbie
 
Registered: Nov 2007
Posts: 9

Original Poster
Rep: Reputation: 0
many thanks pljvaldez. i now have a dual booting pc with ubuntu which i can now spend time getting to know. no doubt i'll be back with more questions but for now, thanks again.

regards

Ben
 
  


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
Installing an ISO (Such as DSL) with no usb/cd drive spudtheimpaler DamnSmallLinux 3 02-28-2007 04:15 AM
Installing from iso on hard drive shame SUSE / openSUSE 5 11-20-2006 07:39 PM
ubuntu partitioning tool does not see external usb hard drive when installing ubuntu fakie_flip Linux - Software 2 07-30-2006 12:44 AM
Locating Disc 2,3,4,5 later after installing 1 Redhat disc lava Linux - General 1 03-22-2003 01:13 AM
Installing ISO from a hard drive Will Linux - Software 5 10-11-2001 06:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

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
Open Source Consulting | Domain Registration