On Thu, 2008-02-28 at 16:57 +0000, Mark Rogers wrote:
Jim Rippon wrote:
Could you download the USB image http://webconverger.org/usb/ and dd that onto your hard drive, the same way you would for a USB stick? I don't know how this would affect your ability to set things read-only, but I would have though a change to /etc/fstab should be sufficient to lock the system down?
No idea, but I can give that a try - thanks for the suggestion. I'll try it in a VMWare VM first and see what happens.
Should I be dd'ing it direct to the drive (ie to /dev/hda) or to a partition (/dev/hda1)? Presumably the latter if I want to also have a swap partition, in which case I'll need to separately install grub?
I would dd the file to the drive (/dev/hda), have a look at the partition table to see what has been created. My suspicion is that it will have created one or more partitions from the image, and you can then create your own swap partitions within.
Alternatively, you could dd the CD ISO into a partition (/dev/hda1) and either install grub to the MBR or set the partition bootable from your favourite partition editor.