Tuesday 30 July 2013

How to install Ubuntu 11.04 on external hard disk

Showed how to install Ubuntu 11.04 on a portable USB hard drive. This tutorial, written for Ubuntu 11.10, takes it a step further by showing how to add an NTFS partition at the end of an external drive – after installing Ubuntu.
It is a very simple process, but if you a new to this, and need some hand-holding doing it, this tutorial should be all you need.
To start, you need to, if you have not already done so, download an installation image of Ubuntu 11.10 from here. And of course, you need an external USB drive attached to the computer that you are going to use. So, burn the image you downloaded to a CD and boot the computer from it.
Note: This tutorial was written for Ubuntu 11.10, but may also be used if you want to install Ubuntu 12.04 or any other Linux distribution based on Ubuntu Desktop to an external hard drive.
When the computer boots, you may start the installer prior to it booting into the Live desktop, or from the Live desktop. Click through the first few steps of the installer until you get to the step shown in the image below. Because installing Ubuntu on an external hard drive requires creating partitions manually, select the last option – Something else. Click Continue.
Install Ubuntu External Disk
That will bring you to the Advanced partitioning tool. If, as the case with mine, the computer you are using for this installation has only one hard disk in it, the external hard disk should be listed as /dev/sdb. And if there are any existing partitions, they will be listed below it. Delete them: Select each one and click Delete.
Ubuntu 11.10 Advanced Partition tool
After the delete operation, the window should look just like the one below. Time to start partitioning the external hard drive. If you are new to disk partitioning in Linux, it is recommended that you read guide to disks and disk partitions in Linux. Manual disk partitioning guide for Ubuntu 11.04 is also recommended. Though written for Ubuntu 11.04, it is also useful for Ubuntu 11.10, because the installers are the same.
Objective: Create three partitions for Ubuntu. These will be for the boot partition, / (the root partition), and Swap. In the process, leave enough disk space at the end. That free space will be used to create the NTFS partition. That NTFS partition will be configured from Windows, so it helps if you have a Windows system.
To start creating partitions, select the free space of sdb and click Add.
Ubuntu 11.10 Add Partition
The first partition will the boot partition. A disk space of 500 MB is more than enough for this partition. Ext4 is the file system, and be sure to select /boot for the mount point. Note: For this tutorial, all three partitions will be created as primary partitions, but you may use the default, which creates the first partition as primary and the rest as logical partitions. Click OK.
Ubuntu 11.10 Add Boot Partition
For the second partition, which will be mounted at /, assign as much disk space as you want to use for Ubuntu. Ext4 is also the file system, though, you may use btrfs or any other supported file system. OK. For help with btrfs on Ubuntu, consider reading how to install Ubuntu 11.04 on a btrfs file system.
Ubuntu 11.10 Add Root Partition
For the third and the last partition, for Swap, about 4 GB is good. Select “swap area” from the “Use as” dropdown menu. OK.
Ubuntu 11.10 Add Swap Partition
With all the partitions created, the advanced partitioning tool window should now look like this. Note the free space under sdb. That will be used for the NTFS partition. Because the installer will want to install GRUB, the boot loader, in the MBR of the internal hard drive, sda, the next task is to select sdb, the external hard drive, from the “Device for boot loader installation” dropdown menu.
Ubuntu 11.10 Complete Partition
After making that change to the boot loader device, the window should look like this. Click Install Now to continue with the rest of the installation.
Ubuntu 11.10 Select GRUB Location
Though not required, at the step shown in the image below, you might want to enable the option to encrypt your home folder. That is the only feature of the installer that you can use to protect your data, if you lose the external drive or if it is stolen.
Ubuntu Install External Drive

After Ubuntu has installed successfully, test the system to make sure that you can boot from the external disk. If everything worked, connect the external disk to a system running Windows. For this tutorial, I connected mine to a system running Windows 7. The goal here, is to create an NTFS partition using the free space left at the end of the external hard drive.
To start, launch the partition manager . If you do not know how to click to it from the menu, type “partitions” into the menu’s search field. Click on the result. That should open Disk Management tool. If there is only one internal hard drive in the computer, which should be listed as Disk 0, you should see the external disk listed as Disk 1. And the free space at the end of its partitions labeled “Unallocated.” To create an NTFS partition from “Unallocated,” right-click on it and select “New Simple Volume.”
Windows 7 Partition Manager
Click Next.
Windows 7 Create Simple Partition
If you want to use all the available space, click Next.
Windows 7 Simple Partition Size
Assign a drive letter. Next.
Windows 7 Simple Partition Drive Letter
The default file system should be NTFS. Change the “Volume label” to suit. Next.
Windows 7 Simple Partition File System
Click Finish.
Windows 7 Create Simple Partition Completed
The new partition should appear as you labeled it. Close the window.
Windows 7 Partition Manager NTFS
When you reboot into the external drive and open Nautilus, the file manager, you should see the NTFS partition listed on the side panel.
Read NTFS Partition Ubuntu 11.10
And you can then transfer file to it.
Write NTFS Partition Ubuntu 11.10
And be able to see those file from Windows when the external drive is connected to a computer running Windows. You can also transfer files to it from Windows, and still be able to see those files from Ubuntu.
Ubuntu Files NTFS Partition on External Hard Disk


Copyed From : LinuxBSDos.com

No comments:

Post a Comment

Twitter Bird Gadget