Hey,
When I run [cmd=]grub-install hd0[/cmd] it gives me this error in return:
So I think I need to mount /dev/ad0 ?
grub-probe of ad0 returns [cmd=]error: unknown filesystem[/cmd]
So I'm not sure what filesystem to mount /dev/ad0 as (if it's the right way to go about it..)? Or the other option I've thought of is to create a livecd and try to install grub from there. What's everyone's opinions on how to go about this?
Currently the MBR is on ad5 and is a windows disk, so I want to change the MBR to ad0 and use a bootloader from there
System info..
thanks,
luke
When I run [cmd=]grub-install hd0[/cmd] it gives me this error in return:
Code:
greenfrog# grub-install hd0
/usr/local/sbin/grub-probe: error: cannot find a device for /boot/grub (is /dev mounted?).
No path or device is specified.
Try `/usr/local/sbin/grub-probe --help' for more information.
Auto-detection of a filesystem module failed.
Please specify the module with the option `--modules' explicitly.
So I think I need to mount /dev/ad0 ?
Code:
greenfrog# mount /dev/ad0
mount: /dev/ad0: unknown special file or file system
grub-probe of ad0 returns [cmd=]error: unknown filesystem[/cmd]
So I'm not sure what filesystem to mount /dev/ad0 as (if it's the right way to go about it..)? Or the other option I've thought of is to create a livecd and try to install grub from there. What's everyone's opinions on how to go about this?
Currently the MBR is on ad5 and is a windows disk, so I want to change the MBR to ad0 and use a bootloader from there
System info..
Code:
greenfrog# uname -a
FreeBSD greenfrog 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri May 1 07:18:07 UTC 2009 root@driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64
Code:
greenfrog# mount
/dev/ad0s1a on / (ufs, local)
devfs on /dev (devfs, local)
/dev/ad0s1e on /tmp (ufs, local, soft-updates)
/dev/ad0s1f on /usr (ufs, local, soft-updates)
/dev/ad0s1d on /var (ufs, local, soft-updates)
thanks,
luke