LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-29-2010, 09:09 PM   #1
kittykatski
LQ Newbie
 
Registered: Apr 2010
Posts: 2

Rep: Reputation: 0
Installed update to Ubuntu 9.10, stuck in GRUB version 1.97~beta4


Hi,

I installed a generic update for Ubuntu and left my laptop. When I came back, it was frozen on the desktop - I couldn't click anything on the GUI so I restarted.

Now it's restarting into 'GNU GRUB version 1.97~beta4'
with sh:grub>
as a terminal.

So I try to boot it, using these instructions/commands:

ls
set prefix=(hdX,Y)/boot/grub
set root=(hdX,Y)
set
ls /boot
insmod /boot/grub/linux.mod
linux /vmlinuz root=/dev/sdxY ro
initrd /initrd.img
boot

but I can't figure out which partition Ubuntu is on, so I tried it with all of them (ie hd(0,6) , hd(0,5) , hd(0,1) ) but none of them will work.
I also don't know how to bring up the config file...

The error that comes up is:

error: invalid magic number

after I type 'linuz /vmlinuz root=/dev/sda1'
(or any other number after sda...so if I'm setting root as hd(0,6) and I use sda0 or sda6 it still gives me this error).

Any help would be greatly appreciated!

I installed Ubuntu 9.10 for the first time on my laptop a few weeks ago. I partitioned the drive, but I didn't get around to installing Windows on the other partition, so it's a single hard drive with only one OS - it's a laptop as well.
 
Old 04-30-2010, 02:10 PM   #2
brucehinrichs
Member
 
Registered: Mar 2008
Location: US
Distribution: Debian Sid; Sabayon, UbuntuStudio, Slackware-multilib 13.1, Peppermint Ice, CentOS
Posts: 575

Rep: Reputation: 69
If you just installed a few weeks ago, I would consider reinstalling using Ubuntu 10.04 (just out yesterday). Also, if you're planning on dual-booting linux and windoze, it's generally easiest to install windoze first, then letting grub install to the mbr when you do your linux install. Grub does a good job of finding windoze and adding it to the boot menu automagically. Windoze just overwrites the mbr (doesn't even bother to look for another OS).

Last edited by brucehinrichs; 04-30-2010 at 02:14 PM.
 
Old 05-02-2010, 11:15 PM   #3
kittykatski
LQ Newbie
 
Registered: Apr 2010
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks for that, yeah I just booted from a disk, transferred the files I had across to my portable hard drive and reinstalled.
Cheers!
 
  


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
Ubuntu fails to reboot after updates, gets stuck in grub astrostuart Ubuntu 3 03-09-2010 09:25 PM
Update Installed Ubuntu aldago Linux - Newbie 2 02-14-2008 04:48 PM
If I update to the newer version of Ubuntu will ndiswrapper still work? izquierdista Ubuntu 2 04-27-2007 04:00 PM
Installed FC5> Wrote over Ubuntu MBR: How do i add Ubuntu Partition to Grub Loader Free_beer Ubuntu 4 10-02-2006 06:11 PM
First Ubuntu try: Stuck on Grub svar Ubuntu 4 06-14-2006 11:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:05 AM.

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