LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices


Reply
  Search this Thread
Old 06-19-2004, 04:31 AM   #1
Mikessu
Member
 
Registered: Sep 2003
Distribution: Gentoo, FreeBSD 5.1
Posts: 122

Rep: Reputation: 15
Can't mount ext3 (Invalid argument)


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

Last edited by Mikessu; 06-19-2004 at 04:33 AM.
 
Old 06-19-2004, 07:36 AM   #2
taivu
LQ Newbie
 
Registered: Oct 2002
Location: Spain
Distribution: Ubuntu, Debian Sarge, FreeBSD
Posts: 19

Rep: Reputation: 0
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.
 
Old 06-20-2004, 12:36 PM   #3
Mikessu
Member
 
Registered: Sep 2003
Distribution: Gentoo, FreeBSD 5.1
Posts: 122

Original Poster
Rep: Reputation: 15
It's in primary partition (/dev/hde1)
In fact, it's the only partition I have in my SATA disk and all my home directory files are there.
 
Old 06-20-2004, 02:09 PM   #4
Mikessu
Member
 
Registered: Sep 2003
Distribution: Gentoo, FreeBSD 5.1
Posts: 122

Original Poster
Rep: Reputation: 15
When I did fdisk ad4 I got this:

******* 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>
 
Old 06-20-2004, 05:27 PM   #5
taivu
LQ Newbie
 
Registered: Oct 2002
Location: Spain
Distribution: Ubuntu, Debian Sarge, FreeBSD
Posts: 19

Rep: Reputation: 0
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.
 
Old 06-21-2004, 09:55 AM   #6
Mikessu
Member
 
Registered: Sep 2003
Distribution: Gentoo, FreeBSD 5.1
Posts: 122

Original Poster
Rep: Reputation: 15
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
 
Old 06-30-2004, 09:05 PM   #7
pubb
LQ Newbie
 
Registered: May 2004
Location: Changsha,China
Distribution: Slackware
Posts: 3

Rep: Reputation: 0
Quote:
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
alsamixer invalid argument subaruwrx Linux - Software 1 03-12-2005 01:34 PM
[ Invalid Argument on 'iptables' ] benleung Linux - Security 1 09-23-2003 12:25 AM
Mount Failed: Invalid Argument BoboBrazil Linux - Software 4 07-13-2003 12:57 PM
xawtv - invalid argument liguorir Linux - Software 0 06-17-2003 08:55 PM
invalid numeric argument Copenhagen Cowboy Linux - General 4 03-29-2001 02:01 PM

LinuxQuestions.org > Forums > Other *NIX Forums > *BSD

All times are GMT -5. The time now is 05:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration