Quantcast

Maximum PC

It is currently Sat Oct 25, 2014 5:28 pm

All times are UTC - 8 hours




Post new topic Reply to topic  [ 9 posts ] 
Author Message
 Post subject: (linux) leftover grub -how to get rid of it?
PostPosted: Thu Apr 09, 2009 12:27 pm 
Klamath
Klamath

Joined: Mon Jan 03, 2005 5:39 pm
Posts: 291
ive had a very bad install of linux and now my main data drive (which didnt lose any data) has grub bootloader left over. I want to know how to safely remove it note: this hdd has no os or any extra partitions on it.


Top
  Profile  
 
 Post subject:
PostPosted: Thu Apr 09, 2009 12:40 pm 
[Team Member]
[Team Member]

Joined: Sat Jun 26, 2004 4:31 am
Posts: 11104
Location: Home Sweet Home
Start in to the safe mode menu and choose command prompt. At the command prompt type fixboot and hit enter...all done.

Nasty


Top
  Profile  
 
 Post subject: Re: (linux) leftover grub -how to get rid of it?
PostPosted: Thu Apr 09, 2009 4:58 pm 
Bitchin' Fast 3D Z8000
Bitchin' Fast 3D Z8000
User avatar

Joined: Wed Jun 16, 2004 5:29 pm
Posts: 6328
Location: Far away from you
darkliquids wrote:
this hdd has no os or any extra partitions on it.


The utilities disk from the manufacturer has both a tool to clear the MBR and zero fill. Both will perform this task. If you use the zero fill, I'd recommend using the quick method, which writes something like the first and last gig on the disk.

You could also use your linux disk and go into some sort of command prompt (there's various ways depending on your distro) and type the command..

dd if=/dev/zero of=/dev/hda bs=512 count=1


Top
  Profile  
 
 Post subject:
PostPosted: Fri Apr 10, 2009 4:02 am 
[Team Member]
[Team Member]

Joined: Sat Jun 26, 2004 4:31 am
Posts: 11104
Location: Home Sweet Home
Furball,

He has data on this disk, so what you want him to do is a big no no.

I should have said to him to use the XP disk to boot to the command line option when it presented itself, then type fix boot.

Nasty


Top
  Profile  
 
 Post subject:
PostPosted: Fri Apr 10, 2009 7:26 am 
Bitchin' Fast 3D Z8000
Bitchin' Fast 3D Z8000
User avatar

Joined: Wed Jun 16, 2004 5:29 pm
Posts: 6328
Location: Far away from you
At some point, he'd want to convert the partition to NTFS or Fat32.

That combined with what I quoted, leads me to believe it's really just a blank disk regardless of what it's called.

Although after re-reading it, I'm not sure what he means by "which didn't lose any data" as that seems to contradict things.


Top
  Profile  
 
 Post subject:
PostPosted: Fri Apr 10, 2009 11:20 am 
[Team Member]
[Team Member]

Joined: Sat Jun 26, 2004 4:31 am
Posts: 11104
Location: Home Sweet Home
Quote:
Although after re-reading it, I'm not sure what he means by "which didn't lose any data" as that seems to contradict things.


Yup it does.

Darkliquids!

Help! Straighten us out!

Nasty


Top
  Profile  
 
 Post subject:
PostPosted: Fri Apr 10, 2009 11:49 am 
Klamath
Klamath

Joined: Mon Jan 03, 2005 5:39 pm
Posts: 291
i guess i gotta explain

g is the data disc with precious data and it is an ntfs volume.
i had a c partition and two others on this second drive, which is 300gb, with xp installed on it. since I liked the ubuntu 64 bit which i installed on the 3rd partition of the 300 gb drive, i decided to check out linux mint, (it was version 4, i think-and i liked it so much on the live cd that i installed it on that 3rd partition over ubuntu, which probably may have installed grub in some weird way, on the g drive, instead of c.
i could not access or recover any data on the 300gb drive after that, and i tried with parted magic live cd. there was definitely some conflict or what not and none of the op. systems would boot, giving me an error 22, or was it 24.
anyways i did not lose any data and just reinstalled xp.
in my mobo bios if i set the sata drive boot order so that the g drive is checked first, there is evidence of leftover grub on it because it fails to boot and prints out a grub error (of course there is no os on it)
grub thinks i still have linux on my system. it is not a major problem, but still, now that you know this much is your solution going to still work?
And when the boot order is set correctly then i do not get this message.

and so from now on if i do linux it will be on a single, expendable drive with no others plugged in.

Thank you for helping.


Top
  Profile  
 
 Post subject:
PostPosted: Fri Apr 10, 2009 1:00 pm 
Bitchin' Fast 3D Z8000
Bitchin' Fast 3D Z8000
User avatar

Joined: Wed Jun 16, 2004 5:29 pm
Posts: 6328
Location: Far away from you
So this only occurs when you move the drive position?

The drive utilities would probably be the best bet for this since I believe you can select what disk you're working with. You may need to move the drive you refer to your G drive into the primary spot though.

I'll add that if you have no plans on moving the drive into a primary again, I really don't see a reason to clear it. If you install linux again, the new install will overwrite that with it's own bootloader anyways (which should be on the primary drive). If you install say Vista or Windows 7, the NT bootloader will load on your primary drive too.


Top
  Profile  
 
 Post subject:
PostPosted: Sat Apr 11, 2009 3:43 am 
Monkey Federation (Top 10)*
Monkey Federation (Top 10)*
User avatar

Joined: Sun May 22, 2005 8:28 am
Posts: 3673
Location: The Blue Nowhere
Sounds like he had a dual boot with Grub as the boot loader. When he removed Linux it wiped out the grub information and he needs to get back into Windows. (at least that is how I read it)

If so, the information posted in the first reply is the best bet. Use Winderz disk, boot into the rescue panel and run 'fixmbr' and then 'fixboot'

If this is Vista I think the process is a little different but a little time with google looking for 'Vista fix boot' should take care of that.


Top
  Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group

© 2014 Future US, Inc. All rights reserved.