LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 10-29-2008, 06:49 AM   #1
spreck
LQ Newbie
 
Registered: Oct 2008
Posts: 4

Rep: Reputation: 0
my computer does pretty much nothing now


OK, so I'll be the first to admit that I'm a complete newb to anything Linux, but have sofar enjoyed the ease with which I've used Ubuntu. Last night I performed it's recommended upgrades, then it said that I needed to reboot. I closed everything I had running, and rebooted.

Enter the fun.

Now instead of loading ubuntu I get my regular IBM load screen, which will allow me to get to my set-up menu just fine. After that I will get a really fast page, which is pretty much full of information, and lasts about a quarter of a second. Then finally I get a page that says:

__________________________________________________________________

[Minimal BASH-like line editing is supported. For
the first word, TAB lists possible command
completions. Anywhere else TAB lists the possible
completions of a device/filename.]

grub>

___________________________________________________________________

I have tried searching around for some advice, but all the advice I've found will only be helpful if I'm already in Ubuntu (or windows, which I'm not running)

I have tried booting from Live CD, but as far as the machine is concerned, there's nothing there.

Just in case it's helpful:
IBM Thinkpad G40, Celeron 2.5, 1 GB Ram, and running nothing but Ubuntu 8.04

I have one large file on my machine I would like to keep, and have done some cosmetic tweeking to my desktop, so I would prefer not to lose anything, but If I have to start over, am willing to.

Any help, is GREATLY appreciated
 
Old 10-29-2008, 07:24 AM   #2
dopla
Member
 
Registered: Aug 2008
Location: Beacon Bay, East London, South Africa
Distribution: Ubuntu
Posts: 30

Rep: Reputation: 16
Let's see if this will help. I have little understanding and/or idea of the type of your problem. I suspect that the menu.lst file or GRUB (on the MBR) have been changed in a wrong way.
I suggest that you try this (I will be more explicit since I am also a newbie like you):

1. Boot from your Live CD and open up terminal from <Applications> --> <Accessories> --> <Terminal>
2. sudo su
3. mkdir hardy
4. mount /dev/sda1 hardy
(if your linux partition is not /dev/sda1 then change to the appropriate)
5. grub-install --recheck --root-directory=hardy /dev/sda
(note: not /dev/sda1 but /dev/sda)
6. Exit as root user by typing "exit" or Ctrl+D
7. sudo gedit menu.lst
Inspect if ever everything in this file is OK. ..
Here is the example of the portion of the file
title <what_you_saw_on_your_boot_menu>
root (hd0,0)
kernel /vmlinuz root=/dev/sda1 ro quiet splash
initrd /initrd.img
quiet

...
the /vmlinuz and /initrd.img are symbolic links on the / directory to the relevant files in /boot directory
the root=/dev/sda1 should ALWAYS correspond to the "root (hd0,0)" entry a mismatch will result into problems.

8. If everything is fine, close the file and reboot normally without the Live CD
 
Old 10-29-2008, 04:29 PM   #3
spreck
LQ Newbie
 
Registered: Oct 2008
Posts: 4

Original Poster
Rep: Reputation: 0
thank you for the quick reply

however, trying to boot with or without the live CD still takes me to the same grub command page.

i've tried going through the setup menu and selecting to boot from cd, but it still is not helping

any other advice?
 
Old 10-29-2008, 05:30 PM   #4
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 133Reputation: 133
That could be a BIOS issue. Check whether you can reset it to defaults.
 
Old 10-30-2008, 06:43 AM   #5
spreck
LQ Newbie
 
Registered: Oct 2008
Posts: 4

Original Poster
Rep: Reputation: 0
tried resetting the bios, still nothing

the problem seems to be alot like what was addressed here http://www.linuxforums.org/forum/lin...d-edition.html

however, it still doesn't get me into Ubuntu

on a side note, I've also noticed that I may be missing some parts of my grub, for example and can't access the grub.conf, it's like it's not there
 
Old 10-30-2008, 06:51 AM   #6
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 133Reputation: 133
Well, yes, it does look like GRUB is gone. Have you tried a rescue from the livecd?
 
Old 10-30-2008, 07:00 AM   #7
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,128

Rep: Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121
See post #3.
Does issuing the find command work - what does it return ?.
From the grub prompt enter "geometry (hd0)" (no quotes) and check everything looks o.k.
 
Old 10-30-2008, 07:08 AM   #8
IsharaComix
Member
 
Registered: Sep 2008
Location: Raleigh
Distribution: Ubuntu 8.10
Posts: 88
Blog Entries: 1

Rep: Reputation: 15
I've never used an IBM before, but is there any kind of button that takes you to a boot menu? On my Dell, holding down the F12 key during boot-up will bring up a menu that lets you choose the device you want to boot from. You can choose CD/DVD and then boot it explicitly from the BIOS level.

Another possible solution is to go into the BIOS and change the boot order to CD/DVD drive first. Most computers nowadays ignore the drive and go straight to the Bootloader (after checking the floppy drive).

EDIT: Sorry. Didn't read the whole thing. Why don't you try downloading a Linux distro that fits on a floppy disk, like Basic Linux? You might be able to reset the OS through that.

Last edited by IsharaComix; 10-30-2008 at 07:10 AM. Reason: I'm a moron.
 
Old 10-30-2008, 08:11 AM   #9
spreck
LQ Newbie
 
Registered: Oct 2008
Posts: 4

Original Poster
Rep: Reputation: 0
I was able to boot into Ubuntu using an older version (7.04) and messed with the grub menu from there,
no instead of loading to the grub> command, it loads to

GRUB Loading stage 1.5

GRUB loading, please wait. . .
internal error: the second sector of Stage 2 is unknown.


if worst comes to worst, I can boot from the older live CD and I have access to all my old files, just will need to transfer them to a different computer

might use this as a reason to try out the newest version, but would honestly like to keep learning, which is the good side-effect to having troubles, I guess
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Pretty sure I got hacked, help? erick4x4 Linux - Security 4 02-07-2005 01:23 AM
This is pretty funny. djbanaan General 4 10-02-2003 07:05 PM
Pretty new to Linux ASP Linux - Newbie 3 07-29-2003 11:17 PM
very pretty equipment bigjohn Linux - Hardware 2 04-13-2003 01:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 11:05 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration