I was checking the live and the scripts and it's true, the fstab
generation fails creatin the swap entry because "dd" is not compiled
inside the busybox and /root/bin/dd is not in the PATH.

Here is the commands compiled for the busybox who is inside the initramfs:
----
BusyBox v1.1.3 (Debian 1:1.1.3-2ubuntu3) multi-call binary

Usage: busybox [function] [arguments]...
   or: [function] [arguments]...

        BusyBox is a multi-call binary that combines many common Unix
        utilities into a single executable.  Most people will create a
        link to busybox for each function they wish to use and BusyBox
        will act like whatever it was invoked as!

Currently defined functions:
        [, [[, ash, basename, busybox, cat, chmod, chroot, chvt, clear,
        cmp, cp, cut, deallocvt, dumpkmap, echo, egrep, env, expr, false,
        fbset, fdflush, fgrep, grep, hostname, ifconfig, ip, kill, ln,
        loadfont, loadkmap, ls, mkdir, mkfifo, mknod, mkswap, mktemp,
        more, mount, mv, openvt, printf, ps, pwd, readlink, reset, rm,
        rmdir, sed, setkeycodes, sh, sleep, sort, stat, sync, tail, tee,
        test, touch, tr, true, tty, umount, uname, uniq, yes
----

We need to add "/root/bin" to the PATH or to put "/root/bin/dd" instead
of just "dd".

BTW, there is not any bug on turning off the swap for the instalation.
It's necessary because you can't change the partitions table if it is in
use (turn on the swap is considered use).

-- 
swap partitions not automounted by the LiveCD
https://launchpad.net/bugs/62868

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to