DebianThis forum is for the discussion of Debian Linux.
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.
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.
Hi I use K3b to burn and haven't used it to burn iso/image files before. For some reason it won't do it and an error appears before it ejects the cd. Here is what the debugging output says:
K3b Version: 0.12.17
Without reading the entire log I'm thinking that it sounds like permission problems. Make sure your user is a part of all the necessary groups. There is a k3b menu item that allows you to setup permissions. I chose to go with a burning group.
It will then set perms of the needed binary files like so
At least in gnome, I think you can also just right click on the iso and it will have an option to "write to disk" I think that should accomplish the same thing?
Yes it opens in the writing program that way. Well the menu lists the program that writes in Debian so I chose that but now I have a problem with the dvd burner. Damn thing opens and closes but doesn't mount. I have forgotten how to mount manually. The only way I can trick it is to boot with a cd in the drive. Well that worked last time. I have only done that once...might have been a flook.
There is the noises coming from the drive that it is running but not all of the noises to the maximum if you know what I mean.
Edit
The hdX should be sdX if your drive is not IDE, but SATA or SCSI where X should be replaced with the correct letter for your device (a,b, etc). End Edit
If your burning programs have correct perms (suid with executable perms for one of your users groups), then the mounting should be handled automatically.
Also, if you have a working HAL system, you should be able to mount devices from your file manager (assuming it is configured to do so).
Last edited by shadowsnipes; 04-10-2008 at 09:48 AM.
Odd but it is working now. I jiggled the cables ...or should I say pulled the cables out and put them back in. I also sometimes have this hassle with the hd. There was alos a boot that was odd. It did some things I don't remember and also asked if I wanted to fix or not. So ofcourse I chose fix. After that the system works better or seems to.
Anyway I burnt onto a cd-rw that I had spare. The cd's I just bought were not good. I bought them from some cheap shop and when none of them would work I tried them in another pc. They wouldn't mount in that one either. So it could have been a variety of issues.
So I didn't have to try anything you suggested but it is all useful if things stuff up again. Thanks!!!
Now though the ubuntu iso is not running on my laptop. Well it showed the page that asks if you want to install or not etc and when I clicked that showed it was loading and it never did. I tried a few times. I have Debian on that machine so maybe that is why. The system requirements are fine.
Last edited by rapattack; 04-11-2008 at 05:16 AM.
Reason: more info
Now though the ubuntu iso is not running on my laptop. Well it showed the page that asks if you want to install or not etc and when I clicked that showed it was loading and it never did. I tried a few times. I have Debian on that machine so maybe that is why. The system requirements are fine.
Having Debian on your machine should have nothing to do with an Ubuntu install cd running since you are running it outside of any OS. You should, however, check that the burned cd is good. To do this check the md5sum of the iso file against the md5sum of the actual burned cd.
Here is a script I wrote that you can use to do this:
Code:
#!/bin/sh
# This command will check the md5sum of a cd (ignoring possible padding at the end
# by only checking the same amount of bytes at the iso image) and also check the
# md5sum of the ISO image.
if [ $1 ]
then
isoFile=$1
else
echo "ERROR. Usage: $0 /path/to/isofile.iso"
exit 1
fi
echo $isoFile
if [ -e $isoFile ]
then
dd if=/dev/hdd | head -c $(stat --format=%s $isoFile) | md5sum && md5sum $isoFile
else
echo "ERROR. ISO image at $isoFile does not exist."
exit 1
fi
Change your device from /dev/hdd to what your optical drive actually is.
If the burned cd is actually good, then you need to figure out what else is going on. You might have to start the Ubuntu installer with special options like vga=normal. I'm not familiar with all the options they have, so you should refer to the Ubuntu docs for that.
I've always had great luck using k3b to burn Debian or Slackware ISOs, k3b auto-detects the file types for me. Check your md5 sums if the CD doesn't work.
Not that I really understand much but that md5 sums is something that happens when I select the iso to be burnt. I gathered that it was ok. I don't know how to check beyond that and shadowsnipes that is way advanced for me. Um am I typing one line at a time? Sorry I haven't seen that sort of stuff yet.
I just remembered that I had this sort of trouble before when trying to install ubuntu on another laptop. It took quite a few goes to get it to push past that first screen that shows the options of wether you want to install or whatever the other stuff in...oh safe mode etc. I don't know why but I have only ever seen this problem with laptops. I have previously used another cd in many desktops with no problem. Mmmmm I just thought I might try in another desktop I have here. OK well I have the first screen with several things to select from like 'start or install ubuntu, start ubuntu in safe graphics mode, install with driver update cd etc.....so it is loading the first option....and i can hear the drive protest a bit. Ah now I have an error 'I/O error Error reading boot cd' then there is a 'reboot' button. Ok tried it twice. So there is a problem. Well I am going to get some blank cd's and dvd's today so will try again later. I was using a cdrw that I had sitting around and it is slighly scratched so that could be it.
Will get back to you later today!
Not that I really understand much but that md5 sums is something that happens when I select the iso to be burnt. I gathered that it was ok. I don't know how to check beyond that and shadowsnipes that is way advanced for me. Um am I typing one line at a time? Sorry I haven't seen that sort of stuff yet.
The script I gave you is just that. You just need to copy that text into a file and run it like
Code:
sh script-name.sh /path/to/iso-image
You can omit using sh to run it if the executable bit is set.
Instead of creating a file by copying and pasting the text I gave you, you could instead download it directly.
Quote:
Originally Posted by rapattack
I just remembered that I had this sort of trouble before when trying to install ubuntu on another laptop. It took quite a few goes to get it to push past that first screen that shows the options of wether you want to install or whatever the other stuff in...oh safe mode etc. I don't know why but I have only ever seen this problem with laptops. I have previously used another cd in many desktops with no problem. Mmmmm I just thought I might try in another desktop I have here. OK well I have the first screen with several things to select from like 'start or install ubuntu, start ubuntu in safe graphics mode, install with driver update cd etc.....so it is loading the first option....and i can hear the drive protest a bit. Ah now I have an error 'I/O error Error reading boot cd' then there is a 'reboot' button. Ok tried it twice. So there is a problem. Well I am going to get some blank cd's and dvd's today so will try again later. I was using a cdrw that I had sitting around and it is slighly scratched so that could be it.
Will get back to you later today!
Sounds like a bad burn or a problem with DMA. If the iso is good then you might need to use hdparm to toggle DMA. Let us know how the burn is.
I am not sure what you mean by copying the script in a file? I know what the konsole or terminal is um and I think I have edited some files before but i have followed instructions ....i don't really understand the process yet.
I am not sure what I would be doing with the new script you posted today? Is that to be copied into the terminal?
So I got the new blank cd's and dvd's today but there is still a problem. It must be a back copy of an iso. Unfortunately I gave the original iso to someone and can't get it back so that is the end of that. I didn't download it from the net. I got it from one of those computer magazines. At first the burner was giving me problems generally and I can't remember right now what that was but now it is burning fine. I did about 5 different burns on dvd's.
Gee I just tried the new cd's and it won't burn. It says that the 'OPC failed-probably the writer does not like the medium'. That is what happened with that other lot of cdr's that I bought before.
There is something else odd happening. I installed a cd burner into my windows machine and used the cd's I just bought and they work so something is wrong for the debian machine to not recognise cd's. It makes a loud protesting sound(the drive) when you first close the drawer with a cd in it and when you go to burn it is the same. So why would it like dvd's and not cd's?
Last edited by rapattack; 04-13-2008 at 10:55 AM.
Reason: more info
I am not sure what you mean by copying the script in a file? I know what the konsole or terminal is um and I think I have edited some files before but i have followed instructions ....i don't really understand the process yet.
I am not sure what I would be doing with the new script you posted today? Is that to be copied into the terminal?
Just download the file and cd into the directory it is in.
Then type the following in the terminal (MODIFY /path/to/iso-image)
Code:
sh ./CkBurn2ISO.sh /path/to/iso-image
and then hit ENTER. That is how you use the script.
However, the script is only good if you still have the iso file on your hard drive somewhere.
Sorry I need more info than that. What directory? Am I supposed to create a directory?
The 2nd part I understand as in copying that code in the terminal.
Sorry I need more info than that. What directory? Am I supposed to create a directory?
The 2nd part I understand as in copying that code in the terminal.
The directory does not matter as long as you know where it is.
That being said, however, I recommend keeping all your scripts in a designated directory- whatever one you want. The idea is that they are easy to find.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.