Running SR6.1 on Linux. Correct procedure?

  • SpinRite v6.1 Release #3
    Guest:
    The 3rd release of SpinRite v6.1 is published and may be obtained by all SpinRite v6.0 owners at the SpinRite v6.1 Pre-Release page. (SpinRite will shortly be officially updated to v6.1 so this page will be renamed.) The primary new feature, and the reason for this release, was the discovery of memory problems in some systems that were affecting SpinRite's operation. So SpinRite now incorporates a built-in test of the system's memory. For the full story, please see this page in the "Pre-Release Announcements & Feedback" forum.
    /Steve.
  • Be sure to checkout “Tips & Tricks”
    Dear Guest Visitor → Once you register and log-in please checkout the “Tips & Tricks” page for some very handy tips!

    /Steve.
  • BootAble – FreeDOS boot testing freeware

    To obtain direct, low-level access to a system's mass storage drives, SpinRite runs under a GRC-customized version of FreeDOS which has been modified to add compatibility with all file systems. In order to run SpinRite it must first be possible to boot FreeDOS.

    GRC's “BootAble” freeware allows anyone to easily create BIOS-bootable media in order to workout and confirm the details of getting a machine to boot FreeDOS through a BIOS. Once the means of doing that has been determined, the media created by SpinRite can be booted and run in the same way.

    The participants here, who have taken the time to share their knowledge and experience, their successes and some frustrations with booting their computers into FreeDOS, have created a valuable knowledgebase which will benefit everyone who follows.

    You may click on the image to the right to obtain your own copy of BootAble. Then use the knowledge and experience documented here to boot your computer(s) into FreeDOS. And please do not hesitate to ask questions – nowhere else can better answers be found.

    (You may permanently close this reminder with the 'X' in the upper right.)

For the record, in case someone else finds something here worth pursuing further, the 32 and 64 bit ELF executable's in Easy2Boot's Linux variant are apparently recompilations of Tinybit's bootlace and UltraDefrag's udefrag. Both are open or public source, with variants discoverable with easy Web searches, and have been around for perhaps 10 or 15 years.

Bootlace installs grub4dos to a MBR or PBR (Master or Partition Boot Record), and udefrag defragments files on over a dozen file system types. Creating such bootable images for CD's and USB thumb drives requires writing such boot records, and will require having the data in certain bootable file images on the drive to be contiguous (a single extent, hence defrag'd).

I've wandered too far off the topic of this thread, and too far off the tasks I should be doing. So I should stop looking into Easy2Boot on Linux now.
 
  • Like
Reactions: m3110w
I'm not a technical person, I only know the basics. My only computer is an AMD Ryzen laptop running Linux Opensuse Tumbleweed. It has no dual boot and no Windows. Earlier I was able to get ReadSpeed running on my laptop using the ReadSpeed image ISO and Legacy mode. I have downloaded sr61.exe onto my laptop. Here's my guess at the steps to get SR6.1 running on my system:

* Use a Linux based Image Burning Tool to convert sr61.exe to an image ISO.
* Use a Linux based Image Burner to burn this image ISO onto a USB drive.
* Change my boot mode to "Legacy".
* Turn off laptop and insert USB drive. Then power on and hit key to trigger boot from USB.
* SR6.1 starts up and I'm all set.

Am I missing something? Anything incorrect?

UPDATE: I ran the above steps and didn't work. Just got a black screen with a single flashing cursor. Anyone have a link to the correct steps to do this? Can only Steve G successfully convert his sr61.exe file into an ISO image that's bootable?
If you get one of the release candidate releases, then these are DOS executables, so with an DOS image on an ISO you can boot into DOS and then run the .exe dos program while Steve gets the direct iso image sorted on his side.
 
  • Like
Reactions: m3110w
If you get one of the release candidate releases, then these are DOS executables, so with an DOS image on an ISO you can boot into DOS and then run the .exe dos program while Steve gets the direct iso image sorted on his side.
I was able to borrow a Windows computer and create some bootable SR6.1 USB drives. I'm all set.
 
I am currently working to create an ".IMG" file that can simply be transferred (with 'dd' or Ubuntu's writing tool) to ANY USB thumb drive and then booted. That will be online soon. (y)

Just a quick question one on this. The now downloadable IMG file, does this contain a partition table (and thus should be written to the USB drive entirely) or is it a partition (and thus written to an existing partition)?

Thanks again for all of the fantastic work you do Steve (utils, Spinrite and Security Now).
 
  • Like
Reactions: m3110w
The now downloadable IMG file, does this contain a partition table (and thus should be written to the USB drive entirely) or is it a partition (and thus written to an existing partition)?
It should be written to the drive. Something like:

Code:
sudo dd if=spinrite.img of=/dev/sdb

Make SURE sdb is your USB drive! dd will happily overwrite any drive you tell it to.
 
  • Like
Reactions: m3110w and DaveQB
It should be written to the drive. Something like:

Code:
sudo dd if=spinrite.img of=/dev/sdb

Make SURE sdb is your USB drive! dd will happily overwrite any drive you tell it to.
You can check your current layout with
Code:
lsblk
- keep in mind your layout may change between boots, so be sure to check each time before using dd.

Alternatively pull up GParted and look at the drives in the drop-down at the top right.
 
  • Like
Reactions: ColbyBouma
I forgot to add: IIRC Easy2Boot uses imgptn files or somesuch. You may be able to use the .img file as a drop-in for E2B, or be able to with some small bit of work.

Then you won't have to have a dedicated flash drive containing only SR.