Comment 3 for bug 930676

Revision history for this message
Colin Watson (cjwatson) wrote : Re: Ubiquity quits when starting migration-assistent

The boot part isn't an error; that's expected on EFI. I suspect it's unrelated.

In syslog, we have:

Feb 11 18:20:32 ubuntu ubiquity: /usr/lib/ubiquity/migration-assistant/ma-ask: 32: /usr/lib/ubiquity/migration-assistant/ma-ask: : Permission denied
Feb 11 18:20:32 ubiquity: last message repeated 2 times
Feb 11 18:20:32 ubuntu migration-assistant: info: setting ostype from: '/dev/sda1:Windows 7 (loader):Windows:chain'
Feb 11 18:20:32 ubuntu migration-assistant: info: got ostype of: 'windowsxp', mountpoint is: '/mnt/migrationassistant'
Feb 11 18:20:32 ubuntu ntfs-3g[13313]: Version 2011.10.9AR.1 external FUSE 28
Feb 11 18:20:32 ubuntu ntfs-3g[13313]: Mounted /dev/sda1 (Read-Write, label "", NTFS 3.1)
Feb 11 18:20:32 ubuntu ntfs-3g[13313]: Cmdline options: rw,umask=0022,nls=utf8
Feb 11 18:20:32 ubuntu ntfs-3g[13313]: Mount options: rw,nls=utf8,allow_other,nonempty,relatime,fsname=/dev/sda1,blkdev,blksize=4096,default_permissions
Feb 11 18:20:32 ubuntu ntfs-3g[13313]: Global ownership and permissions enforced, configuration type 7
Error: Could not find the path /mnt/migrationassistant/WINDOWS/system32/config/software
Error: Could not find the path /mnt/migrationassistant/WINNT/system32/config/software
Fatal: Could not find the SOFTWARE registry hive at /mnt/migrationassistant/WINNT/system32/config/software.
Feb 11 18:20:32 ubuntu ntfs-3g[13313]: Unmounting /dev/sda1 ()
Feb 11 18:20:33 ubuntu migration-assistant: info: setting ostype from: '/dev/sda4:unknown Linux distribution:Linux:linux'
Feb 11 18:20:33 ubuntu migration-assistant: info: got ostype of: 'linux', mountpoint is: '/mnt/migrationassistant'
Feb 11 18:20:33 ubuntu kernel: [ 121.584939] ufs was compiled with read-only support, can't be mounted as read-write
Feb 11 18:20:33 ubuntu ubiquity: mount: wrong fs type, bad option, bad superblock on /dev/sda4,
Feb 11 18:20:33 ubuntu ubiquity: missing codepage or helper program, or other error
Feb 11 18:20:33 ubuntu ubiquity: In some cases useful info is found in syslog - try
Feb 11 18:20:33 ubuntu ubiquity: dmesg | tail or so
Feb 11 18:20:33 ubuntu ubiquity:
Feb 11 18:20:33 ubuntu migration-assistant: error: Failed to mount /dev/sda4
Feb 11 18:20:33 ubuntu ubiquity[3587]: debconffilter_done: ubi-migrationassistant (current: ubi-migrationassistant)

And earlier in the log:

Feb 11 18:18:49 ubuntu kernel: [ 4.607400] sda4: <bsd:bad subpartition - ignored
Feb 11 18:18:49 ubuntu kernel: [ 4.607402] bad subpartition - ignored
Feb 11 18:18:49 ubuntu kernel: [ 4.607412] bad subpartition - ignored
Feb 11 18:18:49 ubuntu kernel: [ 4.607412] bad subpartition - ignored
Feb 11 18:18:49 ubuntu kernel: [ 4.607413] >

So the system is definitely badly confused about what sda4 is; but what I'm not sure from this log is which partitions you selected to import things from - Windows or Linux? If you could supply that information then that would be helpful.

Evan, one thing that definitely should be fixed is a syntax error on line 32 of ma-ask, which has been there since natty:

- if [ "$target" = "$location" ] || "$home" = "$location" ]; then
+ if [ "$target" = "$location" ] || [ "$home" = "$location" ]; then

I'm not convinced that that's the sole cause of this bug, though. I'm at least going to reassign this over to migration-assistant since that's probably closer to the cause than ubiquity is.