LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 06-11-2018, 12:13 AM   #16
linux-man
Member
 
Registered: Nov 2016
Distribution: zorin core on vm
Posts: 189

Original Poster
Rep: Reputation: Disabled
How to tell which bootloader?


Quote:
Originally Posted by syg00 View Post
It will be a problem if grub is the default bootloader.
Simple if the Windows bootloader is the default - make sure this is done first if required.
How does one know whether Grub or windows is the bootloader? Is there a way to tell?
 
Old 06-11-2018, 12:32 AM   #17
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 14,569
Blog Entries: 9

Rep: Reputation: 4069Reputation: 4069Reputation: 4069Reputation: 4069Reputation: 4069Reputation: 4069Reputation: 4069Reputation: 4069Reputation: 4069Reputation: 4069Reputation: 4069
if you're using linux the bootloader is not windows.
 
Old 06-12-2018, 03:53 AM   #18
linux-man
Member
 
Registered: Nov 2016
Distribution: zorin core on vm
Posts: 189

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by BW-userx View Post
you got windows, you want to get rid of Linux, if windows got its boot loader back and is the controlling factor in booting,and NOT grub, use your windows partition manager to remove the linux partition and reestablish it as a ntfs or FAT32 partition.

if not then fix your MBR and boot loader for windows
Even though I created the linux ext partitions with Grub, it would be okay to go ahead and delete these linux partitions with windows disk management and not Grub? The partitions were originally ntfs so I will revert back to that from ext. I have Windows boot loader is still there.

Last edited by linux-man; 06-12-2018 at 03:54 AM.
 
Old 06-12-2018, 04:08 AM   #19
jsbjsb001
Registered User
 
Registered: Mar 2009
Location: Earth? I would say I hope so but I'm not so sure about that... I could just be a figment of your imagination too.
Distribution: Currently OpenMandriva. Previously openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,440

Rep: Reputation: 1782Reputation: 1782Reputation: 1782Reputation: 1782Reputation: 1782Reputation: 1782Reputation: 1782Reputation: 1782Reputation: 1782Reputation: 1782Reputation: 1782
Quote:
Originally Posted by linux-man View Post
Even though I created the linux ext partitions with Grub, it would be okay to go ahead and delete these linux partitions with windows disk management and not Grub? The partitions were originally ntfs so I will revert back to that from ext. I have Windows boot loader is still there.
GRUB is just a bootloader, so you couldn't have created partitions with it. You can use Windows Disk Management to delete any kind of partition, but you would have to use a Linux tool to format them with a Linux file system of some description.

I don't think you can convert a Linux ext* partition to NTFS, you would have to re-format it with NTFS - you should use Windows to format a partition with NTFS.

https://en.wikipedia.org/wiki/GNU_GRUB
 
Old 06-12-2018, 05:22 AM   #20
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 9,059

Rep: Reputation: 1937Reputation: 1937Reputation: 1937Reputation: 1937Reputation: 1937Reputation: 1937Reputation: 1937Reputation: 1937Reputation: 1937Reputation: 1937Reputation: 1937
If you are using windows 8 and it is a default install using UEFI, then you should not have problems deleting the Linux partitions as you should be able to boot windows by using the boot options in the BIOS to select windows. If you are currently booting both windows and whichever Linux you are using and are using Grub, then you will obviously not see the standard boot menu if you delete the Linux partition as that is where the grub.cfg file which contains the menu exists.

If you have a Legacy/MBR install of windows as an upgrade from windows 7, you will then need a windows installation DVD or Recovery CD to repair the windows bootloader if you first delete Linux. The steps to take in your situation would be to first ensure that you can boot windows without Grub and that is something that should be simple if you are using EFI, which we don't know. Once you verify this and use windows Disk Management to delete the unknown Linux system on its partitions, run chkdsk from windows.

Quote:
How does one know whether Grub or windows is the bootloader?
It is possible to boot Linux from windows but it is a convoluted process and you would know if it was booting from windows because you or whoever installed the system would have had to manually configure it.

Last edited by yancek; 06-12-2018 at 05:25 AM.
 
Old 06-12-2018, 07:49 AM   #21
linux-man
Member
 
Registered: Nov 2016
Distribution: zorin core on vm
Posts: 189

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by yancek View Post
If you are using windows 8 and it is a default install using UEFI, then you should not have problems deleting the Linux partitions
I have default install using UEFI.

Quote:
Originally Posted by yancek View Post
...use windows Disk Management to delete the unknown Linux system on its partitions, run chkdsk from windows.
Before I go ahead, your certain windows disk management can delete ext partitions created by a linux cd, and then format them to ntfs? I will know everything went well after chkdsk reports what exactly?
 
Old 06-12-2018, 07:56 AM   #22
linux-man
Member
 
Registered: Nov 2016
Distribution: zorin core on vm
Posts: 189

Original Poster
Rep: Reputation: Disabled
You can't convert ext partition to ntfs with gparted?

Quote:
Originally Posted by jsbjsb001 View Post
I don't think you can convert a Linux ext* partition to NTFS,
You mean you can't with Gparted?
 
Old 06-12-2018, 09:00 AM   #23
jsbjsb001
Registered User
 
Registered: Mar 2009
Location: Earth? I would say I hope so but I'm not so sure about that... I could just be a figment of your imagination too.
Distribution: Currently OpenMandriva. Previously openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,440

