Pagina 1 di 1

[Risolto] Grub 0.97

Inviato: gio 5 lug 2007, 21:37
da slux
Ho ricompilato da sorgenti mediante lo slackbuild di Slacky la versione di Grub -0.97.
Andando ad installare con grub-install /dev/sdb ottengo 'sta cosa schifosa.... :roll:

Codice: Seleziona tutto

root@slack:/boot/grub# grub-install /dev/sdb


    GNU GRUB  version 0.97  (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 possible
         completions of a device/filename. ]
grub> root (hd1,0)
 Filesystem type is jfs, partition type 0x83
grub> setup  --stage2=/boot/grub/stage2 --prefix=/boot/grub (hd1)
 Checking if "/boot/grub/stage1" exists... yes
 Checking if "/boot/grub/stage2" exists... yes
 Checking if "/boot/grub/jfs_stage1_5" exists... yes
 Running "embed /boot/grub/jfs_stage1_5 (hd1)"...  19 sectors are embedded.
succeeded
 Running "install --stage2=/boot/grub/stage2 /boot/grub/stage1 (hd1) (hd1)1+19 p (hd1,0)/boot/grub/stage /boot/grub/menu.lst"... failed

Error 15: File not found
grub> quit
Come mai cerca quel /boot/grub/stage anzichè stage1 o stage2?????
Ovviamente sono su Slack12 :D

Ok la soluzione è quì:

http://savannah.gnu.org/bugs/?14874
In sostanza il compilatore gcc dà problemi ,bisogna usare -O1 anzichè -O2 .
MMM la cosa mi fa pensare.... che sia un pò giovane questo compilatore?
Voi che ne dite?

Inviato: dom 9 set 2007, 21:18
da Supremus
Io ho il tuo stesso identico problema... ma non ho capito come risovere...