grub installed

Cary st80kafe at gmail.com
Fri Apr 4 21:44:52 UTC 2014


Hello, BSD people.  I would like to ask if anyone has
had difficulties using the sysutils/grub2 port.  I built
the port in January on 9.2-R then installed grub to my
mbr.  There were no problems booting, but as soon as I logged in
the system would freeze and a hard reboot became necessary.

Eventually a filesystem was trashed.  It was a ufs2 filesystem
on a striped geom (8) volume provided by two ( cheap ) ide disks.
Everything was rebuilt successfully.  The old system is running again.

Still trying to determine what happened.  It may have had
nothing whatsoever to do with grub, but
the trouble started following the replacement of Boot Easy.

/boot/grub/grub.cfg attached.

The kernel is built with :
options 	GEOM_STRIPE

Thanks,
Cary
-- 
cary at sdf.org
SDF Public Access UNIX System - http://sdf.org


------------------------------

-------------- next part --------------
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /usr/local/etc/grub.d and settings from /usr/local/etc/default/grub
#

### BEGIN /usr/local/etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  load_env
fi
set default="0"

if [ x"${feature_menuentry_id}" = xy ]; then
  menuentry_id_option="--id"
else
  menuentry_id_option=""
fi

export menuentry_id_option

if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
  fi
}


if loadfont unicode ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  set locale_dir=$prefix/locale
  set lang=
  insmod gettext
fi
terminal_output gfxterm
set timeout=5
### END /usr/local/etc/grub.d/00_header ###

#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /usr/local/etc/grub.d and settings from /usr/local/etc/default/grub
#
set timeout=8
### END /usr/local/etc/grub.d/00_header ###


# template for script in /etc/grub.d/
# script used by update-grub command

menuentry "FreeBSD"  --class freebsd --class bsd --class os {

insmod part_msdos
parttool (hd0,1) boot-
parttool (hd0,2) boot+
insmod ufs2
set root='(hd0,2)'
kfreebsd	/boot/loader
}

menuentry "FreeNAS"  --class freebsd --class bsd --class os {

parttool (hd0,2) boot-
parttool (hd0,1) boot+
insmod ufs2
set  root='(hd0,msdos1)'
#kfreebsd	/boot/loader
chainloader +1
}




### END /usr/local/etc/grub.d/40_custom ###

### BEGIN /usr/local/etc/grub.d/41_custom ###
### END /usr/local/etc/grub.d/41_custom ###



More information about the freebsd-questions mailing list