OVH Cloud OVH Cloud

grub install sur hda

4 réponses
Avatar
mess-mate
Bonjour,
je viens d'installer grub sur un floppy, test=E9 et tout va bien.
Je voudrais maintenant l'installer sur mon premier dd.
Et l=E0 je coince. Comment faut-il faire ??
Je viens de lire qu'il faut =E9viter d'utiliser grub-install.
Mon menu.lst est fait et comporte donc:
# For installing GRUB into the hard disk
#title Install GRUB into the hard disk
root (hd0,0)
setup (hd0)
et ensuite ???
merci d'avance

mess-mate =20
--
You seek to shield those you love and you like the role of the provider.

4 réponses

Avatar
Jean-Luc Coulon (f5ibh)
--=-kx+Q1QGs6HyrOstI3Ye5
Content-Type: text/plain; charset=iso-8859-15; DelSp=Yes; Format=Flowed
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Le 05.09.2005 16:37:00, mess-mate a écrit :
Bonjour,
je viens d'installer grub sur un floppy, testé et tout va bien.
Je voudrais maintenant l'installer sur mon premier dd.
Et là je coince. Comment faut-il faire ??
Je viens de lire qu'il faut éviter d'utiliser grub-install.
Mon menu.lst est fait et comporte donc:
# For installing GRUB into the hard disk
#title Install GRUB into the hard disk
root (hd0,0)
setup (hd0)
et ensuite ???



Normalement, ça suffit.

Vous lancez grub depuis une console ou un xterm et la séquence des
commades ressemble à :

[] % sudo grub
Probing devices to guess BIOS drives. This may take a long time.

GNU GRUB version 0.95 (640K lower / 3072K upper memory)

[ Minimal BASH-like line editing is supported. For the first word, TAB
lists possible command completions. Anywhere else TAB lists the
ossible completions of a device/filename. ]

grub> find /grub/stage1
find /grub/stage1
(hd0,0)
(hd1,0)
grub> root (hd1,0)
root (hd1,0)
Filesystem type is xfs, partition type 0x83
grub> setup (hd0)
setup (hd0)
Checking if "/boot/grub/stage1" exists... no
Checking if "/grub/stage1" exists... yes
Checking if "/grub/stage2" exists... yes
Checking if "/grub/xfs_stage1_5" exists... yes
Running "embed /grub/xfs_stage1_5 (hd0)"... 19 sectors are embedded.
succeeded
Running "install /grub/stage1 d (hd0) (hd0)1+19 p (hd1,0)/grub/stage2
/grub/menu.lst"... succeeded
Done.
grub>grub> quit
quit
[] %

merci d'avance

mess-mate




Jean-Luc

--=-kx+Q1QGs6HyrOstI3Ye5
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQBDHFoiXit3lz9m7V4RAv/MAKDRcC2F9jZ4exg1b4W5xgIn7JoWTgCeNu/h
YR8cjk9j3P5afU6l8vvMz58 =5Tpm
-----END PGP SIGNATURE-----

--=-kx+Q1QGs6HyrOstI3Ye5--



--
Pensez à lire la FAQ de la liste avant de poser une question :
http://wiki.debian.net/?DebianFrench

Pensez à rajouter le mot ``spam'' dans vos champs "From" et "Reply-To:"

To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact
Avatar
mess-mate
Jean-Luc Coulon (f5ibh) wrote:
| Le 05.09.2005 16:37:00, mess-mate a écrit :
| >Bonjour,
| >je viens d'installer grub sur un floppy, testé et tout va bien.
| >Je voudrais maintenant l'installer sur mon premier dd.
| >Et là je coince. Comment faut-il faire ??
| >Je viens de lire qu'il faut éviter d'utiliser grub-install.
| >Mon menu.lst est fait et comporte donc:
| ># For installing GRUB into the hard disk
| >#title Install GRUB into the hard disk
| >root (hd0,0)
| >setup (hd0)
| > et ensuite ???
|
| Normalement, ça suffit.
|
| Vous lancez grub depuis une console ou un xterm et la séquence des c ommades ressemble à :
|
| [] % sudo grub
| Probing devices to guess BIOS drives. This may take a long time.
|
| GNU GRUB version 0.95 (640K lower / 3072K upper memory)
|
| [ Minimal BASH-like line editing is supported. For the first word, TAB
| lists possible command completions. Anywhere else TAB lists the ossib le completions of a
| device/filename. ]
|
| grub> find /grub/stage1
| find /grub/stage1
| (hd0,0)
| (hd1,0)
| grub> root (hd1,0)
| root (hd1,0)
| Filesystem type is xfs, partition type 0x83
| grub> setup (hd0)
| setup (hd0)
| Checking if "/boot/grub/stage1" exists... no
| Checking if "/grub/stage1" exists... yes
| Checking if "/grub/stage2" exists... yes
| Checking if "/grub/xfs_stage1_5" exists... yes
| Running "embed /grub/xfs_stage1_5 (hd0)"... 19 sectors are embedded.
| succeeded
| Running "install /grub/stage1 d (hd0) (hd0)1+19 p (hd1,0)/grub/stage2 /grub/menu.lst"...
| succeeded
| Done.
| grub>grub> quit
| quit
| [] %
|
Le problème c'est que la bootsplash ne s'affiche pas.
Dans ma menu.lst (/boot/grub/splashimages):
splashimage (hd0,1)/grub/splashimages/debsplash.xpm.gz
Même en mettant le signe'=' cela ne change rien.

