Re: Setting bootable flag on partition non-interactively.

2010-02-02 Thread Eric Gerlach
On Mon, Feb 01, 2010 at 02:14:55PM -0600, Tim Legg wrote: > Hello all, > > Any suggestions on how to set a bootable flag non-interactively? > > > > Reason: > > I am creating a kiosk that restores itself from a saved image every time > the machine is booted. A while ago I created a kiosk works

Re: Setting bootable flag on partition non-interactively.

2010-02-01 Thread Stephen Powell
On Mon, 1 Feb 2010 15:14:55 -0500 (EST), Tim Legg wrote: > Hello all, > Any suggestions on how to set a bootable flag non-interactively? sfdisk -A See the man page for sfdisk for details. For example, sfdisk -A 1 /dev/hda will mark the first partion on /dev/hda active and mark all other pa

Setting bootable flag on partition non-interactively.

2010-02-01 Thread Tim Legg
Hello all, Any suggestions on how to set a bootable flag non-interactively? Reason: I am creating a kiosk that restores itself from a saved image every time the machine is booted. This system is very minimal; the partitions are quite small. The image of the 2nd partition is stored as a file