Linux partition appears as ext2 partition in disklabel

2014-03-06 Thread Dmitrij D. Czarkoff
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 The same message appears on boot.

Re: Linux partition appears as ext2 partition in disklabel

2014-03-06 Thread Ted Unangst
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

Re: Linux partition appears as ext2 partition in disklabel

2014-03-06 Thread Kenneth Westerback
On 6 March 2014 12:49, Dmitrij D. Czarkoff czark...@gmail.com 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:

Re: Linux partition appears as ext2 partition in disklabel

2014-03-06 Thread Dmitrij D. Czarkoff
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

Re: Linux partition appears as ext2 partition in disklabel

2014-03-06 Thread Kenneth Westerback
On 6 March 2014 13:23, Dmitrij D. Czarkoff czark...@gmail.com wrote: 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

Re: Linux partition appears as ext2 partition in disklabel

2014-03-06 Thread Dmitrij D. Czarkoff
Kenneth Westerback said: delete the partition 'i'. You don't need it, as it will be automatically created when necessary. Thanks! Apparently it wasn't re-created automatically, but I could rebuild my disklabel using disklabel -dE sd0, so now it works as expected. -- Dmitrij D. Czarkoff

Re: Linux partition appears as ext2 partition in disklabel

2014-03-06 Thread Alexander Hall
On March 6, 2014 7:23:50 PM CET, Dmitrij D. Czarkoff czark...@gmail.com wrote: 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

Re: Linux partition appears as ext2 partition in disklabel

2014-03-06 Thread Kenneth Westerback
On 6 March 2014 13:59, Dmitrij D. Czarkoff czark...@gmail.com wrote: Kenneth Westerback said: delete the partition 'i'. You don't need it, as it will be automatically created when necessary. Something would have been added. Again, the output of 'disklabel -d sd0' would be useful. Ken

Re: Linux partition appears as ext2 partition in disklabel

2014-03-06 Thread Alexander Hall
[cc:ing misc@ for the archives] On 03/06/14 21:29, Dmitrij D. Czarkoff wrote: Alexander Hall said: 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? Read the error message you just

Re: Linux partition appears as ext2 partition in disklabel

2014-03-06 Thread Ted Unangst
On Thu, Mar 06, 2014 at 23:06, Alexander Hall wrote: I thought that bounds of BSD label should correspond to MBR partition holding such label. Am I wrong? At least disklabel(8) warns against extending them beyond this limit. Of course. If you start using some other operating system's space