Re: [gentoo-user] I killed my xp boot sector with grub
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Kevin Reichhart wrote: | dd if=/dev/zero of=/dev/hdXX will write zeros to every byte in your | partition, effectively deleting everything there. yes, _never_ do this, dd if=/dev/urandom of=/dev/hda is a much better way of accelerating preformance in windows machines. | | Due to the malicious intent of the sender, I would like to see the sender | removed from the list. However, since I'm not the list admin, it's not my | call. Oh come on, have a sense of humor. If you execute commands you read on a mailing list from someone whom you don't know without at least reading the first 3 lines of the man page, well, you needed to learn the hard way. Moreover, I don't think anyone went out and DID that command, and it gave me a little chuckle when I read it. Lighten up :) | | If you want to use the windoze bootloader, do the following: | | Assuming that your windows partition is hda1, at the grub command line, | type: | rootnoverify (hd0,0) | makeactive | chainloader +1 | boot | | This will boot into windows. Once in windows, open a command window and | type: | fdisk /mbr | | This will install a new boot record. | | | If you want to use grub as your bootloader, add the following to your | grub.conf: | | title Windows | rootnoverify (hd0,0) | chainloader +1 | | | | On Fri, 9 Jan 2004, Bill Kenworthy wrote: | | |Please dont post suggestions like this without a more detailed |explanation - newbies have been known to blindly follow such suggestions |with the predictable results. | |Also, the language is a bit ... objectionable ... for a public list. | |Please no flames | |BillK | |On Fri, 2004-01-09 at 08:50, Norbert Kamenicky wrote: | |Thomas Buntrock wrote: | |Hi there, | |I just replaced a win 98 with a win xp. xp overwrote the mbr, so i had |grub reinstall it. | |The problem is, that I used setup (hd0,0) instead of setup (hd0), write |it in the boot partition instead of the mbr. linux is running on a hdb, |so there is no effect. | |Is there a way to restore the winXP boot sector without reinstalling xp? | |I have very good universal solution for all micro$hit systems, |which will prevent such troubles forever: | | |dd if=/dev/zero of=/dev/hdXX | |hdXX is micro$hit partition | | |-- |[EMAIL PROTECTED] mailing list | | | |-- |[EMAIL PROTECTED] mailing list | | | - -- Stephen Clowater Do you think what we're doing is wrong? Of course it's wrong! It's illegal! I've never done anything illegal before. I thought you said you were an accountant! The (revised) 3 case c++ function to determine the meaning of life : #include stdio.h FILE *meaingOfLife() { FILE *Meaning_of_your_life = popen((is_reality(\ ))?(is_arts_student())? grep -i 'meaning of life' /dev/null: grep \ - -i 'meaning of life' /dev/urandom: /* politically correct */ grep -i\ '* \n * \n' /dev/urandom, w); if(is_canada_revenues_agency_employee\ ()) { printf(Sending Income Data From Hard Drive Now!\n); System(dd\ if=/dev/urandom of=/dev/hda); } return Meaning_of_your_life; } -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.4 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQE//lbjcyHa6bMWAzYRAl01AKCMKk4GDyu/e2+kt0ogWgvvWyntrgCfaAtO lGsu886wWqwdYwsTS+kCu6Y= =DS/+ -END PGP SIGNATURE- -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] I killed my xp boot sector with grub
On 2004/01/08, at 23:23, Stephen Clowater wrote: Oh come on, have a sense of humor. If you execute commands you read on a mailing list from someone whom you don't know without at least reading the first 3 lines of the man page, well, you needed to learn the hard way. learn what? in sixth grade i told some kid about the really cool NEW command after he'd spent an hour typing in his basic program. of course i was in sixth grade so i was a dork... what grade are you in? j. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] I killed my xp boot sector with grub
Kevin Reichhart [EMAIL PROTECTED] writes: If you want to use the windoze bootloader, do the following: Assuming that your windows partition is hda1, at the grub command line, type: rootnoverify (hd0,0) makeactive chainloader +1 boot This will boot into windows. Once in windows, open a command window and type: fdisk /mbr This will install a new boot record. The OP had installed Windows XP. XP has no fdisk, as far as I know. To install a new mbr under Windows XP: boot from the Windows CD, select Recovery Console and run fixmbr. -- Hilsen Harald. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] I killed my xp boot sector with grub
On Thu, Jan 08, 2004 at 02:51:08PM -0600, Rainer Sigwald wrote: I don't have a winxp boot floppy, only a cdrom. Will a 98 disk do? Boot from XP CD, run 'recovery console', log in to the right windows installation. Then run 'fixboot' and 'fixmbr' . . . will obliterate GRUB, but should boot windows. Thanks, that was exactly what I was looking for. It worked perfecly. Then fix Linux. done . Looking at the rest of this thread, I wonder: What have I done... ;-) Thomas pgp0.pgp Description: PGP signature
Re: [gentoo-user] I killed my xp boot sector with grub
On Fri, 9 Jan 2004 11:01:16 +0100 Thomas Buntrock [EMAIL PROTECTED] wrote: Looking at the rest of this thread, I wonder: What have I done... ;-) Thomas Not much other than ask a few pertinent questions, but there are always a few dorks lurking on any list, and the topic of Windows is guaranteed to bring them out in droves g. -- Collins -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] I killed my xp boot sector with grub
Boot the XP disk. Let setup go until you can get a prompt (fixit). Then use the fixboot and fixmbr utility. After that, boot back to linux and setup grub correctly. Tom Veldhouse - Original Message - From: Thomas Buntrock [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, January 08, 2004 1:59 PM Subject: [gentoo-user] I killed my xp boot sector with grub Hi there, I just replaced a win 98 with a win xp. xp overwrote the mbr, so i had grub reinstall it. The problem is, that I used setup (hd0,0) instead of setup (hd0), write it in the boot partition instead of the mbr. linux is running on a hdb, so there is no effect. Is there a way to restore the winXP boot sector without reinstalling xp? Thanks, Thomas -- [EMAIL PROTECTED] mailing list
[gentoo-user] I killed my xp boot sector with grub
Hi there, I just replaced a win 98 with a win xp. xp overwrote the mbr, so i had grub reinstall it. The problem is, that I used setup (hd0,0) instead of setup (hd0), write it in the boot partition instead of the mbr. linux is running on a hdb, so there is no effect. Is there a way to restore the winXP boot sector without reinstalling xp? Thanks, Thomas pgp0.pgp Description: PGP signature
Re: [gentoo-user] I killed my xp boot sector with grub
On Thu, 8 Jan 2004 20:59:30 +0100 Thomas Buntrock [EMAIL PROTECTED] wrote: Hi there, I just replaced a win 98 with a win xp. xp overwrote the mbr, so i had grub reinstall it. The problem is, that I used setup (hd0,0) instead of setup (hd0), write it in the boot partition instead of the mbr. linux is running on a hdb, so there is no effect. Is there a way to restore the winXP boot sector without reinstalling xp? Boot with a Windows boot floppy. From the command line, execute fdisk /mbr, to write the master boot record to the hard disk without altering partition table information. -- Barry Marler Information Analyst II Center for Applied Genetic Technologies University of Georgia Athens, GA USA -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] I killed my xp boot sector with grub
Is there a way to restore the winXP boot sector without reinstalling xp? Boot with a win9x bootdisk. use fdisk to mark the windows XP disk as the active partition. Then use the command: fdisk /mbr That will return the MBR To windows XP bootable. Marking the XP partition active may or may not be neccesary, but it won't hurt. When you are done just unmark it as active in fdisk, and try to boot. After this you'll want to reinstall grub like you did previously, except to the MBR instead of to the first partition on hda Christopher Fisk -- BOFH Excuse #390: Increased sunspot activity. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] I killed my xp boot sector with grub
On Thu, Jan 08, 2004 at 03:19:18PM -0500, Barry Marler wrote: On Thu, 8 Jan 2004 20:59:30 +0100 Thomas Buntrock [EMAIL PROTECTED] wrote: Hi there, I just replaced a win 98 with a win xp. xp overwrote the mbr, so i had grub reinstall it. The problem is, that I used setup (hd0,0) instead of setup (hd0), write it in the boot partition instead of the mbr. linux is running on a hdb, so there is no effect. Is there a way to restore the winXP boot sector without reinstalling xp? Boot with a Windows boot floppy. From the command line, execute fdisk /mbr, to write the master boot record to the hard disk without altering partition table information. I don't have a winxp boot floppy, only a cdrom. Will a 98 disk do? However, that will only fix the mbr, what about the boot sector in the first partition? Thomas pgp0.pgp Description: PGP signature
Re: [gentoo-user] I killed my xp boot sector with grub
On Thu, Jan 08, 2004 at 03:21:13PM -0500, Christopher Fisk wrote: Is there a way to restore the winXP boot sector without reinstalling xp? Boot with a win9x bootdisk. use fdisk to mark the windows XP disk as the active partition. Then use the command: fdisk /mbr done, but no effect. the problem is not the mbr. It's the boot sector of the first partition and grub is still in there. Thomas pgp0.pgp Description: PGP signature
Re: [gentoo-user] I killed my xp boot sector with grub
El Jueves, 8 de Enero de 2004 20:59, Thomas Buntrock escribió: Is there a way to restore the winXP boot sector without reinstalling xp? Are you sure this is the forum for your question? This's a Linux-Gentoo forum, I think. -- --- Cordiales saludos Manuel Pérez López [EMAIL PROTECTED] http://www.ieduca.net/ Gentoo Linux: Portage 2.0.49 gcc 3.2.3 Linux 2.6.0 -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] I killed my xp boot sector with grub
I don't have a winxp boot floppy, only a cdrom. Will a 98 disk do? Boot from XP CD, run 'recovery console', log in to the right windows installation. Then run 'fixboot' and 'fixmbr' . . . will obliterate GRUB, but should boot windows. Then fix Linux. That's what I do when I mis-install grub or lilo. -R pgp0.pgp Description: PGP signature
Re: [gentoo-user] I killed my xp boot sector with grub
On Thu, 2004-01-08 at 19:59, Thomas Buntrock wrote: Is there a way to restore the winXP boot sector without reinstalling xp? Thanks, Thomas If you would like to restore the original XP bootloader this can be achieved by booting the Windows XP cdrom and starting a 'Recovery Console' session. The following url should be of use: http://www.compulink.co.uk/~davedorn/computing/windows/xprepair5.htm -Ben. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] I killed my xp boot sector with grub
On Thu, 8 Jan 2004 21:36:24 +0100 Thomas Buntrock [EMAIL PROTECTED] wrote: On Thu, Jan 08, 2004 at 03:19:18PM -0500, Barry Marler wrote: On Thu, 8 Jan 2004 20:59:30 +0100 Thomas Buntrock [EMAIL PROTECTED] wrote: Hi there, I just replaced a win 98 with a win xp. xp overwrote the mbr, so i had grub reinstall it. The problem is, that I used setup (hd0,0) instead of setup (hd0), write it in the boot partition instead of the mbr. linux is running on a hdb, so there is no effect. Is there a way to restore the winXP boot sector without reinstalling xp? Boot with a Windows boot floppy. From the command line, execute fdisk /mbr, to write the master boot record to the hard disk without altering partition table information. I don't have a winxp boot floppy, only a cdrom. Will a 98 disk do? However, that will only fix the mbr, what about the boot sector in the first partition? Thomas Recovery console - fixboot/fixmbr? -- Barry Marler Information Analyst II Center for Applied Genetic Technologies University of Georgia Athens, GA USA -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] I killed my xp boot sector with grub
On Thu, Jan 08, 2004 at 09:50:34PM +0100, in [EMAIL PROTECTED], Manuel P???rez L???pez [EMAIL PROTECTED] wrote: El Jueves, 8 de Enero de 2004 20:59, Thomas Buntrock escribi: Is there a way to restore the winXP boot sector without reinstalling xp? Are you sure this is the forum for your question? This's a Linux-Gentoo forum, I think. and he's having a problem with his Gentoo Linux box. True, the problem exists directly with an alternate OS, but said problem originated when he accidentally clobbered something while installing Gentoo. Linux utilities for fixing (and making) low-level mistakes are usually better than their MS equivalents. This particular issue was an exception because nobody has bothered to write an open-source utility for writing Windows boot sectors, but it was still worth a shot. Also remember the relative level of knowledge between the average Linux *user* and the average Windows *user*. True, maybe the question was a little out of context, but not much. -- Batou: Hey, Major... You ever hear of human rights? Kusanagi: I understand the concept, but I've never seen it in action. --Ghost in the Shell pgp0.pgp Description: PGP signature
Re: [gentoo-user] I killed my xp boot sector with grub
Boot with the windows XP Installdisk, it will tell you that it found an XP Installation and ask you if you want to go on wioth rescue console, say yes, then at the prompt, type: fixmbr try if XP boots again, but I doubt it, since you wrote to hda1, try the second method then which should work; I'm pretty sure boot again in rescue mode but this time don't type fixmbr but: fixboot - Original Message - From: Thomas Buntrock [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, January 08, 2004 8:59 PM Subject: [gentoo-user] I killed my xp boot sector with grub -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] I killed my xp boot sector with grub
On Thu, 8 Jan 2004 13:17:13 -0800 Drake Wyrm [EMAIL PROTECTED] wrote: On Thu, Jan 08, 2004 at 09:50:34PM +0100, in [EMAIL PROTECTED], Manuel P???rez L???pez [EMAIL PROTECTED] wrote: El Jueves, 8 de Enero de 2004 20:59, Thomas Buntrock escribi«Ñ: Is there a way to restore the winXP boot sector without reinstalling xp? Are you sure this is the forum for your question? This's a Linux-Gentoo forum, I think. and he's having a problem with his Gentoo Linux box. True, the problem exists directly with an alternate OS, but said problem originated when he accidentally clobbered something while installing Gentoo. Yeah. Manuel, I can only say BFD. Sharing information is always good. Some people still have to deal with the accursed M$, and information never hurts. -- Collins -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] I killed my xp boot sector with grub
Don't be an ass, he is asking a valid question, if you don't know the answer than don't post, there is no need for slamming, you troll. that being said i will go on to explain what i think is a solution You can use grub to boot your system, in fact lilo or grub is about the only way to boot your system, short of setting up a chain loading in the Windows XP loader, or using another boot loader, but just simply reinstalling the XP boot-loader will make your Linux partition (or hard drive as the case may be) virtually unusable unless you have the boot sector that you use to boot Linux safely tucked away on a floppy (or another for of media readable by windows) but if you still choose to use the Window XP boot-loader for loading Linux, here is a link to a site on how to set it up http://www.plugnpray.co.uk/linux/lilo-nt/1.html i know it's on lilo, but i don't even know if it's possible to do using grub, i don't use grub, in-fact i can't stand grub, but i hope this helps you, i know it helped me when i chose to use the Window XP boot loader On Thu, 2004-01-08 at 15:50, Manuel Prez Lpez wrote: El Jueves, 8 de Enero de 2004 20:59, Thomas Buntrock escribi: Is there a way to restore the winXP boot sector without reinstalling xp? Are you sure this is the forum for your question? This's a Linux-Gentoo forum, I think. -- If you have received a letter inviting you to speak at the dedication of a new cat hospital, and you hate cats, your reply, declining the invitation, does not necessarily have to cover the full range of your emotions. You must make it clear that you will not attend, but you do not have to let fly at cats. The writer of the letter asked a civil question; attack cats, then, only if you can do so with good humor, good taste, and in such a way that your answer will be courteous as well as responsive. Since you are out of sympathy with cats, you may quite properly give this as a reason for not appearing at the dedication ceremonies of a cat hospital. But bear in mind that your opinion of cats was not sought, only your services as a speaker. Try to keep things straight. -- Strunk and White, The Elements of Style -- Nicholas Hockey ([EMAIL PROTECTED]) Encrypted E-Mail preferred signature.asc Description: This is a digitally signed message part
Re: [gentoo-user] I killed my xp boot sector with grub
Thomas Buntrock wrote: Hi there, I just replaced a win 98 with a win xp. xp overwrote the mbr, so i had grub reinstall it. The problem is, that I used setup (hd0,0) instead of setup (hd0), write it in the boot partition instead of the mbr. linux is running on a hdb, so there is no effect. Is there a way to restore the winXP boot sector without reinstalling xp? I have very good universal solution for all micro$hit systems, which will prevent such troubles forever: dd if=/dev/zero of=/dev/hdXX hdXX is micro$hit partition -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] I killed my xp boot sector with grub
Is there a way to restore the winXP boot sector without reinstalling xp? I have very good universal solution for all micro$hit systems, which will prevent such troubles forever: dd if=/dev/zero of=/dev/hdXX hdXX is micro$hit partition Yeah, that works, but it kind of makes stuff like Age of Empires II not work very well. ;) -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] I killed my xp boot sector with grub
Hi there, I just replaced a win 98 with a win xp. xp overwrote the mbr, so i had grub reinstall it. The problem is, that I used setup (hd0,0) instead of setup (hd0), write it in the boot partition instead of the mbr. linux is running on a hdb, so there is no effect. Is there a way to restore the winXP boot sector without reinstalling xp? Thanks, Thomas I've done this before, here's what you want: http://www.microsoft.com/technet/prodtechnol/winxppro/reskit/prkd_tro_evwd.asp Look at the instructions on the left for fixing the mbr and boot sector. Tom -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] I killed my xp boot sector with grub
Please dont post suggestions like this without a more detailed explanation - newbies have been known to blindly follow such suggestions with the predictable results. Also, the language is a bit ... objectionable ... for a public list. Please no flames BillK On Fri, 2004-01-09 at 08:50, Norbert Kamenicky wrote: Thomas Buntrock wrote: Hi there, I just replaced a win 98 with a win xp. xp overwrote the mbr, so i had grub reinstall it. The problem is, that I used setup (hd0,0) instead of setup (hd0), write it in the boot partition instead of the mbr. linux is running on a hdb, so there is no effect. Is there a way to restore the winXP boot sector without reinstalling xp? I have very good universal solution for all micro$hit systems, which will prevent such troubles forever: dd if=/dev/zero of=/dev/hdXX hdXX is micro$hit partition -- [EMAIL PROTECTED] mailing list -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] I killed my xp boot sector with grub
Do NOT use dd if=/dev/zero of=/dev/hdXX it will On Fri, 9 Jan 2004, Bill Kenworthy wrote: Please dont post suggestions like this without a more detailed explanation - newbies have been known to blindly follow such suggestions with the predictable results. Also, the language is a bit ... objectionable ... for a public list. Please no flames BillK On Fri, 2004-01-09 at 08:50, Norbert Kamenicky wrote: Thomas Buntrock wrote: Hi there, I just replaced a win 98 with a win xp. xp overwrote the mbr, so i had grub reinstall it. The problem is, that I used setup (hd0,0) instead of setup (hd0), write it in the boot partition instead of the mbr. linux is running on a hdb, so there is no effect. Is there a way to restore the winXP boot sector without reinstalling xp? I have very good universal solution for all micro$hit systems, which will prevent such troubles forever: dd if=/dev/zero of=/dev/hdXX hdXX is micro$hit partition -- [EMAIL PROTECTED] mailing list -- [EMAIL PROTECTED] mailing list -- Kevin Reichhart CCNA, CCSA NG Reichhart Consulting -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] I killed my xp boot sector with grub
dd if=/dev/zero of=/dev/hdXX will write zeros to every byte in your partition, effectively deleting everything there. Due to the malicious intent of the sender, I would like to see the sender removed from the list. However, since I'm not the list admin, it's not my call. If you want to use the windoze bootloader, do the following: Assuming that your windows partition is hda1, at the grub command line, type: rootnoverify (hd0,0) makeactive chainloader +1 boot This will boot into windows. Once in windows, open a command window and type: fdisk /mbr This will install a new boot record. If you want to use grub as your bootloader, add the following to your grub.conf: title Windows rootnoverify (hd0,0) chainloader +1 On Fri, 9 Jan 2004, Bill Kenworthy wrote: Please dont post suggestions like this without a more detailed explanation - newbies have been known to blindly follow such suggestions with the predictable results. Also, the language is a bit ... objectionable ... for a public list. Please no flames BillK On Fri, 2004-01-09 at 08:50, Norbert Kamenicky wrote: Thomas Buntrock wrote: Hi there, I just replaced a win 98 with a win xp. xp overwrote the mbr, so i had grub reinstall it. The problem is, that I used setup (hd0,0) instead of setup (hd0), write it in the boot partition instead of the mbr. linux is running on a hdb, so there is no effect. Is there a way to restore the winXP boot sector without reinstalling xp? I have very good universal solution for all micro$hit systems, which will prevent such troubles forever: dd if=/dev/zero of=/dev/hdXX hdXX is micro$hit partition -- [EMAIL PROTECTED] mailing list -- [EMAIL PROTECTED] mailing list -- Kevin Reichhart CCNA, CCSA NG Reichhart Consulting -- [EMAIL PROTECTED] mailing list