In one of the branching statements you used
instead of
.
The rsync line takes an extremely long time and gives no indication of progress except reporting any errors that occur, I think all the errors it gave were pedantic, failed verification update discarded errors from /sys/power/, /sys/module/, and other system areas.
The lines beginning with
Code:
chroot /media/tdm << EOT
and ending with EOT fail. Errors:
The line "cp /update-initramfs.conf /etc/initramfs-tools/update-initramfs.conf" fails with "cp: cannot stat update-initramfs.conf": no such file or directory. The same error occurs when the script copies initramfs.conf, modules, and when it moves the three files following the second dpkg line.
I'm not going to reboot my laptop until those problems are diagnosed (despite now having a working procedure to restore the Lenovo MBR, I don't want to tempt fate by ending up with an Ubuntu .disk that won't boot, making all of this moot.)
Edit: After a lot of very careful tinkering, I've succeeded in getting the kernel to boot from /dev/sda3 but X fails to start among other things.
Edit: The problem so far is that / is mounted as read only every time I boot into /dev/sda3.
And it's now bootable, I fixed it by editing /etc/fstab to mount / as ext3 (I didn't know if it mattered) and removed errors=remount-ro, and I removed the /wubi/* information from mtab.
Bookmarks