Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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
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.
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).
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.
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.
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).
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?
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.