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-21-2010, 06:54 PM   #1
Hexas
LQ Newbie
 
Registered: Sep 2010
Posts: 4

Rep: Reputation: 0
Wtf is GRUB


Yup im a noob to this stuff... I have a 10g HD which is so small i cant even DL d2 on it and i have this 60G HD with GRUB loaded on it. Basically im trying to figure out how to either DELETE GRUB or BOOT XP using grub. I have ablsolutely no idea how to use grub... Ive been researching it alot since ive been getting pissed with my POS 10g hd lol! Its not really that funny cause im still getting pissed off...

First off, as i have said, I HAVE NO IDEA HOW TO USE GRUB. With that said...

Ive read alot of post on forums telling people to "Boot form a recovery disk to remove GRUB..." etc... Here is where i run into a problem. I get "Media Test Failed... Check Cable" when i try to boot off my CD-ROM. CDs work fine using my 10g hd but i still get that message when trying to boot form a disk on that HD too...

So im basically trying to figure out a way to boot windows/linux/any OS that might be on this HD (which i also have no idea whats on it as far as partitions/OS's cause an old wrinkly fu** gave it to me for free with a couple HDs) where i can remove GRUB and ALL THE PARTITIONS off my HD and attempt a clean install. Of course unless i have a loose cable somewhere inside my crappy laptop from 1955...

Speaking of which my laptop is a: Toshiba Tecra S1 - Yeah i know its old but its all i got and i cant afford to buy a new machine =P

Any help will be much appreciated and i cant stress enough I HAVE NO IDEA HOW TO USE GRUB COMMANDS OR ANYTHING OF THE SUCH =P

Thanks,
James
 
Old 09-21-2010, 07:12 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 15,730

Rep: Reputation: 2125Reputation: 2125Reputation: 2125Reputation: 2125Reputation: 2125Reputation: 2125Reputation: 2125Reputation: 2125Reputation: 2125Reputation: 2125Reputation: 2125
Cut with the waffle and provide data we can work with.
- what does the machine boot using the 10 Gig (XP ?)
- what do you get with the 60 Gig (just the word grub, a grub menu - what happens when you select an option).

If you get a menu, enter "c" (single character, no quotes) and <Enter>
Then "geometry (hd0)" <Enter> (no quotes).

Let's see everything that's output (including the grub menu if any)
 
Old 09-21-2010, 07:29 PM   #3
Hexas
LQ Newbie
 
Registered: Sep 2010
Posts: 4

Original Poster
Rep: Reputation: 0
Grub is only on the 60g. I want to trash the 10g IF i can get the 60g wiped. XP is on the 10g which doesnt have grub on it. As far as the 60g, i have no idea whats on it. Im not able to figure out whats on it cause i dont know how to use GRUB. All i know is when i stick the 60g in my comp and boot it up it loads the GRUB "Stage 2" bootloader, which resembles MS-DOS. When i press TAB i get a list of commands i can use, which doesnt help cause i have no idea what Im looking at. Basically it looks like i maximized a MS-DOS window that i cant exit out of but i have to use GRUB commands instead of DOS commands.
 
Old 09-21-2010, 07:35 PM   #4
Hexas
LQ Newbie
 
Registered: Sep 2010
Posts: 4

Original Poster
Rep: Reputation: 0
When i type "geometry (hd0)" i get "drive 0x80: C/H/S = 1023/255/63, The number of sectors = 117210240, LBA Partition num: 0, Filesystem type unknown, partition type 0x7"
 
Old 09-21-2010, 07:42 PM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 15,730

Rep: Reputation: 2125Reputation: 2125Reputation: 2125Reputation: 2125Reputation: 2125Reputation: 2125Reputation: 2125Reputation: 2125Reputation: 2125Reputation: 2125Reputation: 2125
Erk. That doesn't make a lot of sense. Looking at that I'd say you have grub in the MBR, but an NTFS (single) partition. Grub is looking for the stage2 code, but won't find it.
It's the 60 Gig all right, but the BIOS must be pretty old.

I'd take the disk to another machine and scrub it there - is that a possibility for you ?.

After-thought: this would make sense if that (60 Gig) disk came out of a multidisk machine with XP (say) on the first disk and Linux on the other.

Last edited by syg00; 09-21-2010 at 07:44 PM.
 
Old 09-21-2010, 07:44 PM   #6
Hexas
LQ Newbie
 
Registered: Sep 2010
Posts: 4

Original Poster
Rep: Reputation: 0
Ugh.... I wish. Im on my girlfriends MACtop. Ill see what i can do. THanks for the help tho =P
 
Old 09-21-2010, 07:49 PM   #7
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 15,730

Rep: Reputation: 2125Reputation: 2125Reputation: 2125Reputation: 2125Reputation: 2125Reputation: 2125Reputation: 2125Reputation: 2125Reputation: 2125Reputation: 2125Reputation: 2125
I keep an external housing for these sort of things. USB2 - might be slow, but bloody useful for recovery.
 
Old 09-21-2010, 08:42 PM   #8
damgar
Senior Member
 
Registered: Sep 2009
Location: dallas, tx
Distribution: Slackware - current multilib/gsb Arch
Posts: 1,949
Blog Entries: 8

Rep: Reputation: 201Reputation: 201Reputation: 201
Can you boot from a USB flash drive by any chance? If so you could put a liveCD on USB, boot from there and then CAREFULLY use the dd command to erase GRUB, or you could just install linux from the flash drive which would give you a nice shiny new linux distro to play with, plus a fresh bootloader.

I found this thread detailing the use of the dd command to do this, read it all and you'll understand not just how to do it, but why it's DANGEROUS! LOL
 
Old 09-21-2010, 09:03 PM   #9
verndog
Member
 
Registered: Oct 2007
Posts: 120

Rep: Reputation: 18
Quote:
Originally Posted by Hexas View Post
When i type "geometry (hd0)" i get "drive 0x80: C/H/S = 1023/255/63, The number of sectors = 117210240, LBA Partition num: 0, Filesystem type unknown, partition type 0x7"
This may be a stretch asking you to do this, but if you download boot_into_script and manage to run it. You will find everything you need to know about your MBR(booting), Grub(how many, where, etc), and partition layout.

Just download it from here and run it either using root or using sudo.

After running, it will dump a file named RESULTS.txt in the folder where you used it.
 
Old 09-21-2010, 10:23 PM   #10
rokytnji
LQ 5k Club
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: AntiX 17 , ChromeOS
Posts: 5,101
Blog Entries: 20

Rep: Reputation: 2380Reputation: 2380Reputation: 2380Reputation: 2380Reputation: 2380Reputation: 2380Reputation: 2380Reputation: 2380Reputation: 2380Reputation: 2380Reputation: 2380
Quote:
where i can remove GRUB and ALL THE PARTITIONS off my HD and attempt a clean install.
KILLDISK
 
  


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
WTF is this? kofucii Linux - General 5 08-31-2009 11:24 AM
Wtf? raafaell SUSE / openSUSE 7 01-27-2007 11:43 PM
GRUB WTF, Help with Gentoo n0xide Linux - Newbie 3 03-06-2004 02:47 PM
Wtf?! Darkseid General 3 07-06-2003 02:40 PM
Wtf!!!!????? ironz Linux - Hardware 2 07-01-2003 06:06 PM

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

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