Hi Charles El mar, 09-09-2008 a las 03:24 -0500, Charles Duffy escribió: > Howdy, all. > > I'm trying to install CentOS 5 off an external USB device. The conflict > here is that the system I'm installing on has other USB storage devices > built-in, and the boot order between them is inconsistent. > This means that even if I scan the current list of device names and > labels and then kexec into the installer after observing how my initial > kernel names them, I have only a 50/50 chance of the device names used > for ks=hd:<dev>:/ks.cfg and method=hd:<dev>:/ being valid. > > > What's the Right Way to resolve this issue? LiveUSB's use a UUID=????-???? that identifies the root filesystem to boot > > Would it work to copy ks.cfg onto the local hard drive (which *isn't* > changing names between boots), have a %pre that generates an appropriate > harddrive stanza, and %include that? What I did to resolve this issue is to create a LiveUSB using livecd-tools from EPEL, and then inside the disk created a small script that searched for the hard drive to partition, give it boot files 'syslinux' and then reboot, so the system starts from that hard drive and perform an installation with the correct devices placed there. The problem with mixing both scsi, usb drives is that you'll never know what are your drive names going to be on the next system... so UUID could work but... will need tweaks as afaik anaconda checks for device name. Probably you could hack anaconda to run a custom script than looks for the correct path, and passes it to 'real' anaconda... Regards Pablo -- Pablo Iranzo Gómez (Pablo.Iranzo@xxxxxxxxxx) RHCE/RHCSP/RHCSS Global Profesional Services Consultant Spain Phone: +34 645 01 01 49 (CET/CEST) GnuPG KeyID: 0xFAD3CF0D -- Inscrita en el Reg. Mercantil de Madrid – C.I.F. B-82 65 79 41 Directores: Michael Cunningham, Charlie Peters y David Owens Dirección Registrada: Red Hat S.L., C/ Velazquez 63, Madrid 28001, España Dirección contacto: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, Planta 3ºD, 28016 Madrid, Spain
Attachment:
signature.asc
Description: Esta parte del mensaje =?ISO-8859-1?Q?est=E1?= firmada digitalmente
_______________________________________________ Kickstart-list mailing list Kickstart-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/kickstart-list