howto repair GRUB on Debian Sarge with GNOME ?

If none of the more specific forums is the right place to ask

howto repair GRUB on Debian Sarge with GNOME ?

Postby cc » 2005-10-17 16:20

hi

howto repair GRUB on Debian Sarge with GNOME ?

greetings
cc
cc
 
Posts: 820
Joined: 2005-06-08 19:14

Re: howto repair GRUB on Debian Sarge with GNOME ?

Postby jobezone » 2005-10-17 17:34

cc wrote:hi

howto repair GRUB on Debian Sarge with GNOME ?

greetings
cc


What repairing do you have to do?

Gnome doesn't ship a graphical program to configure Grub, and I don't know of one that exists.

Grub's can be configured through the file /boot/grub/menu.lst and the documentation of it is at /usr/share/doc/grub/ (to view the .gz readme files, use
Code: Select all
less README.Debian.gz
)
The Debian Documentation website contains the FAQ, Installation Manual and the Release Notes for Etch. They're helpful if you want to learn more about debian!
User avatar
jobezone
 
Posts: 220
Joined: 2005-06-12 07:20
Location: Portugal

Postby cc » 2005-10-18 10:30

the computer doesn't start

I get only the message:
Code: Select all
GRUB
on the screen
cc
 
Posts: 820
Joined: 2005-06-08 19:14

Postby cc » 2005-10-18 18:30

but howto start the system now ?

can I use the setup CD to start the system ?
cc
 
Posts: 820
Joined: 2005-06-08 19:14

Postby jobezone » 2005-10-22 18:01

cc wrote:but howto start the system now ?

can I use the setup CD to start the system ?

Yes, boot with the Sarge install cd, and type
Code: Select all
rescue root=/dev/hda1


/dev/hda1 should be changed to point to the partition where you have /boot (by default it's placed in the same partition where you installed debian).
The Debian Documentation website contains the FAQ, Installation Manual and the Release Notes for Etch. They're helpful if you want to learn more about debian!
User avatar
jobezone
 
Posts: 220
Joined: 2005-06-12 07:20
Location: Portugal

Postby xequence » 2005-10-23 01:23

You can get the installer CD and bypass the installation, to the part where you install grub, and install it. Make sure to mount the right partitions, you need to to get by. It worked on ubuntu, so I guess it will work on debian.
xequence
 
Posts: 38
Joined: 2005-09-13 19:36

Postby grautu » 2005-10-24 19:33

cc wrote:the computer doesn't start

I get only the message:
Code: Select all
GRUB
on the screen

In case not "GRUB" but "grub> " is what you have on the screen, then you may load your Debian as follows:
Code: Select all
grub> root (hdi,j)
grub> chainloader +1
grub> boot

where (hdi,j) is the partition where your Debian should be loaded from (I mean either your / partition or your /boot).
As for repairing your GRUB here is a recipe, using the live CD Knoppix (in fact almost any other Linux rescue environment does the same job). Assume your Debian has root partition / at /dev/hdaX (according to your setting, you may modify suitably the "a" letter and certainly put a suitable digit instead of X). Open a console and proceed as follows:
Code: Select all
$ su -
# mkdir /temporary
# mount /dev/hdaX /temporary
# chroot /temporary
Knoppix: /# grub-install /dev/hda

Remark: "$", "#" and "Knoppix: /#" above are machine prompters; they may vary.
That recipe did work for me. Good luck!
grautu
 
Posts: 49
Joined: 2005-09-04 16:58


Return to General Questions

Who is online

Users browsing this forum: No registered users and 9 guests

fashionable