LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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-14-2009, 02:57 PM   #1
daniell
Member
 
Registered: Jul 2008
Posts: 152

Rep: Reputation: 15
Installing Ubuntu on Second Hard Drive


I have two hard drives. On one hard drive I have Vista. I would like to install Ubuntu 9.02 on the other one. I have made several attempts to do so. During the installation process I did not know how to control where Ubuntu would be installed. I really need to be walked through this, step by step. I am attaching a digital image of the step where I did not know how to proceed. Please forgive me for the low quality of the image.

Thanks in advance

Last edited by daniell; 04-18-2010 at 08:35 AM.
 
Old 05-14-2009, 04:21 PM   #2
yancek
Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 5,502

Rep: Reputation: 881Reputation: 881Reputation: 881Reputation: 881Reputation: 881Reputation: 881Reputation: 881
You need to select a mount point somewhere in the setup. You will be given options such as /usr/, /var/ etc. Select the one with the root symbol: /

You then need to format it and you should be also given that option. Your image shows the unallocated space highlighted which would be right. If I read your image correctly, you have one ntfs partition on the first drive, sda1 and another ntfs on the second, hdb1. Don't install to either of these as they are your windows drives. Further on in the installation, you will be given options as to where to install Grub bootloader. You should install to the master boot record and the bootloader should detect windows and create an entry in the menu.lst file to boot windows automatically.

If you need more detail, post again.

The above will install Grub bootloader to the first hard drive. Actually, I don't know what your intentions are. Is the drive you plan to install Ubuntu to an external? Do you intent to have this drive connected permanently? If not, that would change things.

Last edited by yancek; 05-14-2009 at 04:24 PM. Reason: Clarify location of bootloader
 
Old 05-14-2009, 04:34 PM   #3
daniell
Member
 
Registered: Jul 2008
Posts: 152

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by yancek View Post
You need to select a mount point somewhere in the setup. You will be given options such as /usr/, /var/ etc. Select the one with the root symbol: /

You then need to format it and you should be also given that option. Your image shows the unallocated space highlighted which would be right. If I read your image correctly, you have one ntfs partition on the first drive, sda1 and another ntfs on the second, hdb1. Don't install to either of these as they are your windows drives. Further on in the installation, you will be given options as to where to install Grub bootloader. You should install to the master boot record and the bootloader should detect windows and create an entry in the menu.lst file to boot windows automatically.

If you need more detail, post again.

The above will install Grub bootloader to the first hard drive. Actually, I don't know what your intentions are. Is the drive you plan to install Ubuntu to an external? Do you intent to have this drive connected permanently? If not, that would change things.
Thanks for your informative reply.
My first hard drive has Vista on it.
My second HD has a partition that I use for digital images.
Both HDs will remain connected permanently.
Are you saying that the Grub bootloader should be installed in my first HD, the one in which I have installed Vista? If you don't mind, I will upload images of the steps that I do not understand.

Thanks
 
Old 05-14-2009, 05:16 PM   #4
daniell
Member
 
Registered: Jul 2008
Posts: 152

Original Poster
Rep: Reputation: 15
New Step that I do not understand

I selected this mount point / then went to the next step. I do not know what to do.

Last edited by daniell; 04-18-2010 at 08:35 AM.
 
Old 05-14-2009, 06:05 PM   #5
jay73
Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 130Reputation: 130
You should create a swap partition as well. Swap is something like windows virtual memory.

Anyway, from the start:
- at the partitioning stage, select "custom"
- select the drive to install to
- if it already contains one or more partitions, delete enough of them so you can install Ubuntu (note that deleting a partition erases all data it contains)
- then add partitions: one of 2048MB, one of 10240MB (or a few thousand more if you prefer), one that takes up the rest of the free space. For each added partition, you'll need to indicate filesystem (choose swap for swap, ext3 or ext4 for the other two) as well as mount point (none for the swap partition, / for the second partition, /home for the third one).
That should be it. As long as you don't press "continue" (or is it "next"?), you can still make edits to your selected drive layout (delete, edit or add partitions).
 
Old 05-14-2009, 06:17 PM   #6
daniell
Member
 
Registered: Jul 2008
Posts: 152

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by jay73 View Post
You should create a swap partition as well. Swap is something like windows virtual memory.