mess-mate
--
Today is the last day of your life so far.
Avatar
Jean-Luc Coulon (f5ibh)
--=-T3t+Yx9HozrFhgiaCo2x
Content-Type: text/plain; charset=iso-8859-15; DelSp=Yes; Format=Flowed
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Le 05.09.2005 17:48:34, mess-mate a écrit :
Jean-Luc Coulon (f5ibh) wrote:




Le problème c'est que la bootsplash ne s'affiche pas.
Dans ma menu.lst (/boot/grub/splashimages):
splashimage (hd0,1)/grub/splashimages/debsplash.xpm.gz
Même en mettant le signe'=' cela ne change rien.



J'ai un peu de mal à suivre....
Il fonctionne ou pas ? C'est juste un problème de spashimage ?

Pour la splash, je crois que le = n'est pas une option. Il faut que le
fichier se trouve dans le bon répertoire et il ne faut pas indiquer des
choses comme color xxxx/ccc yyyy/bbbb dans le fichier de config


mess-mate



Jean-luc

--=-T3t+Yx9HozrFhgiaCo2x
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQBDHHdCXit3lz9m7V4RAphXAJ9V9+0CC51zyu0GAlzi+rVCSVoZ3gCgvQwf
Z5cMDenmVdRPBuP1PWpe+oA =aRCF
-----END PGP SIGNATURE-----

--=-T3t+Yx9HozrFhgiaCo2x--



--
Pensez à lire la FAQ de la liste avant de poser une question :
http://wiki.debian.net/?DebianFrench

Pensez à rajouter le mot ``spam'' dans vos champs "From" et "Reply-To:"

To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact
Avatar
mess-mate
Jean-Luc Coulon (f5ibh) wrote:
| Le 05.09.2005 16:37:00, mess-mate a écrit :
| >Bonjour,
| >je viens d'installer grub sur un floppy, testé et tout va bien.
| >Je voudrais maintenant l'installer sur mon premier dd.
| >Et là je coince. Comment faut-il faire ??
| >Je viens de lire qu'il faut éviter d'utiliser grub-install.
| >Mon menu.lst est fait et comporte donc:
| ># For installing GRUB into the hard disk
| >#title Install GRUB into the hard disk
| >root (hd0,0)
| >setup (hd0)
| > et ensuite ???
|
| Normalement, ça suffit.
|
| Vous lancez grub depuis une console ou un xterm et la séquence des c ommades ressemble à :
|
| [] % sudo grub
| Probing devices to guess BIOS drives. This may take a long time.
|
| GNU GRUB version 0.95 (640K lower / 3072K upper memory)
|
| [ Minimal BASH-like line editing is supported. For the first word, TAB
| lists possible command completions. Anywhere else TAB lists the ossib le completions of a
| device/filename. ]
|
| grub> find /grub/stage1
| find /grub/stage1
| (hd0,0)
| (hd1,0)
| grub> root (hd1,0)
| root (hd1,0)
| Filesystem type is xfs, partition type 0x83
| grub> setup (hd0)
| setup (hd0)
| Checking if "/boot/grub/stage1" exists... no
| Checking if "/grub/stage1" exists... yes
| Checking if "/grub/stage2" exists... yes
| Checking if "/grub/xfs_stage1_5" exists... yes
| Running "embed /grub/xfs_stage1_5 (hd0)"... 19 sectors are embedded.
| succeeded
| Running "install /grub/stage1 d (hd0) (hd0)1+19 p (hd1,0)/grub/stage2 /grub/menu.lst"...
| succeeded
| Done.
| grub>grub> quit
| quit
| [] %
|
| > merci d'avance
| >mess-mate
|
|
| Jean-Luc
Pour l'install tout c'est bien passé.
Mais j'arrive pas à avoir un framebuffer pour mon bootsplash.
A chaque fois grub dit que le 'mode est incorrect'


mess-mate
--
Cheer Up! Things are getting worse at a slower rate.