Thanks a lot. I tried that, but whenever I try to boot to RHL, the system restarts. My config is a little wierd: Partition 1: Drive C NTFS--System Partition 2: Linux /boot Partition 3: Linux root (beyond LILOs 1,024 cylinder limit) Partition 4: Linux Swap Partition 5: Drive E NTFS--Boot (don't ask why, I can't figure it out) So, I installed LILO to the /boot partition and used dd, but it didn't work. Argh! Why must NT hijack my MBR?!
sultan_of_6string
Posts
-
Fixed... yet another query -
Fixed... yet another queryThanks for the response. You seem to know about this so could you help me out here? I've read about this stuff of copying the first 512 bytes, but it doesn't seem to make sense. Won't it corrupt my NTFS partition? If you could give me a few points or link me to a decent article, it would be great. Plus, I got the strange feeling I'm posting on the wrong website... any suggestions? Thanks.
-
DirectXYou want to do this with DirectDraw? Sorry, but that still isn't simple!
-
Fixed... yet another queryOkay, I got over the LILO problem in my last post, but I've got another problem. The genius that is the Windows installer has made C: my system partition and D: my boot partition. I need to make C: my boot partition as well (cuz D is beyond the 1024 cylinder limit of LILO). How do I do this? Simply copying ntldr and company doesn't work. Thanks.
-
Red Had Linux screwed XPSo, I needed to install RHL 7.1 for academic reasons. I deleted one of my extra NTFS partitions and installed RHL into it. The thing is, I installed LILO to the MBR. RHL setup didn't detect my XP boot partition. Manually adding it to lilo.conf results in an error: NTLDR not found. What have I done? How do I fix it? Thanks.
-
to C.NET or not to C.NETYeah, the CLR runs the same, but the C# and VB.NET compilers are really bad at optimizing code. I found that out with ildasm, and I think there is an article on MSDN about performance tuning .NET which admits the same thing.
-
Linked List?As I learnt while writing an article on an MC++ linked list, that is very, very slow. The only way to put a managed pointer into an unmanaged class is using the gcroot template, which is extremely, extremely slow. By the way, I created a linked list in C# that I'll post as an article in a few weeks. It is faster than ArrayList on some accounta and vice-versa.
-
to C.NET or not to C.NETQuite frankly, it doesn't matter what language you choose (VB.NET C# or MC++) because they all work the same framework and 99% of what they can do is the same. MC++ is the most powerful and most flexible, but can be the biggest pain, as you don't have a GUI interface for designing forms/windows. C# and VB.NET are practically identical, except that C# can work with pointers (which I've never had a use for). If you're really performance oriented, create the front-end in C#/VB.NET and the back-end in MC++, as the C#/VB compilers suck.
-
DirectX and .NetI strongly recommend you don't even try. COM Marshalling is really slow. You're best off creating a Managed C++ class library that contains native DirectX code. Still, there are some features such as Direct3D FVFs that are impossible to implement as managed code.
-
command lineThe default VB projects normally create Sub Main(), kinda like void main() in C++. Well, just like in C++, there are other "versions" of the main function: Sub Main(ByVal CmdArgs() As String) Function Main() As Integer Function Main(ByVal CmdArgs() As String) As Integer Just replace the default with the one you need.
-
Removing CR-LF's from a string using RegexWhoa! So easy! Thanks a lot. I was doing something really wierd.
-
Removing CR-LF's from a string using RegexHi! I've got these strings that have \r\n's in them. I wanted to know if there is a way to remove them from the string using the .NET regular expression engine, instead of StringBuilder. Thanks and sorry about the double-post.
-
file renamingUse System.IO.File.Move(originalName, newName); After all, renaming is just moving it to the same folder with a different name.
-
Windows XP is incompatible with Windows XPSo this is my third clean install of XP Pro. It runs fine through an administrator account, but when when one logs on as a user, IE enters long, deep sleeps while visiting Hotmail.com and Windows Messenger refuses to start up. How do I cure this bitch?
-
HTML rendering in C#Hi! I need to be able to view web pages in a C# application. Does anyone know how to use the IE or Mozilla engine in .NET?
-
HEEEEELP!!!!Sounds like your making a graph. Well, whatever it is, you could easily write a translation function. I don't know what the properties and function names are, but the following pseudo-code should give you the idea Point TranslatePoint(Point p) { Point q; q.x = p.x; q.y = Window.Height - p.y; return q; }
-
IL QuestionAfter disassembling the Managed C++ code, I realized that I can optimize it better than the compiler. However, the MC++ included some native code which can't be disassembled with ildasm so I can't compile it with ilasm. Besides, since the stuff is managed, it doesn't really matter what language I write in; I like C#.
-
IL QuestionBy Microsoft's own admission, the C# compiler is not much of an optimizer. I need to get a particular class working blazing fast, so I'm using ildasm to get the IL, modifying it and ilasm-ing it back to a PE. I need to know what's a faster way to push two references to the current object onto the stack: ldarg.0 ldarg.0 OR ldarg.0 dup Thanks
-
MFC Combobox help please...To generate random numbers, use the srand(time(NULL)) to seed the generator. Then use rand() to get a random number between 0 and MAX_INT (4 billion or so). To scale this massive range down to that of your listbox, use this formula: rand() % listbox.ItemCount (or whatever the property is) That will generate a number between zero and listbox.ItemCount - 1. You +/- and constant value if you need to shift the lower limit or use rand() % (listbox.ItemCount + x) to shift the upper limit.
-
Template Troubles (Solved)Hehe!;)