answersLogoWhite

0

How do you Locate the Linux root partition?

Updated: 8/17/2019
User Avatar

Wiki User

14y ago

Best Answer

The root directory is indicated by a "/'. You can navigate to the root directory using the command 'cd /'.

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you Locate the Linux root partition?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Which sign represents the root partition in Linux?

the sign for root partition in linux is : /


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.


What is the difference between a boot and a root partition?

/boot is where the Linux kernel images, as well as parts of the bootloader are stored. The "root" is simply the uppermost directory in a Unix/Linux file system. Any directory that is not given it's own partition will be placed as a subdirectory in the file system on the "root" partition. Assuming you gave a partition to /etc, /bin, /boot, /usr, and so on, you wouldn't need a "root" partition at all.


What is the symbol used to indicate you are in the root directory in Linux?

"/" is the root directory in Linux. Make sure not to confuse this with the "/root" directory, which is the home directory for the user "root" (similar to "Administrator" on Windows)


How do you specify the root partition in Linux?

In the boot parameters of your bootloader, you specify it with the text root=/path/to/device or a unique UUID name.


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


Which command lines can be used in a linux machine to format a partition?

as root: df -h to see the disks and partitions mkfs.ext3 /dev/sdb1 Where sdb1 is the disk and partition you want to format. This will format sdb1 partition to ext3.


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.


How do you change the file system size in Linux?

You can't resize a mounted partition, so you can't resize the root file system while the installed copy of Linux is running. To resize it, you should use a LiveCD like GParted that contains a partition editor.


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.