SCIENTIFIC-LINUX-USERS Archives

April 2005

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
yjullien <[log in to unmask]>
Reply To:
Date:
Thu, 14 Apr 2005 11:57:19 +0200
Content-Type:
text/plain
Parts/Attachments:
text/plain (53 lines)
Andreas Haupt wrote:

> Hello,
>
> I'm trying to let kickstart partition two ide disks. Here's an extract 
> of the kickstart file:
>
> #Disk partitioning information:
> clearpart --initlabel --drives hda hdb
> part   /boot        --ondisk hda --fstype ext2   --size     128 
> --asprimary
> part   pv.01        --ondisk hda                 --size       1 --grow
> part   /usr2        --ondisk hdb --fstype ext3   --size       1 
> --asprimary --grow
> volgroup vg00 pv.01
> logvol /afs_cache   --vgname vg00 --fstype ext3   --size    1024 
> --name afs_cach
> e
> logvol swap         --vgname vg00                  --size    1024 
> --name swap
> logvol /            --vgname vg00 --fstype ext3   --size    8192 
> --name root
> logvol /usr1        --vgname vg00 --fstype ext3   --size       1 
> --name usr1 --grow
>
> This doesn't work! The anaconda installer complains with:
>
> Error partitioning
> Could not allocate requested partition:
> Partioning failed. Could not allocate partitions as primary partition.
> Press 'OK' to reboot your system
>
> After removing the hdb entries (/usr2 partition and in clearpart) 
> everything works fine. But actually I want to have both disks 
> configured...
>
> What am I doing wrong here?


I think you need a coma between the 2 hard drive, so :

                            clearpart --initlabel --drives hda hdb

should be something like :

                             clearpart --drives=hda,hdb --initlabel

whitout the partition cleared, the subsequent partionning fail.

> Thanks in advance

Hope it helps.

ATOM RSS1 RSS2