LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 09-10-2007, 10:33 AM   #1
kinnth
LQ Newbie
 
Registered: Jul 2006
Posts: 12

Rep: Reputation: 0
deleted the GRUB and linux partitions


Hello all,

I recently installed opensuse 10.2 alongside my xp. I had been using it and playing around however the main problem was that I couldnt get on the net because the drivers for my usb wireless device are not available for linux. I tried an ndis wrapper workaround but couldnt figure it out.

I decided to delete all linux associated partitions including the boot (which i now see was a big mistake!)

I used acronis disk director to wipe the partition but on booting back up I get the error 22 GRUB loader not found and I hang.

I have a rescue disk for grub which I loaded up and it tried to find the GRUB automatically but with no success. I can use this rescue cd to boot into windows which is what I have done now.

Could someone help me either reinstall the grub so that the boot sequence works or remove it so that the computer just boots upto windows.

Is there a way to install the GRUB only from the opensuse 10.2 full dvd?

Thanks for your time.
 
Old 09-10-2007, 11:55 AM   #2
TruongAn
Member
 
Registered: Dec 2004
Location: Vietnam (Việt Nam)
Distribution: Gentoo (desktop), Arch linux (laptop)
Posts: 728

Rep: Reputation: 33
Reinstall Master boot record, ask a windower 'bout how to do it in DOS
 
Old 09-11-2007, 02:06 AM   #3
themanwhowas
Member
 
Registered: Nov 2005
Distribution: CentOS 5, Fedora 23
Posts: 216

Rep: Reputation: 29
Quote:
Originally Posted by TruongAn
ask a windower
Indeed. Whack in your windows cd and when it loads choose to enter the recovery console. from here type "fixmbr" without the quotes
 
Old 09-11-2007, 02:44 AM   #4
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
Thewomanwhowas gives a quick guide, below is a complete guide on how to use the Windows XP disk to restore the MBR of a Windows only system. If you don't have a Windows XP CD, I believe the UBCD4Win CD will restore it for you, google it.
Code:
To restore Windows XP MBR

1: Boot with Windows XP CD in the drive
2: Hit any key to boot from the CD
3: Wait for installer to load drivers in memory
4: When asked to press enter to install, type: r
5: When asked which Windows installation would you like to log onto, 
if there is only one, type: 1  (and hit enter)
6: When asked to type the Administrator password, I hit enter without 
typing anything which will be the administrator password for most OEM 
Windows installations, (No password). If you installed Windows XP 
yourself and added an administrator password, type this password.
7: At the prompt type: fixmbr   (and hit enter)
-**CAUTION** and a warning appear
8: When asked "Are you sure you want to write a new MBR?:" type: y
-The new master boot record has been successfully written.
9: When the prompt returns, type: exit
-The computer re-boots and Windows kernel is loaded.
 
Old 09-13-2007, 03:36 PM   #5
kinnth
LQ Newbie
 
Registered: Jul 2006
Posts: 12

Original Poster
Rep: Reputation: 0
ndiswrapper

thanks people.

In the end i reinstalled opensuse and that fixed it. I think im going to change the GRUB default load to windows and I have found out how to do that on the forums.

My new problem is to do with ndiswrapper and a zoom wireless USB 4100 card, to get my network working.

So far I followed the ndis workthrough found here

http://ndiswrapper.sourceforge.net/j...,installation/

I managed to unzip it and am upto the make part.

I get an error message saying "cannot find kernel build files"

I had a browse around the lib folder kernel section but wasnt too sure which files it wants in particular. I have only just installed the x64 version of opensuse could someone please let me know where the default kernel build files are located.

thanks.
 
Old 09-14-2007, 03:28 AM   #6
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
Depends which kernel is installed, the output of the command: uname -r will show which one. According to RPM SEARCH, you should have the following installed -->linux-kernel-headers-2.6.18.2-3.x86_64.rpm, if that don't match your currently installed version, go there and look for em'. If they are installed, they will be at /usr/src/uname -r/linux/include or something. (bunch of files ending in (.h).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Deleted Linux Partition, now grub not working Muzzleloader Linux - Newbie 2 03-25-2007 09:36 PM
Linux & Windows partitions label were deleted Dr_Death_UAE Linux - General 5 02-21-2006 05:06 AM
deleted linux partition adn the boot loader was deleted also,now i have only gnu grub boris199 Linux - Laptop and Netbook 2 01-29-2005 05:53 PM
linux grub deleted during formatting windows ashutosh_singh Linux - Newbie 1 09-11-2004 01:39 PM
Deleted partitions, stuck in grub Linux_n00b Linux - Newbie 1 11-30-2001 02:31 PM


All times are GMT -5. The time now is 05:23 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration