[intro | bootstrap | linux kernel | root filesystem | network boot | install on flash card ]

Linux on net4501

Installation onto the flash card

The flash card will present itself as an IDE disk. Login as root (no password) and use fdisk to set up the flash card as one large Linux partition. Don't bother to allocate any swap. Create and mount a filesystem and copy the prepared filesystem into /mnt. Set a root password, configure the network (if necessary) and install grub.

fdisk /dev/ide/host0/bus0/target0/lun0/disc
mke2fs -L / /dev/ide/host0/bus0/target0/lun0/disc/part1
mount /dev/ide/host0/bus0/target0/lun0/disc/part1 /mnt
ssh nfsserver tar -C /export/net4501 -cf - . | tar -C /mnt -xpvf -
chroot /mnt passwd root
chroot /mnt netconfig
chroot /mnt instgrub
umount /mnt

CAVEAT: Do not simply copy the nfs mounted root filesytem onto /mnt. This is because parts of the live filesystem have been obscured by ramdisks so the copied image will be incomplete.


Valid HTML 4.01! Valid CSS!

Peter Benie <peterb+linux-net4501@chiark.greenend.org.uk>