answersLogoWhite

0


Best Answer

Linux can have as many partitions as you like, as it uses a unified filesystem structure. Usually you'll see 3-4:

The / partition, where it all comes together and you'll most likely find most your configuration, software, libraries, assets, documentation, etc.

The swap partition, which is where the Linux kernel can dump pages of memory when memory is running low or certain processes have been blocked for a long time.

The /home partition, where user data is stored, includes preferences, documents, media files, and misc user-specific data are kept. Often kept in its own partition to allow you to share the same user data across multiple operating systems, and also to allow you to reinstall Linux without having to waste a second on needless backups, as that partition need not be removed.

/boot partition, where the kernel, initramfs images, and bootloader files and configuration are kept. Often placed on its own partition for similar reasons as /home, to allow reinstallation of Linux without necessarily having to clear out boot data. IT also allows one to install multiple Linux instances and only having to define kernel parameters and initramfs locations for all of them from a single location. Also allows the system to keep booting if you were to remove Linux itself and go back to Windows without having to reinstall Windows.

You can put many other toplevel directories in other partitions, but not all of them. /usr, /tmp, /opt, and /var can be put on other partitions, as the system doesn't actually rely on them to come online, though they will all be needed for the system to become usable to the average user.

All the other toplevels need to stay on /, as the system absolutely needs them to function from the very moment early userspace finishes, not to mention single-user ("Maintenence") mode counts on everything an administrator would need being present at all times, which can't be guaranteed with separate partitions.

User Avatar

Wiki User

13y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How many partition in Linux?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Performing Arts

Can you install more than one operating system in a machine and can you give an example?

Yes. You need to create a Primary partition and then a secondary partition. You'll want to install your main OS on the Primary partition (Windows, Mac, Linux, Novell, ect.) and then put the other OS on the secondary partition (I typically see Linux.) Then you can choose to boot from the primary partition or the secondary partition in the BIOS. The bigger the hard-drive you have the better, and I wouldn't try it with anything less than 100 gigs.


What operating system allows you to install a new OS without disturbing the old one?

Linux will easily allow you to install it along with other OS on a separate partition or even same partition through frugal install. You can even live boot from a CD which will not affect anything on your PC.


What is Linux based on?

Linux is not "based" on anything per se. Its kernel is all original code and the software included in the average Linux distribution is non-centric to a given system. However. Linux is inspired by and readily identified as being "related" to UNIX, to the point many Linux users consider it to be UNIX.


Where is the Linux operating system used?

Operating systems using Linux are often found on servers, many popular sites' servers run Linux because of its stability and performance. Linux is also used by people wanting to learn how to build a kernel thru example, because Linux is open source, they can. Linux is also used by people who want to build a custom operating system for their needs.


Examples of open source OS?

GNU/Linux(same thing) There's: Red hat, Ubuntu, LFS(Linux from scratch) and many others

Related questions

Why has Linux deleted my partition?

Linux will not delete a partition unless you tell it to. If you have accidentally deleted a partition, but have not written to the disk, you may be able to restore most or all of the data that was on it. The program "testdisk", found on many Linux LiveCDs and partition editors, can restore the deleted partition flags.


Which sign represents the root partition in Linux?

the sign for root partition in linux is : /


What is the ID of a Linux extended partition?

82 => Linux swap / Solaris 83 => Linux ext2 & ext3 85 => Linux Extended partition


What is the ID of a Linux extended partition in Linux?

83


What type would you set on a partition to make it a swap partition in Linux?

82


Can you install Linux and windows on same hard drive?

Yes. To achieve this, you need to shrink the window partition so there is space for the Linux partition on the disk.


How do you install Ubuntu Linux on a separate partition?

Click the install as partition when installing Ubuntu.


What type of partition does Linux use when it does not have enough memory?

A swap partiton because it is a dedicated partition and not a file


Will installing windows after Linux wipe out Linux?

you can partition the drive.. to use both OS


Can you use Linux and windows together?

Yes. All that you need to do is shrink the Windows partition so your Linux partition can fit. Then just install the Linux OS into there, and you'll be able to choose which one to boot into on startup


What is Linux partition?

Partition means the same thing, regardless of operating system. It is a division or demarcation of resources.


What is a root partition?

A "root partition" is a partition that contains the subdirectories that make up a Linux or Unix file system, such as /bin, /usr, and /dev.