View Full Version : bootpage doesn't work
gbonawitz
03-06-2007, 08:51 PM
I've recently noticed that I can no longer use the bootpage command. It's not that I need to switch boot partitions, but ever since I upgraded to 8.1 the command doesn't seem to work...
bash-2.02# bootpage -p /dev/hda
root=/dev/hda7 dsscon=true console=2,115200 upgradesoftware=false
bash-2.02#
bash-2.02# bootpage -f /dev/hda
Updated boot page on /dev/hda
bash-2.02#
bash-2.02# bootpage -p /dev/hda
root=/dev/hda7 dsscon=true console=2,115200 upgradesoftware=false
Thoughts? The Tivo boots up fine and runs OK. Should I run MakeTivoBootable? (That doesn't screw up any recordings if I understand it correctly - it just rewrites the boot sector).
Thanks
lgkahn
03-06-2007, 09:55 PM
could it be that it knows nothing is installed in the other partition so it is smart enought to not let you flip partitions.. what is bootpage -b
ScanMan
03-06-2007, 10:21 PM
I've recently noticed that I can no longer use the bootpage command. It's not that I need to switch boot partitions, but ever since I upgraded to 8.1 the command doesn't seem to work...
bash-2.02# bootpage -p /dev/hda
root=/dev/hda7 dsscon=true console=2,115200 upgradesoftware=false
bash-2.02#
bash-2.02# bootpage -f /dev/hda
Updated boot page on /dev/hda
bash-2.02#
bash-2.02# bootpage -p /dev/hda
root=/dev/hda7 dsscon=true console=2,115200 upgradesoftware=false
Thoughts? The Tivo boots up fine and runs OK. Should I run MakeTivoBootable? (That doesn't screw up any recordings if I understand it correctly - it just rewrites the boot sector).
Thanks
That is entirely normal output. The 'bootpage -f' command merely 'flips' the boot/alternate kernel partition. That is not the same as your root filesystem (root=/dev/hda7). Bootpage will never flip that by itself, you would always have to re-write the bootpage parameters if you want to change root to /dev/hda4. As lgkahn said, check 'bootpage -b' and 'bootpage -a' which will give you the boot and alternate kernel partitions. You should see that change after the 'bootpage -f' command. You might want to look at a bootpage man page here (http://www.gratisoft.us/tivo/bootpage.html) for more info.
gbonawitz
03-06-2007, 11:21 PM
Ok...
bootpage -p /dev/hdd
root=/dev/hda7 dsscon=true console=2,115200 upgradesoftware=false
bootpage -b /dev/hdd
Boot Partition: 4
bootpage -a /dev/hdd
Alt Partition: 7
bootpage -f /dev/hdd
bootpage -b /dev/hdd
Boot Partition: 4
bootpage -a /dev/hdd
Alt Partition: 7
Ummm...looking back thru some old notes, shouldn't boot partition/alt partition be 3 or 6?
PlainBill
03-06-2007, 11:58 PM
Ok...
Ummm...looking back thru some old notes, shouldn't boot partition/alt partition be 3 or 6?
An early version of bootpage had a number of bugs, including reporting the wrong value for the boot partition. It would appear that is what you are using. Get a newer tools cd.
PlainBill
lgkahn
03-06-2007, 11:59 PM
yes if you have a hacked box it should be 1 partition lower
ie are you sure hdd is the correct drive doesnt sound right it should be hda
what kind of tivo is it ie
(none):/var/tmp$ bootpage -b
No device name given, assuming /dev/hda
3
(none):/var/tmp$
(none):/var/tmp$ bootpage -p
No device name given, assuming /dev/hda
root=/dev/hda4 dsscon=true console=2,115200 upgradesoftware=false
(none):/var/tmp$
(none):/var/tmp$
yes I believe you are passing the wrong drive see it shows hda not hdd on your boot line...
gbonawitz
03-07-2007, 12:11 AM
PlainBill - I'm using PTV Tools v3.0 but will look for another [more recent version].
lgkahn - I know that when the drive is in the Tivo, it is hda however when I mount it in my desktop chassis it ends up being hdd hence why I use /dev/hdd. Are you saying that I must have the Tivo drive as the primary master when in my desktop?
Thanks guys for all of your assistance BTW...
gbonawitz
03-07-2007, 07:07 AM
I ended up just ignoring the output of bootpage -b and running the -B and -A again to set to 6 and 3, and things seem to be fine.
vBulletin® v3.7.3, Copyright ©2000-2008, Jelsoft Enterprises Ltd.