[SOLVED] Can't get server to boot with Live CD/USB
Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with 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.
I have this old server. It has Debian on it, but it is an old version of Debian. It needs to be upgraded because things are starting to not work. That is another story.
I wanted to back it up before doing the upgrade and I went and got the latest Clonzilla. The server won't boot Clonezilla. It just skips over the boot media and goes on to the hard drive. I know the USB is good because I can boot another machine with it. Although the other machine is a UEFI machine. I know the server is fine because it can boot an old (many years) Clonezilla Live CD I have.
I used the old Clonezilla CD to back up the server and then tried to upgrade the machine. This failed and I now have a cryptic Grub error message. That is another story. (And don't worry about it. This is why I made the BUP first.)
The solution is to boot with a live CD or USB and re-install grub. (Apparently.) System Rescue CD won't boot. Boot repair disk, another rescue distro won't boot. I already know Clonezilla won't boot.
I tried rufus, and tux boot. I also tried manual methods of preparing the USB stick.
(I strongly suspect that what caused the grub install to fail is related to the reason why these live distros won't boot, ie that this is an old BIOS boot machine not a UEFI boot machine.)
So, my question for this post is where can I get a live CD that will actually boot? Is there some way to prepare a Live CD or USB that will boot on this machine?
It's impossible to help you without further information.
When you say "CD", do you mean actual CDs or DVDs? Or USB thumb drives? If you have used USB media only, is there a way to try physical CDs/DVDs?
You say the server skips over the boot media. If "boot media" is a USB-based device, could it be that USB is not configured as a boot source, or simply not possible?
Since you suspect a link between Grub and the failure to boot live media, why don't you post that cryptic Grub message? Can you describe how booting from live media fails? Is it the same type of failure for all media?
On some older computers (this is speculation if that is relevant to OP) - there bios was set up so in case you want to boot from usb:
Spam Esc key (ore some other key combo, depending on model) to enter boot menu of mainboard.
When boot list appear, USB drive isn't visible.
But still - select "boot from harddrive"
And there it is - listed along with the internal hdd on the mainboard.
Also, there is a spechial software that allows boot from USB on computers that have bios that doesn't support booting from USB :
Plop Boot Manager https://www.plop.at/en/bootmanager/download.html
May or may not work - I've got it to work on a few cases but doesn't work on all old computers I've tested it on this far.
It's impossible to help you without further information.
When you say "CD", do you mean actual CDs or DVDs? Or USB thumb drives? If you have used USB media only, is there a way to try physical CDs/DVDs?
You say the server skips over the boot media. If "boot media" is a USB-based device, could it be that USB is not configured as a boot source, or simply not possible?
Since you suspect a link between Grub and the failure to boot live media, why don't you post that cryptic Grub message? Can you describe how booting from live media fails? Is it the same type of failure for all media?
I have tried a DVD in the DVD ROM drive and a USB thumb drive.
The server skips over both the DVD and the USB thumb drive. The USB thumb drive was tested on another machine and was able to boot the other machine. The server has BIOS settings for booting from a USB and these are configured. It says plainly on the screen during boot that it is checking the USB media, the CDROM and then the HD because that is the order of boot set up in the BIOS.
The GRUB message is:
error: symbol 'grub_calloc' not found.
entering rescue mode...
This is followed by the grub rescue prompt. Upon further research of this message it appears to be caused when the update does not take into account custom settings in grub the user may have. I had custom settings to permit using a serial port console.
When it does not boot from live media, there is no error message or special event. All you get is a mesage on the display saying Attempting Boot from USB, then Attempting boot from CD-ROM, and finally Atempting boot from hard drive. It skips the media. As there was an OS on the media, it would boot the OS. Now it gives the grub message.
Every USB image I have tried fails. I do not know if I have ever booted this server with USB. New DVD media, at least the one I have tried fails. I have an old live cd (this is specifically a old CD, not a usb drive) of clonezilla that works on this server.
There was another USB drive plugged in to the machine. I had forgotten it was there. Presumably when the server went to boot via USB it was looking at that device rather than the thumb drive.
In any case powering off the other USB drive allowed the server to boot from the USB thumb drive I had been trying.
Thank you everyone for your support. Especially Grobe. It was while thinking about your question that I realized another USB drive was plugged in. (The BIOS settings always showed a USB drive whether my USB stick was plugged in or not. That may be normal, but it got me to thinking...)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.