Results 1 to 4 of 4

Thread: Bootpage parms

  1. #1
    Join Date
    Dec 2004
    Posts
    831

    Bootpage parms

    Is there any single location on this forum (or anywhere else for that matter) that has all the bootpage parameters listed? 'Sort of a MAN page for bootpage?
    Having trouble with TyTool? Try TyTool Documentation
    Need to hack an S3 / THD? Try S3 Hacking Script

  2. #2
    Join Date
    May 2004
    Posts
    253
    Code:
    -p dev		- print existing args
    -P string dev	- set args to "string"
    -D dev		- create default boot page on dev
    -B num		- set primary boot to partition num
    -A num		- set alternate boot to partition num
    -b dev		- print current value of primary boot
    -a dev		- print current value of alternate boot
    -f dev		- swap (flip) values of primary and alternate boot partitions
    
    examples:
        bootpage -p /dev/hda
        bootpage -P 'root=/dev/hda4 dsscon=true console=2,115200 upgradesoftware=false' /dev/hda

  3. #3
    Join Date
    Dec 2004
    Posts
    831

    Wow, that wqas quick!

    Well, that works. Thank you for the complete and very prompt response.
    Having trouble with TyTool? Try TyTool Documentation
    Need to hack an S3 / THD? Try S3 Hacking Script

  4. #4
    Join Date
    Jun 2006
    Location
    Dougal County
    Posts
    1,007
    From bootpage.c :
    Code:
    static void usage(char *progname) {
    	printf("Usage: %s [options] <device>\n"
    		"\n"
    		"options:\n"
    		"	-p		get current boot parameters\n"
    		"	-P <params>	set current boot parameters to <params>\n"
    		"	-b		get boot partition\n"
    		"	-B <partition>	set boot partition to <partition>\n"
    		"	-a		get alternate partition\n"
    		"	-A <partition>	set alternate partition to <partition>\n"
    		"	-h		get hostname\n"
    		"	-H <hostname>	set hostname to <hostname>\n"
    		"	-i		get ip address\n"
    		"	-I <ipaddress>	set ip address to <ipaddress>\n"
    		"	-m		get MAC address\n"
    		"	-M <macaddress>	set mac address to <macaddress\n"
    		"	-f		flip boot partitions\n"
    		"	-W <filename>	save current bootpage to <filename>\n"
    		"	-C		write bootpage to <device>\n"
    		,progname);
    	exit(1);
    }
    The bootpage version on the tivo also includes the -q switch which dumps pretty much everything above at once.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •