LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 01-08-2006, 01:12 PM   #1
Infernolinux
Member
 
Registered: Dec 2005
Location: Florida
Distribution: Ubuntu, currently.
Posts: 36

Rep: Reputation: 15
Logical drives, and Primary Partitions


I'm using a tool on windows to delete my second hard drive which has linux, so I can transfer it over to my new computer and start fresh.

I'm on the editor, and there are 4 partitions two Primary and two Logical. To delete the whole thing do I delete each and everyone of them?

GRUB is installed on the second hard drive. Just to clear things up.

I also took a screenshot (Imageshack.us compressed it) but it is still intelligible.

http://img251.imageshack.us/img251/9...eenshot6ia.jpg



I'm also doing it now, so help would be appreciated

Last edited by Infernolinux; 01-08-2006 at 01:23 PM.
 
Old 01-08-2006, 01:40 PM   #2
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 77
Yup. Just axe them all...
 
Old 01-08-2006, 02:00 PM   #3
Infernolinux
Member
 
Registered: Dec 2005
Location: Florida
Distribution: Ubuntu, currently.
Posts: 36

Original Poster
Rep: Reputation: 15
Sweet then do I need to format the drive to clear some undeleted crap?
 
Old 01-08-2006, 02:12 PM   #4
Infernolinux
Member
 
Registered: Dec 2005
Location: Florida
Distribution: Ubuntu, currently.
Posts: 36

Original Poster
Rep: Reputation: 15
This is what it looks like now...Is this correct? It's all unallocated.

http://img259.imageshack.us/img259/5...enshot23uc.jpg
 
Old 01-08-2006, 02:34 PM   #5
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 77
Yeah, It's done man...
 
Old 01-08-2006, 02:34 PM   #6
Infernolinux
Member
 
Registered: Dec 2005
Location: Florida
Distribution: Ubuntu, currently.
Posts: 36

Original Poster
Rep: Reputation: 15
Sweet. So reboot? Take it out?
 
Old 01-08-2006, 02:39 PM   #7
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 77
Quote:
Sweet. So reboot? Take it out?
I don't understand. You erased the partitions, and they are gone...that's what you want right?

Go ahead and put the HDD in your new computer and install whatever you like...
 
Old 01-08-2006, 02:44 PM   #8
Infernolinux
Member
 
Registered: Dec 2005
Location: Florida
Distribution: Ubuntu, currently.
Posts: 36

Original Poster
Rep: Reputation: 15
Alright dude, I rebooted the computer and it came up with error:

GRUB stage 1.5
Error 22


whats this?
 
Old 01-08-2006, 02:52 PM   #9
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112
Drop in a Dos bootable floppy with fdisk.exe inside. Boot it up and type
Code:
fdisk /mbr
No floppy drive? No problem, just boot up any Win2k or XP installation CD and when it stops to ask for a choice you choose "recovery console". It will gives you a command prompt. You then type
Code:
fixmbr
 
Old 01-08-2006, 02:54 PM   #10
Infernolinux
Member
 
Registered: Dec 2005
Location: Florida
Distribution: Ubuntu, currently.
Posts: 36

Original Poster
Rep: Reputation: 15
I dont have the installer disc would the upgrade disc do it?


I think i'm screwed...

Last edited by Infernolinux; 01-08-2006 at 03:04 PM.
 
Old 01-08-2006, 03:05 PM   #11
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112
Don't think anything other than the installation CD will do.

If you have a Linux Live CD or any CD that boots you to a Bash shell it will do the job too with this line of command (Very important : you will erase the partition table too!)
Code:
dd if=/dev/zero of=/dev/hda bs=512 count=63
 
Old 01-08-2006, 03:06 PM   #12
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 77
Quote:
I think i'm screwed...
Why screwed? What exactly are you trying to do? You said you wanted to blank the drive, put it in a different computer, and use it there. What are you installing on it? Whether Linux or Windows, just put in the install CD, and away you go...

What's the problem?

You don't need to erase the MBR if you are just going to install a different OS, this will be done during installation...again, just put your install cd in, and away you go.

Last edited by bulliver; 01-08-2006 at 03:07 PM.
 
Old 01-08-2006, 03:07 PM   #13
Infernolinux
Member
 
Registered: Dec 2005
Location: Florida
Distribution: Ubuntu, currently.
Posts: 36

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by saikee
Don't think anything other than the installation CD will do.

If you have a Linux Live CD or any CD that boots you to a Bash shell it will do the job too with this line of command (Very important : you will erase the partition table too!)
Code:
dd if=/dev/zero of=/dev/hda bs=512 count=63

could I use Gentoo? I'm going to ask one of my friends if I could use one of their installation cd.
 
Old 01-08-2006, 03:12 PM   #14
bulliver
Senior Member
 
Registered: Nov 2002
Location: Edmonton AB, Canada
Distribution: Gentoo x86_64; Gentoo PPC; FreeBSD; OS X 10.9.4
Posts: 3,760
Blog Entries: 4

Rep: Reputation: 77
Infernolinux:

Just slow down a minute...

Quote:
GRUB stage 1.5
Error 22
This is grub telling you it can't find the files it needs to boot. As you just erased the disk, what else did you expect? Can you please just tell _exactly_ what your plans for this disk are? If all you want to do is install another OS just go ahead and do it, don't worry about the MBR, as it will be overwritten if you install windows, and if you install Linux, during the install it will allow you to reinstall grub. Fixing this now is just a waste of time...
 
Old 01-08-2006, 03:12 PM   #15
Infernolinux
Member
 
Registered: Dec 2005
Location: Florida
Distribution: Ubuntu, currently.
Posts: 36

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by bulliver
Why screwed? What exactly are you trying to do? You said you wanted to blank the drive, put it in a different computer, and use it there. What are you installing on it? Whether Linux or Windows, just put in the install CD, and away you go...

What's the problem?

You don't need to erase the MBR if you are just going to install a different OS, this will be done during installation...again, just put your install cd in, and away you go.

DSo if I take it out it wont pull up the error? And when I put it into my new system and run the installation everything will be done?
 
  


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
Partition Problems: Bad primary partition 1: logical partitions overlap rovitotv Slackware 6 01-08-2006 06:55 PM
Primary or Logical? Brahl Linux - Newbie 1 01-29-2005 09:50 AM
primary or logical partitions? blotch Slackware 10 09-09-2004 04:36 AM
Partitioning - Primary and Logical partitions quietguy47 Linux - General 2 07-06-2003 10:32 AM
Need help to recover extended partitions/logical drives dwmass Linux - Hardware 1 11-06-2002 07:27 PM


All times are GMT -5. The time now is 01:06 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration