Subject: Re: mouting extended lba partition
To: Luke Mewburn <lukem@wasabisystems.com>
From: Alexander Jossifov <alex@tugab.net>
List: netbsd-help
Date: 02/13/2001 21:48:45
#        size   offset     fstype   [fsize bsize   cpg]
  a:  4095315  6634845     4.2BSD     1024  8192    16   # (Cyl.
6582*- 10644)
  b:   611730 10730160       swap                        # (Cyl.
10645 - 11251*)
  c:  6634782       63      MSDOS                        # (Cyl.
   0*- 6582*)
  d: 17992737 11341953      MSDOS                        # (Cyl.
11251*- 29101*)

root@/# mount -t msdos /dev/wd0d /mnt2
mount_msdos: /dev/wd0d on /mnt2: Invalid argument

This is the case when I tried with the info the Partition Magic
gave me.

Now there's a fdisk wd0:

root@/# fdisk wd0
NetBSD disklabel disk geometry:
cylinders: 16383 heads: 16 sectors/track: 63 (1008 sectors/cylinder)

BIOS disk geometry:
cylinders: 1024 heads: 255 sectors/track: 63 (16065
sectors/cylinder)

Partition table:
0: sysid 11 (Primary DOS with 32 bit FAT)
    start 63, size 6634782 (3239 MB), flag 0x0
        beg: cylinder    0, head   1, sector  1
        end: cylinder  412, head 254, sector 63
1: sysid 15 (Ext. partition - LBA)
    start 11341890, size 17992800 (8785 MB), flag 0x0
        beg: cylinder  706, head   0, sector  1
        end: cylinder 1023, head 254, sector 63
2: sysid 169 (NetBSD)
    start 6634845, size 4707045 (2298 MB), flag 0x80
        beg: cylinder  413, head   0, sector  1
        end: cylinder  705, head 254, sector 63
3: <UNUSED>

Then I change disklabel like that :

#        size   offset     fstype   [fsize bsize   cpg]
  a:  4095315  6634845     4.2BSD     1024  8192    16   # (Cyl.
6582*- 10644)
  b:   611730 10730160       swap                        # (Cyl.
10645 - 11251*)
  c:  6634782       63      MSDOS                        # (Cyl.
   0*- 6582*)
  d: 17992800 11341890      MSDOS                        # (Cyl.
11251*- 29101*)
root@~# mount -t msdos /dev/wd0d /mnt2
mount_msdos: /dev/wd0d on /mnt2: Invalid argument

I know I'm doing somethins wrong but can't figure it out. Can
you help me ??




__________________________________________________
D O T E A S Y - "Join the web hosting revolution!"
             http://www.doteasy.com