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

RE: Simple-CDD and USB install combo: How do I use preseeding?



It works!

I now have a syslinux.cfg file that contains

default vmlinuz
append initrd=initrd.gz preseed/file=/cdrom/simple-cdd/default.preseed

and most of the preseeding seems to work. I still must make some choices (install procedure language and keymapping among other things) in the beginning, but I guess that that has do do with my preseed file not being entirely correct.

I did have to use the option --force-root in order to get build-simple-cdd to accept the preseeded root password. Is this a feature or a bug, one wonders.

Thanks for all your help!

/Fredrik

> Date: Mon, 23 Feb 2009 15:41:07 -0800
> From: vagrant@freegeek.org
> To: debian-custom@lists.debian.org
> Subject: Re: Simple-CDD and USB install combo: How do I use preseeding?
>
> On Wed, Feb 18, 2009 at 08:41:30AM +0000, Fredrik Israelsson wrote:
> > I have created a custom install CD iso image using simple-cdd. I have
> > tried to configure pre-seeding by using a myprofile.preseed file.
> > I have then copied the iso image onto a USB device, following the
> > instructions on
> > http://www.debian.org/releases/stable/i386/ch04s03.html.en, "Preparing
> > Files for USB Memory Stick Booting".
>
> simple-cdd has only been tested with CD/DVD installation media, so i'm not sure
> the other methods will work...
>
> > When booting from the USB stick, the installer starts ok, scannning for
> > and finding the installer iso image, but my pre-seeding seems to get lost
> > on the way.
> >
> > Will I have to specify the pre-seed file in the syslinux.cfg on the USB
> > memory stick somehow? Isn't the kernel append parameters set in the
> > isolinux.cfg file in the installer iso image recognized at all?
>
> yes, you may have to put default.preseed on the USB stick as well.
>
> > What should I add to the syslinux.cfg file in order to point to the
> > pre-seed file located in the installer iso image?
>
> you'll need to specify preseed/file=/cdrom/simple-cdd/default.preseed in
> whatever relevent "append" lines for syslinux.cfg. though i'm not sure hd-media
> will mount the .iso as /cdrom, so you'll have to tweak that as appropriate.
>
> it needs to know to load the "simple-cdd-profiles" udeb, or your profiles will
> never be acknowledged.
>
> good luck.
>
> live well,
> vagrant
>
>
> --
> To UNSUBSCRIBE, email to debian-custom-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>


Hitta inspiration till middagsmaten! MSN Mat & Dryck

Reply to: