Score:-1

How to install grub to a CD-RW?

cn flag

My very old server only has BIOS, no UEFI, and the boot order routine aborts booting when it encounters a drive larger than 2TB. The boot order is: CDs, HDDs, USBs, network. I cannot change the boot order because I don't know the BIOS password.

How can I install grub to a CD-R or CD-RW?

All of my HDD bays are taken by 4TB drives and I'm not changing that.

Score:2
kz flag
  1. You will need a package named grub-pc-bin and another one named xorriso.
sudo apt-get update
sudo apt-get install grub-pc-bin xorriso
mkdir ~/cdrom
mkdir ~/cdrom/boot
mkdir ~/cdrom/boot/grub
nano ~/cdrom/boot/grub/grub.cfg
  1. Here's an example of a grub.cfg file that boots the first hard disk:
set timeout=10
set default=0

menuentry "Boot from Hard Drive" {
    insmod part_msdos
    insmod ext2
    set root='hd0,msdos1'
    chainloader +1
}
  1. You will need to use grub-mkrescue to create an ISO file that can be burned to a CD.
grub-mkrescue -o bootable.iso ~/cdrom
  1. You can use a tool like Brasero or k3b to burn the ISO file to a CD. If you prefer to use the command line, you can use cdrecord (you might need to install it first with sudo apt-get install cdrecord):
sudo cdrecord -v speed=4 bootable.iso
  1. Boot from CD.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.