The first method is a "reset" which is by pushing the select and menu button at the same time.
The second method is done when the iPod is in disk mode. To go into disk mode, first do the reset and when the apple logo comes up then push the select and play/pause buttons for a couple of seconds. Then you can do the restore which overwrites all the data on the drive, and reinstalls the factory software.
DMT