Re: Confirming predefined partition layout using kickstart

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

 



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
_______________________________________________
Kickstart-list mailing list
Kickstart-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/kickstart-list

[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux