LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Puppy
User Name
Password
Puppy This forum is for the discussion of Puppy Linux.

Notices


Reply
  Search this Thread
Old 06-11-2008, 04:26 AM   #1
VictorLemar
LQ Newbie
 
Registered: May 2008
Posts: 11

Rep: Reputation: 0
Problem at start with Grub


I made a Ghost image of a Puppy Installation. When I restored it on a different hard-disk system freezed with the message "GRUB..."
What has it happened?
 
Old 06-11-2008, 04:54 AM   #2
pinniped
Senior Member
 
Registered: May 2008
Location: planet earth
Distribution: Debian
Posts: 1,732

Rep: Reputation: 50
Grub's "root" (where to look for the /boot/grub/ directories and its files) has changed when you played with different disks; you need to interrupt Grub at the 'first stage' and specify a working 'root'.
 
Old 06-11-2008, 05:00 AM   #3
VictorLemar
LQ Newbie
 
Registered: May 2008
Posts: 11

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by pinniped View Post
you need to interrupt Grub at the 'first stage'
How can I do it? Maybe editing file menu.lst?

Quote:
Originally Posted by pinniped View Post
specify a working 'root'.
For doing that, I have to know the path, in other words how the drive has been mounted...

Thank you.
 
Old 06-11-2008, 05:13 AM   #4
Larry Webb
LQ Veteran
 
Registered: Jul 2006
Location: Crystal Beach, Texas
Distribution: Suse for mail +
Posts: 5,100
Blog Entries: 7

Rep: Reputation: 229Reputation: 229Reputation: 229
We need to know more, how many distros do you have and the hd partitions. Give us your partitions by doing 'fdisk -ls' in terminal as root and pasting the results here.
 
Old 06-11-2008, 05:18 AM   #5
Larry Webb
LQ Veteran
 
Registered: Jul 2006
Location: Crystal Beach, Texas
Distribution: Suse for mail +
Posts: 5,100
Blog Entries: 7

Rep: Reputation: 229Reputation: 229Reputation: 229
First let me ask, do you have a linux operating system that will boot on this computer? You will need something, if not need to have a live cd, about any live cd will work.
 
Old 06-11-2008, 06:06 AM   #6
VictorLemar
LQ Newbie
 
Registered: May 2008
Posts: 11

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Larry Webb View Post
We need to know more, how many distros do you have
Just one distro, the last Puppy
Quote:
Originally Posted by Larry Webb View Post
and the hd partitions.
Two partitions: hda1, hda2

and this is the menu.lst file:

# GRUB configuration file '/boot/grub/menu.lst'.
# generated by 'grubconfig'. Mon Jun 9 11:09:18 2008
#
# The backup copy of the MBR for drive '/dev/hdc' is
# here '/boot/grub/mbr.hdc.19703'. You can restore it like this.
# dd if=/boot/grub/mbr.hdc.19703 of=/dev/hdc bs=512 count=1
#
# Start GRUB global section
default 0
timeout 3
color light-gray/blue black/light-gray
# End GRUB global section
# Linux bootable partition config begins
title Linux (on /dev/hdc2)
root (hd0,1)
kernel /boot/vmlinuz root=/dev/hdc2 ro vga=787
# Linux bootable partition config ends
title Install GRUB to floppy disk (on /dev/fd0)
pause Insert a formatted floppy disk and press enter.
root (hd0,1)
setup (fd0)
pause Press enter to continue.
title Install GRUB to Linux partition (on /dev/hdc2)
root (hd0,1)
setup (hd0,1)
pause Press enter to continue.
title - For help press 'c', then type: 'help'
root (hd0)
title - For usage examples, type: 'cat /boot/grub/usage.txt'
root (hd0)
 
Old 06-11-2008, 07:01 AM   #7
VictorLemar
LQ Newbie
 
Registered: May 2008
Posts: 11

Original Poster
Rep: Reputation: 0
Ok, I solved reinstalling Grub from the puppy live cd :-)
 
  


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
dual boot problem winxp cant start using grub and Suse 10 jmgatica Linux - Software 3 12-06-2006 03:50 PM
Can't start windows in GRUB g4j31a5 Linux - Hardware 5 10-18-2006 01:15 AM
grub hangs at start paicolman Fedora 3 09-17-2006 04:14 PM
grub doesn't start tiziana Linux - Software 2 04-14-2005 07:03 AM
Grub will not start after install thanko Red Hat 2 07-30-2004 06:49 PM

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

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