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

Notices


Reply
  Search this Thread
Old 04-06-2006, 02:08 PM   #1
The PIT
Member
 
Registered: Nov 2005
Posts: 99

Rep: Reputation: 16
Repairing Grub


I need to transfer a Linux Kiosk to another hard drive which is of course a different size. Problem is that Grub of course just throws it's legs up in the air and does nothing.

Didn't seem much of a problem at first just repair the grub by using Knoppix.

Knoppix just hangs at the RTC so thats no go.

Trued Unbunta and couldn't see any console options under boot options. This just hangs on entering X windows.

Tried Suse live CD and that can't see the hard drive.

Tried the Debian net install CD iso and that gives the option to install grub but then wants to format the drives which of course I don't want to do.

So what's the next as another machine is needed for testing.
 
Old 04-06-2006, 02:36 PM   #2
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,186

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
Um, you have not yet posted your system configuration (drive and partition assignments), nor your grub.conf file contents, nor even which drive contains your MBR.

Do you get a grub boot menu? A gurb> prompt?

Can you boot linux rescue? Have you done so and run grub-install?
 
Old 04-06-2006, 02:50 PM   #3
The PIT
Member
 
Registered: Nov 2005
Posts: 99

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by PTrenholme
Um, you have not yet posted your system configuration (drive and partition assignments), nor your grub.conf file contents, nor even which drive contains your MBR.

Do you get a grub boot menu? A gurb> prompt?

Can you boot linux rescue? Have you done so and run grub-install?
Can't post the drive assignments at the moment as the machine is at work. Can't get to the grub.conf file contents as I haven't been able to boot into a system to get at them.

It's just a single drive hda1

It just sits at Grub and flashes the cursor at you.

The Live CD's I tried so far won't boot or can't read the disk or won't give the option Linux Rescue or if they have the option don't tell you about it. The nearest I got is Debain which shows install grub loader and then wants to wipe hard drive which I have to cancel out off as formating isn't an option.

Some nice soul has nicked my orginal Debian Cd's and I haven't had a chance to download a new set as yet.

Last edited by The PIT; 04-06-2006 at 02:55 PM.
 
Old 04-07-2006, 09:58 AM   #4
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,186

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
O.K., just how did you do the "transfer?" dd to another drive, or a dump / load, or some other method? Do you have the "older" drive available, and does the system run properly with that drive installed instead of the newer one?

When you say "It's just a single drive hda1," you're implying that the whole Linux Kisok is installed on a single partition of (hd0) (in GRUB notation). This seems unusual since most Linux systems work better with the swap file on a different partition, although a logical volume can include swap and / in the same physical partition. (Does Linux Kisok even use LVM?)

You say that "Knoppix just hangs at the RTC so thats no go." How long did you wait at that "hang?" Knoppix can take as much as twenty minutes to decide that it's not getting anywhere, but it usually manages to boot. But this suggest that the hd you're using may have some hardware problem. So, what steps have you taken to verify that the hd is actually properly installed and running?

You can download the System Rescue CD from here. This live CD includes several tools for checking hard drives.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
repairing GRUB/bootloader for Suse 8.2 gherb Linux - Newbie 19 01-16-2006 04:18 PM
repairing boot loader/GRUB in SuSE 8.2 gherb SUSE / openSUSE 2 01-14-2006 04:04 PM
urgent help needed fir repairing grub loader testuserx Linux - General 11 05-06-2005 01:18 PM
repairing GRUB deardron Linux - Software 5 12-29-2003 04:11 PM
Need help repairing GRUB! Please! DJSpaceMouse Linux - Software 19 05-27-2003 01:44 PM

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

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