linux boot disk unpartitioned 2 HDDs and i didnt even install it
Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
linux boot disk unpartitioned 2 HDDs and i didnt even install it
I accidently posted this in Newbie before reading the first thread sorry guys.
I know it looks long but please help me!
I have a computer with a 250GB SATA 2 HDD and another 320GB IDE HDD. i was running windows xp pro on the sata HDD partitioned into approx a 110GB and a 140GB space. the other drive had backed up stuff on it which i really need took me ages to set up.
Anyway i created another partition on the Sata drive about 10GB in size with Linux ext 3 file system using partition magic v12. I then booted using Linux red hat 7.2 complete CD. went through a few setup options thinking this was only dabbeling in my RAM. I couldnt get the setup to install Linux on the 10G partition, I exited and rebooted (took the CD out)attempting to go back to windows when I got a boot error. After a heap of hair pulling and nail biting i attempted to Repair windows using the XP CD.
No luck there so i acted like i wanted to reinstall windows so i could see the HDD partitions. turns out what ever i did in the Linux setup unpartitioned both the HDDs. it just came up with two unpartitioned disks 320gb and 250gb. WTF?
Also to add insult to injury i have an assignment due on monday and its on the windows partition.
It's probably no good to you now but you shouldn't have used those antiquated RedHat 7.2cds. Anyway, it should be perfectly possible to get your windows partition back providing that you can find a Linux liveCd somewhere (knoppix, ubuntu, mepis, pcLinuxOS,...). Since apparently still have internet access, you can visit distrowatch.com and dowload one of those, then burn it to cd.
Next: boot from the livecd, open up a terminal and type
testdisk
That will scan your drives for lost partitions; it has a recovery option but you can also just write down the start and end for each partition and then use fdisk to recreate them.
yeah i know. My bad. I feel stupid enough. thanks for the help though, I will try the live CD thing. so this will be able to detect and old partitions that have recently been unpartitioned? i have access to the internet 'cause im at work (aussie).
Testdisk will find the old partitions - maybe even some you'd forgotten you'd deleted, so check closely.
Redhat took a while to support SATA - certainly not back then. Hopefully it's just a partition table screw-up, they're relatively easy to fix.
If you get a liveCD booted, let's see the output of "sudo fdisk -l" before you start doing anything.
thanks mate i got terminal running but now when i type "testdisk" it says universe is not enabled. I type enable universe and it comes back with "universe not a shell builtin"
That's a lower case ell (for list) not a one.
As for testdisk, that requires some updates to the sources.lst - I'm not a Debian (what Ubuntu is based on) person. And I've never seen the liveCD - lemme think about it.
Universe is a software repository; it can be enabled by checking a box under System > Software Sources (or Software Properties ...?).
If it can't be found at all, it can also downloaded here: http://www.cgsecurity.org/wiki/TestDisk (linux.tar.bz2) but I recommand trying the Ubuntu package first.
OMFG Linux is the best. seriously i downloaded testdisk to my ram with the rest of the OS and ran it. man i got it working and un-unpartitioned one of my drives! thanks for the help guys!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.