grub on 5.4
Joshua Tinnin
krinklyfig at spymac.com
Fri Apr 22 09:42:44 PDT 2005
On Fri 22 Apr 05 03:14, Dick Davies <rasputnik at 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> quit
When 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
More information about the freebsd-stable
mailing list