LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   CentOS not booting from LiveCD (https://www.linuxquestions.org/questions/linux-newbie-8/centos-not-booting-from-livecd-887643/)

Sirnot1 06-21-2011 09:59 PM

CentOS not booting from LiveCD
 
My problem is similar to this user's post on the CentOS forums: https://www.centos.org/modules/newbb...23067&forum=37 , but the question was never solved, so I am asking here.

I downloaded the CentOS-5.6-i386-LiveCD.iso and burn it on a CD, as usual. When booting, it does the automatic boot but then crashes, with "Buffer I/O error on device sr0, logical block 354800 (and more)". I am having the same problem with making a boot-able USB. I am not exactly sure what is wrong, I see two folders on the cd LiveOS and isolinux. I'm not sure if it is suppose to be like this, if the burning process when ok. I'm trying to set up a desktop on a pc (with AMD Sempron processor).

This is very strange, I ruled out that it couldn't have been my computer (because my Fedora boot disk booted fine), my cd (because it is new and an entirely different brand), or the .iso (because I tested it in VirtualBox, which it booted perfectly).

Files in LiveOS folder:
livecd-iso-to-disk
osmin.img
squashfs.img
TRANS.TBL

Files in isolinux folder:
boot.cat
initrd0.img
isolinux.bin
isolinux.cfg
memtest
splash.jpg
vesamenu.c32
vmlinuz0
TRANS.TBL

Any help appreciated.

andrewthomas 06-21-2011 10:19 PM

How did you put the iso on the usb-stick?

I have had success using dd

There are instructions here ( it is on the archlinux wiki but should work with the CentOS .iso

https://wiki.archlinux.org/index.php...a_on_a_USB_key


Alternatively, there are instructions for UNetBootin just below the instructions for using dd to write the .iso to the usb.

Sirnot1 06-21-2011 10:30 PM

I used UNetBootin to burn it. When booting from the CD or USB, I get to the GRUB, click Boot, and then it goes to a command prompt say "Memory for crashed kernel" or something similar. When booting the Cd from VirtualBox I get to the GRUB, click Boot, and it simply freezes. But when I boot from the .iso in VirtualBox everything goes as usual, and the booting is a success. I'm having the same problem on both Memorex and Phillip CDs, alongside the USB.

If it matters, the cd burner I used was Brasero in Ubuntu 11.04.

andrewthomas 06-21-2011 10:37 PM

I would at least try to use dd to write the .iso to the USB stick using the link in my post above.

tailinlinux 06-21-2011 10:39 PM

Did you try to extract the .ISO file.
then try to burn all the Files inside the Centos.iso using brasero
and select burning method as data disk.

Sirnot1 06-21-2011 10:44 PM

@tailinlinux,

Is there an option to make the CD bootable, if I choose that method? Or is it automatically bootable?

tailinlinux 06-21-2011 10:56 PM

Quote:

Originally Posted by Sirnot1 (Post 4392358)
@tailinlinux,

Is there an option to make the CD bootable, if I choose that method? Or is it automatically bootable?

lately i downloaded mandriva 2010.2 live cd. or .iso file.
after downloading i have burn it to a blank dvd. after burning i cant even boot to that cd.
so i decided to extract the .iso file then select data project to burn all the files of the .iso file
and it is successfully boot up.

Based on experience. I used brasero.

or review autorun.inf file
should be like this.

[Autorun]

open=dosutils\autorun\autorun.exe

icon=dosutils\autorun\mandriva.ico

Sirnot1 06-21-2011 11:13 PM

@tailinlinux

I extracted the .iso files and burned them onto a CD using Brasero. Unfortunately, after it finalized, it said "checking image checksum" or something similar, and messed up the disk, making it unreadable.

Sirnot1 06-21-2011 11:31 PM

I tried GnomeBaker also, but it didn't make the Cd bootable, with it not working overall.

16pide 06-22-2011 05:00 AM

I believe this works:
once you've create the cd from the iso, check it this way:
Code:

dd if=/dev/cdrom of=xxxxx.iso
diff xxxxx.iso your-centos-release.iso

both iso files should match
Also, md5sum of the iso is a good idea. (compare with published md5sum results)

Soadyheid 06-22-2011 06:11 AM

Please note that an iso file is an image file. When using your burner; Brasero, KIIIB or whatever, you have to select "Burn Image" and select the iso file as the source to generate the bootable CD or DVD. :)

Play Bonny! :hattip:

TB0ne 06-22-2011 09:14 AM

Quote:

Originally Posted by Sirnot1 (Post 4392358)
@tailinlinux,
Is there an option to make the CD bootable, if I choose that method? Or is it automatically bootable?

No there isn't. Following that advice, all you'll be left with is a bunch of files, non-bootable.

Soadyheid and 16pide gave some good advice, which I'd add to by saying, it would be worth it to burn the DVD at a slower speed. Brasero and K3B both support 'slowing down' writes to DVD media, which is sometimes the cause of problems such as the ones you're seeing. Comparing the MD5 sum of the ISO image to that on the download site is a good idea as well, since a corrupted ISO can cause the same problems. Also, where did you get the ISO from (bittorrent, or via the CentOS site?), and did you use a file-manager or do a direct download through your web browser?

Sirnot1 06-22-2011 02:25 PM

Quote:

Originally Posted by TB0ne (Post 4392799)
Also, where did you get the ISO from (bittorrent, or via the CentOS site?), and did you use a file-manager or do a direct download through your web browser?


I downloaded the .iso directly from their website through my web browser.

Sirnot1 06-22-2011 03:07 PM

I checked the MD5sum, it's the same on the downloaded iso as it is on the website.

TB0ne 06-22-2011 03:39 PM

Quote:

Originally Posted by Sirnot1 (Post 4393124)
I checked the MD5sum, it's the same on the downloaded iso as it is on the website.

Well, that rules out one possibility. Try burning the image at a slower speed, and see where it goes.

A couple of other things to consider. CentOS (like RedHat Enterprise or SLES), is geared towards 'server-grade' hardware. There is a chance that it's not liking your hardware, which may explain why Fedora boots ok. Another thing to try would be a cheap USB DVD drive...and they're handy to have anyway, for installation problems and troubleshooting. Also, you may want to try the full DVD image, rather than the Live image....


All times are GMT -5. The time now is 08:05 AM.