Fedora This forum is for the discussion of the Fedora Project. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
04-30-2006, 11:49 PM
|
#1
|
Senior Member
Registered: Mar 2006
Location: India
Distribution: Fedora
Posts: 1,562
Rep:
|
mkbootdisk on FC5
Guys,
I want to make a boot disk for a CD. But it gives me an error msg.
Method 1:
Code:
[root@shrilinx shrikant]# /sbin/mkbootdisk --iso --device boot.iso 'uname -r'
/sbin/mkbootdisk: line 86: [: /lib/modules/uname: binary operator expected
/lib/modules/uname -r is not a directory.
Method 2:
Code:
[root@shrilinx shrikant]# /sbin/mkbootdisk --iso --device boot.iso 2.6.16-1.2096_FC5smp
tail: cannot open `+3' for reading: No such file or directory
tail: cannot open `+3' for reading: No such file or directory
Replacing 'boot.iso' with 'boot_cd.img' gave the same.
HELP.
Thanks
PS: i read somewhere on these forums that its possible to create a bootable cd by just burning all contents of /boot on a cd. True ??
|
|
|
05-01-2006, 01:40 AM
|
#2
|
Senior Member
Registered: Mar 2006
Location: India
Distribution: Fedora
Posts: 1,562
Original Poster
Rep:
|
Update
I managed to solve the problem. I got an updated version 'mkbootdisk 1.5.3' from the development repo. It created the boot.iso image (using Method 2 from above) which i burned to a cd.
However Method 1 is still a problem.
Nonetheless, alls well that ends well 
|
|
|
05-01-2006, 03:00 AM
|
#3
|
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298
Rep:
|
You are supposed to use back ticks and not single quotes e.g.
Code:
#mkbootdisk --iso --device boot.iso `uname -r`
|
|
|
05-01-2006, 05:46 AM
|
#4
|
Senior Member
Registered: Mar 2006
Location: India
Distribution: Fedora
Posts: 1,562
Original Poster
Rep:
|
Aha There there, there there.. Thanks mate. One more lesson learned 
|
|
|
05-27-2006, 07:19 AM
|
#5
|
Senior Member
Registered: Apr 2003
Posts: 3,695
Rep:
|
Hi folks,
FC5_64
mkbootdisk.i386 1.5.2-5.2
I also encountered problem in running "mkbootdisk"
$ su -
password
# mkbootdisk --iso --device bootcd.iso $(uname -r)
Code:
tail: cannot open `+3' for reading: No such file or directory
tail: cannot open `+3' for reading: No such file or directory
# mkbootdisk --iso --device boot.iso `uname -r`
Code:
tail: cannot open `+3' for reading: No such file or directory
tail: cannot open `+3' for reading: No such file or directory
googling brought me to this posting.
Please advise. TIA
B.R.
satimis
|
|
|
05-28-2006, 08:44 PM
|
#6
|
Senior Member
Registered: Mar 2006
Location: India
Distribution: Fedora
Posts: 1,562
Original Poster
Rep:
|
Hi Satimis
You should update your mkbootdisk version from 1.5.2 to 1.5.3. That solved my problem.
|
|
|
05-28-2006, 09:20 PM
|
#7
|
Senior Member
Registered: Apr 2003
Posts: 3,695
Rep:
|
Hi shrikant.odugoudar,
FC5_64
Tks for your advice.
# yum search mkbootdisk
No printout
# ls /etc/yum.repos.d/
Code:
fedora-core.repo fedora-extras-development.repo fedora-legacy.repo fedora-updates-testing.repo
fedora-development.repo fedora-extras.repo fedora-updates.repo macromedia.repo
# cat /etc/yum.conf
Code:
[main]
cachedir=/var/cache/yum
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=redhat-release
tolerant=1
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1
metadata_expire=1800
Please advise which repo offers it.
Disregard the "tail" warning the iso image thus created did work. It is strange to me.
B.R.
satimis
|
|
|
05-29-2006, 03:18 PM
|
#8
|
Senior Member
Registered: Mar 2006
Location: India
Distribution: Fedora
Posts: 1,562
Original Poster
Rep:
|
If i remember correctly, it should be in the development repo. IF not the old saying goes 'Google is your Friend' 
|
|
|
All times are GMT -5. The time now is 02:38 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|