-
Notifications
You must be signed in to change notification settings - Fork 655
Cannot install RancherOS - /dev/sr0 when booting by usb #2241
Comments
I don't have a windows, not sure whether caused by rufus. |
I am having the same issue. |
A little more on the issue. On the 1st machine I do have a cd/dvd drive so there is a /dev/sr0 mounted. |
So :s I guess if you don't have a /dev/sr0 just sudo mkdir /dev/sr0 and problem solved. |
I can confirm that this workaround works! |
I just experienced this exact issue when trying to install Rancher OS as a KVM guest under entperise Linux. The suggested work around also allowed me to move past this issue. Just wanted to note that this is not limited to Rancher OS on Windows hosts. |
I don't have a test setup, will be cool if anybody can help me to verify this issue. |
Fixed in rancheros-v1.3.0-rc1, below is my test record
|
Happens again with v1.5.0: [rancher@rancher ~]$ sudo ros install -c cloud-config.yml -d /dev/sda -t gptsyslinux
Installing from rancher/os:v1.5.0
Continue [y/N]: y
INFO[0004] start !isoinstallerloaded
ERRO[0004] Failed to get boot iso: stat /dev/sr0: no such file or directory
There is no boot iso drive, terminate the task
FATA[0004] Failed to run install err="stat /dev/sr0: no such file or directory"
|
@Sebisnow Did you check the label? Can you provide more info so that I can replay? |
I installed with the following commands on a bare metal server: apt-get update
DEBIAN_FRONTEND=noninteractive apt-get install --assume-yes --show-progress kexec-tools aria2
aria2c https://releases.rancher.com/os/v1.5.0/rancheros.iso
mkdir -p /mnt/rancheros
mount -t iso9660 rancheros.iso /mnt/rancheros
cd /mnt/rancheros
kexec --initrd ./boot/initrd-v1.5.0 --command-line="rancher.password=<strong-password>" ./boot/vmlinuz-4.14.85-rancher reboot sudo ros install -c cloud-config.yml -d /dev/sda -t gptsyslinux As I was mounted on v1.5.0 ros tries to install that. |
@Sebisnow This has nothing to do with this issue, I create a new one. |
I'm running into this issue and I think it's related but I want to make sure. I'm PXE booting into Rancher 1.5.1 using netboot.xyz. The installation works fine on a virtual machine with an empty virtual CD drive attached. Unfortunately, I run into the /dev/sr0 issue on baremetal devices, as none of my devices have a CD drive. The installation continues if I use the following workaround, but the cloud-config does not apply. Partial Workaround
The problem is on boot, none of the expected services are pulled and started. I don't even have user docker running as the cloud config changes the engine version. ROS shows everything as enabled and selected, but I have to rerun the commands manually to get the pull and startup process to happen. |
@kidhasmoxy Please file another issue, this issue is about the usb booting. |
Version : rancher/os:v1.2.0-rc2
Installation : baremetal
I downloaded the latest image, created an usb bootable disk with rufus (from window 10 with default options) and tried to install...
The label is always in capital letter, i tried to change it but everytime in captial... (i know that is should be "RancherOS")
What can i do ?
Thanks for your help and os !!!
The text was updated successfully, but these errors were encountered: