Subject: Re: [Ext2 Mount] Newbie Question
To: Rakhesh Sasidharan <rakhesh@cse.iitd.ernet.in>
From: William Pomian <willish@free.fr>
List: netbsd-help
Date: 04/21/2001 06:42:43
fdisk tell me that :
> 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 169 (NetBSD)
> start 63, size 8191953 (3999 MB), flag 0x80
> beg: cylinder 0, head 1, sector 1
> end: cylinder 548, head 155, sector 63
> 1: sysid 131 (Linux native)
> start 8192016, size 81871776 (39976 MB), flag 0x0
> beg: cylinder 548, head 156, sector 1
> end: cylinder 1023, head 236, sector 63
So I add f: as you told me :
># size offset fstype [fsize bsize cpg]
> a: 1091601 63 4.2BSD 1024 8192 16 # (Cyl. 0*- 1082)
> b: 2099664 1091664 swap # (Cyl. 1083 - 3165)
> c: 8191953 63 unused 0 0 # (Cyl. 0*- 8126)
> d: 90069840 0 unused 0 0 # (Cyl. 0 - 89354)
> e: 5000688 3191328 System V # (Cyl. 3166 - 8126)
> f: 81871776 8192016 ext2fs 0 0
And when saving, disklabel tell me now :
> disklabel: line 27: warning, unknown filesystem type: ext2fs
And unfortunatly :
> root# mount_ext2fs /dev/wd0f /mnt/
> mount_ext2fs: /dev/wd0f on /mnt/: Device not configured
And when I re-edit disklabel I have :
> f: 81871776 8192016 unused 0 0 # (Cyl. 8127 - 89348)
I can't let fsize and bsize fields empty. When I do that, disklabel tell me :
> disklabel: line 27: too few fields
I'm being mad...
Do you have a idee to solve my problem ?
I have the GENERIC kernel with ext2fs support.
Thanks for your really great explanation of disklabel.
Best regards,
William Pomian