Re: Probelms with Serial Console
On Thursday, May 25, 2017 12:39:13 AM PDT, jan.dre...@bertelsmann.de wrote: I think you have to bind-mount /dev, /sys and /proc into /target before chroot. You won't have access to the devices if not. The pointer I needed. Thanks Jan. Bill -- "Can't sing louder than the guns when I'm gone, so I guess I'll have to do it while I'm here." Phil Ochs
Re: Probelms with Serial Console
On Thursday, May 25, 2017 11:13:52 AM PDT, Ian Kelling wrote: Bill MacAllisterwrites: On Wednesday, May 24, 2017 7:03:37 PM PDT, Bill MacAllister wrote: ... update-grub is run in the example config in 10-setup. Take a look there to see if you are doing anything different. I was definitely doing it wrong. Thanks to Jan Dreyer's pointer I did look at the script for GRUB_PC and I missed a lot. In addition to the devices I needed to ensure that mdadmin got installed. It is working now. Thanks a lot. Bill -- "Can't sing louder than the guns when I'm gone, so I guess I'll have to do it while I'm here." Phil Ochs
Not rebooting
What would cause my machines to not reboot at the end of an FAI install? I have the reboot flag in the kernel parms., "FAI_FLAGS=verbose,sshd,createvt,reboot". I logged into a machine during an install and checked the value of flag_reboot and it's set to 1. # echo $flag_reboot 1
Re: Probelms with Serial Console
Bill MacAllisterwrites: > On Wednesday, May 24, 2017 7:03:37 PM PDT, Bill MacAllister wrote: > >> I have determined that the update-grub command is what is failing. I >> have tried lots of variations on that command line to no avail. What >> am I missing? > > And I now I have logs. The bit that is causing the problem is: > > $ROOTCMD update-grub > + chroot /target update-grub > Generating grub configuration file ... > grub-probe: error: disk `md0' not found. > error=$(($?>$error?$?:$error)) > ++ error=1 > > Not sure what to do about that. Suggesions? > > Bill update-grub is run in the example config in 10-setup. Take a look there to see if you are doing anything different.
Re: Probelms with Serial Console
Hi. I think you have to bind-mount /dev, /sys and /proc into /target before chroot. You won't have access to the devices if not. Jan Dreyer Sent by mobile Am 25.05.2017 08:57 schrieb Bill MacAllister: On Wednesday, May 24, 2017 7:03:37 PM PDT, Bill MacAllister wrote: > I have determined that the update-grub command is what is > failing. I have tried lots of variations on that command line to > no avail. What am I missing? And I now I have logs. The bit that is causing the problem is: $ROOTCMD update-grub + chroot /target update-grub Generating grub configuration file ... grub-probe: error: disk `md0' not found. error=$(($?>$error?$?:$error)) ++ error=1 Not sure what to do about that. Suggesions? Bill -- "Can't sing louder than the guns when I'm gone, so I guess I'll have to do it while I'm here." Phil Ochs
Re: Probelms with Serial Console
On Wednesday, May 24, 2017 7:03:37 PM PDT, Bill MacAllister wrote: I have determined that the update-grub command is what is failing. I have tried lots of variations on that command line to no avail. What am I missing? And I now I have logs. The bit that is causing the problem is: $ROOTCMD update-grub + chroot /target update-grub Generating grub configuration file ... grub-probe: error: disk `md0' not found. error=$(($?>$error?$?:$error)) ++ error=1 Not sure what to do about that. Suggesions? Bill -- "Can't sing louder than the guns when I'm gone, so I guess I'll have to do it while I'm here." Phil Ochs