|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Location of installation media no longer /tmp/cdrom?
kickstart-list-request (AT) redhat (DOT) com wrote:
From: Nicholas Byrne <nicholas.byrne (AT) quadriga (DOT) com> To: Discussion list about Kickstart <kickstart-list (AT) redhat (DOT) com> Date: Fri, 18 May 2007 13:04:07 +0100 Subject: Re: Location of installation media no longer /tmp/cdrom? see this thread - > It's a bug, the cdrom drive is being unmounted to early in the ks process, it manifests itself most commonly on "eject only" mechanism type drives because the mount request normally retracts the draw on capable devices which is also probably why it wasn't picked up during testing. To fix manually, open up stage2.img and change dispatch.py, swapping the lines: ("methodcomplete", doMethodComplete, ), ("dopostaction", doPostAction, ), for ("dopostaction", doPostAction, ), ("methodcomplete", doMethodComplete, ), Thanks for the tip, I tried editing the stage2.img and creating a new install CD, however I received the following error during the install (from my notes) with that CD: No CS CD was found which matches your boot media. Please insert the CS CD and press K to retry. If I press CNTRL-ALT-F3 I see the following messages: -mntloop loop0 on /mnt/runtime as /mnt/source/images/stage2.img fd is 10 -umounting loopback /mnt/runtime loop 0 -mounting stage2 failed -ejecting /tmp/cdrom CNTRL-ALT-F3 show the following messages: <7>IS 9660 Extensions: Microsoft Juliet Level 3 <4Unable to load NLF charset utf8 <4Unable to load NLF charset utf8 <7>IS 9660 Extensions: RRIP_1991A <4>Unable to identify CD-RM format <4>VFS: Can't find an ext2 fileystem on dev loop0 Here's the steps I took to create the new install CD: # cp /mnt/cdrom/images/stage2.img . # mkdir anaconda # mount -rw -t squashfs -o loop stage2.img anaconda/ <EDIT with above changes> # cp -av anaconda/* new/ # cd new # mksquashfs . /stage2.img.new I then copied that stage2.img.new to a copy of my current install DVD, overwriting the original stage2.img, and burned the new image. However, I got that error above. Did I need to change any other files since I altered stage2.img? BTW I noticed when I do a file command on the original stage2.img and the stage2.img.new I get the following info: # file stage2.img stage2.img: Squashfs filesystem, little endian, version 3.0, 0 bytes, 7905 inodes, blocksize: 65536 bytes, created: Tue Apr 10 12:50:46 2007 # file stage2.img.new stage2.img.new: Squashfs filesystem, little endian, version 3.0, 1268861952 bytes, 7904 inodes, blocksize: 65536 bytes, created: Fri May 18 16:24:11 2007 Notice how the size of the original stage2.img say 0 bytes versus 1268861952 bytes for the new one I created. In order to create stage2.img.new, I downloaded and compiled squashfs3.2-r2.tar.gz so I could get mksquashfs. If you can spot where I went wrong, please let me know. Thanks! ! oneSearch: Finally, mobile search that gives answers, not web links. Kickstart-list mailing list Kickstart-list (AT) redhat (DOT) com |
|
#2
|
|||
|
|||
|
Location of installation media no longer /tmp/cdrom?
Pat wrote:
kickstart-list-request (AT) redhat (DOT) com wrote: From: Nicholas Byrne <nicholas.byrne (AT) quadriga (DOT) com> >To: Discussion list about Kickstart ><kickstart-list (AT) redhat (DOT) com> >Date: Fri, 18 May 2007 13:04:07 +0100 >Subject: Re: Location of installation media no >longer /tmp/cdrom? >> >see this thread - >> >It's a bug, the cdrom drive is being unmounted to >early in the ks >process, it manifests itself most commonly on "eject >only" mechanism >type drives because the mount request normally >retracts the draw on >capable devices which is also probably why it wasn't >picked up during >testing. >To fix manually, open up stage2.img and change >dispatch.py, swapping the >lines: >> >("methodcomplete", doMethodComplete, ), >("dopostaction", doPostAction, ), >> >for >> >("dopostaction", doPostAction, ), >("methodcomplete", doMethodComplete, ), >> Thanks for the tip, I tried editing the stage2.img and creating a new install CD, however I received the following error during the install (from my notes) with that CD: No CS CD was found which matches your boot media. Please insert the CS CD and press K to retry. Perhaps you should grep the source tree to see where that message comes from, it seems well within your capabilities. Also, the commandline for mkisofs is important. I'm wondering whether there is some little hidden file or directory you missed. -- Cheers John -- spambait 1aaaaaaa (AT) coco (DOT) merseine.nu Z1aaaaaaa (AT) coco (DOT) merseine.nu Please do not reply off-list Kickstart-list mailing list Kickstart-list (AT) redhat (DOT) com |
|
#3
|
|||
|
|||
|
Location of installation media no longer /tmp/cdrom?
John Summerfield wrote:
Pat wrote: >kickstart-list-request (AT) redhat (DOT) com wrote: >> From: Nicholas Byrne <nicholas.byrne (AT) quadriga (DOT) com> To: Discussion list about Kickstart <kickstart-list (AT) redhat (DOT) com> Date: Fri, 18 May 2007 13:04:07 +0100 Subject: Re: Location of installation media no longer /tmp/cdrom? see this thread - > It's a bug, the cdrom drive is being unmounted to early in the ks process, it manifests itself most commonly on "eject only" mechanism type drives because the mount request normally retracts the draw on capable devices which is also probably why it wasn't picked up during testing. To fix manually, open up stage2.img and change dispatch.py, swapping the lines: ("methodcomplete", doMethodComplete, ), ("dopostaction", doPostAction, ), for ("dopostaction", doPostAction, ), ("methodcomplete", doMethodComplete, ), >> >Thanks for the tip, I tried editing the stage2.img and >creating a new install CD, however I received the >following error during the install (from my notes) >with that CD: >> >> >No CS CD was found which matches your boot media. >Please insert the CS CD and press K to retry. > Perhaps you should grep the source tree to see where that message comes from, it seems well within your capabilities. > Also, the commandline for mkisofs is important. I'm wondering whether there is some little hidden file or directory you missed. Maybe your missing the .discinfo file Hope it helps. :) Kickstart-list mailing list Kickstart-list (AT) redhat (DOT) com |
|
#4
|
|||
|
|||
|
Quote:
Anyone able to fix this issue with the cd not found after patching stage2.img? I just ran into tonight. thx |
|
#5
|
|||
|
|||
|
Quote:
FYI, needed to tar the files from the mounted stage2.img instead of copy- the hard links break with cp. Untar, modify, then mksquashfs. Cheers |
![]() |
| Viewing: Web Development Archives > Mailing Lists > Linux > Location of installation media no longer /tmp/cdrom? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|