LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM
User Name
Password
Slackware - ARM This forum is for the discussion of Slackware ARM.

Notices


Reply
  Search this Thread
Old 09-08-2020, 02:27 PM   #1
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,431

Rep: Reputation: 2591Reputation: 2591Reputation: 2591Reputation: 2591Reputation: 2591Reputation: 2591Reputation: 2591Reputation: 2591Reputation: 2591Reputation: 2591Reputation: 2591
Thought Experiment - Twin OS data disk?


This is a Post I made on the hardware forum Thought Experiment And nobody is crying yet over spilt milk.

The question seems to boil down to this: will the RazPi tolerate an X86 grub MBR on the /boot partition? It's just the MBR, I gather.

So on a RazPi: OS will ignore grub and cow-tow to the eeprom's tune.
And on X86_64, it will read the mbr, jump to the appropriate partition, and boot there. Everything else can be sorted.

Any contributions welcome.
 
Old 09-12-2020, 02:32 AM   #2
elcore
Senior Member
 
Registered: Sep 2014
Distribution: Slackware
Posts: 1,858

Rep: Reputation: Disabled
No experience with RazPi or EFI, but I did read the other thread in hardware forum.
What is normally done on x86 when the loader is not flexible; chainloading is configured in another loader.
In case of 2 loaders where none is flexible, they pass the loading job to one another with a chain module.
 
Old 09-13-2020, 04:02 AM   #3
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,431

Original Poster
Rep: Reputation: 2591Reputation: 2591Reputation: 2591Reputation: 2591Reputation: 2591Reputation: 2591Reputation: 2591Reputation: 2591Reputation: 2591Reputation: 2591Reputation: 2591
The very first thing the RazPi 4 EEprom does is d/l the firmware file bootcode.bin, which is the gpu firmware. I suppose the only test of whether a dual boot will work is to install a grub mbr to a usb. That will pick up in an X86 box, I hope, and try it. I will report back. I'll just need to investigate grub a little. I presume it's the usual?
Code:
grub-install /dev/sda
 
Old 09-13-2020, 05:12 AM   #4
sndwvs
Senior Member
 
Registered: Aug 2014
Posts: 2,154

Rep: Reputation: Disabled
try using bootmenu
 
Old 09-13-2020, 08:15 AM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 26,646

Rep: Reputation: 6280Reputation: 6280Reputation: 6280Reputation: 6280Reputation: 6280Reputation: 6280Reputation: 6280Reputation: 6280Reputation: 6280Reputation: 6280Reputation: 6280
I don’t think it will matter. The eeprom only cares about reading the vfat partition for the firmware etc and eventually booting the kernel. It cares not about the 0-445 bytes, just the partition table. What is in the MBR is just grub stage 1. I would not expect problems but without testing you never know exactly what will happen.
 
Old 09-13-2020, 08:29 AM   #6
fatmac
LQ Guru
 
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: One main distro, & some smaller ones casually.
Posts: 5,829

Rep: Reputation: Disabled
Syslinux is another option, it loads Linux from a FAT partition.

https://www.syslinux.org/old/faq.php
 
Old 09-13-2020, 02:44 PM   #7
Exaga
SARPi Maintainer
 
Registered: Nov 2012
Distribution: Slackware ARM, AArch64
Posts: 1,071

Rep: Reputation: 687Reputation: 687Reputation: 687Reputation: 687Reputation: 687Reputation: 687
Quote:
Originally Posted by fatmac View Post
Syslinux is another option, it loads Linux from a FAT partition.
Linux and FAT partitions aren't exactly the best of friends. sync;sync
 
Old 09-14-2020, 04:02 AM   #8
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,431

Original Poster
Rep: Reputation: 2591Reputation: 2591Reputation: 2591Reputation: 2591Reputation: 2591Reputation: 2591Reputation: 2591Reputation: 2591Reputation: 2591Reputation: 2591Reputation: 2591
I'm surprised. I always found linux handled fat ok. Now fat32 is a crap filesystem imho, and fat16 is worse again. Windows has dropped fat, IIRC. You have to d/l a windows driver for it. And there's poor security, no ownership bits, etc. etc.

Anyhow, fatmac has tried it(Thanks, fatmac), it being grub mbr on a FAT RPi boot partition and it works. Thank you all for your thoughts. That leaves open this sort of dual boot usb
  1. RPI /boot
  2. X86 /boot & maybe EFI
  3. Rpi filesystem
  4. Linux filesystem
  5. Common data partition (for movies, data exchange, weather logs, Rpi & Linux images or isos, whatever).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
VM HDD on RAM Disk Thought Experiment wagscat123 Linux - Virtualization and Cloud 8 03-13-2017 03:31 PM
[SOLVED] A Security/Privacy thought experiment taylorkh Linux - Security 10 06-03-2011 06:56 PM
Physics: Thought experiment ErrorBound General 9 03-20-2007 04:11 PM
gf4 twin view (crt goes blank) mart Linux - Hardware 2 08-22-2003 04:19 PM
Argh! It's a Scsi-amese twin! unSpawn General 1 01-24-2002 05:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM

All times are GMT -5. The time now is 01:04 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration