dmesg |grep sd
public text v1 · immutableubuntu@ubuntu:~$ sudo fdisk -l
Disk /dev/hda: 10.2 GB, 10239860736 bytes
255 heads, 63 sectors/track, 1244 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 1186 9526513+ 83 Linux
/dev/hda2 1187 1244 465885 5 Extended
/dev/hda5 1187 1244 465853+ 82 Linux swap / Solaris