LinuxQuestions.org
Help answer threads with 0 replies.
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 11-12-2001, 09:03 PM   #1
mose
LQ Newbie
 
Registered: Nov 2001
Posts: 3

Rep: Reputation: 0
Question mounting dos ext partition


i have 2 hdd's - one with red hat linux 7.1 on and the other with win98 split into C: and D:

After editing the etc/fstab file i can now see the windows C: drive (or hda1 under linux). Trouble is is that all the useful stuff i want is on the extended partition D: which i can't see in linux.

any ideas how to set up linux to perminantly see all of my windows hdd and not just the first partition?

be gentle - i've only been using linux for 1 week!
 
Old 11-12-2001, 09:10 PM   #2
b0b0
Member
 
Registered: Nov 2001
Location: Kansas
Distribution: rh71/2, mandrake81
Posts: 53

Rep: Reputation: 15
just need to find out what the partition name is.

Try hdb1 for the 'd:' drive.
 
Old 11-12-2001, 11:13 PM   #3
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
run fdisk


[root@microdot /root]# fdisk /dev/hda

The number of cylinders for this disk is set to 2432.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
(e.g., DOS FDISK, OS/2 FDISK)

Command (m for help): p

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

Device Boot Start End Blocks Id System
/dev/hda1 * 1 804 6458098+ 7 HPFS/NTFS
/dev/hda2 805 811 56227+ 83 Linux
/dev/hda3 812 2432 13020682+ 5 Extended
/dev/hda5 812 1334 4200966 83 Linux
/dev/hda6 1335 1367 265041 82 Linux swap
/dev/hda7 1368 2432 8554581 7 HPFS/NTFS

Command (m for help):
 
Old 11-12-2001, 11:15 PM   #4
KevinJ
Member
 
Registered: Feb 2001
Location: Colorado Springs, CO
Distribution: Redhat v8.0 (soon to be Fedora? or maybe I will just go back to Slackware)
Posts: 857

Rep: Reputation: 30
Well, D: would be the second partition on whatever harddrive he has for windows, so its /dev/hda2 or /dev/hdb2 ... that is unless its an extended partiton.... look in /var/log/dmesg for info recorded at boot time on partitions found.

Or you issue these commands as root:

fdisk -l /dev/hda
fdisk -l /dev/hdb

and post the results here.
 
Old 11-13-2001, 12:07 AM   #5
mose
LQ Newbie
 
Registered: Nov 2001
Posts: 3

Original Poster
Rep: Reputation: 0
cheers for the replys guys..(and so quick!)

looked in the log file 'n here is the section about the disks:

ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hdaMA, hdbMA
ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdcMA, hddMA
hda: IBM-DJNA-371350, ATA DISK drive
hdb: ATAPI CDROM, ATAPI CD/DVD-ROM drive
hdc: QUANTUM FIREBALL_TM3200A, ATA DISK drive
hdd: LG CD-RW CED-8080B, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: 26520480 sectors (13578 MB) w/1966KiB Cache, CHS=1650/255/63, UDMA(33)
hdc: 6281856 sectors (3216 MB) w/76KiB Cache, CHS=6232/16/63, DMA
Partition check:
hda: hda1 hda2 < hda5 >
hdc: hdc1 hdc2 < hdc5 hdc6 >

(no idea why theres smiley faces in there!)

are the '< >' around the very last part the logical drives (not boot drives)? It in theory should be hda '5' as its on the first ide channel.

Last edited by mose; 11-13-2001 at 12:10 AM.
 
Old 11-13-2001, 12:22 AM   #6
mose
LQ Newbie
 
Registered: Nov 2001
Posts: 3

Original Poster
Rep: Reputation: 0
just to say cheers...

i kinda answered my own question there - hda5

worked!
 
Old 11-13-2001, 07:02 AM   #7
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
hda: hda1 hda2 < hda5 >

hdc: hdc1 hdc2 < hdc5 hdc6 >



hda1 and hdc1 are primary partitions



hda2 and hdc2 are extended partitions.



hda2 has one logical drive: hda5



hdc2 has two logical drives: hdc5 and hdc6



if you run fdisk and do partition check you can see the space allocations



whatever you do to hda2 is the same as doing it to hda5



whatever you do to hdc2 is the same as doing it to hdc5 and hdc6



 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
ext hdd mounting read/write issue Jestrik Linux - Hardware 1 06-12-2004 09:46 AM
Mounting Ext. Hard Drive through USB 2+PCMCIA CondorPasa Linux - Hardware 1 03-11-2004 07:49 AM
Mounting DOS partition ... easy question. jrpretz Linux - Newbie 3 07-20-2003 10:34 PM
help with mounting a dos partition! omanno Linux - Newbie 6 03-15-2003 11:03 PM
Mounting Dos partition failed!! RKris Linux - General 1 09-18-2002 10:20 AM

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

All times are GMT -5. The time now is 10:55 AM.

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