Finding Unmounted Disks

The Network Security Toolkit only mounts the CDROM at boot time. If you want to see what disk partitions are available, you can use the fdisk -l command as shown below (this was done on my old Sager 8550 laptop):

Figure 3.2. Using fdisk -l To Find Disks

[root@probe root]# fdisk -l
 
Disk /dev/sda: 131 MB, 131072512 bytes
16 heads, 32 sectors/track, 500 cylinders
Units = cylinders of 512 * 512 = 262144 bytes
 
   Device Boot    Start       End    Blocks   Id  System
/dev/sda1             1       500    127984    6  FAT16
 
Disk /dev/hda: 12.0 GB, 12072517632 bytes
255 heads, 63 sectors/track, 1467 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
 
   Device Boot    Start       End    Blocks   Id  System
/dev/hda2   *         4       392   3124642+   b  Win95 FAT32
/dev/hda3           393       409    136552+  83  Linux
/dev/hda4           410      1467   8498385    5  Extended
/dev/hda5           932      1192   2096451   83  Linux
/dev/hda6          1193      1467   2208906   83  Linux
/dev/hda7           410       864   3654724+  83  Linux
/dev/hda8           865       931    538146   82  Linux swap
 
Partition table entries are not in disk order
[root@probe root]# 

The fdisk -l should report all partitions for all available disk drives. The above output tells me that my 128MB USB thumb drive is inserted and treated as SCSI disk /dev/sda. The output also tells me that there are 6 available partitions on the IDE hard disk /dev/hda - I'm not counting partition /dev/hda4 as it is a extended partion containing /dev/hda5, /dev/hda6, /dev/hda7 and /dev/hda8.