I'm not entirely sure what you mean here?
To put Ubuntu on the hard drive, you'll need to install Ubuntu onto a spare hard drive on another computer and then the hard drive into the B40-30. Presto, you now have control of the OS.
Also, apparently if your hardware warranty from Lenovo expires...