User:Immolo/Qemu m68k
From Gentoo Wiki
Jump to:navigation
Jump to:search
Partition
Use mac-fdisk to create the partition map.
root #
mac-fdisk /dev/sda
- Press
i
to initialize partition map. - Press
b
to create boot partition, enter 64 as the first black and press return. - Press
c
to create a Linux partition and enter 1664 as the first block, create the partition to the desired size. - Press
l
to see the next available block. - Press
C
to create a swap parition, enter4p
as the first block and size to use the remaining space. - Confirm the choices and write to disk with
w
.
File Systems
root #
mkfs.ext4 /dev/sda3
root #
mkswap /dev/sda4
Mount
root #
mkdir /mnt/gentoo
root #
mount /dev/sda3 /mnt/gentoo
root #
swapon /dev/sdb4
Gentoo Stage
unpack create stage in /mnt/gentoo
Chroot in
Do chroot stuff here
Portage
root #
emerge-webrsync
root #
emerge --sync