LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-03-2005, 11:31 PM   #1
shortsword
LQ Newbie
 
Registered: Oct 2004
Location: California, USA
Distribution: Fedora Core 2
Posts: 24

Rep: Reputation: 15
Angry mkbootdisk Error


I am trying to make a bootable cd for an updated version of the kernel (2.6.10-1.12) on a machine running Fedora Core 2. This machine dual boots with Win XP and I have never been able to get dual boot to work on it. So I use a bootable CD for Linux and allow the ntloader to just do its thing for Win XP.

But, when I try to use mkbootdisk to create the iso image for the new bootable cd I always get an error. Command and typical output looks like this:

Code:
mkbootdisk --iso --verbose --device bootcd.iso 2.6.10-1.9_FC2
Installing isolinux... done
Copying /boot/vmlinuz-2.6.10-1.9_FC2... done.
Copying /boot/initrd-2.6.10-1.9_FC2.img... done.
Configuring bootloader... done.
Unknown file type (unallocated) /tmp/mkbootdisk.XG2317/.. - ignoring and continuing.
I have executed this command several times in the past with exactly these options. I know that I am using the same options because I wrote a script to make the iso image, use cdrecord to blank a rewritable cd and then use cdrecord to burn the iso image to the cd.

For some reason I do not understand, I now always get the error shown above when making the bootable iso image.

Indeed no file is being written into the /tmp directory. The first time that I ran the command I did an ls /tmp and saw files with similar names but different hash characters after the dot. I probably should have done an ls -l after that and looked at the creation dates, but being root, I deleted all the files in /tmp that I could (that included all of the mkbootdisk.* files), and reran the command. No new Mkbootdisk.* files showed up in the /tmp directory.

The problem is not permissions on the /tmp directory,

Code:
ls: ls: No such file or directory
/:
total 300
/* Several lines deleted for brevity */
drwxrwxrwt  13 root root  63488 Feb  3 21:05 tmp
/* Several lines deleted for brevity */
So, the /tmp directory is owned by root:root, and all users have read, write, and execute permissions. Although non-root users may only remove their own files from the directory. In any case, root is attempting to use the mkbootdisk command above.

Nor is the problem a full /tmp partition, as evidenced by the df command,

Code:
df /tmp
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/hdb8               497829      8340    463787   2% /tmp
I would be eternally grateful if anyone could shed some light on this problem.
 
  


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
mkbootdisk for CDs RJEmery Linux - Newbie 7 04-13-2005 10:25 AM
mkbootdisk mickeyboa Fedora 3 02-21-2005 06:47 AM
mkbootdisk not making marlaina1 Linux - Newbie 3 01-24-2004 07:21 PM
i need a new mkbootdisk !! osiris777 Red Hat 3 10-08-2003 10:08 AM
mkbootdisk not found!!! emjay Linux - Newbie 4 10-29-2002 06:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

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