Linux
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
Go Back   Web Development Archives Mailing Lists Linux

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Web Development Archives Sponsor:
  #1  
Old May 21st, 2007, 08:30 PM
Pat
Guest
Dev Archives Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
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

Reply With Quote
  #2  
Old May 21st, 2007, 08:30 PM
John Summerfield
Guest
Dev Archives Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
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

Reply With Quote
  #3  
Old May 22nd, 2007, 06:01 AM
Joel Andres Granados
Guest
Dev Archives Newbie (0 - 499 posts)
 
Posts: n/a  
Time spent in forums:
Reputation Power:
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

Reply With Quote
  #4  
Old October 4th, 2007, 08:14 PM
shanalpay shanalpay is offline
Registered User
Dev Archives Newbie (0 - 499 posts)
 
Join Date: Oct 2007
Posts: 2 shanalpay User rank is Just a Lowly Private (1 - 20 Reputation Level)  
Time spent in forums: 4 m 3 sec
Reputation Power: 0
Quote:
Originally Posted by Joel Andres Granados
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







Anyone able to fix this issue with the cd not found after patching stage2.img? I just ran into tonight.

thx

Reply With Quote
  #5  
Old October 5th, 2007, 02:23 PM
shanalpay shanalpay is offline
Registered User
Dev Archives Newbie (0 - 499 posts)
 
Join Date: Oct 2007
Posts: 2 shanalpay User rank is Just a Lowly Private (1 - 20 Reputation Level)  
Time spent in forums: 4 m 3 sec
Reputation Power: 0
Quote:
Originally Posted by shanalpay
Anyone able to fix this issue with the cd not found after patching stage2.img? I just ran into tonight.

thx


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

Reply With Quote
Reply

Viewing: Web Development Archives Mailing Lists Linux > Location of installation media no longer /tmp/cdrom?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway