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 01-21-2007, 05:39 PM   #1
Mark_667
Member
 
Registered: Aug 2005
Location: Manchester, England
Distribution: Ubuntu 20.04
Posts: 383

Rep: Reputation: 30
Using Kubuntu 6.10 Live CD to fix GRUB?


I've just installed Edgy from the Live CD and it went well until after installing everything and configuring some system components it just hung. I restarted and tried to boot into the new system but got a GRUB error 15. I booted back into the live cd to look at the installation but I can't see the partitions even after mounting them and can't cd to, for example /dev/hda1. I tried (all from root): mount -t ext3 /dev/hda1 and mount -t /dev/hda1 but didn't get a notice to say it'd mounted anything, just a slight pause and a return to the command prompt.

I tried grub-install /dev/hda1 and grub-install /dev/hda1/boot but got the error 'could not find device for /boot'

I know the system is all there already so there's no point doing a full re-install just to try to fix GRUB but I can't install it or check the conf file if I can't get access to the partition through the Live CD, can anyone help? Oh, and I tried typing 'rescue' at the boot prompt and got 'cannot find boot image: rescue'
 
Old 01-21-2007, 06:09 PM   #2
wavesound
LQ Newbie
 
Registered: Oct 2006
Location: Cardiff
Distribution: ubuntu
Posts: 20

Rep: Reputation: 0
Wink

Quote:
Originally Posted by Mark_667
I've just installed Edgy from the Live CD and it went well until after installing everything and configuring some system components it just hung. I restarted and tried to boot into the new system but got a GRUB error 15. I booted back into the live cd to look at the installation but I can't see the partitions even after mounting them and can't cd to, for example /dev/hda1. I tried (all from root): mount -t ext3 /dev/hda1 and mount -t /dev/hda1 but didn't get a notice to say it'd mounted anything, just a slight pause and a return to the command prompt.

I tried grub-install /dev/hda1 and grub-install /dev/hda1/boot but got the error 'could not find device for /boot'

I know the system is all there already so there's no point doing a full re-install just to try to fix GRUB but I can't install it or check the conf file if I can't get access to the partition through the Live CD, can anyone help? Oh, and I tried typing 'rescue' at the boot prompt and got 'cannot find boot image: rescue'
HI I had a similar problem.
I have a drive that SMART is telling is failing, containing my (hdB) STudio64 stuff.
I also have windoze on HD0 and Ubuntu 6 it's on my 3rh HD.

I ran the Live CD and tried to setup Grub.
Didnt work at all I eventually loaded Ubuntu Breezy on the Dodgy drive.

I can now get to all my OS's.

Thing is I thought that I put Grub on the MBR which I thought was always HD0 aka windoze.

Seems I have two Grub installations as the one I'm looking at in Breezy is different tot eh one on HD2.

Is the MBR not on the first drive 1st partition for windoze??

CHeers
All

Bob
Wavesound
 
Old 01-22-2007, 03:17 AM   #3
wavesound
LQ Newbie
 
Registered: Oct 2006
Location: Cardiff
Distribution: ubuntu
Posts: 20

Rep: Reputation: 0
Wink

Quote:
Originally Posted by Mark_667
I've just installed Edgy from the Live CD and it went well until after installing everything and configuring some system components it just hung. I restarted and tried to boot into the new system but got a GRUB error 15. I booted back into the live cd to look at the installation but I can't see the partitions even after mounting them and can't cd to, for example /dev/hda1. I tried (all from root): mount -t ext3 /dev/hda1 and mount -t /dev/hda1 but didn't get a notice to say it'd mounted anything, just a slight pause and a return to the command prompt.

I tried grub-install /dev/hda1 and grub-install /dev/hda1/boot but got the error 'could not find device for /boot'

I know the system is all there already so there's no point doing a full re-install just to try to fix GRUB but I can't install it or check the conf file if I can't get access to the partition through the Live CD, can anyone help? Oh, and I tried typing 'rescue' at the boot prompt and got 'cannot find boot image: rescue'
Hi
Yes I got into trying to get Grub to re-install, It seemed it couldn't find any of my HD's.
I always put grub on the MBR, supposedly so I can rebuild it with a live CD.

Here's what I was using.

Login to Grub from a terminal:

root (hd0,1) # This according to Gnome partition is a boot drive for windoze.
No drive found
setup (hd0,1)
Error can't parse No

and on it went!!

(Just a quick note It seems grub counts drives from the No 0)

It seems when I'm on these site's that reloading grub is an easy thing.

I did end up installing a full system on my Dodgy drive (HD1) just to get my old Ubuntu back.

Thing is when I change the drive I'll have to do it again, and I'm using a SATA drive!

Should be fun!
 
  


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
Live Ubuntu neither Live Kubuntu works? lomba36 Ubuntu 1 04-04-2006 02:28 PM
Kubuntu live CD on Mandrake Trio3b Ubuntu 1 01-18-2006 01:01 AM
Kubuntu live download Trio3b Ubuntu 2 01-16-2006 10:36 AM
kubuntu-live wireless networking Mr. New Linux - Laptop and Netbook 1 05-02-2005 08:12 AM
can I fix lilo with slax live cd? walterbyrd Slackware - Installation 1 04-01-2004 11:44 AM

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

All times are GMT -5. The time now is 11:54 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