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

Re: Partman-Auto - Multi-Disk OR Use Existing Layout via Preseed



On Tue, May 1, 2012 at 5:22 PM, Matthew Drobnak <mdrobnak@appnexus.com> wrote:
> On 05/01/2012 03:06 PM, Andrew M.A. Cater wrote:
>> On Sat, Apr 28, 2012 at 01:54:40PM -0400, Tom H wrote:
>>> On Thu, Apr 26, 2012 at 1:41 PM, Matthew Drobnak<mdrobnak@appnexus.com>
>>>  wrote:
>>>>
>>>> I wish there was an easy way to get the partitioner code from FAI into
>>>> d-i.
>>>> They use parted on the backend as well, but their syntax is a lot
>>>> simpler,
>>>> and supports multiple disks. I just can't bring myself to go the whole
>>>> FAI
>>>> route just because partitioning doesn't work the way I'd like. I am
>>>> going to
>>>> try something hacky but not that bad, and see if I can get this to work:
>>>>
>>>> Explicitly say the volume group for sysvg is 10GBs. Define the LVs
>>>> inside
>>>> there. Define an additional unused partition to fill the disk.
>>>>
>>>> In post, remove the extra partition from sdb, copy everything in /boot
>>>> to
>>>> /dev/sda1, and reinstall grub. That should work.
>>>
>>> It's too bad that kickstart isn't fully functional on Debian and
>>> Ubuntu...
>>>
>> It's barely functional on Red Hat :) I find that I have to do an isntall
>> using
>> kickstart to get an initial config then cut it to shreds to remove the
>> stuff I don't need :(

> %packages
> @base
> -Package1youdontwant
> -Package2

+1. Or "yum erase ..." in "%post".


> As for the parted item:
>
> This did what I mentioned earlier:
>
> ...

Thanks.


Reply to: