Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then 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.
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.
Help. I have a Dell with 2 hd's. The first one, 80GB is partitioned into 2x40, the second, a 60GB is partitioned into 1x40 and 1x20.
when I type in fdisk -l /dev/hda I get:
Disk /dev/hda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 5100 40965718+ c Win95 FAT32 (LBA)
/dev/hda2 5101 5113 104422+ 83 Linux
/dev/hda3 5114 5178 522112+ 83 Linux
/dev/hda4 5179 9729 36555907+ f Win95 Ext'd (LBA)
/dev/hda5 5179 7728 20482843+ 83 Linux
/dev/hda6 7729 9003 10241406 83 Linux
/dev/hda7 9004 9663 5301418+ 83 Linux
/dev/hda8 9664 9728 522081 82 Linux swap
I want to mount hda5, thats where I have all my data, you know, stuff I've downloaded, etc.
I have created a mount point under /mnt called XP_P2P.
I then did the following
chmod a+rw /mnt/XP_P2P
No problems so far. then I mounted or tried to with
mount /dev/hda4 /mnt/XP_P2P -t vfat
and got the following message
mount: wrong fs type, bad option, bad superblock on /dev/hda4,
or too many mounted file systems
(aren't you trying to mount an extended partition,
instead of some logical partition inside?)
Linux is not seeing the extended partition as a fat32 partition, instead it sees it as a extended partition, and so without a fs.
[i]
Device Boot Start End Blocks Id System
/dev/hda1 * 1 5100 40965718+ c Win95 FAT32 (LBA)
/dev/hda2 5101 5113 104422+ 83 Linux
/dev/hda3 5114 5178 522112+ 83 Linux
/dev/hda4 5179 9729 36555907+ f Win95 Ext'd (LBA)
/dev/hda5 5179 7728 20482843+ 83 Linux
/dev/hda6 7729 9003 10241406 83 Linux
/dev/hda7 9004 9663 5301418+ 83 Linux
/dev/hda8 9664 9728 522081 82 Linux swap
mount /dev/hda4 /mnt/XP_P2P -t vfat
mount: wrong fs type, bad option, bad superblock on /dev/hda4,
or too many mounted file systems
(aren't you trying to mount an extended partition,
instead of some logical partition inside?)
[/B]
Just like the error message says you can't mount an extended partition. An extended partition in simple terms is just a container for your logical drives which is any device >= /dev/hda5. And it doesn't contain any data.
Drive 1 (80GB): has two partitions; partition 1 (40GB, FAT32) is
my C drive, partition 2 is my main linux
drive/partition.
Drive 2 (60GB): has two partitions; partition 1 (40GB/Extended
partition - FAT32) is my D drive, partition 2 is the
rest of my linux drives, partitioned under linux,
installing RH7.3, over which I installed RH9.0
I checked both drives under XP and they poped up as FAT32 drives.
I have set my XP drive D, as my download/data/p2p drive. This is the drive I want access to.
I can't tell which partitions I need to mount. I also don't understand why the list says that my extended drive is drive F. It used to be F before I re-did my XP installation. I now have drives C, D, E and F, whereby drives E and F are my DVD and CD-RW respectively.
How do I see what the extended partition contains, and what the logical drives are made up of or contain? Do I then mount drives hda5, hda6 and hda7 as FAT32 drives to get access to the XP stuff?
I am getting a little confused here with all the partitions and stuff :-). I hope you or anyone can help.
If you look at your first post your 1st drive has 8 partitions. 40gb for XP and the rest is used for linux. I assume you did a server auto partition install which is why you have so many.
Assuming that your 2nd drive is the slave on the first controller then to see how its partitioned:
fdisk -l /dev/hdb
I will assume that your D: drive is probably /dev/hdb1.
Like my previous post said the extended partition is just a place holder for logical partitions and does not contain data. All of the logical partitions on your 1st drive (/dev/hda5-7) are setup for linux. You can see how they are used if you look at the /etc/fstab file.
/dev/hda1 * 1 5100 40965718+ c Win95 FAT32 (LBA)
/dev/hda4 5179 9729 36555907+ f Win95 Ext'd (LBA)
The c & f you are refering to is the filesystem type not the drive letter. This is actually the hexidecimal value associated with the filesystem type.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.