LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   how to run mkisofs (https://www.linuxquestions.org/questions/debian-26/how-to-run-mkisofs-202121/)

vbhatia_81 07-07-2004 07:47 AM

how to run mkisofs
 
Hi
I m newbie to debian and i m facing a problem. I have debian woody installed on my ix86 and kernel verison of 2.2. The problem is it doesnot support mkisofs command when i run mkisofs it saya command not found. So wat can i do to have this command running on my kernel. Is there any sort of patch available????
which can help me with this or can i update my kernel without disturbing my data if yes plz help me
i ll be really thnxful

attet 07-07-2004 08:18 AM

I don't think it has anything to do with kernel version. Just install it with 'apt-get install mkisofs' (as root)

Guttorm 07-07-2004 08:20 AM

Hi

I think you have misunderstood a bit. mkisofs in not an part of the kernel, just
apt-get install mkiosfs

To make an ISO file of stuff in a directory, first "cd dirname" - do an "ls" - if this is what you want on the ISO, you can do a
mkisofs -J -r * >/tmp/isofile.iso
(To make the ISO file as /tmp/isofile.iso)

Without -J and -r options, your filenames will be MS-DOS like, i.e. very short!

Hope this helps,
Guttorm.

freelinuxcpp 07-07-2004 08:58 AM

there are easiest :
dd if=/dirs/to/make/iso of=/tmp/isoimage.iso

vbhatia_81 07-07-2004 11:51 PM

Thnx to all those who have replied back i ithnk its really gud to know that it doesnot have anything to do with kernel. I ll try it out and ll let u guys know if it worked in my case or not
Thx once again

vbhatia_81 07-08-2004 12:41 AM

Hi
I have tried doin "apt-get install mkisofs"
but after that it says
making source tree
and then package not found.
So can anybody tell me wat can be the problem
and how it can be corrected.

attet 07-08-2004 01:24 AM

Try first running 'apt-get update' and then 'apt-get install mkisofs'. If it still does not work, you propably don't have correct source entries listed in /etc/apt/sources.list (it tells apt-get where to download all the programs from).

Try adding something like these three lines to /etc/apt/sources.list if they don't already exist:

deb http://http.us.debian.org/debian stable main contrib non-free
deb http://non-us.debian.org/debian-non-US stable/non-US main contrib non-free
deb http://security.debian.org stable/updates main contrib non-free

(im guessing that you are using stable version, which is the default. If you are not, change stable to testing or unstable accordingly.)

Then run 'apt-get update' again and after that 'apt-get install mkisofs' should work or at least give you a different error ;)

vbhatia_81 07-08-2004 02:51 AM

i trie adding these three lines but its giving me the following errors when i run apt-get update


Failed to fetch http://non-us.debian.org/debian-non-...-i386/Packages Something Wicked happened Resolving non-us.debian.org : http (-3)

Failed to fetch http://non-us.debian.org/debian-non-...y-i386/Release Something Wicked happened Resolving non-us.debian.org : http (-3)

Failed to fetch http://non-us.debian.org/debian-non-...-i386/Packages Something Wicked happened Resolving non-us.debian.org : http (-3)


Failed to fetch http://non-us.debian.org/debian-non-...y-i386/Release Something Wicked happened Resolving non-us.debian.org : http (-3)


Failed to fetch http://non-us.debian.org/debian-non-...-i386/Packages Something Wicked happened Resolving non-us.debian.org : http (-3)

Failed to fetch http://non-us.debian.org/debian-non-...y-i386/Release Something Wicked happened Resolving non-us.debian.org : http (-3)

W: Couldn't stat source package list http://non-us.debian.org stable/non-us/main packages


So please tell me now what can i do, and why are these error coming.
If this problem can come because i m tryin to access net from my lan and i have not given DNS server address in the file /etc/network/interfaces.

freelinuxcpp 07-08-2004 04:09 AM

use apt-setup > http > unated stats > kernel mirror
these are a good servers and should work properly

attet 07-08-2004 07:53 AM

The lines i gave were taken from the manual of apt (http://www.debian.org/doc/manuals/ap....html#contents) and they work fine here so it's propably something with the network settings. Though you might later want to change the servers to something located closer to you.

As you suggest the problem might be related to a missing DNS server address. DNS servers go into /etc/resolv.conf (check 'man resolv.conf' and 'man interfaces' for syntax issues and what to put into the files) and don't forget to run '/etc/init.d/networking restart' after modifying.


All times are GMT -5. The time now is 07:25 AM.