Fedora Linux Support Community & Resources Center
  #1  
Old 15th December 2010, 05:59 AM
chajohari Offline
Registered User
 
Join Date: Nov 2010
Posts: 4
windows_xp_2003ie
how to create RPM which installs on raw partition

hi,
not sure whether this works.
i have an image of entire filesystem dump (.img format)
i want to create an rpm which creates a partiotion in PRE section and copies(dumps) the filesystem.img file to that partition in INSTALL section as part of rpm installation.

it doenst work..

seems rpm uses cpio for payload managemenet. and cpio doesnt work with raw partitions? like unix 'dd' command..

even though i use unix 'dd' command in INSTALL section while building rpm. when i install with RPM -IVH . cpio first extracts the payload to destination before INSTALL section gets executed. here destination is raw partition hence "cpio: open failed error is thrown". so installation is not reaching INTALL section of the rpm for Unix 'dd' to get executed.

how to make cpio within rpm installation to work with raw partitions..any help would be appreciated.


thanks
chajo
Reply With Quote
Reply

Tags
create, installs, partition, raw, rpm

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to create a swap partition from an unallocated Partition? seahawk789 Using Fedora 2 22nd December 2008 04:32 AM
help needed with partition permissions and software installs. August263 Using Fedora 3 18th June 2008 10:40 PM
trying to create partition embassy Using Fedora 0 8th December 2004 09:15 PM


Current GMT-time: 20:56 (Wednesday, 19-06-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat