Ted Unangst said: > On Thu, Mar 06, 2014 at 18:49, Dmitrij D. Czarkoff wrote: > > Hello! > > > > I have a strange problem. Recently I added following to my /etc/fstab: > > > > /dev/sd0i /mnt/arch ext2fs rw,nodev,nosuid,noexec 0 0 > > > > I can't mount this partition using "mount -a": > > > > $ sudo mount -a > > mount: /dev/sd0i: fstab type ext2fs != disklabel type ntfs > > > i: 104857600 2048 NTFS # /mnt/arch > > Edit the disklabel to say ext2fs?
I was under impression that fdisk edits MBR partitions and disklabel only edits BSD labels. Anyway: $ sudo disklabel -E sd0 Label editor (enter '?' for help at any prompt) > p OpenBSD area: 104859648-625137345; size: 520277697; free: 15 # size offset fstype [fsize bsize cpg] a: 33556384 104859648 4.2BSD 2048 16384 1 # / b: 8385938 138416032 swap # none c: 625142448 0 unused d: 478335360 146801984 4.2BSD 4096 32768 1 # /home i: 104857600 2048 NTFS # /mnt/arch > m i offset: [2048] The offset must be >= 104859648 and < 625137345, the limits of the OpenBSD portion of the disk. The 'b' command can change these limits. > Any other ideas? -- Dmitrij D. Czarkoff