Re: Accessing floppy from %post

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

 



hi,

  if you have the mtools package installed, you can do "mcopy a:file
/path/to/file"

Jason Edgecombe


wyvern wrote:
> 
> Ooops, I should have mentioned that I'm installing linux via NFS. Thus
> /mnt/source points to the nfs filesystem, not the floppy. I'm sorry, I
> should have mentioned this. Is there another way?
> 
> Jan
> 
> >>>Jan Van Uytven>>> System Administrator>>>
> >>>University of Victoria TRIUMF>>>>>>>>>>>>
> >>>wyvern@xxxxxxx>>>(250)721-7741>>>>>>>>
> >>>altissima quaeque flumina minimo sono labi
> 
> -----Original Message-----
> From: kickstart-list-admin@xxxxxxxxxx
> [mailto:kickstart-list-admin@xxxxxxxxxx] On Behalf Of Taylor, ForrestX
> Sent: December 10, 2001 2:03 PM
> To: 'kickstart-list@xxxxxxxxxx'
> Subject: RE: Accessing floppy from %post
> 
> > Hi All,
> >
> > I want to be able to copy some files from a secure server. I
> > don't want
> > to expose those files with nfs, so I was thinking of using scp with an
> > identity key, which I would like to store on the Kickstart floppy. The
> > problem is, I'm not sure how to access the floppy from the %post
> > section. I tried things like
> >
> > Mkdir /mnt/floppy; mount /dev/fd0 /mnt/floppy and
> >
> > Mount /mnt/sysimage/dev/fd0 /mnt/floppy,
> >
> > But these do not seem to work. Could somebody point me in the right
> > direction? The HOWTO doesn't seem to explain how to do this.
> >
> > Jan
> >
> > wyvern@xxxxxxx
> 
> IIRC the floppy should be mounted under /mnt/source (look at this
> directory
> once kickstart has begun).  If it is, you should be able to copy files
> over
> in the %post --nochroot environment:
> 
> %post --nochroot
> cp /mnt/source/ssh-key /mnt/sysimage/root/.ssh/identity (the .ssh
> directory
> must exist, of course).
> 
> Forrest
> 
> _______________________________________________
> Kickstart-list mailing list
> Kickstart-list@xxxxxxxxxx
> https://listman.redhat.com/mailman/listinfo/kickstart-list
> 
> _______________________________________________
> Kickstart-list mailing list
> Kickstart-list@xxxxxxxxxx
> https://listman.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