LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Rebooting from CD (https://www.linuxquestions.org/questions/linux-newbie-8/rebooting-from-cd-616432/)

NETW204 01-26-2008 09:29 AM

Rebooting from CD
 
Hi all,

I know this is a common problem. I can not reboot from a cd. I downloaded Knowpix image and burned it to cd. My CD-ROM is the first option to reboot from on the bios. This is the second cd I have tried, since I read in the forum that I may have a bad image. But 2 bad images? I did download from different sites to lower the odds. Any ideas what I am doing wrong?

Thanks in advance. This will be my first time into Linux and hopefully not the last.

ranger_nemo 01-26-2008 09:36 AM

Is the CD-drive you are trying to boot from the same drive you used to burn the CD?

Can that CD-drive read the CD in Windows?

If it's an older CD-ROM, then it might have trouble reading a CD-R.

b0uncer 01-26-2008 10:01 AM

What you need in order to be able to boot from a CD (sort of checklist):

- a non-corrupt image (usual way of getting the contents to be burned on cd); usually can be verified by calculating md5sum, sha1sum or equivalent and matching it against the correct sum which should be (if exists) available where you downloaded the image from.

- a blank, preferably non-scratched cd to burn the image on.

- burn the image onto the disk using burn image option, not as you would usually burn a data cd. Most cd writing apps have a different tool/menu entry to burn images onto discs. Still I recommend downloading and installing a costless small app called ImgBurn, with which you simply can't fail - open the file, click burn, and it's done the right way.

- after the burn the disc should not contain a single file (the image file), but instead the contents of the image file: usually some directories which in turn contain other files and maybe subdirectories, possibly further image files, ...

- BIOS settings should be set so that it tries to boot from CD before harddisks, or if you have a "boot menu" you can access with some key, use that to boot from the cd

That's about it. The part where most newcomers fail is the burning - some people just burn the image file as a regular data cd, end up with a disc filled with that single file (which doesn't do anything as such), and don't know why it won't boot. You can use your favourite image burning app if you don't feel like trying ImgBurn out, or don't have an easy-to-use Linux app to do it (like cdrecord), but just make sure you burn it right. If it won't boot after that, it's probably corrupted - but that's nowadays rare-ish with the "good modern technology", unless the image itself is corrupt already.

So: download the "right" checksum file from where you downloaded the image (MD5SUM or SHA1SUM or something), and use the appropriate tool to calculate a checksum from the image itself, and compare those. With md5sum it means: if you have downloaded MD5SUM file which contains the correct checksum, and placed it to the same directory where the image file is, cd there and run
Code:

md5sum -c MD5SUM
and in a moment you're told if the image is ok or not. Or just run "md5sum imagefilename.iso" and compare the shortly produced longish line with the one at the MD5SUM file. The same procedure with SHA1SUM and equivalents, only the program/filenames (and checksums of course) differ.

pentode 01-26-2008 11:26 AM

I created several nice coasters before I finally figured out that I was NOT creating an .iso disk image. You might want to double-check your procedure on that.

If you have a Windows Install or Recovery CD, you should try it to see if the CD drive will boot it. If it does, then the problem is most likely with the CD you created.

NETW204 01-29-2008 11:42 AM

Thank you to all of you who responded. As you all know the best troubleshooting is by step elimination and everyone's suggestions were checked out. I downloaded imgburn and created the Live CD from the image using that app. That did the trick.

Thank you all for your input.


All times are GMT -5. The time now is 04:30 AM.