installing to USB storage
James_Martin at ao.uscourts.gov
James_Martin at ao.uscourts.gov
Tue Nov 29 17:35:55 UTC 2005
So I think I've isolated the block of Anaconda code that skips over
removable stoarge. The following is from partUtils.py :
def openDevices (self, intf = None, initAll = 0,
zeroMbr = 0, clearDevs = []):
"""Open the disks on the system and skip unopenable devices."""
if self.disks:
return
for drive in self.driveList ():
if drive in DiskSet.skippedDisks and not initAll:
continue
deviceFile = isys.makeDevInode(drive)
if isys.driveIsRemovable(drive) and not flags.expert:
DiskSet.skippedDisks.append(drive)
continue
So I'm assuming I can just comment out DiskSet.skippedDisks.append(drive).
I tried doing this, and placing my updated partedUtils.py in my NFS
installation tree under RHupdates/ and it doesn't seem to be getting used
during the install.
Any ideas?
James S. Martin, RHCE
Contractor
Administrative Office of the United States Courts
Washington, DC
(202) 502-2394
kickstart-list-bounces at redhat.com wrote on 11/29/2005 11:40:04 AM:
> I'm trying to kickstart a RHEL installation directly to a USB Key... I
> found that you can't partition a USB key via anconda unless the Expert
> mode is enabled (via "linux expert") on the syslinux command line.
> Unfortunately, it seems I can't do a kickstart and expert mode, so I
have
> to do these USB key installations by hand.. Is there anyway around
this?
> Can I force anaconda to partition USB external storage devices without
> being in expert mode?
>
> Thanks.
>
> James S. Martin, RHCE
> Contractor
> Administrative Office of the United States Courts
> Washington, DC
> (202) 502-2394
>
>
> _______________________________________________
> Kickstart-list mailing list
> Kickstart-list at redhat.com
> https://www.redhat.com/mailman/listinfo/kickstart-list
More information about the Kickstart-list
mailing list