grub+freebsd
Shantanoo Mahajan
shantanoo at gmail.com
Sat Jan 28 03:52:47 PST 2006
+++ serge [freebsd] [28-01-06 15:53 +0300]:
| 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.
IIRC, you need to change sysctl setting of 'kern.geom.debugflags' from
0 to 16.
Shantanoo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20060128/ddc049be/attachment.bin
More information about the freebsd-questions
mailing list