Notes on building the alternative Robots

Documenting the linux e-box + usb I/0 board project

Disk /dev/sdd: 4034 MB, 4034838528 bytes
255 heads, 63 sectors/track, 490 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sdd1   *           1         462     3710983+  83  Linux
/dev/sdd2             463         490      224910    5  Extended
/dev/sdd5             463         490      224878+  82  Linux swap / Solaris

Or

Disk /dev/sdd: 4009 MB, 4009549824 bytes
128 heads, 63 sectors/track, 971 cylinders
Units = cylinders of 8064 * 512 = 4128768 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sdd1   *           1         920     3709408+  83  Linux
/dev/sdd2             921         971      205632    5  Extended
/dev/sdd5             921         971      205600+  82  Linux swap / Solaris

copy command

cd /media/OLD
find ./ -xdev -print0 | cpio -pa0V /media/NEW 

A GRUB install can also be done with the –recheck option to suppress the “no corresponding BIOS image” error:

grub-install --root-directory=/mnt/point/of/root --recheck /dev/sd[whatever]

This left /boot/grub/device.map a bit wonky, but worked anyway–I changed it appropriately on bot02 even so.

What to change?

  • /etc/udev/rules.d/70-persistent-net.rules to match ethernet mac address

change hostname in:

  • /etc/hostname
  • /etc/hosts
  • /etc/mailname
  • /etc/exim4/update-exim4.conf.conf