PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Serveur - Sécurité et techniques > linux.debian.user > /boot/grub missing in Debian 4.0 installation
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
linux.debian.user debian-user@lists.debian.org.

/boot/grub missing in Debian 4.0 installation

Réponse
 
LinkBack Outils de la discussion
Vieux 17/08/2007, 20h20   #1
Masatran, R. Deepak
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut /boot/grub missing in Debian 4.0 installation

I am moving my computer from Testing to Stable. I installed Stable on a new
partition, and want to configure GRUB. But /boot/grub is missing! It was a
routine install, except that I did not select "Desktop environment" in
TaskSel. Why is /boot/grub missing? And how can I get it created? The
computer is a two-year-old I386-based laptop. Some other info:

masatran@masatran:~$ ls /boot
config-2.6.18-4-486 initrd.img-2.6.18-4-486.bak vmlinuz-2.6.18-4-486
initrd.img-2.6.18-4-486 System.map-2.6.18-4-486

masatran@masatran:~$ sudo aptitude search grub
p ggz-grubby - GGZ Gaming Zone: chat bot with the ability to play games
i grub - GRand Unified Bootloader
p grub-disk - GRUB bootable disk image
p grub-doc - Documentation for GRand Unified Bootloader
p grub-splashimages - a collection of great GRUB splashimages

--
Masatran, R. Deepak <http://research.iiit.ac.in/~masatran/>



--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 17/08/2007, 20h40   #2
Javier Vasquez
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: /boot/grub missing in Debian 4.0 installation

On 8/17/07, Masatran, R. Deepak <masatran@research.iiit.ac.in> wrote:
> I am moving my computer from Testing to Stable. I installed Stable on a new
> partition, and want to configure GRUB. But /boot/grub is missing! It was a
> routine install, except that I did not select "Desktop environment" in
> TaskSel. Why is /boot/grub missing? And how can I get it created? The
> computer is a two-year-old I386-based laptop. Some other info:
>
> masatran@masatran:~$ ls /boot
> config-2.6.18-4-486 initrd.img-2.6.18-4-486.bak vmlinuz-2.6.18-4-486
> initrd.img-2.6.18-4-486 System.map-2.6.18-4-486
>
> masatran@masatran:~$ sudo aptitude search grub
> p ggz-grubby - GGZ Gaming Zone: chat bot with the ability to play games
> i grub - GRand Unified Bootloader
> p grub-disk - GRUB bootable disk image
> p grub-doc - Documentation for GRand Unified Bootloader
> p grub-splashimages - a collection of great GRUB splashimages
>
> --
> Masatran, R. Deepak <http://research.iiit.ac.in/~masatran/>


Not sure if this would (examples might change according to your
configuration):

