[Klug-general] Setting Boot Flag
Karl Lattimer
karl at qdh.org.uk
Tue Mar 4 15:23:18 GMT 2008
On Tue, 2008-03-04 at 15:13 +0000, Andrew Miller (Spode) wrote:
> Hello,
>
> Bit stuck here, and hoping someone has the information stuck in their
> heads somewhere. Been Googling for a good hour.
>
> In a Linux script I'm writing, I need it to be able to set the boot flag
> on a partition. Which means no interactivity. I know how I could do this
> with parted, but the minimal distro I'm using doesn't have it standard.
> I have fdisk and mkfs.ext3.
>
> Any ideas?
create an fdisk script
===== script file =====
#!/bin/fdisk /dev/disk
a
1
=======================
Or something to that effect.
K,
More information about the Kent
mailing list