multibootusb icon indicating copy to clipboard operation
multibootusb copied to clipboard

Cannot boot SystemRescueCD 6.0.3

Open keesse opened this issue 6 years ago • 4 comments

Hi,

This is different from SystemRescueCD 5.2.2 not booting from BIOS/UEFI #396

I used MultiBootUSB 9.2.0, to multiboot (on Ubuntu 18.10 64 bit)

  • sysresccd 6.0.3
  • ubuntu 18.10
  • CentOS 7

The last two boot fine, but I get the following error:

:: Mounting '/dev/disk/by-label/SYSRCD603' to '/run/archiso/bootmnt'
Wating 30 seconds for device /dev/disk/by-label/SYSRCD603...
ERROR: '/dev/disk/by-label/SYSRCD603' device did not show up after 30 seconds...
   Falling back to interactive prompt
   You can try to fix the problem manually, lot out when you are finished
sh: can't access tty: job control turned off
[rootfs ]# 

I have the following information:

  1. Ubuntu 18.10 64 bit
  2. systemrescuecd-6.0.3 (http://www.system-rescue-cd.org/Download/)
  3. /dev/sdc1 on /media/kees/MULTIBOOT type vfat (rw,nosuid,nodev,relatime,uid=1000,gid=1000,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,showexec,utf8,flush,errors=remount-ro,uhelper=udisks2) [MULTIBOOT
  4. dev/sdc1 7,5G 7,0G 456M 95% /media/kees/MULTIBOOT
  5. Added the log file multibootusb.log

I hope you can solve the problem. Thanks in advance,

Kees

keesse avatar Apr 18 '19 13:04 keesse

I had same error trying to boot systemrescuecd 6.0.3 iso from usb drive.

Could make it boot with this options in grub.cfg:

  submenu "SystemRescueUSB 6.0.3" {
    set isofile="/boot/iso/systemrescuecd-6.0.3.iso"
    menuentry "SytemRescueUSB 6.0.3 (64 bit, default boot options)" {
      set gfxpayload=keep
      loopback loop $isofile
      echo "Loading kernel..."
      linux   (loop)/sysresccd/boot/x86_64/vmlinuz img_dev=/dev/disk/by-uuid/242A-5DE2 img_loop=$isofile archisobasedir=sysresccd archisolabel=SYSRCD603
      echo "Loading initramfs..."
      initrd  (loop)/sysresccd/boot/x86_64/sysresccd.img
    }
    
    ## other menu entries
  }

where 242A-5DE2 is a UUID of USB drive where ISO image is stored. Should be changed to match UUID of your USB disk.

rekcuFniarB avatar Sep 01 '19 21:09 rekcuFniarB

Thanks @rekcuFniarB for the info. I didn't see a submenu in my grub.cfg. But I modified the GRUB config file in the sysrescuecd-6.0.3 boot/grub folder and was able to boot up the system rescue cd install via the GRUB menu option on the multibootusb menu and then the default option in the system rescue cd GRUB menu. The multibootusb grub includes the sysrescuecd-6.0.3 grub file. Here is the system rescue cd part of the multibootusb grub config file that includes the sysrescuecd-6.0.3 grub file. (This file wasn't changed.) /multibootusb/grub/grub.cfg:

#start systemrescuecd-6.0.3
    menuentry systemrescuecd-6.0.3 {
		configfile /multibootusb/systemrescuecd-6.0.3/boot/grub/grubsrcd.cfg
	}
#end systemrescuecd-6.0.3

I booted up my into a working mint linux (19.2) did the following - Insert the thumb drive (16 GB cruzer) and mint mounted it automatically. You may need to manually mount the drive. My thumb drive label is MULTIBOOT. From lsblk: /dev/sdg1: LABEL="MULTIBOOT" Here is the before and after of the sysrescuecd-6.0.3 grub file. /multibootusb/systemrescuecd-6.0.3/boot/grub/grubsrcd.cfg (before):

menuentry "Boot SystemRescueCd using default options" {
	set gfxpayload=keep
	linux /multibootusb/systemrescuecd-6.0.3/sysresccd/boot/x86_64/vmlinuz archisobasedir=sysresccd archisolabel=SYSRCD603
	initrd /multibootusb/systemrescuecd-6.0.3/sysresccd/boot/intel_ucode.img /multibootusb/systemrescuecd-6.0.3/sysresccd/boot/amd_ucode.img /multibootusb/systemrescuecd-6.0.3/sysresccd/boot/x86_64/sysresccd.img
}

(after):

menuentry "Boot SystemRescueCd using default options" {
	set gfxpayload=keep
	linux /multibootusb/systemrescuecd-6.0.3/sysresccd/boot/x86_64/vmlinuz archisobasedir=multibootusb/systemrescuecd-6.0.3/sysresccd archisolabel=MULTIBOOT
	initrd /multibootusb/systemrescuecd-6.0.3/sysresccd/boot/intel_ucode.img /multibootusb/systemrescuecd-6.0.3/sysresccd/boot/amd_ucode.img /multibootusb/systemrescuecd-6.0.3/sysresccd/boot/x86_64/sysresccd.img
}

Notice the archisobasedir=sysresccd archisolabel=SYSRCD603 variable settings on the linux GRUB command line. These values don't apply for the multibootusb scenario and need to be changed. The base directory needs to include the extra paths since the installation folder is a sub folder in the mutibootusb folder and the label is most likely different.

cscheuble avatar Oct 21 '19 09:10 cscheuble

Using submenus is not necessary, I use it just for menu grouping.

Assume your SystemRescueCD ISO is stored at the path /boot/iso/systemrescuecd-6.0.3.iso of your drive. Then grub menuentry should look like this:

  menuentry "SystemRescueUSB 6.0.3" {
    set isofile="/boot/iso/systemrescuecd-6.0.3.iso"
    set gfxpayload=keep
    loopback loop $isofile
    echo "Loading kernel..."
    linux   (loop)/sysresccd/boot/x86_64/vmlinuz img_dev=/dev/disk/by-uuid/242A-5DE2 img_loop=$isofile archisobasedir=sysresccd archisolabel=SYSRCD603
    echo "Loading initramfs..."
    initrd  (loop)/sysresccd/boot/x86_64/sysresccd.img
  }

Here 242A-5DE2 is a UUID of USB drive. It should be changed to match UUID of your USB disk. You can find out UUID of your USB stick with blkid /dev/sdx1 command (should be run as root), where /dev/sdx1 should be changed to the path of your USB disk device.

rekcuFniarB avatar Oct 21 '19 19:10 rekcuFniarB

@rekcuFniarB thank you! I had the same problem and adding img_dev= resolved it. I boot SystemRescueCD from iso by grub2 and it worked for years without img_dev= . For those who will be confused by blkid output like me: use UUID= value, not PARTUUID=

ohhai avatar Dec 31 '22 18:12 ohhai