[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: grub install sur hda



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 à :

[jean-luc@tangerine] % 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
[jean-luc@tangerine] %

 merci d'avance

mess-mate


Jean-Luc

Attachment: pgpYVuzKFgoy8.pgp
Description: PGP signature


Reply to: