Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Freespire 3 does not boot #31

Open
probonopd opened this issue Jan 13, 2018 · 1 comment
Open

Freespire 3 does not boot #31

probonopd opened this issue Jan 13, 2018 · 1 comment

Comments

@probonopd
Copy link
Owner

probonopd commented Jan 13, 2018

When trying to boot freespire-3-x64.iso using SystemImageKit, getting

Running /scripts/casper-premount... done.
done.
/init: line 3: can't open /dev/sr0: No medium found
/init: line 3: can't open /dev/sr0: No medium found
/init: line 3: can't open /dev/sr0: No medium found
(...)

Possibly an upstream bug.

Additional information:
This is the GRUB entry generated by SystemImageKit:

menuentry "freespire-3-x64.iso - casper 1.376.2" --class ubuntu {
        iso_path="/boot/iso/freespire-3-x64.iso"
        search --no-floppy --file ${iso_path} --set
        live_args="for-casper --> iso-scan/filename=${iso_path} console-setup/layoutcode=de locale=en_US timezone=Europe/Berlin username=me hostname=host noprompt init=/isodevice/boot/customize/init max_loop=256"
        custom_args=""
        iso_args=" "
        loopback loop ${iso_path}
        linux (loop)/casper/vmlinuz file=/cdrom/preseed/custom.seed boot=casper iso-scan/filename=${iso_path} quiet splash -- ${live_args} ${custom_args} ${iso_args}
        initrd (loop)/casper/initrd.gz /boot/iso/additional-initramfs/initramfs
}

This is the system-provided boot/grub/loopback.cfg on the Live ISO:

menuentry "Try Freespire without installing" {
	set gfxpayload=keep
	linux	/casper/vmlinuz  file=/cdrom/preseed/custom.seed boot=casper iso-scan/filename=${iso_path} quiet splash --
	initrd	/casper/initrd.gz
(...)
}
@probonopd
Copy link
Owner Author

mkdir initrd-tmp
cd initrd-tmp
gzip -dc /mnt/casper/initrd.gz | cpio -id

grep -r sr0 .
# ./lib/udev/rules.d/60-cdrom_id.rules:KERNEL=="sr0", SYMLINK+="cdrom", OPTIONS+="link_priority=-100"

Looks similar to Ubuntu's. I don't know why it is looking for /dev/sr0 during boot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant