LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-01-2010, 06:25 AM   #1
da_boobster
LQ Newbie
 
Registered: Aug 2010
Posts: 2

Rep: Reputation: 0
Removing grub


I have a netbook with a XP/SuSE dualboot and I want to get rid of SuSE, I have EASEUS partition and I know thats probably the easiest way to get rid of it, but the problem is the loading screen, seeing as im on a netbook, the xp disk is out of the question and I lack a usb cd drive, how would I go about removing grub?
 
Old 08-02-2010, 12:27 AM   #2
tommyttt
Member
 
Registered: Oct 2009
Location: Federal Way, WA
Distribution: openSUSE 11.4 x86_64, openSuSE 12.1, Fedora 15
Posts: 207

Rep: Reputation: 34
Quote:
Originally Posted by da_boobster View Post
I have a netbook with a XP/SuSE dualboot and I want to get rid of SuSE, I have EASEUS partition and I know thats probably the easiest way to get rid of it, but the problem is the loading screen, seeing as im on a netbook, the xp disk is out of the question and I lack a usb cd drive, how would I go about removing grub?
Hi Da_boobster;

When you got your netbook, what was installed on it? Windows, linux, both? I'm not familiar with netbooks so I'm making some guesses about your system. Was windows on it when you bought it or added later? Same for linux?

Assuming windows was preinstalled it should have had a recovery tool of some kind, either appearing during boot or hidden in a hidden partition.

Please post the output of "fdisk -l" from a terminal
Code:
sudo fdisk -l
That will show us what the partitions are and what type they are.

How was linux installed? Did you find someone who had it pre-installed? Again, I'm assuming it has no optivcal drive to install from. Did you make a backup of the system to include the MBR when it was new? I'm asking these questions because the answers will affect further advice on how to restore windows boot.

Tom
 
Old 08-02-2010, 06:24 AM   #3
Larry Webb
LQ Veteran
 
Registered: Jul 2006
Location: Crystal Beach, Texas
Distribution: Suse for mail +
Posts: 5,100
Blog Entries: 7

Rep: Reputation: 229Reputation: 229Reputation: 229
The easy way for me would be use a usb memory stick.
 
Old 08-02-2010, 01:09 PM   #4
jefro@jefro.net
LQ Newbie
 
Registered: Mar 2009
Location: Northern California
Distribution: MontaVista, Ubuntu, Fedora, Angstrom
Posts: 1

Rep: Reputation: 0
Do you mean you want to get rid of grub in the MBR? Or you want to get rid of openSUSE and use the reclaimed disk space?

There is no real reason to get rid of grub as a bootloader. You can simply set it to boot Windows, write it to the MBR, and you should be set. In fact it already knows how to boot Windows since this is a dual-boot machine, so you just need to set it to do so by default.

1. sudo vi /boot/grub/menu.lst and move the Windows entry to the top of the list.
1a. if you are getting rid of openSUSE, remove its entries.

2. write the new grub config to the MBR like this:
% sudo grub
grub> root (hd0,0)
grub> setup (hd0)
grub> quit

3. Reboot. You should boot to Windows by default.

4. If it goes sour, make sure to have a USB stick handy with openSUSE or some other live edition to get you out of trouble.

Once you have Windows booting cleanly by default, you can reformat the openSUSE partition as NTFS and it should load as D: under XP.

Hope this helps!
 
Old 08-02-2010, 05:56 PM   #5
Larry Webb
LQ Veteran
 
Registered: Jul 2006
Location: Crystal Beach, Texas
Distribution: Suse for mail +
Posts: 5,100
Blog Entries: 7

Rep: Reputation: 229Reputation: 229Reputation: 229
If you remove Suse and do not install grub in a separate partition you will loose the option to boot with grub unless you install another linux distro. I am not a windows man but there are numerous articles telling you how to restore windows boot using usb stick. Just use your google.
 
Old 08-03-2010, 06:57 AM   #6
da_boobster
LQ Newbie
 
Registered: Aug 2010
Posts: 2

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by tommyttt View Post
Hi Da_boobster;

When you got your netbook, what was installed on it? Windows, linux, both? I'm not familiar with netbooks so I'm making some guesses about your system. Was windows on it when you bought it or added later? Same for linux?

Assuming windows was preinstalled it should have had a recovery tool of some kind, either appearing during boot or hidden in a hidden partition.

Please post the output of "fdisk -l" from a terminal
Code:
sudo fdisk -l
That will show us what the partitions are and what type they are.

How was linux installed? Did you find someone who had it pre-installed? Again, I'm assuming it has no optivcal drive to install from. Did you make a backup of the system to include the MBR when it was new? I'm asking these questions because the answers will affect further advice on how to restore windows boot.

Tom
the netbook came pre-installed with windows, and I installed suse via network, and I have grub installed as a separate partition. Im in an Information technology class and being as Im on break i cant really have help from the teacher. I want to completely remove grub and have it boot to windows like it would before grub was installed.

Quote:
ISKPART> list partition

Partition ### Type Size Offset
------------- ---------------- ------- -------
Partition 1 OEM 7170 MB 32 KB
Partition 2 Primary 71 GB 7170 MB
Partition 3 Extended 71 GB 78 GB
Partition 4 Logical 4997 MB 78 GB
Partition 5 Logical 133 MB 83 GB
Partition 6 Logical 2055 MB 83 GB
Partition 7 Logical 6150 MB 85 GB
Partition 8 Logical 22 GB 91 GB
Partition 9 Logical 5122 MB 113 GB
Partition 10 Logical 31 GB 118 GB

Last edited by da_boobster; 08-03-2010 at 07:13 AM. Reason: adding my partitions
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Debian Squeeze: Grub not working (XP removing grub) wearetheborg Debian 10 02-16-2010 05:33 PM
Removing GRUB Zeptus Linux - Newbie 4 06-10-2007 08:17 AM
Removing GRUB kreator Linux - Newbie 4 08-08-2005 04:09 AM
Removing Grub Synesthesia Linux - General 6 05-28-2005 01:49 PM
Removing grub? priller Linux - Newbie 2 03-18-2004 04:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:12 PM.

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
Open Source Consulting | Domain Registration