LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 05-11-2010, 04:52 PM   #1
Darksider
LQ Newbie
 
Registered: May 2010
Location: Rugby UK
Distribution: Ubuntu
Posts: 3

Rep: Reputation: 0
Help required on loading Ubunto onto a 2nd drive






Hi!

as mentioned in the header I have 2 HD's

The C drive runs on Win7

I would like to load the latest Ubuntu on the D drive but cannot find any info on how to do this on the ISO disk.

Could someone please advise on how I should proceed or point me in the right direction to find this info.

Thanks in advance for your kind assistance

PEACE
 
Old 05-11-2010, 05:54 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
First thing to do is to start thinking in GNU/Linux terminology. There are no C or D drive; they are devices listed in /dev. The first drive is /dev/sda, the second is /dev/sdb, and so on.

So, you have Windows installed on /dev/sda. If /dev/sda is all one partition, then windows is installed in /dev/sda1 (the 1 means the first partition on drive /dev/sda).

You want to install Ubuntu on /dev/sdb. When the installation is complete you will have two partion on /dev/sdb: /dev/sdb1 (the root of the filesystem) and /dev/sdb2 (swap).

During the installation process, you will have the opportunity to select the drive for installation. Be VERY CAREFUL to select /dev/sdb for installation of Ubuntu. You should also have the opportunity to select a volume of space on /dev/sdb for the swap partition.

If you want Ubuntu's bootloader (grub) to boot either windows or Ubuntu, the installation will write the first stage of grub into the MBR of /dev/sda, and it will write a configuration file which will show you a menu on boot that allows you to select which OS to boot.

Note: Make a copy of your MBR on /dev/sda (before installing Ubuntu or any other GNU/Linux distro) and save it somewhere (in your windows Documents should suffice). In future, if you want to get rid of Linux on /dev/sdb, you will have to either restore that copy of the MBR, or use a windows install disk to run fixmbr. Just a word of advice.

Search these boards for info on how to use the dd command from a liveCD to make that copy of your MBR.

PS: most if not all problems you encounter have already been answered. Use www.google.com/linux to search for answers to questions you might have. If you can't find the answer, then post your question here. Linux is a learning process as much as it is an operation system. The link above will help you in your learning experience.

Last edited by bigrigdriver; 05-11-2010 at 05:57 PM.
 
0 members found this post helpful.
Old 05-11-2010, 06:25 PM   #3
fbsduser
Member
 
Registered: Oct 2009
Distribution: Hackintosh, SlackWare
Posts: 267

Rep: Reputation: 30
To back the Windoze mbr up type this:
Code:
sudo dd if=/dev/sda of=~/win7.mbr bs=1 count=512
in the terminal window. You'll need to use the sudo command (which elevates to superuser, just like Win7 UAC tool does) otherwise dd will complain that the block device can't be opened and won't create the backup copy of the mbr.
After running the command copy the win7.mbr file to your windoze partition.
If you ever need to uninstall Linux, just type:
Code:
sudo dd if=/media/<windoze partition>/win7.mbr of=/dev/sda
As with the other one you need root access to open and operate in the HD block device.
 
1 members found this post helpful.
Old 05-11-2010, 11:22 PM   #4
Darksider
LQ Newbie
 
Registered: May 2010
Location: Rugby UK
Distribution: Ubuntu
Posts: 3

Original Poster
Rep: Reputation: 0
Maybe I'm dum But:

Thanks for your kind reply.

From what I can gather from your reply you're answer seems to me as if I had 2 partions on the same drive.

What I have is a 2nd HD and this is where I would like to put Ubuntu.

Thanks for any clarification

Regards

Last edited by Darksider; 05-11-2010 at 11:26 PM.
 
  


Reply



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
Encrypt 2nd drive without 2nd boot time passphrase: How? gargamel Slackware - Installation 15 05-30-2009 02:50 PM
Installing Ubunto 7.04 on External USB drive, to boot from and run from - Error 17? Agent942 Ubuntu 18 11-19-2007 02:32 PM
installed ubunto twice by mistake now in boot up screen get 2 options for ubunto salpapa Linux - Newbie 8 06-28-2007 05:24 PM
Added a 2nd Sata Drive installed Fedora Core 5, BIOS Doesn't See 2nd Drive. mtmcc1 Linux - General 3 12-03-2005 04:01 PM
Loading 2nd network card JHuizingh Linux - Networking 14 02-23-2002 02:44 AM

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

All times are GMT -5. The time now is 06:33 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
Open Source Consulting | Domain Registration