Documentation/Platforms/m68k: Difference between revisions
(Created page with "Linux Booting, installing and running the Mac Quadra 800 Download debian-10.0-m68k-NETINST-1.iso: Create a hard disk image to install onto: Extract the installation kernel...") |
No edit summary |
||
Line 7: | Line 7: | ||
Extract the installation kernel and initrd from the installation CD: | Extract the installation kernel and initrd from the installation CD: | ||
guestfish --add debian-10.0-m68k-NETINST-1.iso --ro --mount /dev/sda:/ | guestfish --add debian-10.0-m68k-NETINST-1.iso --ro --mount /dev/sda:/ | ||
<fs> copy-out /install/cdrom/initrd.gz . | <fs> copy-out /install/cdrom/initrd.gz . | ||
<fs> copy-out /install/kernels/vmlinux-4.16.0-1-m68k . | <fs> copy-out /install/kernels/vmlinux-4.16.0-1-m68k . | ||
Boot from CD image: | Boot from CD image: | ||
./qemu-system-m68k -boot d \ | ./qemu-system-m68k -boot d \ | ||
-M q800 -serial none -serial mon:stdio -m 1000M \ | -M q800 -serial none -serial mon:stdio -m 1000M \ | ||
-net nic,model=dp83932 -net user \ | -net nic,model=dp83932 -net user \ | ||
-append "console=ttyS0 vga=off" \ | -append "console=ttyS0 vga=off" \ | ||
-kernel vmlinux-4.16.0-1-m68k \ | -kernel vmlinux-4.16.0-1-m68k \ | ||
-initrd initrd.gz \ | -initrd initrd.gz \ | ||
-drive file=m68k-deb10.qcow2,format=qcow2 \ | -drive file=m68k-deb10.qcow2,format=qcow2 \ | ||
-drive file=debian-10.0-m68k-NETINST-1.iso,format=raw,media=cdrom \ | -drive file=debian-10.0-m68k-NETINST-1.iso,format=raw,media=cdrom \ | ||
-nographic | -nographic | ||
Source for network-based installation: | Source for network-based installation: | ||
http://ftp.ports.debian.org | http://ftp.ports.debian.org | ||
/debian-ports/ | /debian-ports/ | ||
Boot from HD image: | Boot from HD image: | ||
Extract the kernel and initrd from the hard disk image | Extract the kernel and initrd from the hard disk image | ||
guestfish --add m68k-deb9.qcow2 --mount /dev/sda2:/ | guestfish --add m68k-deb9.qcow2 --mount /dev/sda2:/ | ||
<fs>copy-out /boot/vmlinux-4.16.0-1-m68k . | <fs>copy-out /boot/vmlinux-4.16.0-1-m68k . | ||
<fs>copy-out /boot/initrd.img-4.16.0-1-m68k . | <fs>copy-out /boot/initrd.img-4.16.0-1-m68k . | ||
./qemu-system-m68k -boot c \ | ./qemu-system-m68k -boot c \ | ||
-M q800 -serial none -serial mon:stdio -m 1000M \ | -M q800 -serial none -serial mon:stdio -m 1000M \ | ||
-net nic,model=dp83932 -net user \ | -net nic,model=dp83932 -net user \ | ||
-append "root=/dev/sda2 rw console=ttyS0 console=tty \ | -append "root=/dev/sda2 rw console=ttyS0 console=tty \ | ||
-kernel vmlinux-4.16.0-1-m68k \ | -kernel vmlinux-4.16.0-1-m68k \ | ||
-initrd initrd.img-4.16.0-1-m68k \ | -initrd initrd.img-4.16.0-1-m68k \ | ||
-drive file=m68k-deb10.qcow2,format=qcow2 \ | -drive file=m68k-deb10.qcow2,format=qcow2 \ | ||
-nographic | -nographic |
Revision as of 22:32, 1 December 2019
Linux Booting, installing and running the Mac Quadra 800
Download debian-10.0-m68k-NETINST-1.iso:
Create a hard disk image to install onto:
Extract the installation kernel and initrd from the installation CD:
guestfish --add debian-10.0-m68k-NETINST-1.iso --ro --mount /dev/sda:/ <fs> copy-out /install/cdrom/initrd.gz . <fs> copy-out /install/kernels/vmlinux-4.16.0-1-m68k .
Boot from CD image:
./qemu-system-m68k -boot d \ -M q800 -serial none -serial mon:stdio -m 1000M \ -net nic,model=dp83932 -net user \ -append "console=ttyS0 vga=off" \ -kernel vmlinux-4.16.0-1-m68k \ -initrd initrd.gz \ -drive file=m68k-deb10.qcow2,format=qcow2 \ -drive file=debian-10.0-m68k-NETINST-1.iso,format=raw,media=cdrom \ -nographic
Source for network-based installation:
http://ftp.ports.debian.org /debian-ports/
Boot from HD image: Extract the kernel and initrd from the hard disk image
guestfish --add m68k-deb9.qcow2 --mount /dev/sda2:/ <fs>copy-out /boot/vmlinux-4.16.0-1-m68k . <fs>copy-out /boot/initrd.img-4.16.0-1-m68k .
./qemu-system-m68k -boot c \ -M q800 -serial none -serial mon:stdio -m 1000M \ -net nic,model=dp83932 -net user \ -append "root=/dev/sda2 rw console=ttyS0 console=tty \ -kernel vmlinux-4.16.0-1-m68k \ -initrd initrd.img-4.16.0-1-m68k \ -drive file=m68k-deb10.qcow2,format=qcow2 \ -nographic