
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2018 11:10 AM - edited 03-01-2019 03:25 PM
Trying to create the Golden ISO for 9k using the gisobuild.py. Ubuntu machine and have confirmed that the Before You Begin has been completed from
The script runs great if the -m is left off. When trying to make it with the migration option I get the following: Ideas?
Building Migration tar...
('\n', 'Exception:', <type 'exceptions.RuntimeError'>, RuntimeError('Error CMD=iso-read -i asr9k-goldenk9-x64.iso-6.4.1.0 -e /boot/initrd.img -o //tmp/initrd.img returned --->/bin/sh: 1: iso-read: not found\n',))
Detail logs: //Giso_build.log-2018-07-03:18:00:40.540934
Solved! Go to Solution.
- Labels:
-
XR OS and Platforms
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2018 01:08 AM
Couple of things can be verified as follow: -
* PATH variable could be empty, IF empty can be set using export command as given example.
[21:36:00]-[cmohapat@xit-ucs-01:~]$ echo $PATH
/router/bin::/usr/cisco/bin:/usr/cisco/etc:~/bin:/bin:/usr/X11R6/bin:/usr/sbin:/sbin:/usr/bin:/usr/cisco/bin:.
[21:52:46]-[cmohapat@xit-ucs-01:~]$
To set the path following command can be used
export PATH=”$PATH:/router/bin::/usr/cisco/bin:/usr/cisco/etc:~/bin:/bin:/usr/X11R6/bin:/usr/sbin:/sbin:/usr/bin:/usr/cisco/bin”
* Rpm for iso-read might not be installed. IF not can be installed using yum command for centos system
Following is the steps to see if the system has rpm installed and iso-read is present in the package.
[21:32:54]-[cmohapat@xit-ucs-01:~]$ which iso-read
/bin/iso-read
[21:33:20]-[cmohapat@xit-ucs-01:~]$ uname -a
Linux xit-ucs-01 3.10.0-862.3.2.el7.x86_64 #1 SMP Mon May 21 23:36:36 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
[21:33:27]-[cmohapat@xit-ucs-01:~]$ cat /etc/redhat-release
CentOS Linux release 7.5.1804 (Core)
[21:33:40]-[cmohapat@xit-ucs-01:~]$ rpm -qa | grep libcdio
warning: Macro %_dbi_tags needs whitespace before body
libcdio-0.92-1.el7.x86_64
libcdio-paranoia-10.2+0.90-11.el7.x86_64
[21:35:36]-[cmohapat@xit-ucs-01:~]$ rpm -ql libcdio-0.92-1.el7.x86_64 | grep iso-read
warning: Macro %_dbi_tags needs whitespace before body
/usr/bin/iso-read
/usr/share/man/man1/iso-read.1.gz
[21:36:00]-[cmohapat@xit-ucs-01:~]$
Following is the command to install libcdio package in centos system
yum install libcdio
Eddie.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2018 03:27 AM
Can you please run the following command?
#which iso-read
example:
[root@xit-ucs-01 giso]# which iso-read
/usr/bin/iso-read
[root@xit-ucs-01 giso]#
Eddie.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-04-2018 09:20 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2018 01:08 AM
Couple of things can be verified as follow: -
* PATH variable could be empty, IF empty can be set using export command as given example.
[21:36:00]-[cmohapat@xit-ucs-01:~]$ echo $PATH
/router/bin::/usr/cisco/bin:/usr/cisco/etc:~/bin:/bin:/usr/X11R6/bin:/usr/sbin:/sbin:/usr/bin:/usr/cisco/bin:.
[21:52:46]-[cmohapat@xit-ucs-01:~]$
To set the path following command can be used
export PATH=”$PATH:/router/bin::/usr/cisco/bin:/usr/cisco/etc:~/bin:/bin:/usr/X11R6/bin:/usr/sbin:/sbin:/usr/bin:/usr/cisco/bin”
* Rpm for iso-read might not be installed. IF not can be installed using yum command for centos system
Following is the steps to see if the system has rpm installed and iso-read is present in the package.
[21:32:54]-[cmohapat@xit-ucs-01:~]$ which iso-read
/bin/iso-read
[21:33:20]-[cmohapat@xit-ucs-01:~]$ uname -a
Linux xit-ucs-01 3.10.0-862.3.2.el7.x86_64 #1 SMP Mon May 21 23:36:36 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
[21:33:27]-[cmohapat@xit-ucs-01:~]$ cat /etc/redhat-release
CentOS Linux release 7.5.1804 (Core)
[21:33:40]-[cmohapat@xit-ucs-01:~]$ rpm -qa | grep libcdio
warning: Macro %_dbi_tags needs whitespace before body
libcdio-0.92-1.el7.x86_64
libcdio-paranoia-10.2+0.90-11.el7.x86_64
[21:35:36]-[cmohapat@xit-ucs-01:~]$ rpm -ql libcdio-0.92-1.el7.x86_64 | grep iso-read
warning: Macro %_dbi_tags needs whitespace before body
/usr/bin/iso-read
/usr/share/man/man1/iso-read.1.gz
[21:36:00]-[cmohapat@xit-ucs-01:~]$
Following is the command to install libcdio package in centos system
yum install libcdio
Eddie.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2018 06:04 AM
libcdio did the trick. Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2018 09:12 AM
Could you let us know how you solved it, so others reading this can learn.. thx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2018 09:24 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2018 09:30 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2018 07:06 AM
In Ubuntu enviroment to fix the same issue I installed the following package:
sudo apt-get install libcdio-utils
Bye
Stefano.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2018 07:37 PM
https://github.com/ios-xr/gisobuild
Thanks
Syed
