*BSDThis forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I just took FreeBSD for desktop use but all my important files are in Linux partition. When I try to mount my Linux ext3 partition that is on my Serial ATA disk I get this:
mount -t ext2fs /dev/ad4s1 /mnt
ext2fs: /dev/ad4s1: Invalid argument
But I can mount other ext3 partitions that are on same hard disk with freebsd:
mount -t ext2fs /dev/ad0s2 /mnt (this one works)
In Linux my Serial ATA disk is /dev/hde and other is /dev/hda
I thought that hde1 would be ad4s1 in FreeBSD
Is your /dev/hde on primary or extended partition? If I'm not mistaken, the primary slices are numbered 1-4 and logical (on extended partitions) 5 onwards.
******* Working on device /dev/ad4 *******
parameters extracted from in-core disklabel are:
cylinders=238216 heads=16 sectors/track=63 (1008 blks/cyl)
Figures below won't work with BIOS for partitions not in cyl 1
parameters to be used for BIOS calculations are:
cylinders=238216 heads=16 sectors/track=63 (1008 blks/cyl)
Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 131 (0x83),(Linux native)
start 63, size 240121665 (117246 Meg), flag 80 (active)
beg: cyl 0/ head 1/ sector 1;
end: cyl 1023/ head 15/ sector 63
The data for partition 2 is:
<UNUSED>
The data for partition 3 is:
<UNUSED>
The data for partition 4 is:
<UNUSED>
Hmmm... /dev/ad4s1 should be correct then. One thing to try: run fsck while in Linux, then boot to FreeBSD and try the mount again. Let us know if that helped.
I ran fsck /dev/hde1 and it didn't find any errors. Anyway I booted to FreeBSD and this time I ran mount /dev/ad4s1 from text mode. Now I got this error that didn't appear when running mount command from KDE console:
Warning R/W mount of ad4s1 due to unsupported optional features
I was able to mount linux partition as read only.. well that's ok for now but if someone knows how I get it writable please tell me
Originally posted by Mikessu I ran fsck /dev/hde1 and it didn't find any errors. Anyway I booted to FreeBSD and this time I ran mount /dev/ad4s1 from text mode. Now I got this error that didn't appear when running mount command from KDE console:
Warning R/W mount of ad4s1 due to unsupported optional features
I was able to mount linux partition as read only.. well that's ok for now but if someone knows how I get it writable please tell me
freebsd 5.2.1
the same dmesg here. i'm sure it's clean.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.