Aniruddha Shankar:
> For people like me who are rolling their own custom LiveCDs before
> Feisty is released, is there a patch to the script(s) that can be
> applied to fix the problem?

Aniruddha, you need to change the PATH set in the /scripts/casper script
which is inside the initramfs image (/casper/initrd.gz) of the LiveCD.

For an HOWTO about extracting and rebuilding an initrd.gz file, see
https://wiki.ubuntu.com/CustomizeLiveInitrd (section "Modify the
initrd").

Inside the script /scripts/casper, edit the line which sets the PATH ("export 
PATH=/root/usr/bin:/root/usr/sbin:/root/bin:/root/sbin:/usr/bin:/usr/sbin:/bin:/sbin")
 to simply be:
  export PATH=/usr/bin:/usr/sbin:/bin:/sbin

Then rebuild the initrd.gz file and put it in the /casper/ directory of
your customized LiveCD.

If you have some problem, feel free to mail me directly (you can find my
email address at https://launchpad.net/~robepisc).

-- 
Broken PATH set by casper (Was: 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