You are not logged in.

#1 2007-03-17 09:47:08

unixlust
Member
From: Sebes, Romania
Registered: 2007-01-12
Posts: 31

ext3 and OpenBSD

I installed OpenBSD 4.1-snapshot yesterday just to see how it works. Did a full install, choosing all the packages the installer allows me to. I read the documentation step by step, trying to be careful at the partitioning screen, to make sure I don't mess up my ext3 Linux partition. fdisk is very advanced. Once I finished installing the system, I booted from a Linux LiveCD in order to read some documentation on installing OpenBSD applications and stuff. The problem is that now Linux does not 'see' my ext3 partition from hda anymore, Only OpenBSD can mount it. In Linux:

fdisk -l
This disk has both DOS and BSD magic.
Give the 'b' command to go to BSD mode.

Disk /dev/hda: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

This doesn't look like a partition table
Probably you selected the wrong device.

   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   ?       15357      229722  1721888152+  e8  Unknown
Partition 1 does not end on cylinder boundary.
/dev/hda2   ?           1           1           0    1  FAT12
Partition 2 does not end on cylinder boundary.
/dev/hda3          115307      125803    84312115+   0  Empty
Partition 3 does not end on cylinder boundary.
/dev/hda4   ?           1           1           0   3f  Unknown
Partition 4 does not end on cylinder boundary.

Partition table entries are not in disk order

Disk /dev/hdb: 20.0 GB, 20020396032 bytes
255 heads, 63 sectors/track, 2434 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hdb1   *           1        2434    19551073+  83  Linux

Does anyone know how do I convince my Linux to mount my ext3 hda2 ?

Offline

#2 2007-03-17 12:38:43

jerem
Member
From: France
Registered: 2005-01-15
Posts: 310

Re: ext3 and OpenBSD

The OpenBSD doc recommends using OpenBSD's fdisk to create BSD partitions
and GNU/Linux's fdisk to create linux partitions.

Don't use one to create all the partitions for the other system.

Offline

#3 2007-03-17 18:04:03

shilder
Member
From: Russia
Registered: 2007-02-13
Posts: 13

Re: ext3 and OpenBSD

jerem wrote:

The OpenBSD doc recommends using OpenBSD's fdisk to create BSD partitions
and GNU/Linux's fdisk to create linux partitions.

Don't use one to create all the partitions for the other system.

well.. i think the unixlust had the ext3 partition created in linux fdisk before installation... smile

afair, openbsd uses disklabel to control the partitions so it doesn't rely on partition table.

btw your partition table seems to be incorrect for /dev/hda smile)

you can try to recreate your partition table manually using the output of OpenBSD's disklabel, but i'm not sure smile

and maybe it is a new bug in installer, because i have installed OpenBSD 4.0 on my home workstation with NTFS partitions and all worked fine smile

PS you may read mans in openbsd for further info on this (boot(8) biosboot(8) disklabel(5) disklabel(8) fdisk(8) etc)


it is somewhat difficult for me to express my thoughts in english language... so sorry me for my english smile

Offline

Board footer

Powered by FluxBB