|
Archives
D Programming
DD.gnu digitalmars.D digitalmars.D.bugs digitalmars.D.dtl digitalmars.D.dwt digitalmars.D.announce digitalmars.D.learn digitalmars.D.debugger C/C++ Programming
c++c++.announce c++.atl c++.beta c++.chat c++.command-line c++.dos c++.dos.16-bits c++.dos.32-bits c++.idde c++.mfc c++.rtl c++.stl c++.stl.hp c++.stl.port c++.stl.sgi c++.stlsoft c++.windows c++.windows.16-bits c++.windows.32-bits c++.wxwindows digitalmars.empire digitalmars.DMDScript |
digitalmars.D - [OT] Emergency: Getting my boot back!!
My laptop is WinXP, and I had Linux on it. I've only tried the Linux a couple of times, since the shared FAT partition I hoped would enable me to work with both OSs always came back corrupted in XP's eyes. GRUB is (was) the loader The first 500MB is the first partition, which is FAT. Stupidly, last night I tried to run CONVERT on it, to make it NTFS, and then changed my mind before (I thought) it had done anything. Now it won't load. All I can get is the GRUB command screen, and I know *nothing* about how to get back my partition from there. Or, if I use the WinXP recovery disk, I can get into the woop-de-doop management console (i.e. a crippled DOS box) and I *nothing* about how to get back my partition from there. The C:\boot.ini file is still ok. If anyone knows how to tell the MBR or whatever to "go windows" and see C:\boot.ini, I would be **massively** grateful. Many thanks in advance Cheers Matthew Feb 02 2006
I know this won't be a helpful comment at this point, but over and over I hear about the grief people have from running multiboot systems. What I do is just buy a cheapo extra box, and then use a KVM switch. It has a nice side effect that you can run them simultaneously. Feb 02 2006
"Walter Bright" <newshound digitalmars.com> wrote in message news:dru2fi$1lkb$1 digitaldaemon.com...I know this won't be a helpful comment at this point, Feb 02 2006
Matthew wrote:The problem was encountered on my laptop. I'd installed the Linux boot over a year ago and abandoned attempts to use it. It's just that I was stupid enough to start messing with the boot partition on a machine on which there was uncomitted data - code and three chapters! - while in the last two-week high-pressure phase of trying to get my book finished. Feb 02 2006
"Matthew" <matthew hat.stlsoft.dot.org> wrote in message news:dru2pj$1lsh$1 digitaldaemon.com...The problem was encountered on my laptop. I'd installed the Linux boot over a year ago and abandoned attempts to use it. It's just that I was stupid enough to start messing with the boot partition on a machine on which there was uncomitted data - code and three chapters! - while in the last two-week high-pressure phase of trying to get my book finished. Feb 02 2006
Walter Bright wrote:I know this won't be a helpful comment at this point, but over and over I hear about the grief people have from running multiboot systems. What I do is just buy a cheapo extra box, and then use a KVM switch. It has a nice side effect that you can run them simultaneously. Feb 02 2006
Matthew wrote:My laptop is WinXP, and I had Linux on it. I've only tried the Linux a couple of times, since the shared FAT partition I hoped would enable me to work with both OSs always came back corrupted in XP's eyes. GRUB is (was) the loader The first 500MB is the first partition, which is FAT. Stupidly, last night I tried to run CONVERT on it, to make it NTFS, and then changed my mind before (I thought) it had done anything. Now it won't load. All I can get is the GRUB command screen, and I know *nothing* about how to get back my partition from there. Or, if I use the WinXP recovery disk, I can get into the woop-de-doop management console (i.e. a crippled DOS box) and I *nothing* about how to get back my partition from there. The C:\boot.ini file is still ok. If anyone knows how to tell the MBR or whatever to "go windows" and see C:\boot.ini, I would be **massively** grateful. Many thanks in advance Cheers Matthew Feb 02 2006
"John Reimer" <terminal.node gmail.com> wrote in message news:dru2ui$1m0q$1 digitaldaemon.com...Matthew wrote:My laptop is WinXP, and I had Linux on it. I've only tried the Linux a couple of times, since the shared FAT partition I hoped would enable me Feb 02 2006
Matthew wrote:The boot partition is (or was) C: The WinXP OS partition is D: I've tried "fixboot X:" and "fixmbr X:", with C and D serving as different permutations of X, but to no avail. It keeps whittering about not being able to find "<Windows root>\system32\hal.dll", which would obviously trouble the little dear. I'm going to try "fixmbr multi(0)disk(0)rdisk(0)partition(2)" and "fixmbr multi(0)disk(0)rdisk(0)partition(2)\Windows", after which I truly have no clue. Oh dear, I *really* don't want to reinstall this friggin thing. Any other ideas? Feb 03 2006
Booting from an XP CD into the recovery console and trying 'fixmbr' and 'fixboot' commands might be useful. http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/bootcons_fixmbr.mspx See also fixboot and diskpart links on that page. The fixXXX commands don't seem to be available in normal XP console, but only on the recovery console. If you can't get anything to boot, pulling the HD and getting it into another machine to recover is probably easier than trying to reinstall without killing data. I've had very good results with GetDataBack from www.runtime.org - not free, but I've used it and it does work - especially on systems which just have a dead MBR and all the data is intact. Matthew wrote:My laptop is WinXP, and I had Linux on it. I've only tried the Linux a couple of times, since the shared FAT partition I hoped would enable me to work with both OSs always came back corrupted in XP's eyes. GRUB is (was) the loader The first 500MB is the first partition, which is FAT. Stupidly, last night I tried to run CONVERT on it, to make it NTFS, and then changed my mind before (I thought) it had done anything. Now it won't load. All I can get is the GRUB command screen, and I know *nothing* about how to get back my partition from there. Or, if I use the WinXP recovery disk, I can get into the woop-de-doop management console (i.e. a crippled DOS box) and I *nothing* about how to get back my partition from there. The C:\boot.ini file is still ok. If anyone knows how to tell the MBR or whatever to "go windows" and see C:\boot.ini, I would be **massively** grateful. Many thanks in advance Cheers Matthew Feb 02 2006
Alex Stevenson wrote:Booting from an XP CD into the recovery console and trying 'fixmbr' and 'fixboot' commands might be useful. http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/bootcons_fixmbr.mspx See also fixboot and diskpart links on that page. The fixXXX commands don't seem to be available in normal XP console, but only on the recovery console. If you can't get anything to boot, pulling the HD and getting it into another machine to recover is probably easier than trying to reinstall without killing data. I've had very good results with GetDataBack from www.runtime.org - not free, but I've used it and it does work - especially on systems which just have a dead MBR and all the data is intact. Feb 02 2006
Can you remove the laptop hard-drive, and plug it into another machine as a second disk? You'll need a 2.5" to IDE adapter cable to hook it up to a desktop machine ... the drive does not need to be bootable for doing that, and you say the files appear to be intact. This would at least allow you to make a backup of your work. - Kris "Matthew" <matthew hat.stlsoft.dot.org> wrote in message news:dru0dd$1k15$1 digitaldaemon.com...My laptop is WinXP, and I had Linux on it. I've only tried the Linux a couple of times, since the shared FAT partition I hoped would enable me to work with both OSs always came back corrupted in XP's eyes. GRUB is (was) the loader The first 500MB is the first partition, which is FAT. Stupidly, last night I tried to run CONVERT on it, to make it NTFS, and then changed my mind before (I thought) it had done anything. Now it won't load. All I can get is the GRUB command screen, and I know *nothing* about how to get back my partition from there. Or, if I use the WinXP recovery disk, I can get into the woop-de-doop management console (i.e. a crippled DOS box) and I *nothing* about how to get back my partition from there. The C:\boot.ini file is still ok. If anyone knows how to tell the MBR or whatever to "go windows" and see C:\boot.ini, I would be **massively** grateful. Many thanks in advance Cheers Matthew Feb 02 2006
No, but that's not a prob anyway, as I always do multi-partitions, and so all the essential work is on the H: drive. So the work's never really *gone*, just a couple of days of installation away. Sort of good news, of course, but not really "Kris" <fu bar.com> wrote in message news:dru61f$1o51$1 digitaldaemon.com...Can you remove the laptop hard-drive, and plug it into another machine as Feb 02 2006
Many, many thanks for all the suggestions. I am back and running. The fixboot and fixmbr did the trick, it was just that I also needed to make the partition list correspond with what was expected in boot.ini. Rest assured I am *never* trying any of that again, and will be purchasing Ghost and/or PartitionMagic (- any opinions on either/alternatives??) forthwith. Thanks again. Very very happy bunny here. You're all getting a credit in my book! :-) Cheers Matthew Feb 02 2006
"Matthew" <matthew hat.stlsoft.dot.org> wrote in message news:dru7qu$1pjn$1 digitaldaemon.com...Many, many thanks for all the suggestions. I am back and running. The fixboot and fixmbr did the trick, it was just that I also needed to make the partition list correspond with what was expected in boot.ini. Rest assured I am *never* trying any of that again, and will be purchasing Ghost and/or PartitionMagic (- any opinions on either/alternatives??) forthwith. Feb 02 2006
Matthew wrote:Many, many thanks for all the suggestions. I am back and running. The fixboot and fixmbr did the trick, it was just that I also needed to make the partition list correspond with what was expected in boot.ini. Rest assured I am *never* trying any of that again, and will be purchasing Ghost and/or PartitionMagic (- any opinions on either/alternatives??) forthwith. Thanks again. Very very happy bunny here. You're all getting a credit in my book! :-) Cheers Matthew Feb 03 2006
Matthew wrote:My laptop is WinXP, and I had Linux on it. I've only tried the Linux a couple of times, since the shared FAT partition I hoped would enable me to work with both OSs always came back corrupted in XP's eyes. GRUB is (was) the loader The first 500MB is the first partition, which is FAT. Stupidly, last night I tried to run CONVERT on it, to make it NTFS, and then changed my mind before (I thought) it had done anything. Now it won't load. All I can get is the GRUB command screen, and I know *nothing* about how to get back my partition from there. Or, if I use the WinXP recovery disk, I can get into the woop-de-doop management console (i.e. a crippled DOS box) and I *nothing* about how to get back my partition from there. The C:\boot.ini file is still ok. If anyone knows how to tell the MBR or whatever to "go windows" and see C:\boot.ini, I would be **massively** grateful. Many thanks in advance Cheers Matthew Feb 02 2006
James Dunne wrote:If you'd like to run Linux, but not have to deal with the (apparent?) messiness of dual-booting, you can check out http://colinux.org/. It's a fabulous tool that allows you to run a slightly modified Linux kernel (pre-compiled disk images available for boot) *alongside* Windows. It's not virtual PC technology; the two are actually running cooperatively alongside each other. You get a nice Linux console popping up on your Windows desktop. You can even share disk partitions between the two systems. Very cool. Feb 02 2006
Sean Kelly wrote:James Dunne wrote:If you'd like to run Linux, but not have to deal with the (apparent?) messiness of dual-booting, you can check out http://colinux.org/. It's a fabulous tool that allows you to run a slightly modified Linux kernel (pre-compiled disk images available for boot) *alongside* Windows. It's not virtual PC technology; the two are actually running cooperatively alongside each other. You get a nice Linux console popping up on your Windows desktop. You can even share disk partitions between the two systems. Very cool. Feb 03 2006
On 2006-02-02 14:20:01 -0800, "Matthew" <matthew hat.stlsoft.dot.org> said:My laptop is WinXP, and I had Linux on it. I've only tried the Linux a couple of times, since the shared FAT partition I hoped would enable me to work with both OSs always came back corrupted in XP's eyes. GRUB is (was) the loader The first 500MB is the first partition, which is FAT. Stupidly, last night I tried to run CONVERT on it, to make it NTFS, and then changed my mind before (I thought) it had done anything. Now it won't load. All I can get is the GRUB command screen, and I know *nothing* about how to get back my partition from there. Or, if I use the WinXP recovery disk, I can get into the woop-de-doop management console (i.e. a crippled DOS box) and I *nothing* about how to get back my partition from there. The C:\boot.ini file is still ok. If anyone knows how to tell the MBR or whatever to "go windows" and see C:\boot.ini, I would be **massively** grateful. Many thanks in advance Cheers Matthew Feb 02 2006
|