LinuxQuestions.org
Review your favorite Linux distribution.
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 03-20-2003, 08:11 AM   #1
Unifex
LQ Newbie
 
Registered: Mar 2003
Posts: 8

Rep: Reputation: 0
Question Lost Windows Partition?


Hey all,

While not a total Newbie I thought the answer to this may be of interest to some that are.

The sitch;
I had a dual boot system with RedHat 8.0 (hdb) and WinME (for games etc on hda (hda1/hda2)) I recently suffered my first ever HDD crash and lost the RedHat drive. T+2 hours and AU$400 later I'm the proud owner of 2 80Gig HDD's. T+3 hours and RH8 is back and being reconfigured. During the install I didn't touch hda when repartitioning the new drive. After install there was no option for booting to WinME but I didn't worry too much.

I was just trying to get WINE up and running (first time I've ever played with it) and thought now would be the perfect time to mount the WinME partition.

Not having a lot of luck. I googled a bit and found a lot of advice here about it but none worked. There was one piece that caught my eye and is the reason for asking this question...

There's no longer a Windows partition on hda is there?
Quote:
[root@riff root]# fdisk -l

Disk /dev/hda: 255 heads, 63 sectors, 2498 cylinders
Units = cylinders of 16065 * 512 bytes

Device Boot Start End Blocks Id System

Disk /dev/hdb: 255 heads, 63 sectors, 9729 cylinders
Units = cylinders of 16065 * 512 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 * 1 13 104391 83 Linux
/dev/hdb2 14 2563 20482875 83 Linux
/dev/hdb3 2564 9599 56516670 83 Linux
/dev/hdb4 9600 9729 1044225 f Win95 Ext'd (LBA)
/dev/hdb5 9600 9729 1044193+ 82 Linux swap
As an aside...

What's with hdb4 and hdb5? Is that normal?
 
Old 03-20-2003, 12:57 PM   #2
newbieME
Member
 
Registered: Mar 2003
Location: BC Canada
Distribution: Slack Niner ;)
Posts: 185

Rep: Reputation: 30
It seems that there is no windows partition on ur hdb and your hdb4 and hdb5 are normal. hdb4 is just your extended partition and it contains your hdb5 which is your logical partition for swap. Think of extended partition as just an empty container which holds logical paritions(in ur case hdb5).
 
Old 03-20-2003, 03:13 PM   #3
Unifex
LQ Newbie
 
Registered: Mar 2003
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by newbieME
It seems that there is no windows partition on ur hdb
I assume you meant hda? As I suspected. I had all of Voyager, the first season of Enterprise and most of the second Season of Enterprise on there... Oh well...

Quote:
and your hdb4 and hdb5 are normal. hdb4 is just your extended partition and it contains your hdb5 which is your logical partition for swap. Think of extended partition as just an empty container which holds logical paritions(in ur case hdb5).
I was just surprised by the label being Win95 Ext'd (LBA).

Thanks for the info.
 
Old 03-20-2003, 03:51 PM   #4
mhearn
LQ Guru
 
Registered: Nov 2002
Location: Durham, England
Distribution: Fedora Core 4
Posts: 1,565

Rep: Reputation: 47
Quick Tip - do not run wine pointed at an existing windows installation. Always use a fake windows install, then install your apps into it.
 
Old 03-20-2003, 03:56 PM   #5
newbieME
Member
 
Registered: Mar 2003
Location: BC Canada
Distribution: Slack Niner ;)
Posts: 185

Rep: Reputation: 30
oh wait...ur hda is supposed to have partitions?? but its not showing up in fdisk?? if that's the case then i suggest not installing anything on hda and try recovering your partition table...
i have more info on this topic if u need it...since i myself corrupted my partiton table installing mandrake and almost lost 49 gb of data....oh the horror....
 
Old 03-20-2003, 04:23 PM   #6
Unifex
LQ Newbie
 
Registered: Mar 2003
Posts: 8

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by newbieME
oh wait...ur hda is supposed to have partitions?? but its not showing up in fdisk?? if that's the case then i suggest not installing anything on hda and try recovering your partition table...
i have more info on this topic if u need it...since i myself corrupted my partiton table installing mandrake and almost lost 49 gb of data....oh the horror....
Yes Please!!
 
Old 03-20-2003, 04:53 PM   #7
newbieME
Member
 
Registered: Mar 2003
Location: BC Canada
Distribution: Slack Niner ;)
Posts: 185

Rep: Reputation: 30
okay i am assuming since all your paritions are linux, that you can boot to linux...when i was recovering my partition i used this program here
http://www.cgsecurity.org/index.html?testdisk.html
when i did this i couldn't even boot since my whole MBR was gone(wouldn't even boot with normal boot disks!!)

I believe they have a linux version of the program available..read about the program and try it and if u have trouble then i will tell you exactly what I did to recover mine...but you shouldn't have a problem i don't think...i did this when i didn't even know what partitions were...oh the pain....
 
Old 03-20-2003, 05:08 PM   #8
Unifex
LQ Newbie
 
Registered: Mar 2003
Posts: 8

Original Poster
Rep: Reputation: 0
Thanks again. I'm just about to start work, will give this a go this evening.
 
  


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
Windows 98 was lost when Linux 9 was installed. The partition was properly created. lereisch Linux - Software 1 06-14-2005 11:25 AM
lost partition newbie1000101 Linux - Laptop and Netbook 1 03-08-2005 01:20 PM
lost partition kbrandl Linux - Newbie 1 11-18-2003 05:33 PM
Partition Lost? lilo76 Linux - Hardware 2 01-17-2003 09:37 PM
Partition LOst barrynewt Linux - General 5 11-09-2002 07:10 PM

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

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