Anyway, from the start:
- at the partitioning stage, select "custom"
- select the drive to install to
- if it already contains one or more partitions, delete enough of them so you can install Ubuntu (note that deleting a partition erases all data it contains)
- then add partitions: one of 2048MB, one of 10240MB (or a few thousand more if you prefer), one that takes up the rest of the free space. For each added partition, you'll need to indicate filesystem (choose swap for swap, ext3 or ext4 for the other two) as well as mount point (none for the swap partition, / for the second partition, /home for the third one).
That should be it. As long as you don't press "continue" (or is it "next"?), you can still make edits to your selected drive layout (delete, edit or add partitions).
Thanks Jaye, but I am ashamed to say it, but I am confused.
There is plenty of free space in my second HD for Ubuntu.
When I went to install it, I chose manual. I still do not know how to create a swap file.
 
Old 05-14-2009, 06:26 PM   #7
jay73
Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 130Reputation: 130
Just select "add partition", choose filetype "swap", no mount point (that option should be deselected automatically once you select swap for the filesystem). Then you do the other partitions.

Last edited by jay73; 05-14-2009 at 06:27 PM.
 
Old 05-14-2009, 06:44 PM   #8
daniell
Member
 
Registered: Jul 2008
Posts: 152

Original Poster
Rep: Reputation: 15
Previous Step

Jaye this is my previous window. What should I have done?

Last edited by daniell; 04-18-2010 at 08:35 AM.
 
Old 05-14-2009, 06:57 PM   #9
jay73
Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 130Reputation: 130
If there aren't any other partitions on the drive, select "Primary", size 2048, use as swap. Then for the other two:
- Primary, 10240 (=10GB) or more (15360 is 15GB, which is what I use but then not everyone needs that much) , use as ext3, mount point /
- Primary, rest of space, use as ext3, mount point /home

The last screen will install GRUB. You should go with the default if you do not mind having it installed to the first drive (if you do, you'll need to think of another way to boot Ubuntu because it won't boot at all if there isn't any bootloader (GRUB or another one) on the first drive).

Last edited by jay73; 05-14-2009 at 07:00 PM.
 
Old 05-14-2009, 07:03 PM   #10
daniell
Member
 
Registered: Jul 2008
Posts: 152

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by jay73 View Post
If there aren't any other partitions on the drive, select "Primary", size 2048, use as swap. Then for the other two:
- Primary, 10240 (=10GB) or more (15360 is 15GB, which is what I use but then not everyone needs that much) , use as ext3, mount point /
- Primary, rest of space, use as ext3, mount point /home

The last screen will install GRUB. You should go with the default if you do not mind having it installed to the first drive (if you do, you'll need to think of another way to boot Ubuntu because it won't boot at all if there isn't any bootloader (GRUB or another one) on the first drive).
There is one other partition on the drive. So what should I select?
 
Old 05-14-2009, 07:07 PM   #11
jay73
Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 130Reputation: 130
Then select "logical' instead of primary, Linux does not mind being installed to a logical partition (unlike windows). If the installer objects, it's probably because the partition you already have is logical too. Then you can use primary instead.
 
Old 05-14-2009, 07:47 PM   #12
daniell
Member
 
Registered: Jul 2008
Posts: 152

Original Poster
Rep: Reputation: 15
HELP

Jaye Help!

I installed Ubuntu, everything went well. When I tried to go to Ubuntu, It said that I typed the wrong password. HELP
 
Old 05-14-2009, 07:57 PM   #13
jay73
Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 130Reputation: 130
Well, maybe you did? Are you sure you are using the exact same password that you entered during install?

If nothing helps, have a look at this:
http://www.psychocats.net/ubuntu/resetpassword

Last edited by jay73; 05-14-2009 at 07:59 PM.
 
Old 05-14-2009, 07:59 PM   #14
daniell
Member
 
Registered: Jul 2008
Posts: 152

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by jay73 View Post
Well, maybe you did? Are you sure you are using the exact same password that you entered during install?
Maybe I typed it wrong, but I do not think so.

Also, I am not sure which HD the Ubuntu installed to.
Any suggestions would be appreciated
 
Old 05-14-2009, 08:07 PM   #15
jay73
Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 130Reputation: 130
Which drive? That shouldn't matter but you can find out from either Ubuntu or Linux. So have you been able to log in?
 
  


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 Ubuntu from hard drive partition icronk Linux - Newbie 2 08-08-2007 07:57 PM
Installing UBUNTU on to a seperate USB Hard drive spnoe Ubuntu 1 12-06-2006 05:36 AM
Installing UBUNTU on to a seperate USB Hard drive spnoe Ubuntu 1 12-04-2006 05:03 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
Partitioning hard drive and installing Ubuntu? Taae Linux - Newbie 6 02-22-2006 04:37 PM


All times are GMT -5. The time now is 09:31 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