LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This 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


Reply
  Search this Thread
Old 08-07-2007, 11:57 PM   #1
gkeepleft
LQ Newbie
 
Registered: Aug 2007
Posts: 10

Rep: Reputation: 0
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.

Please help!!!
 
Old 08-08-2007, 12:14 AM   #2
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 133Reputation: 133
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.
 
Old 08-08-2007, 12:16 AM   #3
rickh
Senior Member
 
Registered: May 2004
Location: Albuquerque, NM USA
Distribution: Debian-Lenny/Sid 32/64 Desktop: Generic AMD64-EVGA 680i Laptop: Generic Intel SIS-AC97
Posts: 4,250

Rep: Reputation: 62
Double posting is juvenile and unhelpful. A mod will come along and move your post if it is abviously in the wrong forum.

Last edited by rickh; 08-08-2007 at 12:17 AM.
 
Old 08-08-2007, 12:24 AM   #4
gkeepleft
LQ Newbie
 
Registered: Aug 2007
Posts: 10

Original Poster
Rep: Reputation: 0
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).

Sorry for posting twice.
 
Old 08-08-2007, 12:44 AM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,140

Rep: Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123
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.
 
Old 08-08-2007, 03:07 AM   #6
gkeepleft
LQ Newbie
 
Registered: Aug 2007
Posts: 10

Original Poster
Rep: Reputation: 0
Im downloading ubuntu
 
Old 08-08-2007, 03:09 AM   #7
gkeepleft
LQ Newbie
 
Registered: Aug 2007
Posts: 10

Original Poster
Rep: Reputation: 0
do you want me to type in "sudo fdisk -l" in some command prompt? BTW i have never used any linux os before.
 
Old 08-08-2007, 03:57 AM   #8
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,140

Rep: Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123
From a terminal window (~ MSDOS command prompt).
If it's normal Ubuntu, try the Applications menu (at the top) > Accessories > Terminal

sudo allows you to run a command as super-user (root) - you'll need to enter your password.
 
Old 08-08-2007, 04:54 AM   #9
gkeepleft
LQ Newbie
 
Registered: Aug 2007
Posts: 10

Original Poster
Rep: Reputation: 0
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"
 
Old 08-08-2007, 04:57 AM   #10
gkeepleft
LQ Newbie
 
Registered: Aug 2007
Posts: 10

Original Poster
Rep: Reputation: 0
i then typed in "sudo apt-get universe"
I then got
e: invalid operation universe
 
Old 08-08-2007, 05:06 AM   #11
gkeepleft
LQ Newbie
 
Registered: Aug 2007
Posts: 10

Original Poster
Rep: Reputation: 0
syg00 i tried that "sudo fdisk -1" command (screenshot link below)

http://img525.imageshack.us/img525/5...eenshotbr3.jpg

Please help. My assignments due date is getting closer
 
Old 08-08-2007, 05:12 AM   #12
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,140

Rep: Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123Reputation: 4123
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.
 
Old 08-08-2007, 05:29 AM   #13
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 133Reputation: 133
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.
 
Old 08-08-2007, 05:52 AM   #14
gkeepleft
LQ Newbie
 
Registered: Aug 2007
Posts: 10

Original Poster
Rep: Reputation: 0
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!
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
2 HDDs ... separate linux on 2 .... can get boot option only for 1 vineet7kumar Linux - Newbie 1 09-16-2006 02:02 PM
Help, linux install didnt detect my onboard nic!! abefroman Linux - Hardware 4 11-18-2005 07:07 PM
partition and format unpartitioned hard disk which lies on an external usb case odysseus.lost Linux - General 1 08-09-2005 06:03 PM
Trying to install Linux...Old System won't boot/install from disk. Diademed Linux - General 4 07-25-2004 12:51 AM
RH9 install didnt install boot loader! justin9 Linux - Newbie 5 08-07-2003 03:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:47 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
Open Source Consulting | Domain Registration