[rhelv6-list] kickstarting rhel6 from usb key
Gianluca Cecchi
gianluca.cecchi at gmail.com
Thu Jun 16 05:09:57 UTC 2011
I don't know if it can be a starting point to find correct strategy,
but for example (tested on Fedora 14 but should be similar in recent
rh el distro):
sda = hard disk
sdb = usb key that is inside at this moment
[root at tekkaman block]# pwd
/sys/class/block
[root at tekkaman block]# ls sda
alignment_offset discard_alignment queue sda2 size uevent
bdi ext_range range sda3 slaves
capability holders removable sda4 stat
dev inflight ro sda5 subsystem
device power sda1 sda6 trace
[root at tekkaman block]# ls sdb
alignment_offset device inflight removable slaves uevent
bdi discard_alignment power ro stat
capability ext_range queue sdb1 subsystem
dev holders range size trace
[root at tekkaman block]# cat sda/removable
0
[root at tekkaman block]# cat sdb/removable
1
I don't know if you have an hot plug disk if the "removable" special
file can contain 1 also for hard disks, but I don't think so
I remember to have used this content to differentiate sda or sdb for
install, because I had to install on HP and Dell servers.
In HP there is /dev/cciss/c0d0
in Dell tipically /dev/sda
and I put my kickstart on usb key / floppy that actually were mapped
to an image used by iLO/Drac.
If I find those kickstart I could share.
In the mean time you can try...
I used that information in the pre section
Or eventually you can check other flags inside the directories...
HIH,
Gianluca
More information about the rhelv6-list
mailing list