does anyone know how to change between different partitions under linux?
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!
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Kendo1979 I have done what you told me to do.but it doesn't work.I just installed a debian base system on my computer right now.and I even don't know how to determine the major number of my hard drive and the minor number of the partition.I just have hard drive and I have two linux partition,one swap partition and a fat32 partition on my computer.
What linux distribution and version are you running You need to be logged in as root. If you are unsure of the exact partition then run this command
fdisk -l (that is a small L). This will list the partitions for all drives.
1. You need to create a directory to mount the filesystem. Some distributions use /media for mount removable media.
2. I assume you are trying to mount the FAT32 partiton.
mount -t vfat /dev/hda1 /mnt/drive
You can navigate via a file browser or in a console window using the cd command. In a console window:
I am running debian and I just installed the basesystem I think it is woody.
I used fdisk -l to check the partitions on my drive but I found that the FAT32 partition is /dev/hda7,is it right?
and another partition called /dev/hda2 is win95 Ext'd (LBA)
what is it?
I have done what you told me to.but it doesn't work in the last step.when I typed cd /mnt/drive/debian, a message appeared said no such file or directory.I am not sure what is console window and what is file browser?
An extended partition in a nutshell is a container for the logical partitions.
Primary partitions are IDs 1-4 and logical partitions IDs >=5
Yes, ie if the output of fdisk indicates hda7 for the FAT32 partition and this is the one you want to mount. Does the directory debian exist on the mounted partition? Just trying accessing the FAT32 partition by
ls (to list the contents)