Seeking advice for single-disk multi-boot with Windows XP already installed.
I have been upgrading and swapping out hardware on my PC for over 15 years. The last "fresh" install was Windows 98, then I upgraded to Windows XP Pro in 2002 (updated to Service Pack 3).
My PC is capable of running a 64bit OS and even has 4GB of ram (more than Windows XP 32bit can use). I want to try working with a GNU/Linux Desktop. I've installed many GNU/Linux servers but never tried a multi-boot Desktop.
I'd like some advice on multi-boot setups (as many as 3 or 4 OSes)
I have a single 1TB hard drive that is about half full with Windows XP. I have an external 1TB drive being formatted now and i'll use my Clonezilla CD to image my PC drive before I start (just in case)
- I have a small Knoppix OS on a bootable USB stick that has gparted. I know how to resize and create partitions. I'm looking for suggestions on partition sizes and other things I might not be thinking of.
This is my general plan:
1) resize my current Windows XP parition and create new partitions:
1a) the current windows
XP remains a primary parition, just smaller.
1b) I need to create a new
primary /boot parition (100 MB) for grub.
1c) I need to create a new
primary /swap partition (8GB) that can be used by any of the GNU/Linux systems. I recall that the /swap partition should be the double the size of your RAM?
1d) I need to create new root "/" partitions for any other OS I want.
1e) I figure all these extra OSes will be able to read the existing Windows XP NTFS partition. That's where i'll continue to save most of my data. I won't need separate /home paritions for each OS.
what are good sizes for each system? I was thinking: Ubuntu 10 64bit (40GB) CentOS 5.5 64bit (40GB) Windows 7 Ultimate (40GB)
- I haven't bought Windows 7 yet. I'm getting more and more "family tech support" questions about it from friends and relatives who have bought new computers with Windows 7 pre-installed. I hear that Windows 7 doesn't play well with multi-boot systems?
-- additional--
I like my current PC. I like many of the old programs I have that do what I want them to do quickly with a minimum of memory required. I use "Textpad 3.2.5" daily and frequently use programs like "LView Pro 1.2D" and "Cool Edit 96". I have too many minor programs and software installed to contemplate starting over and re-installing stuff i may or may not use.
--edit spelling/formatting--
submitted by
LXicon to
techsupport
How to use ViewContainerRef with dynamic components from factories in Angular 9?
Hi all, I am new to the community here and was hoping you all would be able to help me.
This question relates directly to a public Angular API:
http://angular.io/api/core/ViewContainerRef#insert I am dynamically loading components from their ngFactories via this code.
I have upgraded from Angular 8.2 to 9.1 and seeing some errors in the way my components are loaded into a view. This code was working perfectly fine until the upgrade to angular 9.1:
// Create a view for the component to be inserted into ViewChild('myView', { read: ViewContainerRef, static: true }) myView: ViewContainerRef; // Grab dynamic module let moduleFactory: NgModuleFactory = myNgFactory; // Create reference using the current code's injector let moduleReference = moduleFactory.create(this.injector); // Grab the component factory from the module let componentFactory = moduleReference.componentFactoryResolver.resolveComponentFactory(myComponentFactory); // Create the component let component = componentFactory.create(moduleReference.injector); // Then insert into myView this.myView.insert(component.hostView);
The error happens on the last line, when trying to run the `ViewContainerRef.insert`
Error:
ERROR TypeError: Cannot read property '1' of undefined at ViewContainerRef.insert(core.js:15711) ...
The error happens here in the console (compiled core):
insert(viewRef, index) { /** @type {?} */ const lView = (/** @type {?} */(((/** @type {?} */(viewRef)))._lView)); const tView = lView[TVIEW]; ^^^^^^^^ ... }
I found higher in the core.js file that the `const TVIEW = 1`
The direct Angular code reference (code has not changed from Angular 8 to 9 as far as I can tell):
http://github.com/angulaangulablob/9.1.x/packages/core/src/view/refs.ts#L207 I found a similar question but I am receiving a different error:
http://stackoverflow.com/questions/61809302/angular-9-isssue-with-dynamic-component-load
I was hoping posting would allow folks to share some ideas or point me in the right direction where things are going wrong or if this is even possible in the Angular 9 Ivy compiler? Any help on this is much appreciated!
submitted by
DWhitSlaya to
angular