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

Re: installing packages



Thanks for the instructions.  I was able to burn the .iso and it booted
up to an LXDE session.

Where are the up-to-date instructions or manual found online?  I'm going
to want to be further customizing my own live USB image.  Thanks again!


On Thu, Jun 30, 2016, at 18:52, Ben Caradoc-Davies wrote:
> I think those instructions are out of date or not applicable to a USB 
> stick (cdrecord is for one of those round plastic CD things from the 
> olden days). If I recall correctly, the xorriso step is done by "lb 
> build" when assembling the iso.
> 
> Just like any other Debian hybrid iso, you can use "dd" as root to write 
> the iso image straight to a USB block device:
> 
> dd if=live-image-amd64.hybrid.iso of=/dev/sdX bs=4M
> 
> where "X" is "c" for the example you give. Just make *bloody* sure that 
> you have the right output device file ("of") as the contents are 
> overwritten by this command. Plug it in and check with "dmesg" to make 
> sure you have the right one. Do not mount the USB stick before running
> "dd".
> 
> When "dd" has finished running, the USB stick should be bootable. The 
> hybrid iso image contains the required boot loader and MBR partition 
> table. live-build does not support UEFI boot so you will need a BIOS 
> that supports MBR boot (legacy or compatibility mode). (UEFI support is 
> one key reason for live-wrapper, a completely different package for 
> building live images, waiting in the queue for inclusion in the Debian 
> archive.)
> 
> Kind regards,
> Ben.
> 
> On 01/07/16 12:47, heap@ownmail.net wrote:
> > Weird, I re-ran the build command and it generated the .iso.  Anyway,
> > the instructions here don't really make sense:
> > http://debian-live.alioth.debian.org/live-manual/stable/manual/html/live-manual.en.html#194
> >
> > It starts off by saying that iso images prepared with xorriso can be
> > copied to the USB stick with a simple cp command.  That's great, except
> > that the manual provides no instructions on what it means for an iso
> > image "to be prepared with xorriso".
> >
> > So, anyway, I'm stuck now since I don't know how to do this xorriso
> > thing.  I installed it of course with apt-get.  And I know my USB stick
> > is /dev/sdc.  I tried the command suggested in the manual: $ xorriso -as
> > cdrecord -v dev=/dev/sdc blank=as_needed live-image-amd64.hybrid.iso
> >
> > But that gives the following error:
> >
> > xorriso 1.3.2 : RockRidge filesystem manipulator, libburnia project.
> >
> > xorriso : FAILURE : Drive address '/dev/sdc' rejected because: not MMC
> > and -drive_class 'risky' '/dev'
> > xorriso : HINT : If the address is a legitimate target, prepend "stdio:"
> > xorriso : FAILURE : -as cdrecord: Job could not be performed properly.
> > xorriso : aborting : -abort_on 'FAILURE' encountered 'FAILURE'
> >
> > No idea what all that means or how to fix it.
> >
> > On Thu, Jun 30, 2016, at 16:50, Ben Caradoc-Davies wrote:
> >> - Are you using a pre-prepared configuration or did you create one with
> >> "lb config"?
> >>
> >> - Are you using live-build 4 and targetting jessie?
> >>
> >> - Have you tried starting from the live-images lxde-desktop? (You might
> >> need the debian-old-4.0 branch.)
> >> https://github.com/debian-live/live-images
> >> https://github.com/debian-live/live-images/tree/debian/images/lxde-desktop
> >>
> >> Kind regards,
> >> Ben.
> >>
> >> On 01/07/16 11:32, heap@ownmail.net wrote:
> >>> I did that, and ran lb build.  I have no idea why an .iso was not
> >>> generated.  Can you help?
> >>>
> >>> On Thu, Jun 30, 2016, at 14:11, Ben Caradoc-Davies wrote:
> >>>> I use a similar package-lists line for XFCE. In your case, add a line:
> >>>>
> >>>> task-lxde-desktop
> >>>>
> >>>> to a file:
> >>>>
> >>>> config/package-lists/custom.list.chroot
> >>>>
> >>>> List files with names ending in ".list.chroot" are used determine
> >>>> packages included in the live image (the chroot stage), as opposed to
> >>>> packages to be installed (the binary stage). The "custom" part is
> >>>> arbitrary and you can change this or have many files. See:
> >>>> https://debian-live.alioth.debian.org/live-manual/stable/manual/html/live-manual.en.html#409
> >>>>
> >>>> Kind regards,
> >>>> Ben.
> >>>>
> >>>> On 01/07/16 06:08, heap@ownmail.net wrote:
> >>>>> Or, how do I add "task-lxde-desktop" using package-lists?  Do I just
> >>>>> create a plain text file with the word "task-lxde-desktop" in
> >>>>> ../config/package-lists?
> >>>>
> >>>> --
> >>>> Ben Caradoc-Davies <ben@transient.nz>
> >>>> Director
> >>>> Transient Software Limited <http://transient.nz/>
> >>>> New Zealand
> >>>
> >>
> >> --
> >> Ben Caradoc-Davies <ben@transient.nz>
> >> Director
> >> Transient Software Limited <http://transient.nz/>
> >> New Zealand
> >
> 
> -- 
> Ben Caradoc-Davies <ben@transient.nz>
> Director
> Transient Software Limited <http://transient.nz/>
> New Zealand


Reply to: