Slackware - ARM This forum is for the discussion of Slackware ARM. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
09-08-2020, 02:27 PM
|
#1
|
LQ Guru
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,431
|
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.
|
|
|
09-12-2020, 02:32 AM
|
#2
|
Senior Member
Registered: Sep 2014
Distribution: Slackware
Posts: 1,858
Rep: 
|
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.
|
|
|
09-13-2020, 04:02 AM
|
#3
|
LQ Guru
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,431
Original Poster
|
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
|
|
|
09-13-2020, 05:12 AM
|
#4
|
Senior Member
Registered: Aug 2014
Posts: 2,154
Rep: 
|
|
|
|
09-13-2020, 08:15 AM
|
#5
|
Moderator
Registered: Aug 2002
Posts: 26,646
|
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.
|
|
|
09-13-2020, 08:29 AM
|
#6
|
LQ Guru
Registered: Sep 2011
Location: Upper Hale, Surrey/Hants Border, UK
Distribution: One main distro, & some smaller ones casually.
Posts: 5,829
Rep: 
|
Syslinux is another option, it loads Linux from a FAT partition.
https://www.syslinux.org/old/faq.php
|
|
|
09-13-2020, 02:44 PM
|
#7
|
SARPi Maintainer
Registered: Nov 2012
Distribution: Slackware ARM, AArch64
Posts: 1,071
|
Quote:
Originally Posted by fatmac
Syslinux is another option, it loads Linux from a FAT partition.
|
Linux and FAT partitions aren't exactly the best of friends. sync;sync
|
|
|
09-14-2020, 04:02 AM
|
#8
|
LQ Guru
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,431
Original Poster
|
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 - RPI /boot
- X86 /boot & maybe EFI
- Rpi filesystem
- Linux filesystem
- Common data partition (for movies, data exchange, weather logs, Rpi & Linux images or isos, whatever).
|
|
|
All times are GMT -5. The time now is 01:04 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|