Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Booting mfslinux from a pre-partitioned HD #4

Open
Intensity opened this issue Mar 7, 2019 · 1 comment
Open

Booting mfslinux from a pre-partitioned HD #4

Intensity opened this issue Mar 7, 2019 · 1 comment

Comments

@Intensity
Copy link

@mmatuska I'm wondering what the most straightforward way is to build an mfslinux image then install it to a hard drive that's already pre-partitioned. This partition has sufficient space to hold the mfslinux image; it's just that a dd to the raw device would overwrite the existing partition table.

Would I use a chainloader, like grub, installed to the first sector(s) of /dev/sda with second stage install to some other partition (16MB /dev/sda1 for BIOSGRUB data, then a 128MB /dev/sda2 for the mfslinux image)? Would FreeBSD's chainloading system work here? What about Super Grub Disk?

Perhaps some of these options might require a slight change in the format of the built mfslinux image. My intent is to install to an available HD partition so that the system auto-boots into a mfslinux RAM disk without any user intervention necessary (perhaps upon boot, the options auto time out to boot into the mfslinux image existing on another partition).

Any ideas are appreciated.

@mmatuska
Copy link
Owner

Technically you need a correctly configured boot loader like GRUB (or even syslinux) and a place to store the vmlinuz and initramfs.igz files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants