Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I uninstalled Ubuntu, and noticed it wiped out the MBR. I figured I could fix this by booting into recovery mode, but the only thing that loads is "grub rescue"
does anyone know which commands I need to type to get windows 7 to boot? one problem is that I have no access to use or buy a USB flash drive or blank CDs / DVDs to use red hat or any other recovery software at the moment, so unfortunetely the only option I have is through the grub rescue command prompt.
when I type "ls" I get:
(hd0) (hd0,msdos3) (hd0,msdos2) (hd0,msdos1)
when I type "set" I get:
prefix=(hd0,msdos6)/boot/grub
root=hd0
any help is appreciated,
thank you.
Last edited by michaeljstinsman; 02-27-2012 at 02:02 AM.
And just how did you "uninstall Ubuntu" ?. Give as much info as possible.
What makes you think it "wiped out the MBR" ?. It looks to me like grub2 is still in the MBR.
Do you still have the Ubuntu CD, or a Win7 recovery CD/DVD ?.
thanks for the reply. well, in true American fashion I hastily "uninstalled" it by going to disk management in win7, and deleting the the main & swap partitions, then extended the win7 partition to fill the void. I know the mbr record is gone because before I rebooted I went to msconfig and checked the BOOT.INI tab. there was nothing listed. I don't have the recovery CD it is built in to the operating system and inaccessable due to the mbr wipe. I don't have the ubuntu disk either, it is packed away in storage.
yes, it is a laptop (presario CQ56).. booting into system recovery at the bios splash was how I intended on fixing the problem to begin with, but since the boot.ini is missing, pressing F11 takes me right to the grub rescue. it does say loading system recovery when I press F11 on boot, but I think it relied on the boot record to tell it where the recovery partition was.
Last edited by michaeljstinsman; 02-27-2012 at 11:06 AM.
I myself am not experienced in it but am setting up 1 of my machines to be a pxe-boot server.
So if no one has posted on how to do it I will post back the results & if successful howto do it.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.