On Wed, Aug 25, 2010 at 2:27 AM, Jasper Hartline
On Tue, Aug 24, 2010 at 8:51 PM, Richard Shaw
> The man page looks pretty good. As far as the script goes I think we
> need to add some status/diagnostic info so the user at least has a
> clue where they are in the process especially if something goes wrong.
Right.. have any patches?
I'll see what I can do. Didn't have time last night as I teach at a
local community college two nights a week...
> Another thing I was thinking about. Is there ANY way to keep
> having to run this as root? I know losetup needs it, but is there any
> other command we're calling that needs it?
mount and extlinux since it will need to read /dev/loop0 when used
with --install to overwrite the MBR.
Ok, in that case we may want to have add a check for the user the
script is being run under and stop the script from running if not
running under root. I found a python module 'getpass' which has a
function 'getuser()'. The only problem is that unless you're really
logged in as root, it still returns the normal username. In other
words running under sudo or su does not work. It has to be root from
initial login or 'su -l'.
I'll see if I can find another way.
> I tried booting the resulting image in VirtualBox and got some
> interesting results. It did boot, but I did not see a boot menu unless
> it was what I saw flash for only a fraction of a second. Then it went
> through the normal text mode plymouth boot process but instead of
> logging in it went strait to the install menu. Not sure what's going
> on there. I'll have to mount the ISO and see if syslinux got messed up
It may be possible there will be bugs that show up, when
users use thier own livecd-creator made ISO images, but..
if these were the normal F13 LiveCD ISO files it should have worked.
I know some problems exist with livecd-tools' livecd-creator and some
packages in F14 Alpha.
Also udev older than 161-1 I believe might have a problem in
VirtualBox. I know Qemu suffers.
Which LiveCD ISOs were you using, which versions?
I think I found the problem after I sent the email. It looks like my
download stalled at nearly 100% in Chrome. The script didn't complain
though and I think it was still able to mount the ISO but there may
have been a few bytes missing. I'm redownloading from the bittorrent.
I'll recreate the image and let you know if the problem persists. I'm
using F13 live cds.