i am going to be replacing the old wiring in my house but the new panel is going in the basement when i get it dug out but i need to get the old knob and tube out of the house for insurance reasons. as it sits right now the whole house is ran on one 20 amp breaker and the breaker for the 240 v are miss matched and split for the dryer and stove so you can understand me wanting to get this done asap
so can i put junction boxes in the attic and when i get the new panel in just run power to them or not?
If your intent is to, from the junction boxes, connect to the conductors which disappear into the wall cavity and would not be accessible without opening the walls, then yes you can.
However, you'll need to correctly identify the switch legs as well as the neutrals from switched fixtures as these may not be readily apparent and may exist as a melded conductor in a joist bay.
As you are abandoning the K & T, save a couple of the tubes as they make excellent knife sharpeners for utility and pocket knives.
Be careful to avoid sharp bends when forming to enter the J boxes. I use the typical 3/8's romex connectors, for each conductor, not those for MC, wrap the conductor with electricians friction tape, then with vinyl electricians tape.
In furtherance of your update, eliminating the K & T will afford you the ability to insulate the attic, or increase its depth.
You'll just need to remember to"can-out" where the K & T remains.