Subject: Re: labelling a linux disk
To: None <netbsd-help@netbsd.org>
From: Alan Post <apost@interwoven.com>
List: netbsd-help
Date: 01/30/2003 08:16:39
Thanks for taking an interest.

In article <20030130080203.B968015@snowdrop.l8s.co.uk>, David Laight wrote:
>> In fact, I can mount
>> and use the drive with no problem.  If I add it to fstab,
>> however, at reboot the system gets very unhappy with the
>> drive and drops into single-user mode.
> 
> You might manage with 'noauto' and mount them later?
> What so the fstab enties look like?

/dev/wd1f /mnt/wd1f ext2fs rw 1 2

>> So I figure that I need to add a label.
> 
> That would need a netbsd partition, creating one would delete
> one of the Linux ones as there isn't any space...

The first Linux partition (wd1e) is expendable.

 d: 240121728         0     unused      0     0         # (Cyl.    0 - 238215)
 e:   4195233        63 Linux Ext2      0     0         # (Cyl.    0*- 4161)
 f: 235926432   4195296 Linux Ext2      0     0         # (Cyl. 4162 - 238215)
disklabel: boot block size 0
disklabel: super block size 0

> disklabel is lying, since you actually need to run fdisk first.

If I run fdisk, will that clobber the data in wd1f, which I care about?

  Alan