when i try to boot linux ubuntu it loads a ms-dos like screen and I can't get beyond there

Asked by doug

I'm trying to boot in linux ubuntu. Everything works fine and I click on "Ubuntu 7.10, kernel 2.6.22-14-generic" and then it says starting and after running the checks ot asks me to login. i do that and it says...

Last login:xxxx
Linux ubuntu 2.6.22-14-generic #1 SMP Tue Feb 12 07:42:25 UTC 2008 i686

The programs included with the Ubuntu system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright

Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
applicable law.
doug@unbuntu:~$ _

...i can fingure out some commands to type from there, but nothing seems to help. Does anyone know what to do from here?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Jim Hutchinson
Solved:
Last query:
Last reply:
Revision history for this message
doug (baserunner5588) said :
#1

oh and I cant reboot in windows so i currently have an unworking computer. anyone know how I would also go about getting windows back (I know everything I had is probably gone)?

Revision history for this message
Keruskerfuerst (arminmohring) said :
#2

What have you done at last before the non-booting computer?

Actually, X11 does not work correctly.
Please provide the log of /var/log/xorg.0.log.

Revision history for this message
doug (baserunner5588) said :
#3

I installed ubuntu using unetbootin (it installed everything for me without a cd and I just rebooted and am now stuck where I am). I don't know if that's what you were asking or not, but I couldnt really understand your question.

Revision history for this message
marcobra (Marco Braida) (marcobra) said :
#4

Please type:

sudo fdisk -l

If the system ask you for a password give your user password when requested, you don't see nothing when you type it, then press enter.

Copy and paste result here, thank you

Revision history for this message
Jim Hutchinson (jphutch) said :
#5

Doug, not to put unetbootin down (never used actually) but the normal CD install guides you through the partitioning of your hard drive. Did unetbootin do that? If you want to keep windows, it's important to make sure the install divides the drive and makes a space for Ubuntu (i.e. partitioning). Otherwise, you end up just installing over windows. Respond to marcobra's question and then someone can explain whether or not windows still lives on your drive and what your options are.

Revision history for this message
doug (baserunner5588) said :
#6

when i do tha it says...

Disk /dev/sda: 98.5 GB, 98522403840 bytes
255 heads, 63 sectors/track, 11978 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x41ab2316

Device Boot Start End Blocks Id System
/dev/sda1 * 1 11485 92253231 83 Linux
/dev/sda2 11486 11978 3960022+ 5 Extended
/dev/sda5 11486 11978 3959991 82 Linux swap / Solaris

Revision history for this message
Jim Hutchinson (jphutch) said :
#7

That output shows that you have one approx 100GB hard drive with only Linux installed. It looks like the install approach you took did not involve preserving a partition for windows. If that is what you intended then that's okay. I'm not sure why you are getting a command line though when you boot. If you did a server install that would be normal. Did you intend to do that? A desktop install should install a GUI desktop environment. If you have a gui installed you can type

startx

at the command prompt to load the gui. If it is not installed you can do

sudo apt-get install ubuntu-desktop

Give your password when requested (nothing will show as you type it) and that will add the necessary packages to get a normal graphical desktop environment.

In order to help, it would be useful to know what you expected and what you would like to accomplish.

Revision history for this message
doug (baserunner5588) said :
#8

Well the original goal was to have it so I could boot either windows or linux, but I realize I did that wrong and probably can't save windows anymore. Right now I'm just trying to get either to load so I can use my computer. When I type startx it says "program 'startx' is not installed. You can install it by typing: sudo apt-get install xinit. I type that and comes up with a whole list of things (i.e. http://us.archive.ubuntu.com gutsy/main libxmuu1 2:1.0.3-1ubuntu1) and under all of them it says either "could not resolve us.archive.ubuntu.com" or "Failed to fetch." At the bottom it says
"E: Unable to fetch some archives, maybe run apt-get update or try --fix-missing." So I ran apt-get update and I'm still in the same place I started with nothing working.

I also tried sudo apt-get install ubuntu-desktop and it says "E: Unable to fetch some archives, maybe run apt-get update or try --fix-missing."
So I tried it with the --fix-missing and it said "Unable to fetch some archives"

Revision history for this message
Best Jim Hutchinson (jphutch) said :
#9

Does the computer have working internet? From the command prompt type

ping www.google.com

If that doesn't work you may need to set up internet first. If you do have internet then try

sudo apt-get -f

If you have working internet then the "sudo apt-get install ubuntu-desktop" should install a bunch of stuff that is needed to have a graphical desktop.

Do you have the means to download and burn a regular desktop install CD? If so, that might be the easiest approach.

Revision history for this message
doug (baserunner5588) said :
#10

thanks for all the help

Revision history for this message
doug (baserunner5588) said :
#11

Thanks Jim Hutchinson, that solved my question.