Linux Mint ISO with RTAI and RT

  • BeagleBrainz
  • New Member
  • New Member
More
6 years 8 months ago - 6 years 8 months ago #156714 by BeagleBrainz
Replied by BeagleBrainz on topic Linux Mint ISO with RTAI and RT
I'll address some of your issues.
First not finding boot medium:
The iso produced via cubic is not a hybrid image and will only be bootable via a dvd therefore to boot from usb you need to run isohybird:
Image info prior to running isohybrid
Code:
rmurphy@ThinkPad-T530 ~/mint19cnc $ file linuxmint-19.2.0-2020.02.040933-mate-64bit.iso linuxmint-19.2.0-2020.02.040933-mate-64bit.iso: ISO 9660 CD-ROM filesystem data 'Linux Mint 19.2.0 2020.02.04 MAT' (bootable)

Running isohybrid:
Code:
rmurphy@ThinkPad-T530 ~/mint19cnc $ isohybrid linuxmint-19.2.0-2020.02.040933-mate-64bit.iso isohybrid: Warning: more than 1024 cylinders: 1987 isohybrid: Not all BIOSes will be able to boot this device

After running isohybrid:
Code:
rmurphy@ThinkPad-T530 ~/mint19cnc $ file linuxmint-19.2.0-2020.02.040933-mate-64bit.iso linuxmint-19.2.0-2020.02.040933-mate-64bit.iso: DOS/MBR boot sector ISO 9660 CD-ROM filesystem data (DOS/MBR boot sector) 'Linux Mint 19.2.0 2020.02.04 MAT' (bootable); partition 1 : ID=0x17, active, start-CHS (0x0,0,1), end-CHS (0x3ff,63,32), startsector 0, 4069376 sectors

Now we have an image bootable via usb.

Failing at busybox.
This is due to isolinux.cfg naming the initrd as initrd.lz where as the rt kernel has an initrd named initrd.gz. Editing grub doesn't help
the fix to that is by editing cubic.conf the section to be edited is as follows;
Code:
[Options] boot_configurations = boot/grub/grub.cfg,boot/grub/loopback.cfg
to
Code:
[Options] boot_configurations = boot/grub/grub.cfg,boot/grub/loopback.cfg,isolinux/isolinux.cfg

Then after exiting the chroot terminal you'll see on the next page that has the "ISO Boot Configurations" tab, under that tab on the left is an extra entry that lets you edit /isolinux/isolinux.cfg change an reference from initrd.lz to initrd.gz After fixing that issue click on next.
Once cubic has done it's thing and all finished you need to run isohybrid as mentioned before on the created iso image, dd to your USB drive and it's all good.

Some little extras:
DNS Issues
Whilst in the chroot environmet you may have issues with dns resolution the fix is as follows.
Source of fix is at bugs.launchpad.net/cubic/+bug/1723568/comments/2

The link /etc/resolv.conf points to /run/systemd/resolve/stub-resolv.conf.
But stub-resolv.conf does not exist.

Outside the chroot environment, do the following...
Code:
$ sudo ln -sr /run/systemd/resolve/resolv.conf /run/systemd/resolve/stub-resolv.conf

To verify, inside the chroot environment, do the following...
Code:
$ cat /etc/resolv.conf $ ping google.com

Prevent gimp from opening cnc help pdfs
Whilst in the chroot environment
open /usr/share/applications/gimp.desktop with nano
on the MimeType line remove reference to "application/pdf;"
save
Then run the following whilst still in chroot
Code:
sudo update-mime
Last edit: 6 years 8 months ago by BeagleBrainz.

Please Log in or Create an account to join the conversation.

  • BeagleBrainz
  • New Member
  • New Member
More
6 years 8 months ago - 6 years 8 months ago #156742 by BeagleBrainz
Replied by BeagleBrainz on topic Linux Mint ISO with RTAI and RT
[strike]Newer version posted here
forum.linuxcnc.org/9-installing-linuxcnc...tion?start=50#156740 [/strike]
Last edit: 6 years 8 months ago by BeagleBrainz.

Please Log in or Create an account to join the conversation.

More
6 years 8 months ago #156749 by WhyMe1
Thank You !!! You do NICE Work !!!!
The following user(s) said Thank You: BeagleBrainz

Please Log in or Create an account to join the conversation.

More
6 years 8 months ago #156993 by tommylight
Beagle, i tested your iso, it works properly, thank you.

Please Log in or Create an account to join the conversation.

  • BeagleBrainz
  • New Member
  • New Member
More
6 years 8 months ago #156997 by BeagleBrainz
Replied by BeagleBrainz on topic Linux Mint ISO with RTAI and RT
That's great to know.

If you want any more mods or help creating your own I'm only too glad to help.

Cheers
Rob

Please Log in or Create an account to join the conversation.

More
6 years 8 months ago #157002 by tommylight
When i get the chance i will have a look at why it does not boot from a multisystem usb. I have no knowledge of anyone else using that here, but i use it on daily basis, having the ability to boot multiple OS from a singe USB is very nice.
Thank you.

Please Log in or Create an account to join the conversation.

Time to create page: 0.236 seconds
Powered by Kunena Forum