LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 07-26-2012, 09:56 AM   #1
abhishekgit
Member
 
Registered: Jan 2012
Location: India
Distribution: Ubuntu, Gentoo, Fedora, Rhel5,openSUSE
Posts: 165

Rep: Reputation: 12
Please help deleting linux from dual boot.


Hey people,
I am using sabayon 8 linux dual booted with windows 7. I want to delete sabayon and switch to ubuntu. The control is taken by grub2 presently. If i delete the drive containing linux, grub will be deleted and i ll have problems. What are the alternatives to delete it successfully? Kindly help. Thanks...



Regards...
 
Old 07-26-2012, 10:13 AM   #2
igadoter
Member
 
Registered: Sep 2006
Location: wroclaw, poland
Distribution: slackware 12.2, scientific linux 6.4, knoppix 7.2, salix 14.1
Posts: 854

Rep: Reputation: 79
Restore the Windows native bootloader. Even without grub2 on the hardrive you will be able to boot Sabayon, or Ubuntu or any other distro with help of LiveCD Linux which uses grub. How to restore the bootloader? I don't have W7. In WinXP the commnad is 'FIXMBR' - as I remember now. Let Google around and I'm sure you will find the way.

PS. IMHO running W$/Linux it is better to boot Linux from an external device - USB stick, floppy or CD. If you care about your W$ of course.
 
Old 07-26-2012, 10:19 AM   #3
abhishekgit
Member
 
Registered: Jan 2012
Location: India
Distribution: Ubuntu, Gentoo, Fedora, Rhel5,openSUSE
Posts: 165

Original Poster
Rep: Reputation: 12
@igadoter: I haven't deleted sabayon yet. I don't have my win7 cd to restore the bootloader in case grub2 fails after deleting the linux partition. Thanks.
 
Old 07-26-2012, 10:24 AM   #4
jkirchner
Member
 
Registered: Apr 2007
Location: West Virginia
Distribution: LinuxMint 18
Posts: 739

Rep: Reputation: 179Reputation: 179
If you are going to replace Sabayon with Ubuntu just install Ubuntu over Sabayon and Ubuntu will replace Grub2 with its own. Is this your ultimate goal?
 
Old 07-26-2012, 10:33 AM   #5
propofol
Member
 
Registered: Nov 2007
Location: Seattle
Distribution: Debian Wheezy & Jessie; Ubuntu
Posts: 331

Rep: Reputation: 59
If you install Ubuntu to the partition used by sabayon, it should install a new boot loader which will automatically recognize Windows 7. I have a few computers duel booting Win XP / Win 7 with either Debian / Ubuntu and it works very well. I have found it easier to use a linux boot loader (grub2) than trying to add linux to a Windows boot loader. If you do want to use the Windows boot loader, the easiest option is to use a tool like easybcd.

Regards,
Stefan
 
Old 07-26-2012, 10:45 AM   #6
abhishekgit
Member
 
Registered: Jan 2012
Location: India
Distribution: Ubuntu, Gentoo, Fedora, Rhel5,openSUSE
Posts: 165

Original Poster
Rep: Reputation: 12
@jkirchner: I want to replace. I have misplaced my win7 cd which apparently is a requirement to run FIXMBR. If sabayon grub2 is replaced by ubuntu, can i delete sabayon later without having problems?
 
Old 07-26-2012, 10:47 AM   #7
TroN-0074
Senior Member
 
Registered: Dec 2011
Location: Michigan USA
Distribution: OpenSUSE 13.2 64bit-Gnome on ASUS U52F
Posts: 1,444

Rep: Reputation: 340Reputation: 340Reputation: 340Reputation: 340
Sabayon is a good distro though, why not just stick with it? Funny I have ubuntu in my desktop and I was actually considering replace it with Sabayon.
 
Old 07-26-2012, 10:52 AM   #8
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Try this 1st, if it worksout for you then use gparte-live cd/usb to delete unwanted partitionshttp://neosmart.net/blog/2009/window...-repair-discs/

Last edited by EDDY1; 07-26-2012 at 10:55 AM.
 
Old 07-26-2012, 10:59 AM   #9
jkirchner
Member
 
Registered: Apr 2007
Location: West Virginia
Distribution: LinuxMint 18
Posts: 739

Rep: Reputation: 179Reputation: 179
Quote:
Originally Posted by abhishekgit View Post
@jkirchner: I want to replace. I have misplaced my win7 cd which apparently is a requirement to run FIXMBR. If sabayon grub2 is replaced by ubuntu, can i delete sabayon later without having problems?
If you replace the existing installation of Sabayon with Ubuntu, Sabayon will no longer exist. It will be replaced by Ubuntu and so will the Grub that Sabayon installed. Ubuntu will install its own Grub. It will be as if Sabayon never existed on your computer. To do this you need to know which partitions are Sabayon's so when Ubuntu asks where to install you can set it up correctly.

As for the win7 you can download win7 boot cd's that will let you get into recovery mode. Once you have that go here for the directions. If you download a win 7 boot cd make sure you get one for the same version you have.
 
Old 07-26-2012, 03:09 PM   #10
abhishekgit
Member
 
Registered: Jan 2012
Location: India
Distribution: Ubuntu, Gentoo, Fedora, Rhel5,openSUSE
Posts: 165

Original Poster
Rep: Reputation: 12
I ll give this a try. Thank you all for your kind response.
 
Old 07-26-2012, 03:13 PM   #11
jkirchner
Member
 
Registered: Apr 2007
Location: West Virginia
Distribution: LinuxMint 18
Posts: 739

Rep: Reputation: 179Reputation: 179
Make backups!!! Always the safest way
 
Old 07-26-2012, 09:03 PM   #12
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Can you please post as to how you solved so that others may benefit from it.
 
Old 07-27-2012, 06:46 AM   #13
abhishekgit
Member
 
Registered: Jan 2012
Location: India
Distribution: Ubuntu, Gentoo, Fedora, Rhel5,openSUSE
Posts: 165

Original Poster
Rep: Reputation: 12
Yes. Through windows I deleted the partition containing linux, obviously grub was deleted, So i got operating system missing or grub rescue error on restart. I inserted the windows 7 bootable disc and booted from cd. Clicked on 'repair this computer' from the list of win7 options. Then through cd opened cmd.exe, executed these

Quote:
bootrec.exe /FixBoot
bootrec.exe /FixMBR

I downloaded win7 boot cd as suggested by jkirchner on post 9. At last i ejected the cd, restarted again, win7 started.
 
  


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
[SOLVED] Problems deleting OS and installing dual boot system Gypsy_Rover Linux - Newbie 9 09-06-2011 01:53 AM
Deleting LILO & Dual Boot IceBlink Linux - Newbie 1 08-22-2005 05:35 AM
Stuck at Grub2 prompt after deleting Linux partition of dual boot alcorta Linux - Software 3 07-09-2005 12:12 AM
Deleting windows on dual boot i286 Linux - General 5 01-02-2004 09:33 PM
deleting os selection on dual boot In2Fords Linux - Newbie 4 12-22-2003 07:38 AM


All times are GMT -5. The time now is 08:22 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration