Subject: access FS on disk without disk label
To: None <netbsd-help@netbsd.org>
From: Jukka Salmi <jukka-netbsd@2003.salmi.ch>
List: netbsd-help
Date: 07/14/2003 23:06:21
Hi,
I'd like to access a ext2 file system from within NetBSD. The ext2
partition is located on a disk which is not used by NetBSD (wd0) and
therefore does not have a disk label.
And that's exactly what disklabel complained about when I did a
# disklabel -e wd0
[...edits...]
disklabel: ioctl DIOCWDINFO: No disk label on disk;
use "disklabel -I" to install initial label
So I tried with
# disklabel -I -e wd0
[...edits...]
Erase the previous contents of the disk? [n]:
I do have backups, I just can't remember where they are... ;-)
What should I do to be able to access the ext2fs?
TIA, Jukka
--
bashian roulette:
$ ((RANDOM%6)) || rm -rf ~