Unable to Create a Directory within a System Rescue .iso












0














I am currently trying to create a directory within a mounted System Rescue .iso. The below list of commands is what I have done in an attempt to gain the ability to create a directory. The goal is to add the recovery files inside a file in the newly created directory so that I can boot and restore from the same disc.



[root@vm2 Utilities]# mount -o loop,rw /current/iso/macriumREG41.iso /mnt/temp/
[root@vm2 Utilities]# cd /mnt/temp/
[root@vm2 temp]# mkdir V4.1
mkdir: cannot create directory V4.1': Read-only file system
[root@vm2 temp]# mount -o remount,rw /mnt/temp/
[root@vm2 temp]# mkdir V4.1
mkdir: cannot create directory V4.1': Input/output error
[root@vm2 temp]# ls -l /current/iso/macriumREG41.iso
-rwxr--r--. 1 root nfsnobody 277413888 Dec 7 22:17 /current/iso/macriumREG41.iso
[root@vm2 temp]# chmod 777 !$
chmod 777 /current/iso/macriumREG41.iso
[root@vm2 temp]# mkdir V4.1
mkdir: cannot create directory `V4.1': Input/output error


Additional information:



[root@vm2 temp]# file /current/iso/macriumREG41.iso
/current/iso/macriumREG41.iso: ISO 9660 CD-ROM filesystem data 'RESCUE ' (bootable)


Any suggestions as to how I should proceed?










share|improve this question
























  • /current/iso/macriumREG41.iso: ISO 9660 CD-ROM filesystem data 'RESCUE ' (bootable)
    – J.Clark
    Dec 10 at 17:28










  • Check the syslog or dmesg after the mount & remount & IO errors, might have some more useful messages. And if you're using a USB, you might be able to write to another partition.
    – Xen2050
    Dec 10 at 19:19
















0














I am currently trying to create a directory within a mounted System Rescue .iso. The below list of commands is what I have done in an attempt to gain the ability to create a directory. The goal is to add the recovery files inside a file in the newly created directory so that I can boot and restore from the same disc.



[root@vm2 Utilities]# mount -o loop,rw /current/iso/macriumREG41.iso /mnt/temp/
[root@vm2 Utilities]# cd /mnt/temp/
[root@vm2 temp]# mkdir V4.1
mkdir: cannot create directory V4.1': Read-only file system
[root@vm2 temp]# mount -o remount,rw /mnt/temp/
[root@vm2 temp]# mkdir V4.1
mkdir: cannot create directory V4.1': Input/output error
[root@vm2 temp]# ls -l /current/iso/macriumREG41.iso
-rwxr--r--. 1 root nfsnobody 277413888 Dec 7 22:17 /current/iso/macriumREG41.iso
[root@vm2 temp]# chmod 777 !$
chmod 777 /current/iso/macriumREG41.iso
[root@vm2 temp]# mkdir V4.1
mkdir: cannot create directory `V4.1': Input/output error


Additional information:



[root@vm2 temp]# file /current/iso/macriumREG41.iso
/current/iso/macriumREG41.iso: ISO 9660 CD-ROM filesystem data 'RESCUE ' (bootable)


Any suggestions as to how I should proceed?










share|improve this question
























  • /current/iso/macriumREG41.iso: ISO 9660 CD-ROM filesystem data 'RESCUE ' (bootable)
    – J.Clark
    Dec 10 at 17:28










  • Check the syslog or dmesg after the mount & remount & IO errors, might have some more useful messages. And if you're using a USB, you might be able to write to another partition.
    – Xen2050
    Dec 10 at 19:19














0












0








0







I am currently trying to create a directory within a mounted System Rescue .iso. The below list of commands is what I have done in an attempt to gain the ability to create a directory. The goal is to add the recovery files inside a file in the newly created directory so that I can boot and restore from the same disc.



