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 external hard disk of 1 TB. I want to install ubuntu 11.04 in that. I have four partitions, three of which contains data and fourth one is empty. It has 160 GB space. Is it possible to divide further in 3 partitions, one for boot, one for swap and one for "/" so it i will not format the other drives ???
Also, can we use installed ubuntu in external hard disk be used on the other systems with different configurations???
It has 160 GB space. Is it possible to divide further in 3 partitions, one for boot, one for swap and one for "/" so it i will not format the other drives ???
Summit
Yes but you have to delete it first form the configuration then repartition the free space according to your needs..use GParted for that task http://gparted.sourceforge.net/
don't forget to backup your data before doing anything
in case you need more help ..ask in this thread again.
good luck
Disk /dev/sda: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 6374 51199123+ 7 HPFS/NTFS
/dev/sda2 6375 38912 261361454+ f W95 Ext'd (LBA)
/dev/sda5 6375 12748 51199123+ 7 HPFS/NTFS
/dev/sda6 12749 19122 51199123+ 7 HPFS/NTFS
/dev/sda7 19123 25496 51199123+ 7 HPFS/NTFS
/dev/sda8 25497 31870 51199123+ 7 HPFS/NTFS
/dev/sda9 34274 38912 37262736 83 Linux
/dev/sda10 31871 32449 4650786 82 Linux swap / Solaris
/dev/sda11 32450 34273 14651248+ 8e Linux LVM
Partition table entries are not in disk order
Disk /dev/sdb: 1000.1 GB, 1000170586112 bytes
255 heads, 63 sectors/track, 121597 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 * 101986 121598 157529088 83 Linux
/dev/sdb2 101221 101986 6144000 82 Linux swap / Solaris
/dev/sdb3 1 1276 10242048 83 Linux
/dev/sdb4 1276 101221 802810881 5 Extended
/dev/sdb5 88473 101221 102401024 7 HPFS/NTFS
/dev/sdb6 62976 88473 204801024 7 HPFS/NTFS
/dev/sdb7 59152 62976 30720000 83 Linux
/dev/sdb8 33655 59152 204800000 7 HPFS/NTFS
/dev/sdb9 1276 33655 260085760 7 HPFS/NTFS
Partition table entries are not in disk order
I have tried to install ubuntu in external hard disk. I have made four primary partition. I have set swap ~ 5GB, /boot ~ 10GB and / ~ 160 GB.
Ubuntu is installed well. But when I reboot the system by selecting first boot from external hard disk, then there is only black screen with "-" blinking.
Please suggest me what should I do to boot from external hard disk and where I did mistake???
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900
Rep:
Quote:
Originally Posted by summit
I have tried to install ubuntu in external hard disk. I have made four primary partition. I have set swap ~ 5GB, /boot ~ 10GB and / ~ 160 GB.
First things first, you swap at 5GB is way overkill, 2 GB is plenty
Quote:
Originally Posted by summit
Ubuntu is installed well. But when I reboot the system by selecting first boot from external hard disk, then there is only black screen with "-" blinking.
How do you know it "is installed well" if you cannot even get it to boot?
Quote:
Originally Posted by summit
Please suggest me what should I do to boot from external hard disk and where I did mistake???
You're gonna hate me but I am going to suggest you start again. Backup all the data on that hard drive and start again. Format it how you want but make sure Ubuntu is at the beginning and the data partitions are after it. By your last post at least 1 Linux partition is in the middle of a group of NTFS partitions. GRUB needs to be installed on the MBR and that is at the beginning. After you know you have a functioning system then put all your data back on.
EDIT: Please post information entries such as your partition table in a code box it makes things tidier and takes up alot less space.
use Gparted to make the ubuntu partition "bootable"
you should make three primary partitions and one extended partition which contains another partitions
so I suggest reformatting the 1 terabyte hard disk again using the above configuration(my configuration) then installing ubuntu
did u read the books or the tutorial?
I have again made three partition with swap 2GB. I would like to know...where I am doing wrong?
I have three partitions - swap, /boot and / and fourth one is extended partition. I have did everything with GParted and next time with ubuntu DVD. Both times same thing happens.
Ya...i m reading that tutorials...thanks a lot kareempharmacist.
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900
Rep:
Quote:
Originally Posted by kareempharmacist
i think the problem is when u chose where to store the boot loader ..u should choose the MBR of the external hard disk
Wasn't this made obvious before?
The entire partition system was untidy and needed cleaning up, has this been done?
It appeared, before, that Grub was not in the MBR and it still looks like this is the case.
What has actually been done to rectify this?
Can we see a screenshot of the partitioning? This will give us a chance to see if you have at least attempted to tidy things up.
When the computer’s boot system searches for the hard drive, the first thing
it will inspect is whether the MBR (Master Boot Record) of the first hard drive
(master of the first IDE channel or first disk of the SCSI channel) contains
any indication of the system to be loaded. The MBR is the first track of the
hard disk, where the information regarding configured partitions is stored,
and optionally, the program responsible for initiating the operating system.
If this program is not found here, the boot sector of the disk’s active partition
will be inspected. Whenever we wish to install a program in the computer’s
boot system we must place it in one of these zones. In the following figure
we can see this entire process when the boot sequence is first the disk drive
and then the disk:
Whenever we install a boot system, we need to remember that the order in
which this sequence is carried out is important: if we install one on the MBR
and another on the active partition, the MBR’s will be executed because this
is the area that the BIOS or EFI inspects first. If we do not have an active
partition, we need to place the boot program in the MBR. At all events, the
most advisable is to always install the program on the MBR because it is the
first thing to be inspected. Although we may have other operating systems
installed on other disks, we should install Grub in one of these zones.
In the program configuration we will tell it where the operating system that
we wish to load is located.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.