LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 04-30-2006, 11:49 PM   #1
Hitboxx
Senior Member
 
Registered: Mar 2006
Location: India
Distribution: Fedora
Posts: 1,562
Blog Entries: 3

Rep: Reputation: 68
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 ??
 
Old 05-01-2006, 01:40 AM   #2
Hitboxx
Senior Member
 
Registered: Mar 2006
Location: India
Distribution: Fedora
Posts: 1,562

Original Poster
Blog Entries: 3

Rep: Reputation: 68
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
 
Old 05-01-2006, 03:00 AM   #3
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
You are supposed to use back ticks and not single quotes e.g.
Code:
#mkbootdisk --iso --device boot.iso `uname -r`
 
Old 05-01-2006, 05:46 AM   #4
Hitboxx
Senior Member
 
Registered: Mar 2006
Location: India
Distribution: Fedora
Posts: 1,562

Original Poster
Blog Entries: 3

Rep: Reputation: 68
Aha There there, there there.. Thanks mate. One more lesson learned
 
Old 05-27-2006, 07:19 AM   #5
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Rep: Reputation: 56
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
 
Old 05-28-2006, 08:44 PM   #6
Hitboxx
Senior Member
 
Registered: Mar 2006
Location: India
Distribution: Fedora
Posts: 1,562

Original Poster
Blog Entries: 3

Rep: Reputation: 68
Hi Satimis

You should update your mkbootdisk version from 1.5.2 to 1.5.3. That solved my problem.
 
Old 05-28-2006, 09:20 PM   #7
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Rep: Reputation: 56
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
 
Old 05-29-2006, 03:18 PM   #8
Hitboxx
Senior Member
 
Registered: Mar 2006
Location: India
Distribution: Fedora
Posts: 1,562

Original Poster
Blog Entries: 3

Rep: Reputation: 68
If i remember correctly, it should be in the development repo. IF not the old saying goes 'Google is your Friend'
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Boot failure after upgrading FC5 TR3 to FC5 Official Release fsb1284 Fedora 3 03-25-2006 09:12 AM
about mkbootdisk zirtik Linux - Software 1 12-04-2005 09:35 AM
mkbootdisk mickeyboa Fedora 3 02-21-2005 06:47 AM
i need a new mkbootdisk !! osiris777 Red Hat 3 10-08-2003 10:08 AM
mkbootdisk command justin19fl Linux - Newbie 3 05-13-2001 04:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 02:38 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration