grub+freebsd

serge websnaker at newmail.ru
Sat Jan 28 02:57:12 PST 2006


Hi

Help to install please grub-0.95 on FreeBSD-5.4.
At attempt to install grub the following message is deduced: Error 29: Disk write error


Part              Mount           Size              Newfs
-----             -----           -----             -----
ad0s1            <none>           30003MB           DOS
ad0s2a           /                256MB             UFS2         Y
ad0s2b           SWAP             1006MB            SWAP
ad0s2d           /var             256MB             UFS2+S       Y
ad0s2e           /tmp             256MB             UFS2+S       Y
ad0s2f           /usr             6383MB            UFS2+S       Y


offset     Size        End        Name      PType    Desc      Sutype
------     ----        ---        ----      -----    ----      ------
0          63          62         -         12       unused    0
63         61447617    61447679   ad0s1     7        fat       12
61447680   16707600    78155279   ad0s2     165      freebsd   165
78155280   10080       78165359   -         12       unused    0


# grub
grub> root (hd0,1,a)
File system type is ufs2, partition type 0xa5
grub> kernel /boot/loader
[FreeBSD-a .out, loadaddr=0x20000,text=0x1000, data=0x32000, bss=0x0,
entry=0x200000]
grub>boot
#

And another:

#grub-install /dev/hd0
grub> root (hd0,1,a)
File system type is ufs2, partition type 0xa5
grub>setup --stage2=/boot/grub/stage2 --prefix=/boot/grub (hd0)
Checking if "/boot/grub/stage1"exists.....yes
Checking if "/boot/grub/stage2"exists.....yes
Checking if "/boot/grub/ufs2_stage1_5"..exists.....yes
Running "embed /boot/grub/ufs2_stage1_5 (hd0)...failed (this is not fatal)
Running "embed /boot/grub/ufs2_stage1_5 (hd0,1,a)...failed (this is not fatal)
Running "install --stage2=/boot/grub/stage2 /boot/grub/stage1 (hd0)
/boot/grub/stage2 p /boot/grub.lst"...failed

***Error 29: Disk write error

grub>quite
#

In what here a problem, prompt please.

-- 
Best regards,
 serge                          mailto:websnaker at newmail.ru



More information about the freebsd-questions mailing list