try setting up root's path like so:
PATH=/sbin:$PATH
that should fix it. i encountered the same problem and it was because root's path didn't include '/sbin'...not sure why, but that's a different issue.
On 4/9/07, lesliek@ozemail.com.au lesliek@ozemail.com.au wrote:
I'm using Fedora Core 6.
I followed exactly the above instructions in an attempt to create a minimal Live CD.
They failed for me.
The output of the relevant command shows 74 packages being installed, bash, grub and kernel plus 71 dependencies.
The output then continues:
"Building an initramfs at /boot/livecd-initramfs.img for kernel 2.6.18-1.2798.fc6 FATAL: Module usbhid not found. FATAL: Module sata_ulisata_nv not found. FATAL: Module sata_viasata_promise not found. cp: cannot stat `/usr/sbin/eject': No such file or directory cp: cannot stat `/usr/bin/tree': No such file or directory Done; initramfs is 2.8M.
/usr/sbin/chroot: cannot run command `/sbin/fixfiles': No such file or directory sh: mksquashfs: command not found"
How should I edit the command string given in the document to create the minimal live cd?
Thanks for reading,
Leslie
Visit http://stumblng.tumblr.com An Australian lawyer's tumblelog about things you might otherwise have missed
-- Fedora-livecd-list mailing list Fedora-livecd-list@redhat.com https://www.redhat.com/mailman/listinfo/fedora-livecd-list
Thanks very much for your reply Tim.
I thought I could add /sbin to root's path permanently by editing root's .bash_profile file, but, although the file took the change, that didn't lead to /sbin showing up in root's path on a reboot. So I added /sbin to root's path temporarily before running the livecd-creator again.
When I did that, I got all the errors I set out in my first post, except for the last one, "sh: mksquashfs: command not found". That had obviously been the crucial one, since I also got an .iso the second time.
When I booted from it, all worked up to the stage where I was asked to log in. I knew nothing of any username or password, so I just pressed Enter. However, that didn't work.
I infer that there's no way to get beyond the log in stage with the minimal cd.
I'll now try to follow the next lot of instructions in the document.
Thanks again for your help,
Leslie
Tim Boring wrote:
try setting up root's path like so:
PATH=/sbin:$PATH
that should fix it. i encountered the same problem and it was because root's path didn't include '/sbin'...not sure why, but that's a different issue.
On 4/9/07, Leslie Katz lesliek@ozemail.com.au wrote:
Thanks very much for your reply Tim.
I thought I could add /sbin to root's path permanently by editing root's .bash_profile file, but, although the file took the change, that didn't lead to /sbin showing up in root's path on a reboot. So I added /sbin to root's path temporarily before running the livecd-creator again.
if you want to add /sbin to root's path permanently, you need to add it to root's .bashrc, not .bash_profile. that'll take care of it so /sbin is there after a reboot.
When I booted from it, all worked up to the stage where I was asked to log in. I knew nothing of any username or password, so I just pressed Enter. However, that didn't work.
you couldn't log in because the livecd-creator command doesn't set a root password and doesn't create a normal user. you'll have to do that yourself. i think i saw that in the docs somewhere.
hope that helps, tim
Tim Boring wrote:
try setting up root's path like so:
PATH=/sbin:$PATH
that should fix it. i encountered the same problem and it was because root's path didn't include '/sbin'...not sure why, but that's a different issue.
-- Visit http://stumblng.tumblr.com An Australian lawyers' tumblelog about things you might otherwise have missed
Tim Boring wrote:
if you want to add /sbin to root's path permanently, you need to add it to root's .bashrc, not .bash_profile. that'll take care of it so /sbin is there after a reboot.
Thanks, Tim. I'll try that instead. I'm guessing now that what I tried didn't work because I didn't log in as root after editing .bash_profile. I logged in as myself and then switched to root in a terminal.
you couldn't log in because the livecd-creator command doesn't set a root password and doesn't create a normal user. you'll have to do that yourself. i think i saw that in the docs somewhere.
Well, I'm working from two documents, the document from the IBM site and a README that I got from the wiki. I think an understanding on the point is coming to me, though slowly. I'll need more time for experimenting, which I don't have right now, but I wanted to reply to you as soon as I could to thank you for your further help.
Best wishes,
Leslie
livecd@lists.fedoraproject.org