[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Some questions..



On 28/06/11 04:38 AM, Amar Cosic wrote:
> So I am trying to make bootable,installable,custom iso image of Debian
> squeeze.. had no luck so far,hope you can help me. This is what I am
> using atm:
> 
> 
> # lb config --ignore-system-defaults --packages-list='standard'

Make sure you understand what 'standard' is. This will not include a
desktop. Maybe this is what you really want. I could not be sure.

> --packages='mono-complete postgresql-8.4 firmware-linux-nonfree
> firmware-realtek debian-installer debian-installer-launcher'

You likely do not want to include debian-installer (or else read the
package description and make sure this is something you really want on
your live image).

> live-installer/enable=true

This is not an 'lb config' option. I would not be surprised if this
broke your configuration altogether.

> It makes .iso image which boots fine, it has every package on it I
> included above but.. there is no install option. Ofcourse there is "GUI
> install" and "Text install" option in Grub menu but that just installs
> Debian by standard procedure 

When you specify --debian-installer 'live', it will install the contents
of the image. My advice: log every build, e.g.

lb build 2>&1 | tee build.log

Then see if something went wrong with installing the packages in the
live image.

Some more advice? Start simpler. Use the examples in
http://live.debian.net/manual to get a successful build, then add more
options as you learn each one. There were many confusing or at least
sub-optimal options in your configuration that made me wonder if you
really understood them. Take, for example, --ignore-system-defaults. Do
you have defaults in /etc you really want to ignore? live-build doesn't
ship with any. Those would have to be global defaults *you* had set
yourself. And if you set them as defaults, why do you want to ignore
them? Also, --cache-stages='none'. I'm not sure why you want to skip
caching, and I don't see in the man page where 'none' is an allowable value.

> (ie. it ignores all my stuff from above regarding packages,username
> etc..)

What do you mean "ignores all my stuff from above regarding packages".
You said, "it has every package on it I included above," so I don't
understand this statement. Please be more specific.

The username is a run-time option, as the 'live' user is a special user
created only for the live system by live-boot. It is not part of the
material that gets installed. See the Debian Installation Guide appendix
on preseeding for ways to customize aspects of installation such as user
account creation.

Ben


Reply to: