Ubuntu 8.10 wont start up.....but only when plugged in????

I see the orange load bar and the linux symbol then when it gets to a about 30% to check files it freezes and wont begin.Like I said when unplugged, it starts up just fine.I am also having trouble with my updater so is there anyway to safely go into the scripting and fix it upon bootup?