Did you know LQ has a Linux Hardware Compatibility List?
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This 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!


  Search this Thread
Old 01-01-2005, 09:01 AM   #1
Registered: Sep 2002
Location: Perth Australia
Distribution: OpenWRT, debian, Ubuntu
Posts: 135
Blog Entries: 18

Rep: Reputation: 15
fstab entries show non-linear partition numbers

/dev/hdb6 / ext3 defaults 1 1
/dev/hdb1 /boot ext3 defaults 1 2
none /dev/pts devpts mode=0620 0 0
/dev/hdb10 /home ext3 defaults 1 2
//mage/STUFF /mnt/STUFF smbfs user,suid,username=% 0 0
/dev/scd0 /mnt/cdrom iso9660 user,ro,exec 0 0
/dev/scd1 /mnt/cdrom2 iso9660 user,ro,exec 0 0
/dev/fd0 /mnt/floppy user,suid defaults
/dev/hda1 /mnt/win_c vfat iocharset=iso8859-15,codepage=850,umask=0 0 0
/dev/hda5 /mnt/win_d vfat iocharset=iso8859-15,codepage=850,umask=0 0 0
/dev/hda6 /mnt/win_e vfat iocharset=iso8859-15,codepage=850,umask=0 0 0
none /proc proc defaults 0 0
/dev/hdb9 /tmp ext3 defaults 1 2
/dev/hdb7 /usr ext3 defaults 1 2
/dev/hdb8 /var ext3 defaults 1 2
/dev/hdb5 swap swap defaults 0 0
Is there an obvious reason that hda2-4 and hdb2-4 are missing ?
All partitions are in use - there's no free space.
Old 01-01-2005, 09:22 AM   #2
Registered: Jun 2004
Location: Scotland
Distribution: Anything that'll install...
Posts: 305

Rep: Reputation: 30
Yes there is. Primary partitions are numbered 1 through 4. Logical partitions are numbered 5 upwards.

Basically, your disks have one primary partition (i.e. hda1), and a bunch of logical ones.
Old 01-01-2005, 09:25 AM   #3
Registered: Aug 2002
Posts: 13,665

Rep: Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163Reputation: 1163
No worries. It is normal and just the way the partitions were created.
In a nutshell
Primary partitions are 1-4
logical partitions are any partitions >=5
An extended partition is a container for logical partitions. This is the method to create more then 4 partitions.

To see how the drive is partitions log in as root and type in the command.
/sbin/fdisk -l /dev/hdb

I would guess that your extended partition is hdb2 which is not mounted and not shown in the fstab file.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
how do i show line numbers in kdevelop? ereeno Linux - Software 3 12-17-2008 03:16 AM
Dynamic Entries in fstab? bigoli MEPIS 1 06-02-2005 03:18 PM
Mounting linear-raid partition daniel_lidstrom Linux - Software 2 12-29-2004 06:04 AM
fstab file entries what do they mean? bgagnon SUSE / openSUSE 2 11-12-2004 03:23 PM
Entries in /etc/fstab kamransoomro84 Linux - General 6 05-05-2004 10:32 AM

All times are GMT -5. The time now is 01:40 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration