PDA

View Full Version : Reading/Setting Boot Flag



Sleeper
11-01-2003, 06:35 PM
Is there any way to read the boot flag on partiton?

Is there any way to set the boot flag?

I know that bootpage -f flips the boot flag. This is not good enough for my purposes.

TheWickedPriest
11-01-2003, 08:16 PM
Originally posted by Sleeper
Is there any way to read the boot flag on partiton?bootpage -b


Is there any way to set the boot flag?bootpage -B

These show up in the help screen when I run my x86 version with no parameters, but strangely not with the MIPS version on my Tivo. Here's the whole thing:

Usage: bootpage [options] <device>

options:
-p get current boot parameters
-P <params> set current boot parameters to <params>
-b get boot partition
-B <partition> set boot partition to <partition>
-a get alternate partition
-A <partition> set alternate partition to <partition>
-h get hostname
-H <hostname> set hostname to <hostname>
-i get ip address
-I <ipaddress> set ip address to <ipaddress>
-m get MAC address
-M <macaddress> set mac address to <macaddress
-f flip boot partitions
-W <filename> save current bootpage to <filename>
-C write bootpage to <device>

Sleeper
11-02-2003, 01:20 PM
Thanks,

I ran bootpage on my MIPS tivo as well and I did not see those options. Thanks again.

Sleeper