There isn't any technical problem with not assigning a separate /boot partition. The following link may help you to understand why making an external boot partition is preferable. But as they say, it is only preferred, not NECESSARY to allocate a separate boot partition. I myself have used only the / (root) and swap area to partition my drive and I've installed Ubuntu without any issues.
https://help.ubuntu.com/community/CreateBootPartitionAfterInstall
I think perhaps there is a misunderstanding as to what partitioning does.
If you let the Ubuntu installer do the partitioning there will only be two partitions
~19 GB for '/'
~ 1 GB for swap
So what happened to /boot, /home, and /tmp?? Doesn't Ubuntu need those to function correctly?
Yes, it does. But it does not need them as partitions. It needs folders (aka "directories") with those names. And in the standard Ubuntu install, the filesystem in the partition for '/' will have directories with those names. So everything will function correctly.
If there is nothing on the hard disk when you install Ubuntu, then a few windows into the install you will get a window like the image below asking what type of an install you want to do.
My advice is that unless you have a some specific reason to split your installation into separate partitions, do not do it. Just use the entry which is selected in the example. Having one root ('/') partition which contains all of your data is usually the most efficient way to use the space on a hard drive.
Mounting /boot on another partition is useful if your root partition uses a file system that grub2 (the bootloader) cannot understand ; you can place enough components in /boot to mount the root file system. This is not the case in a typical Ubuntu installation, as grub2 understands the default recommended file system (ext4), and all the other choices available. Another situation where a separate /boot is useful is where you have particularly stringent security needs - you can avoid mounting the /boot partition unless you need to update the components within, which means that rootkits will find it harder to compromise the bootloader. Again, this is not a typical need and is a rare choice.
/tmp on a separate partition is useful if you have applications that need to heavily use temporary files and you would like to use a block device that is very fast. Alternately, if you are booting from an SSD, and would like to reduce the amount of wear on your SSD, you can mount /tmp on another drive, or in RAM. Again, this is an uncommon configuration.
Yeah, use the entire disk if you don't understand the whole partitioning thing. Besides, it is silly to separate the disk by limited sizes; when it get fulls then you have to increase size....
Just go with the full disk unless you have a special technical need for making separate partitions....
Why? Both are not needed. /tmp is a temporary directory so it is not likely to hold alot of files. And those files tend to get deleted fairly quickly aswell. So I would discard that one. Same goes for boot. When you have more than 1 OS and want to save space you can share /boot with all those OSes but there is not really a need for it. It can be handy but in this case I would go without and focus on the low disc space.
My root at this moment is 5.9 Gb large so I would increase / a bit so you do not run into a disc full notice.
/ = 10 GB
swap = 2 GB
/home = 8 GB (my files music, videos etc are saved in my pen drive or cd)
sounds better to me.
If you use your pen drive for storage I would even suggest you should focus on the low disc space and even forget about a /home partition:
Well, there are many guides out there for the partitioning in ubuntu, I would prefer to partiton it in this way:
First, Just follow this link and let me know if you are getting stuck to any point out there. Now I also want to know wether or not you are doing the partition in a preinstalled windows hard disk or a fresj installation over entire disk?
EDIT: Well, I would first recommend you to use gparted to create and manage partition. Just create four 5 gb primary partitions and format it with ext4 file system in it. Then just create a extended file system on one of the four primary partition because they won't allow you to create more than 4 primary partitions on the disk. Now on the extended one, create a 3 gb and a 2 gb logical paritions. Now you just got the partitions in the following way:
Now just format and assign each of the partition as their respective choice and use it in either way you want. Linux gives you the better way to do it threw Gparted.
There isn't any technical problem with not assigning a separate /boot partition. The following link may help you to understand why making an external boot partition is preferable. But as they say, it is only preferred, not NECESSARY to allocate a separate boot partition. I myself have used only the / (root) and swap area to partition my drive and I've installed Ubuntu without any issues. https://help.ubuntu.com/community/CreateBootPartitionAfterInstall
Please take a terminal and type in "man hier". :)
I think perhaps there is a misunderstanding as to what partitioning does.
If you let the Ubuntu installer do the partitioning there will only be two partitions
So what happened to
/boot
,/home
, and/tmp
?? Doesn't Ubuntu need those to function correctly?Yes, it does. But it does not need them as partitions. It needs folders (aka "directories") with those names. And in the standard Ubuntu install, the filesystem in the partition for '/' will have directories with those names. So everything will function correctly.
If there is nothing on the hard disk when you install Ubuntu, then a few windows into the install you will get a window like the image below asking what type of an install you want to do.
My advice is that unless you have a some specific reason to split your installation into separate partitions, do not do it. Just use the entry which is selected in the example. Having one root ('/') partition which contains all of your data is usually the most efficient way to use the space on a hard drive.
Mounting
/boot
on another partition is useful if your root partition uses a file system that grub2 (the bootloader) cannot understand ; you can place enough components in /boot to mount the root file system. This is not the case in a typical Ubuntu installation, as grub2 understands the default recommended file system (ext4), and all the other choices available. Another situation where a separate /boot is useful is where you have particularly stringent security needs - you can avoid mounting the /boot partition unless you need to update the components within, which means that rootkits will find it harder to compromise the bootloader. Again, this is not a typical need and is a rare choice./tmp
on a separate partition is useful if you have applications that need to heavily use temporary files and you would like to use a block device that is very fast. Alternately, if you are booting from an SSD, and would like to reduce the amount of wear on your SSD, you can mount/tmp
on another drive, or in RAM. Again, this is an uncommon configuration.Yeah, use the entire disk if you don't understand the whole partitioning thing. Besides, it is silly to separate the disk by limited sizes; when it get fulls then you have to increase size.... Just go with the full disk unless you have a special technical need for making separate partitions....
The only problem I see is
Why? Both are not needed. /tmp is a temporary directory so it is not likely to hold alot of files. And those files tend to get deleted fairly quickly aswell. So I would discard that one. Same goes for boot. When you have more than 1 OS and want to save space you can share /boot with all those OSes but there is not really a need for it. It can be handy but in this case I would go without and focus on the low disc space.
My root at this moment is 5.9 Gb large so I would increase / a bit so you do not run into a
disc full
notice.sounds better to me.
If you use your pen drive for storage I would even suggest you should focus on the low disc space and even forget about a /home partition:
Well, there are many guides out there for the partitioning in ubuntu, I would prefer to partiton it in this way:
First, Just follow this link and let me know if you are getting stuck to any point out there. Now I also want to know wether or not you are doing the partition in a preinstalled windows hard disk or a fresj installation over entire disk?
EDIT: Well, I would first recommend you to use gparted to create and manage partition. Just create four 5 gb primary partitions and format it with ext4 file system in it. Then just create a extended file system on one of the four primary partition because they won't allow you to create more than 4 primary partitions on the disk. Now on the extended one, create a 3 gb and a 2 gb logical paritions. Now you just got the partitions in the following way:
Now just format and assign each of the partition as their respective choice and use it in either way you want. Linux gives you the better way to do it threw Gparted.