patch to allow MINIX to boot from ext2.
To create a setup with MINIX on ext2, follow these steps:
- Assumptions:
- there exists a primary partition c0dApB with a MINIX installation
with GRUB support (/boot/image_latest exists on /dev/c0dApB)
- there exists a free primary partition c0dCpD
- Create an ext2 filesystem on c0dApB (from Linux, until Tthom
has ported mke2fs)
- Follow these steps (from a MINIX CD with ext2 support, another MINIX
installation (not c0dApB) or Linux >= 2.6.35):
mkdir /mnt/mfs /mnt/ext2
mount /dev/c0dApBs0 /mnt/mfs
mount /dev/c0dApBs1 /mnt/mfs/home
mount /dev/c0dApBs2 /mnt/mfs/usr
mount /dev/c0dCpD /mnt/ext2
synctree -f /mnt/mfs /mnt/ext2
echo root=/dev/c0dCpD > /mnt/ext2/etc/fstab
(note: no subpartitions used because that would confuse an unmodified
bootloader)
- Add the new MINIX installation to GRUB according to steps 7&8 in
http://wiki.minix3.org/en/SummerOfCode2010/MultiBoot/HowTo
33 lines
629 B
Plaintext
33 lines
629 B
Plaintext
boot
|
|
235 400
|
|
d--755 0 0
|
|
bin d--755 0 0
|
|
cdprobe ---755 0 0 cdprobe
|
|
dev2name ---755 0 0 dev2name
|
|
loadramdisk ---755 0 0 loadramdisk
|
|
mount ---755 0 0 mount
|
|
newroot ---755 0 0 newroot
|
|
sh ---755 0 0 sh
|
|
service ---755 0 0 service
|
|
sysenv ---755 0 0 sysenv
|
|
$
|
|
sbin d--755 0 0
|
|
at_wini ---755 0 0 at_wini
|
|
bios_wini ---755 0 0 bios_wini
|
|
ext2 ---755 0 0 ext2
|
|
floppy ---755 0 0 floppy
|
|
pci ---755 0 0 pci
|
|
mfs ---755 0 0 mfs
|
|
$
|
|
dev d--755 0 0
|
|
@DEV@
|
|
$
|
|
etc d--755 0 0
|
|
system.conf ---644 0 0 system.conf
|
|
mtab ---644 0 0 mtab
|
|
passwd ---644 0 0 passwd
|
|
rc ---755 0 0 rc
|
|
rs.single ---755 0 0 rs.single
|
|
$
|
|
$
|