RE: RHEL5 - copy files from DVD during %post

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

 



> 
I tried to the cdrom eject issue using below, 
but I can't seem to edit the file in my stage2-image directory below
as I get the error that it is a read only file.
Note using an ISO BlueOnyx-5.2-20090107 from
http://www.blueonyx.it/pub/BlueOnyx/ISO/
I have used this procedure on an old mandrake system and had no
problems.

# insert install-cd into cdrom
  mkdir /mnt/cdrom
  mount /dev/cdrom /mnt/cdrom
  mkdir /home/BlueOnyx
  mkdir /home/BlueOnyx/BlueOnyx-5.2-20090107
  cd /mnt/cdrom
# move the iso to a rw area
  tar -c * | tar -C /home/BlueOnyx/BlueOnyx-5.2-20090107 -xf-
  cd  /home/BlueOnyx/BlueOnyx-5.2-20090107 
  mkdir ../stage2-image
  mount -o loop -t squashfs images/stage2.img ../stage2-image
  cd ../stage2-image
  vi usr/lib/anaconda/kickstart.py

Tried to add
    * add this line into the setSteps function
      dispatch.skipStep("methodcomplete")
    * to recreate the ram file system:

Get Error about file not writeable. I can't seem to chmod it as
writeable.

A Confused Gerald

_______________________________________________
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