[root@vm2 Utilities]# mount -o loop,rw /current/iso/macriumREG41.iso /mnt/temp/
[root@vm2 Utilities]# cd /mnt/temp/
[root@vm2 temp]# mkdir V4.1
mkdir: cannot create directory V4.1': Read-only file system
[root@vm2 temp]# mount -o remount,rw /mnt/temp/
[root@vm2 temp]# mkdir V4.1
mkdir: cannot create directory V4.1': Input/output error
[root@vm2 temp]# ls -l /current/iso/macriumREG41.iso
-rwxr--r--. 1 root nfsnobody 277413888 Dec 7 22:17 /current/iso/macriumREG41.iso
[root@vm2 temp]# chmod 777 !$
chmod 777 /current/iso/macriumREG41.iso
[root@vm2 temp]# mkdir V4.1
mkdir: cannot create directory `V4.1': Input/output error


Additional information:



[root@vm2 temp]# file /current/iso/macriumREG41.iso
/current/iso/macriumREG41.iso: ISO 9660 CD-ROM filesystem data 'RESCUE ' (bootable)


Any suggestions as to how I should proceed?










share|improve this question















I am currently trying to create a directory within a mounted System Rescue .iso. The below list of commands is what I have done in an attempt to gain the ability to create a directory. The goal is to add the recovery files inside a file in the newly created directory so that I can boot and restore from the same disc.



[root@vm2 Utilities]# mount -o loop,rw /current/iso/macriumREG41.iso /mnt/temp/
[root@vm2 Utilities]# cd /mnt/temp/
[root@vm2 temp]# mkdir V4.1
mkdir: cannot create directory V4.1': Read-only file system
[root@vm2 temp]# mount -o remount,rw /mnt/temp/
[root@vm2 temp]# mkdir V4.1
mkdir: cannot create directory V4.1': Input/output error
[root@vm2 temp]# ls -l /current/iso/macriumREG41.iso
-rwxr--r--. 1 root nfsnobody 277413888 Dec 7 22:17 /current/iso/macriumREG41.iso
[root@vm2 temp]# chmod 777 !$
chmod 777 /current/iso/macriumREG41.iso
[root@vm2 temp]# mkdir V4.1
mkdir: cannot create directory `V4.1': Input/output error


Additional information:



[root@vm2 temp]# file /current/iso/macriumREG41.iso
/current/iso/macriumREG41.iso: ISO 9660 CD-ROM filesystem data 'RESCUE ' (bootable)


Any suggestions as to how I should proceed?







linux permissions iso-image






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Dec 10 at 17:55









Kamil Maciorowski

24.2k155176




24.2k155176










asked Dec 10 at 16:15









J.Clark

1




1












  • /current/iso/macriumREG41.iso: ISO 9660 CD-ROM filesystem data 'RESCUE ' (bootable)
    – J.Clark
    Dec 10 at 17:28










  • Check the syslog or dmesg after the mount & remount & IO errors, might have some more useful messages. And if you're using a USB, you might be able to write to another partition.
    – Xen2050
    Dec 10 at 19:19


















  • /current/iso/macriumREG41.iso: ISO 9660 CD-ROM filesystem data 'RESCUE ' (bootable)
    – J.Clark
    Dec 10 at 17:28










  • Check the syslog or dmesg after the mount & remount & IO errors, might have some more useful messages. And if you're using a USB, you might be able to write to another partition.
    – Xen2050
    Dec 10 at 19:19
















/current/iso/macriumREG41.iso: ISO 9660 CD-ROM filesystem data 'RESCUE ' (bootable)
– J.Clark
Dec 10 at 17:28




/current/iso/macriumREG41.iso: ISO 9660 CD-ROM filesystem data 'RESCUE ' (bootable)
– J.Clark
Dec 10 at 17:28












Check the syslog or dmesg after the mount & remount & IO errors, might have some more useful messages. And if you're using a USB, you might be able to write to another partition.
– Xen2050
Dec 10 at 19:19




Check the syslog or dmesg after the mount & remount & IO errors, might have some more useful messages. And if you're using a USB, you might be able to write to another partition.
– Xen2050
Dec 10 at 19:19










1 Answer
1






active

oldest

votes


















0














macriumREG41.iso contains ISO 9660 CD-ROM filesystem. This type of filesystem is created once and never modified. To modify it, you rather create it anew as a whole with a tool like genisoimage (mkisofs).



What you were trying to do was like creating a directory on a CD-ROM. In case of a physical CD-ROM this is physically impossible in the first place, but it's also impossible because of limitations of ISO 9660 filesystem. In case of a mounted image (your case) only the latter cause applies but it's still enough to make it impossible.



