[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Confirming predefined partition layout using kickstart
- From: Peter Åstrand <astrand cendio se>
- To: Discussion list about Kickstart <kickstart-list redhat com>
- Subject: Re: Confirming predefined partition layout using kickstart
- Date: Mon, 10 Dec 2007 09:30:04 +0100 (CET)
On Fri, 7 Dec 2007, Jason Kohles wrote:
> >I've discovered one major problem: When booting from a USB stick with
> >diskboot.img, a kickstart file like this erases the USB stick! How can
> ignoredisk line from %pre. This is the code I use to ignore the usb stick
> regardless of where it shows up...
> %pre
> # This one looks for disks smaller than a given size, and if any are found,
> ignores them
> TINY=`awk 'BEGIN { ORS="," } $2 < 2000 { print $1 }' /tmp/disks | sed
> 's/,$//'`
> if [ -n "$TINY" ]; then
> echo "ignoredisk --drives=$TINY" >> /tmp/generated-configuration
> fi
Thanks. In our case, however, I don't think this will work. Our
target disk requirement is only 1.5 GB and 2 GB USB sticks are not
uncommon.
We ended up with another method that disables all SCSI devices that
contains the ISOLINUX splash file.
Regards,
---
Peter Åstrand ThinLinc Chief Developer
Cendio AB http://www.cendio.se
Wallenbergs gata 4
583 30 Linköping Phone: +46-13-21 46 00
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]