[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Mounting a win/dos logical partition



OK, I'm still confused :).
I did fdisk -l /dev/hdb, and here is what I get:

Disk /dev/hdb: 255 heads, 63 sectors, 2480 cylinders
Units = cylinders of 16065 * 512 bytes
   Device Boot    Start       End    Blocks   Id  System
/dev/hdb1   *         1      1023   8217216    b  Win95 FAT32
/dev/hdb2          1024      2480  11703352+   f  Win95 Ext'd (LBA)
/dev/hdb5          1024      2480  11703321    b  Win95 FAT32

Now, how do I mount /dev/hdb2? what should I write in /etc/fstab?

Thanks
Reuben D. Budiardja


At 02:39 PM 5/1/01 +1000, Matthew Melvin wrote:
On Mon, 30 Apr 2001 at 11:30pm (-0500), Reuben D Budiardja wrote:

>
> Hi,
> Could anyone help me in how to mount a logical dos/win95 logical partition
> in linux? What line should be in the /etc/fstab?
>
> I have the following line in fstab
> /dev/hdb2               /mnt/dos_b              msdos   noauto          0 0
>
> But when I tried to do: mount dos_b
>
> I get the following message:
> mount: wrong fs type, bad option, bad superblock on /dev/hdb2,
>         or too many mounted file systems
>         (aren't you trying to mount an extended partition,
>         instead of some logical partition inside?)
>
> Any help will be greatly appreciated.

I think you're trying to do what the error message suggests you are.
/dev/hdb2 is the extended partition.  I'm pretty sure logical partitions
have numbers >= 5.  Eg...

   Device Boot    Start       End    Blocks   Id  System
/dev/sda1   *         1         3     24066   83  Linux
/dev/sda2             4      4462  35816917+   5  Extended
/dev/sda5             4       258   2048256   83  Linux
/dev/sda6           259       513   2048256   83  Linux
[...]

If you do "fdisk -l /dev/hdb" you should see your list of partitions and
types.

M.

--
WebCentral Pty Ltd           Australia's #1 Internet Web Hosting Company
Level 1, 96 Lytton Road.           Network Operations - Systems Engineer
PO Box 4169, East Brisbane.                       phone: +61 7 3249 2500
Queensland, Australia.                            pgp key id: 0x900E515F



_______________________________________________
Redhat-list mailing list
Redhat-list redhat com
https://listman.redhat.com/mailman/listinfo/redhat-list

-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~ "God is the unrestricted act of understanding, the eternal rapture glimpsed in every Archimedean cry of Eureka."

                        - Bernard Lonergan -
~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^

Reuben Donald Budiardja
reubendb goshen edu
Homepage: http://www.goshen.edu/~reubendb





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]