You need to create another .iso file based on the directories, files and boot data from the original image and your additional directories and files. Remember you want to keep it bootable. I have no experience with this, I cannot guide you in detail. Study man 1 genisoimage. I also found this old answer that recommends ISO Master; I think the software is available as isomaster package in Ubuntu, Debian etc.






share|improve this answer























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "3"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1382364%2funable-to-create-a-directory-within-a-system-rescue-iso%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    macriumREG41.iso contains ISO 9660 CD-ROM filesystem. This type of filesystem is created once and never modified. To modify it, you rather create it anew as a whole with a tool like genisoimage (mkisofs).



    What you were trying to do was like creating a directory on a CD-ROM. In case of a physical CD-ROM this is physically impossible in the first place, but it's also impossible because of limitations of ISO 9660 filesystem. In case of a mounted image (your case) only the latter cause applies but it's still enough to make it impossible.



    You need to create another .iso file based on the directories, files and boot data from the original image and your additional directories and files. Remember you want to keep it bootable. I have no experience with this, I cannot guide you in detail. Study man 1 genisoimage. I also found this old answer that recommends ISO Master; I think the software is available as isomaster package in Ubuntu, Debian etc.






    share|improve this answer




























      0














      macriumREG41.iso contains ISO 9660 CD-ROM filesystem. This type of filesystem is created once and never modified. To modify it, you rather create it anew as a whole with a tool like genisoimage (mkisofs).



      What you were trying to do was like creating a directory on a CD-ROM. In case of a physical CD-ROM this is physically impossible in the first place, but it's also impossible because of limitations of ISO 9660 filesystem. In case of a mounted image (your case) only the latter cause applies but it's still enough to make it impossible.



      You need to create another .iso file based on the directories, files and boot data from the original image and your additional directories and files. Remember you want to keep it bootable. I have no experience with this, I cannot guide you in detail. Study man 1 genisoimage. I also found this old answer that recommends ISO Master; I think the software is available as isomaster package in Ubuntu, Debian etc.






      share|improve this answer


























        0












        0








        0






        macriumREG41.iso contains ISO 9660 CD-ROM filesystem. This type of filesystem is created once and never modified. To modify it, you rather create it anew as a whole with a tool like genisoimage (mkisofs).



        What you were trying to do was like creating a directory on a CD-ROM. In case of a physical CD-ROM this is physically impossible in the first place, but it's also impossible because of limitations of ISO 9660 filesystem. In case of a mounted image (your case) only the latter cause applies but it's still enough to make it impossible.



        You need to create another .iso file based on the directories, files and boot data from the original image and your additional directories and files. Remember you want to keep it bootable. I have no experience with this, I cannot guide you in detail. Study man 1 genisoimage. I also found this old answer that recommends ISO Master; I think the software is available as isomaster package in Ubuntu, Debian etc.






        share|improve this answer














        macriumREG41.iso contains ISO 9660 CD-ROM filesystem. This type of filesystem is created once and never modified. To modify it, you rather create it anew as a whole with a tool like genisoimage (mkisofs).



        What you were trying to do was like creating a directory on a CD-ROM. In case of a physical CD-ROM this is physically impossible in the first place, but it's also impossible because of limitations of ISO 9660 filesystem. In case of a mounted image (your case) only the latter cause applies but it's still enough to make it impossible.



        You need to create another .iso file based on the directories, files and boot data from the original image and your additional directories and files. Remember you want to keep it bootable. I have no experience with this, I cannot guide you in detail. Study man 1 genisoimage. I also found this old answer that recommends ISO Master; I think the software is available as isomaster package in Ubuntu, Debian etc.







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Dec 10 at 17:57

























        answered Dec 10 at 17:50









        Kamil Maciorowski

        24.2k155176




        24.2k155176






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Super User!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.





            Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


            Please pay close attention to the following guidance:


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1382364%2funable-to-create-a-directory-within-a-system-rescue-iso%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            "Incorrect syntax near the keyword 'ON'. (on update cascade, on delete cascade,)

            Alcedinidae

            RAC Tourist Trophy