Rep: Reputation: 1782Reputation: 1782Reputation: 1782Reputation: 1782Reputation: 1782Reputation: 1782Reputation: 1782Reputation: 1782Reputation: 1782Reputation: 1782Reputation: 1782
Quote:
Originally Posted by linux-man View Post
You mean you can't with Gparted?
No, I mean full stop, with any partitioning or formatting tool/program.
 
Old 06-12-2018, 09:48 AM   #24
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 8,705
Blog Entries: 13

Rep: Reputation: 3922Reputation: 3922Reputation: 3922Reputation: 3922Reputation: 3922Reputation: 3922Reputation: 3922Reputation: 3922Reputation: 3922Reputation: 3922Reputation: 3922
Quote:
Originally Posted by linux-man View Post
Quote:
Originally Posted by jsbjsb001 View Post
I don't think you can convert a Linux ext* partition to NTFS,
You mean you can't with Gparted?
Quote:
Originally Posted by jsbjsb001 View Post
No, I mean full stop, with any partitioning or formatting tool/program.
I believe that information is not totally correct.

Using fdisk(8) you can use partition type 7 for HPFS/NTFS/exFAT.

Using mkfs.ntfs(8) you can create an NTFS type of file system on that partition.

I also have gparted version 0.25.0 and it appears to allow me to format a partition to be NTFS.

While I realize that the point of that part of the discussion was that you could not "convert" from Linux (type 83 or other) to NTFS (type 7), you can delete the partition, and remake one of type NTFS and then format it to be NTFS. You just can't retain the data which was originally on that partition unless you back it up.

Last edited by rtmistler; 06-12-2018 at 09:52 AM.
 
1 members found this post helpful.
Old 06-12-2018, 09:59 AM   #25
jsbjsb001
Registered User
 
Registered: Mar 2009
Location: Earth? I would say I hope so but I'm not so sure about that... I could just be a figment of your imagination too.
Distribution: Currently OpenMandriva. Previously openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,440

Rep: Reputation: 1782Reputation: 1782Reputation: 1782Reputation: 1782Reputation: 1782Reputation: 1782Reputation: 1782Reputation: 1782Reputation: 1782Reputation: 1782Reputation: 1782
Quote:
Originally Posted by rtmistler View Post
...While I realize that the point of that part of the discussion was that you could not "convert" from Linux (type 83 or other) to NTFS (type 7), you can delete the partition, and remake one of type NTFS and then format it to be NTFS. You just can't retain the data which was originally on that partition unless you back it up.
Yes, that was my point RT.

@linux-man,

I didn't mean to imply that you could not use Gparted (or Linux) to format a partition with NTFS - sorry for the confusion. I meant you cannot "convert" from ext* to NTFS without losing the data/files/etc on that partition (as stated above).

Last edited by jsbjsb001; 06-12-2018 at 11:52 AM. Reason: clarity/more clarity
 
Old 06-12-2018, 10:44 AM   #26
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (current), FreeBSD, Win10, It varies
Posts: 9,951

Rep: Reputation: 2146Reputation: 2146Reputation: 2146Reputation: 2146Reputation: 2146Reputation: 2146Reputation: 2146Reputation: 2146Reputation: 2146Reputation: 2146Reputation: 2146
I think the biggest thing you need to worry about is making sure you can boot into Windows without grub, using windows or your efi to get in. then it is a simple matter of using windows to delete the linux partition and have windows reformat it to whatever it is capable of doing.

it is rather a simple matter actually, as long as you have an install disk for windows to get into repair mode for your MBR boot sector if need be, as stated in other posts.

Code:
/FixMbr bootrec /FixBoot bootrec /ScanOs bootrec /RebuildBcd.
source:
https://neosmart.net/wiki/fix-mbr/
 
Old 06-12-2018, 10:45 AM   #27
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 9,059

Rep: Reputation: 1937Reputation: 1937Reputation: 1937Reputation: 1937Reputation: 1937Reputation: 1937Reputation: 1937Reputation: 1937Reputation: 1937Reputation: 1937Reputation: 1937
Quote:
I have default install using UEF
The point is, do you have an option on boot to select windows without using Grub of whatever your Linux install is. If you do have that option then it should not be a problem. If you don't or you can't find it, that would be a problem in your case.

Quote:
Before I go ahead, your certain windows disk management can delete ext partitions created by a linux cd, and then format them to ntfs?
You won't be able to format a partition that you have deleted so you would obviously need to create a partition again. I can't see the point in that, why not simply format the already existing Linux partition to an ntfs format and be done with it. I can't imagine that you would not be able to do this from windows and it would be pretty pathetic if it was not possible. Obviously, you should be able to format ntfs from GParted but since you want a windows filesystem, use a windows tool if it is available. Your choice.

If you reboot to windows after modifying partitions, you should always run chkdsk to verify there are no errors.
Before doing anything, make sure there is no data on the Linux partitions you want to keep.
 
1 members found this post helpful.
  


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
Moving files from a Linux hard drive to a Windows Vista Premium hard drive WolfMan51 Linux - Hardware 5 07-12-2011 09:19 AM
using flash drive/portable hard drive on BOTH Linux and Windows yankeegirl Linux - Hardware 2 10-07-2009 08:22 AM
[SOLVED] How do I swap windows on hard 2 to hard drive 1 and linux from 1 to 2 uncle guido Linux - Newbie 5 10-25-2006 11:14 AM
Remove second IDE hard drive info from Linux gmcfarlen Linux - Hardware 5 06-22-2005 10:05 PM
Running Windows Games In Linux From Windows Hard Drive Darkstar274 Linux - Games 2 12-25-2003 11:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:24 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