LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Logical drives, and Primary Partitions (https://www.linuxquestions.org/questions/linux-hardware-18/logical-drives-and-primary-partitions-400907/)

Infernolinux 01-08-2006 01:12 PM

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 :D

bulliver 01-08-2006 01:40 PM

Yup. Just axe them all...

Infernolinux 01-08-2006 02:00 PM

Sweet :) then do I need to format the drive to clear some undeleted crap?

Infernolinux 01-08-2006 02:12 PM

This is what it looks like now...Is this correct? It's all unallocated.

http://img259.imageshack.us/img259/5...enshot23uc.jpg

bulliver 01-08-2006 02:34 PM

Yeah, It's done man...

Infernolinux 01-08-2006 02:34 PM

Sweet. So reboot? Take it out?

bulliver 01-08-2006 02:39 PM

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...

Infernolinux 01-08-2006 02:44 PM

Alright dude, I rebooted the computer and it came up with error:

GRUB stage 1.5
Error 22


whats this?

saikee 01-08-2006 02:52 PM

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

Infernolinux 01-08-2006 02:54 PM

I dont have the installer disc :( would the upgrade disc do it?


I think i'm screwed...

saikee 01-08-2006 03:05 PM

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

bulliver 01-08-2006 03:06 PM

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.

Infernolinux 01-08-2006 03:07 PM

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.

bulliver 01-08-2006 03:12 PM

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...

Infernolinux 01-08-2006 03:12 PM

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?


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