Rolf
]]>I know on archlinux you can do the following. Ive never tried this on an sd card or devuan though.
grub-install --target=i386-pc --recheck --boot-directory=/DATA_MOUNTPOINT/boot /dev/sdX3
That way it wont add itself to the grub menu on your hdd and you can boot from the bios. But check below link for more info as you will then need to configure grub on the drive. Go to the section on "Configuring GRUB"
I didnt realize grub-install has so many options. I used this and was able to get grub into the MBR, and get to its grub prompt. Still couldnt boot due to more grub problems.
But thats ok, this did what I needed; get from bios to SD card.
I think the root problem is my declining that grub install step way back on the netinstall. Grub was probably just os-probing and found my harddrive install. Got confused. I will try a reinstall and see how it goes.
]]>There is no difference between SD card and HDD. Just install bootloader on SD card when installer will ask you. You can also chroot to your SD card and install GRUB manually.
I think that is what OP is having an issue with ?
Ive only ever done this with archbang linux and used the installer to install system to /dev/sdb1 then chroot and install grub for multiboot as i linked to in last post of mine. I will have to do an experiment and see if i can install devuan to an sd card.
]]>grub-install --target=i386-pc --recheck --boot-directory=/DATA_MOUNTPOINT/boot /dev/sdX3
That way it wont add itself to the grub menu on your hdd and you can boot from the bios. But check below link for more info as you will then need to configure grub on the drive. Go to the section on "Configuring GRUB"
]]>What I am attempting to do-
Install Devuan Ascii netinstall to an SD card/drive as legacy MBR. The PC has a harddrive, the netinstall medium is a USB drive as sdb, and the SD card is sdc.
The install went fine; was able to setup partitions for sdc and install the Devuan system to sdc. The problem comes during the install when grub gets installed. At first, the default for grub appears that it wants to install grub on the harddrive, which is NOT what I want. I suspect this because it found my existing Devuan system that resides on the harddrive. I canceled out of this step and then it presented me with options to install grub to harddrive, sdb, or sdc. I chose sdc, to install grub on the actual SD card. All seemed to go well, install completed.
I then booted into newly install SD card, but bios reports no media found. Yes, I made all the changes to bios to set the SD card as 1st boot and all that. Tried booting on another PC, same problem. I then examined the 1st sectors of the SD card and there is no code in the MBR area. No 55AAh at 01FE. Thus grub did not install itself into MBR.
Am I mistaken that you can install grub onto the SD card, do I need to use the harddrive grub (hopefully not)? Has anyone successfully done what I am trying to do?
]]>