Am I missing something obvious? The HDD is'nt write protected or anything, the freebsd loader went in fine.... # ls /boot/grub/ device.map fat_stage1_5 iso9660_stage1_5 menu.lst reiserfs_stage1_5 stage2 vstafs_stage1_5 e2fs_stage1_5 ffs_stage1_5 jfs_stage1_5 minix_stage1_5 stage1 ufs2_stage1_5 xfs_stage1_5 # ...... 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 possible completions of a device/filename. ] grub> find /boot/loader (hd0,0,a) grub> root (hd0,0) Filesystem type unknown, partition type 0xa5 grub> root (hd0,0,a) Filesystem type is ufs2, partition type 0xa5 grub> find /boot/grub/stage Possible files are: stage1 stage2 grub> find /boot/grub/stage1 (hd0,0,a) grub> setup (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,0,a)"... failed (this is not fatal) Running "install /boot/grub/stage1 (hd0) /boot/grub/stage2 p /boot/grub/menu.lst "... failed Error 29: Disk write error grub> quit -- 'What have you done to the cat? It looks half-dead.' -- Schroedinger's wife Rasputin :: Jack of All Trades - Master of Nuns
On Fri 22 Apr 05 03:14, Dick Davies <rasputnik@hellooperator.net> wrote:> Am I missing something obvious? The HDD is'nt write protected or > anything, the freebsd loader went in fine.... > > # ls /boot/grub/ > device.map fat_stage1_5 iso9660_stage1_5 > menu.lst reiserfs_stage1_5 stage2 > vstafs_stage1_5 e2fs_stage1_5 ffs_stage1_5 > jfs_stage1_5 minix_stage1_5 stage1 > ufs2_stage1_5 xfs_stage1_5 # > > > > ...... > > > 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 > possible completions of a device/filename. ] > > grub> find /boot/loader > (hd0,0,a) > > grub> root (hd0,0) > Filesystem type unknown, partition type 0xa5 > > grub> root (hd0,0,a) > Filesystem type is ufs2, partition type 0xa5 > > grub> find /boot/grub/stage > Possible files are: stage1 stage2 > > grub> find /boot/grub/stage1 > (hd0,0,a) > > grub> setup (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,0,a)"... > failed (this is not fatal) Running "install /boot/grub/stage1 (hd0) > /boot/grub/stage2 p /boot/grub/menu.lst "... failed > > Error 29: Disk write error > > grub> quitWhen I set up grub for the first time on this box I just edited menu.1st like so (this system boots fbsd, slackware and win2k, and I like a long timeout in case I'm away from the desk): # cat /boot/grub/menu.lst default=0 timeout=90 title FreeBSD 5.4-PR root (hd0,1,a) kernel /boot/loader title Slackware 10 root (hd2,0) kernel /boot/vmlinuz ro root=/dev/hdd1 title Windows 2000 Pro rootnoverify (hd0,0) makeactive chainloader +1 boot - jt
Dick Davies schrieb:> grub> find /boot/grub/stage1 > (hd0,0,a) > > grub> setup (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,0,a)"... failed (this is not fatal) > Running "install /boot/grub/stage1 (hd0) /boot/grub/stage2 p /boot/grub/menu.lst "... failed > > Error 29: Disk write error > > grub> quit >It will work when you install grub after booting from floppy disk or CD. You may create a bootable grub floppy with $ cd /boot/grub $ dd if=stage1 of=/dev/fd0 bs=512 count=1 $ dd if=stage2 of=/dev/fd0 bs=512 seek=1 Uli Middelberg -- http://lists.freebsd.org/pipermail/freebsd-questions/2005-February/076136.html