I have a new sid on a stick. This one is refracta7 unpacked, chrooted, dist-upgraded to sid and the iso rebuilt (manually not snapshot this time) A more full system than before.
It boots and runs live and I'm trying to install it with these options:
grub to partition, change user, uuid in fstab, use existing swap.
I added "set -x" to the script (except the busy rsync bit) to get a full log.
First problem is line 157 :
- Code: Select all
grubversion=$(dpkg -l | grep ii | grep -v doc | awk '$2 ~ "grub-[glp]" { print $2}')
but that makes a problem later because we are looking for only "grub-pc" (or whatever other version):
- Code: Select all
dpkg -l | grep ii | grep -v doc | awk '$2 ~ "grub-[glp]" { print $2}'
grub-pc
grub-pc-bin
so I changed it to:
- Code: Select all
grubversion=$(dpkg -l | grep ii |grep -v bin | grep -v doc | awk '$2 ~ "grub-[glp]" { print $2}')
Next problem (from the log) just before change_username:
- Code: Select all
+ [[ -n /dev/sda8 ]]
+ chroot /target update-grub
Generating grub.cfg ...
+ check_exit
+ [[ 1 -ne 0 ]]
then check_exit closed everything down ( but did not umount /target). So I modified check_exit so it would not automatically exit :
- Code: Select all
check_exit () {
if [[ $? -ne 0 ]] ; then
yad --question --title="Error" --window-icon=error --button="Continue":0 --button="Exit now":1 \
--text="Error detected: $?
\nSee $error_log for details. \n\nThis may not be fatal.. Press \"Continue\" to proceed anyway"
if [[ $? -ne 0 ]] ; then
exit 1
fi
fi
}
This time the installer completed.(the error box appeared at the same place but now I can override it)
Out of time now, more later after I get to boot it up from HD.
Update: booted and running from hd but it wouldn't chainload so grub-install must have failed. Like Dean says, another grub (-pc) finds it on update. It's a rather nice system..