On Mon, 22 Jul 2002, Heinzmann, Robert wrote: > Hello, > > What exactly does the --ondisk parameter expect as a value ? Is it the path > to the device in /dev/ ? > We have compaq machines here and the built in drives are connected to a > Smart Array controller. The path to the devices is /dev/ida/c<X>d<Y>p<Z> > where X = Controller Y = Device P = LUN. > > I tried to make a kickstart ks.cfg as attached but the installation routine > gives me the following error message : > > > clearpart --drives ida/c0d0 --initlabel > part / --fstype ext3 --size 2000 --ondisk ida/c0d0 --asprimary 2 > part /boot --fstype ext3 --size 32 --ondisk ida/c0d0 --asprimary 1 --start 0 > We have five Compaq DL380 (the old 3U machines). Here's how we did this: # P A R T I T I O N S P E C I F I C A T I O N zerombr yes part / --onpart ida/c0d0p1 part /tmp --onpart ida/c0d0p5 part swap --onpart ida/c0d0p6 part swap --onpart ida/c0d0p7 part /usr --onpart ida/c0d0p8 part /ws --onpart ida/c0d0p9 part /var --onpart ida/c0d0p10 part /opt --onpart ida/c0d0p11 We set this up ahead of time in the %pre section: # P R E - I N S T A L L A T I O N C O M M A N D S %pre # create the disk device mkdir /dev/ida mknod /dev/ida/c0d0 b 72 0 mknod 660 /dev/ida/c0d0 # partition the disk # don't erase existing Compaq diagnostics partition echo | fdisk /dev/ida/c0d0 <<EOF n p 1 10 74 n e 2 75 8716 n l 75 139 n l 140 2187 n l 2188 4235 n l 4236 5239 n l 5240 8458 n l 8459 8587 n l 8588 8716 t 6 82 t 7 82 w EOF Of course, the disk layout and the exact fdisk commands) will be different depending on your hard disk and how you want to partition the disk. Carl G. Riches Software Engineer Department of Mathematics Box 354350 voice: 206-543-5082 or 206-616-3636 University of Washington fax: 206-543-0397 Seattle, WA 98195-4350 internet: riches@xxxxxxxxxxxxxxxxx