I got this error after restore windows server 2008 using clonezilla. To fix it, boot to Windows Server 2008 DVD, enter command line, use this command :
bootrec /scanos Bcdedit /export C:\BCDBkp ren c:\boot\bcd bcd.old Bootrec /rebuildbcd
Reference :
bootrec /scanos Bcdedit /export C:\BCDBkp ren c:\boot\bcd bcd.old Bootrec /rebuildbcd
mdadm --manage /dev/md0 --fail /dev/sdb1
mdadm --manage /dev/md0 --remove /dev/sdb1
sfdisk -d /dev/sda | sfdisk /dev/sdb
mdadm --manage /dev/md0 --add /dev/sdb1
cat /etc/mdstat
modprobe raid1
mknod /dev/md1 b 9 1 mdadm --create /dev/md1 --level=1 --raid-devices=2 /dev/sdb1 /dev/sdc1
/dev/sdb1and
/dev/sdc1is using linux raid autodetect as the partition type. Use fdisk to create those partition.
cat /proc/mdstat
ethernet0.virtualDev = "vlance"
import java.math.BigDecimal
class Cloth {
...
BigDecimal price
...
static mapping = {
price sqlType: "money"
}
}
reference : https://msdn.microsoft.com/en-us/library/ms378878(v=sql.110).aspxpasswordEncoder bean in grails-app/conf/spring/resources.groovy:import org.springframework.security.authentication.encoding.PlaintextPasswordEncoder
beans = {
passwordEncoder(PlaintextPasswordEncoder)
}