aptitude install grub (apt-get instead of aptitude is you don't use aptitude)
grub-install --root-directory=/boot /dev/hda
update-grub

If your /boot corresponds to a different partition than /, then you might:

grub-install --root-directory=/boot /dev/hda
cd /boot
ln -s . boot
grub-install --root-directory=/boot /dev/hda
update-grub

You can consult:

http://www.gnu.org/software/grub/man...ub_002dinstall

Or:

http://www.gnu.org/software/grub/man...ode/index.html

Also if you want grub2 instead of grub-legacy, then if grub-pc is
present, then install it and if not, then install grub2 (under
unstable it's grub-pc)...

--
Javier


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 17/08/2007, 20h40   #3
Javier Vasquez
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: /boot/grub missing in Debian 4.0 installation

On 8/17/07, Masatran, R. Deepak <masatran@research.iiit.ac.in> wrote:
> I am moving my computer from Testing to Stable. I installed Stable on a new
> partition, and want to configure GRUB. But /boot/grub is missing! It was a
> routine install, except that I did not select "Desktop environment" in
> TaskSel. Why is /boot/grub missing? And how can I get it created? The
> computer is a two-year-old I386-based laptop. Some other info:
>
> masatran@masatran:~$ ls /boot
> config-2.6.18-4-486 initrd.img-2.6.18-4-486.bak vmlinuz-2.6.18-4-486
> initrd.img-2.6.18-4-486 System.map-2.6.18-4-486
>
> masatran@masatran:~$ sudo aptitude search grub
> p ggz-grubby - GGZ Gaming Zone: chat bot with the ability to play games
> i grub - GRand Unified Bootloader
> p grub-disk - GRUB bootable disk image
> p grub-doc - Documentation for GRand Unified Bootloader
> p grub-splashimages - a collection of great GRUB splashimages
>
> --
> Masatran, R. Deepak <http://research.iiit.ac.in/~masatran/>


Not sure if this would (examples might change according to your
configuration):

aptitude install grub (apt-get instead of aptitude is you don't use aptitude)
grub-install --root-directory=/boot /dev/hda
update-grub

If your /boot corresponds to a different partition than /, then you might:

grub-install --root-directory=/boot /dev/hda
cd /boot
ln -s . boot
grub-install --root-directory=/boot /dev/hda
update-grub

You can consult:

http://www.gnu.org/software/grub/man...ub_002dinstall

Or:

http://www.gnu.org/software/grub/man...ode/index.html

Also if you want grub2 instead of grub-legacy, then if grub-pc is
present, then install it and if not, then install grub2 (under
unstable it's grub-pc)...

--
Javier


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 17/08/2007, 20h40   #4
Nate Bargmann
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: /boot/grub missing in Debian 4.0 installation

* Masatran, R. Deepak <masatran@research.iiit.ac.in> [2007 Aug 17 14:16 -0500]:
> I am moving my computer from Testing to Stable. I installed Stable on a new
> partition, and want to configure GRUB. But /boot/grub is missing! It was a
> routine install, except that I did not select "Desktop environment" in
> TaskSel. Why is /boot/grub missing? And how can I get it created? The
> computer is a two-year-old I386-based laptop. Some other info:
>
> masatran@masatran:~$ ls /boot
> config-2.6.18-4-486 initrd.img-2.6.18-4-486.bak vmlinuz-2.6.18-4-486
> initrd.img-2.6.18-4-486 System.map-2.6.18-4-486
>
> masatran@masatran:~$ sudo aptitude search grub
> p ggz-grubby - GGZ Gaming Zone: chat bot with the ability to play games
> i grub - GRand Unified Bootloader
> p grub-disk - GRUB bootable disk image
> p grub-doc - Documentation for GRand Unified Bootloader
> p grub-splashimages - a collection of great GRUB splashimages


If I recall, /boot/grub does not exist until grub-install is run. If
your current bootloader (grub?) is configured from your Testing
partition, then all you need to do is add kernel stanzas for your
Stable partition. If you run grub-install from your Stable partition,
then it will replace the existing bootloader and be configured in
/boot/grub and you'll need to add kernel Stanzas to boot Testing
(unless you plan on using that partition for something else).

Clear as mud?

- Nate >>

--
Wireless | Amateur Radio Station N0NB | Successfully Microsoft
Amateur radio exams; ham radio; Linux info @ | free since January 1998.
http://www.qsl.net/n0nb/ | "Debian, the choice of
My Kawasaki KZ-650 SR @ | a GNU generation!"
http://www.networksplus.net/n0nb/ | http://www.debian.org


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Vieux 17/08/2007, 20h40   #5
Nate Bargmann
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: /boot/grub missing in Debian 4.0 installation

* Masatran, R. Deepak <masatran@research.iiit.ac.in> [2007 Aug 17 14:16 -0500]:
> I am moving my computer from Testing to Stable. I installed Stable on a new
> partition, and want to configure GRUB. But /boot/grub is missing! It was a
> routine install, except that I did not select "Desktop environment" in
> TaskSel. Why is /boot/grub missing? And how can I get it created? The
> computer is a two-year-old I386-based laptop. Some other info:
>
> masatran@masatran:~$ ls /boot
> config-2.6.18-4-486 initrd.img-2.6.18-4-486.bak vmlinuz-2.6.18-4-486
> initrd.img-2.6.18-4-486 System.map-2.6.18-4-486
>
> masatran@masatran:~$ sudo aptitude search grub
> p ggz-grubby - GGZ Gaming Zone: chat bot with the ability to play games
> i grub - GRand Unified Bootloader
> p grub-disk - GRUB bootable disk image
> p grub-doc - Documentation for GRand Unified Bootloader
> p grub-splashimages - a collection of great GRUB splashimages


If I recall, /boot/grub does not exist until grub-install is run. If
your current bootloader (grub?) is configured from your Testing
partition, then all you need to do is add kernel stanzas for your
Stable partition. If you run grub-install from your Stable partition,
then it will replace the existing bootloader and be configured in
/boot/grub and you'll need to add kernel Stanzas to boot Testing
(unless you plan on using that partition for something else).

Clear as mud?

- Nate >>

--
Wireless | Amateur Radio Station N0NB | Successfully Microsoft
Amateur radio exams; ham radio; Linux info @ | free since January 1998.
http://www.qsl.net/n0nb/ | "Debian, the choice of
My Kawasaki KZ-650 SR @ | a GNU generation!"
http://www.networksplus.net/n0nb/ | http://www.debian.org


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 07h10.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,16628 seconds with 13 queries