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

Re: Debian installer + preseed + partman-auto + more than one target disk



On Thu, Mar 23, 2006 at 08:58:56AM +0100, Patrick Nomblot wrote:
> Thank you for replying Rick,
> 
> in fact, install works fine directly to compact flash with installer (it 
> is installed as an IDE disk). My need was simply to tell installer to 
> prepare also a second disk. This could also happen to get better 
> performances and use a separate disk for swap or /home.  Doing so at 
> reboot is not a problem so far but doing it with installer would be great.
> 
> Many thank's for your help, Patrick.
> 

Hello,

I've been playing with partman-auto and preseed, aswell as
automatically creating a RAID set.
Because the installer I'm using (sarge) didn't provide the functionality
I needed, I bypassed the entire partman and created my own script.

The package you want to modify is the partman udeb (in my case located
in pool/main/p/partman/partman_63_i386.udeb). You can replace the call
to "partman" in postinst by your own script.

Your script needs to partition the disks (/dev/discs/discX/disc), create
filesystems on them and mount them in /target.
Then you also need to create /etc/fstab in /target/etc/fstab.
After that, the debian installer will continue without problems.

I found that using sfdisk instead of parted_server is alot easier to
create partitions in my script.

I know this is not the preferred way, but it got the job done :)

greets,
-- Steven

> 
> Rick Thomas wrote:
> 
> >How about this:
> >
> >Install to the hard disk, then after the first reboot, run a script 
> >that copies the root partition to the compact flash and does the 
> >necessary magic to make it boot from the flash.   You can either leave 
> >the root partition on the hard disk as an emergency backup, or 
> >reformat it as additional swap space after rebooting from the flash.
> >
> >It's complicated, but -- would that work?  I suspect it could be 
> >completely automated if you need it to be.
> >
> >Rick
> >
> >On Mar 22, 2006, at 1:37 PM, Frans Pop wrote:
> >
> >>On Wednesday 22 March 2006 18:17, Patrick Nomblot wrote:
> >>
> >>>I 'm really sorry to disturb you but I have been looking for a solution
> >>>to use debian installer and pressed to install debian sarge on an i386
> >>>target having two IDE target disks.  I get success doing a sarge or
> >>>etch preseed install on my target system but would need to put swap on
> >>>a second ide disk (as the first one is in fact a compact flash disk), I
> >>>do not found any example doing so with preseed, is there any
> >>>possibility to do so ?.
> >>
> >>
> >>That is currently not supported. Sorry.
> >>
> >>Cheers,
> >>FJP
> >
> >
> >
> >
> >
> 
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-boot-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact 
> listmaster@lists.debian.org



Reply to: