Re: mounting linux partitions

2008-05-10 Thread Gonzalo Nemmi
On Friday 09 May 2008 14:40:06 Isaac Mushinsky wrote:
 Now I would like to mount ext3 partition from FreeBSD at least for reading,
 or vice versa, UFS2 from linux for writing. With kernel option EXT2FS, I
 can

I mounted UFS2 paritions under Linux like this:

[EMAIL PROTECTED] ~]$ grep fbsd7 /etc/fstab
/dev/sda9  /mnt/fbsd7  ufsufstype=ufs2,user,auto,ro, 1 2
/dev/sda11/mnt/fbsd7/varufsufstype=ufs2,user,auto,ro, 1 2
/dev/sda12/mnt/fbsd7/tmp   ufsufstype=ufs2,user,auto,ro, 1 2
/dev/sda13/mnt/fbsd7/usrufsufstype=ufs2,user,auto,ro, 1 2
[EMAIL PROTECTED] ~]$

 $ mount -t etx2fs /dev/ad12s7 /linux

 but then if I do

 $ ls /linux
 I get a 'Bad file descriptor' for directory /linux. e2fsprogs are
 installed, and fsck.ext2 or fsck.ext3 think well of the partition. Also, df
 seems to show it correctly, with size and free space.

Same problem in here .. 
Same FS ...
Using the same line ...

I couldn't figure out a solution .. 
I either get a 'Bad file descriptor' for directory /linux' or 

$ ls /linux 
No such file or directory

 I have FreeBSD 7.0 for amd64, Linux is 32-bit version. Also the partition
 is 'extended', i.e. fdisk on FreeBSD shows a DOS partition, but linux's
 fdisk shows a couple of ext3 partitions. However, /dev/ad12s7 does
 correspond to the correct linux partition and, when mounted, df shows the
 right size and utilization.

FreeBSD 7.0 i386 and Linux i386 in here

 Any advice how to share a partition between these 2 systems? I only want to
 use linux to scan the film and store the pictures on disk, then boot into
 FreeBSD where I spend most of my life as a user. I feel more comfortable
 pulling from FreeBSD rather than pushing to it because (1) it is easier for
 me to recompile FreeBSD kernel or install packages if necessary, and (2) I
 would mind much less a corruption on the linux partition than on UFS; I can
 simply reinstall the default installation for Linux, but FreeBSD has
 important data and is finely tuned for me over the years.

Same in here .. 
I've got all of my music on a ext3 partition and pdfs and pictures on another 
ext3 partition .. I only need to mount those two in order to get FreeBSD's 
Amarok access to my music collection.

Any help will be greatly apprecciated ..
Really

-- 
Blessings
Gonzalo Nemmi
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


mounting linux partitions

2008-05-09 Thread Isaac Mushinsky
I have installed a linux distro on a partition of my machine (latest
Mandriva i686, default installation). I only need it to use a piece of
software for Nikon Coolscan IV film scanner (yes, sane works, but a cheap
commercial package called vuescan has better interface and uses some
hardware features like infrared channel that sane does not support, at least
in current stable version).

Now I would like to mount ext3 partition from FreeBSD at least for reading,
or vice versa, UFS2 from linux for writing. With kernel option EXT2FS, I can


$ mount -t etx2fs /dev/ad12s7 /linux

but then if I do

$ ls /linux

I get a 'Bad file descriptor' for directory /linux. e2fsprogs are installed,
and fsck.ext2 or fsck.ext3 think well of the partition. Also, df seems to
show it correctly, with size and free space.

I have FreeBSD 7.0 for amd64, Linux is 32-bit version. Also the partition is
'extended', i.e. fdisk on FreeBSD shows a DOS partition, but linux's fdisk
shows a couple of ext3 partitions. However, /dev/ad12s7 does correspond to
the correct linux partition and, when mounted, df shows the right size and
utilization.

Any advice how to share a partition between these 2 systems? I only want to
use linux to scan the film and store the pictures on disk, then boot into
FreeBSD where I spend most of my life as a user. I feel more comfortable
pulling from FreeBSD rather than pushing to it because (1) it is easier for
me to recompile FreeBSD kernel or install packages if necessary, and (2) I
would mind much less a corruption on the linux partition than on UFS; I can
simply reinstall the default installation for Linux, but FreeBSD has
important data and is finely tuned for me over the years.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Mounting Linux Procfs at Boot

2006-08-31 Thread Boris Samorodov
On Thu, 31 Aug 2006 00:22:03 +0100 RW wrote:
 On Wednesday 30 August 2006 21:55, Gerard Seibert wrote:
  RW wrote:
   What's the canonical way of mounting the Linux procfs at boot-time?
  
   I've seen several recommendations to add the following to fstab:
  
   linproc/compat/linux/proc  linprocfs rw  0  0
  
   But in a standard installation, this mount-point is really under /usr,
   which isn't mounted until pass 2. If I change the pass number to 2, it
   fails with an unexpected inconsistencies error. I presume this is
   because mount is trying to fsck it, and failing to find fsck_linprocfs.
 
  This is what I have in my /etc/fstab file:
 
  linprocfs /compat/linux/proc  linprocfs rw   00
 
  Is this what you are referring to?

 I tried it and it didn't work. Irrespective of whether it should begin 
 linproc
 or linprocfs,  /compat is a link to /usr/compat, and /usr isn't mounted at 
 that point. Do you have a different arrangement?

Can't confirm that the problem exists:
$ uname -a
FreeBSD srv.sem.ipt.ru 6.1-STABLE FreeBSD 6.1-STABLE #2: Wed May 17 23:26:59 
MSD 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SRV  i386

But what do you mean /usr isn't mounted at that point?. Have you
read man fstab?

 BTW I'm running 6.1 (upgraded from an original 5.3 install)

Usually an output of uname -a is much more informative here. 6.1 may
mean release, release + security patches, stable... And a platform
also is of interest here.


WBR
-- 
Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone  Internet SP
FreeBSD committer, http://www.FreeBSD.org The Power To Serve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Mounting Linux Procfs at Boot

2006-08-31 Thread Gerard Seibert
Boris Samorodov wrote:

  I tried it and it didn't work. Irrespective of whether it should begin 
  linproc
  or linprocfs,  /compat is a link to /usr/compat, and /usr isn't mounted at 
  that point. Do you have a different arrangement?

Would it be possible to submit the output of 'dmesg' here?

BTW, are you also attempting to load 'proc'?

// fstab //

[...]
proc  /proc procfsrw   00

// * //


-- 
Gerard Seibert
[EMAIL PROTECTED]

Think about it: The *average* American has one tit and one testicle.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Mounting Linux Procfs at Boot

2006-08-31 Thread RW
On Thursday 31 August 2006 10:09, Boris Samorodov wrote:
 On Thu, 31 Aug 2006 00:22:03 +0100 RW wrote:

 Can't confirm that the problem exists:
 $ uname -a
 FreeBSD srv.sem.ipt.ru 6.1-STABLE FreeBSD 6.1-STABLE #2: Wed May 17
 23:26:59 MSD 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SRV  i386

 But what do you mean /usr isn't mounted at that point?. Have you
 read man fstab?

Probably I mistinterpreted man fstab, but it's complaining that /compat/linux 
doesn't exist even though it does:

ls -ld /compat /usr/compat /usr/compat/linux
lrwxr-xr-x   1 root  wheel   10 Jun  7  2005 /compat - usr/compat
drwxr-xr-x   3 root  wheel  512 Jun  8  2005 /usr/compat
drwxr-xr-x  22 root  wheel  512 Aug 22 03:51 /usr/compat/linux


  BTW I'm running 6.1 (upgraded from an original 5.3 install)

 Usually an output of uname -a is much more informative here. 6.1 may
 mean release, release + security patches, stable... And a platform
 also is of interest here.

6.1-RELEASE-p4 i386 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Mounting Linux Procfs at Boot

2006-08-31 Thread Jerry McAllister
 
 On Thursday 31 August 2006 10:09, Boris Samorodov wrote:
  On Thu, 31 Aug 2006 00:22:03 +0100 RW wrote:
 
  Can't confirm that the problem exists:
  $ uname -a
  FreeBSD srv.sem.ipt.ru 6.1-STABLE FreeBSD 6.1-STABLE #2: Wed May 17
  23:26:59 MSD 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SRV  i386
 
  But what do you mean /usr isn't mounted at that point?. Have you
  read man fstab?
 
 Probably I mistinterpreted man fstab, but it's complaining that /compat/linux 
 doesn't exist even though it does:
 
 ls -ld /compat /usr/compat /usr/compat/linux
 lrwxr-xr-x   1 root  wheel   10 Jun  7  2005 /compat - usr/compat
 drwxr-xr-x   3 root  wheel  512 Jun  8  2005 /usr/compat
 drwxr-xr-x  22 root  wheel  512 Aug 22 03:51 /usr/compat/linux

I haven't followed this thread, so I may be way off here, but...

In the above, /compat is a link to usr/compat.  (note the - symbol)
I suspect that you cannot mount on a link, and that mount
doesn't follow links.

You probably would have to mount on /usr/compat directly
or make /compat a real directory and not a link or something.

jerry

 
 
   BTW I'm running 6.1 (upgraded from an original 5.3 install)
 
  Usually an output of uname -a is much more informative here. 6.1 may
  mean release, release + security patches, stable... And a platform
  also is of interest here.
 
 6.1-RELEASE-p4 i386 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Mounting Linux Procfs at Boot

2006-08-31 Thread Boris Samorodov
On Thu, 31 Aug 2006 15:44:39 +0100 RW wrote:
 On Thursday 31 August 2006 10:09, Boris Samorodov wrote:
  On Thu, 31 Aug 2006 00:22:03 +0100 RW wrote:

  Can't confirm that the problem exists:
  $ uname -a
  FreeBSD srv.sem.ipt.ru 6.1-STABLE FreeBSD 6.1-STABLE #2: Wed May 17
  23:26:59 MSD 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SRV  i386
 
  But what do you mean /usr isn't mounted at that point?. Have you
  read man fstab?

 Probably I mistinterpreted man fstab,

If you show us what did you misinterpret, we may be able to help you.

 but it's complaining that /compat/linux 

Who? Can you provide us with some more info? Any logs? You mentioned
that it's complaining... for the first time. And show us your
/etc/fstab, please.

 doesn't exist even though it does:

 ls -ld /compat /usr/compat /usr/compat/linux
 lrwxr-xr-x   1 root  wheel   10 Jun  7  2005 /compat - usr/compat
 drwxr-xr-x   3 root  wheel  512 Jun  8  2005 /usr/compat
 drwxr-xr-x  22 root  wheel  512 Aug 22 03:51 /usr/compat/linux

   BTW I'm running 6.1 (upgraded from an original 5.3 install)
 
  Usually an output of uname -a is much more informative here. 6.1 may
  mean release, release + security patches, stable... And a platform
  also is of interest here.

 6.1-RELEASE-p4 i386 

OK.


WBR
-- 
Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone  Internet SP
FreeBSD committer, http://www.FreeBSD.org The Power To Serve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Mounting Linux Procfs at Boot

2006-08-31 Thread RW
On Thursday 31 August 2006 16:26, Boris Samorodov wrote:
 On Thu, 31 Aug 2006 15:44:39 +0100 RW wrote:
  On Thursday 31 August 2006 10:09, Boris Samorodov wrote:
   On Thu, 31 Aug 2006 00:22:03 +0100 RW wrote:

  but it's complaining that /compat/linux

 Who? Can you provide us with some more info? Any logs?

I don't know how to get the logs written to disk,  the startup process aborts 
before /var is mounted.

I see the output from fsck -p -F , it then says:

   mount: /usr/compat: no such file or directory
   mounting /etc/fstab filesytems failed, startup aborted

I'm then given the prompt to pick a shell.

Avoiding the symlink by using /usr/compat/linux/proc still causes a failure. 
However, if I use a mountpoint on the root partition it mounts correctly. 

 And show us your /etc/fstab, please.

fstab is below, 

-
$ cat /etc/fstab.f
# DeviceMountpoint  FStype  Options DumpPass#
/dev/ad4s1b.bde noneswapsw  0   0
/dev/ad6s1b.bde noneswapsw  0   0

proc/proc   procfs  rw  0   0

linprocfs /compat/linux/proc  linprocfs  rw0   0

/dev/ad4s1a /   ufs rw  1   1
/dev/ad4s1g /home   ufs rw  2   2
/dev/ad4s1e /tmpufs rw  2   2
/dev/ad4s1f /usrufs rw  2   2
/dev/ad4s1d /varufs rw  2   2
/dev/acd0   /dvdrw  cd9660  ro,noauto   0   0
/dev/acd1   /dvdcd9660  ro,noauto   0   0

/dev/ad6s1d /data  ufs rw  2   2

/dev/ad0s2a /oldufs rw  2   2
/dev/ad0s2g /old/home   ufs rw  2   2
/dev/ad0s2d /old/varufs rw  2   2
/dev/ad0s2f /old/usrufs rw  2   2


/dev/ad0s1  /dos/c  msdos   rw  0   0
/dev/da0s1  /mnt/cammsdos   rw,noauto   0   0
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Mounting Linux Procfs at Boot

2006-08-31 Thread Boris Samorodov
On Thu, 31 Aug 2006 21:31:33 +0100 RW wrote:
 On Thursday 31 August 2006 16:26, Boris Samorodov wrote:
  On Thu, 31 Aug 2006 15:44:39 +0100 RW wrote:
   On Thursday 31 August 2006 10:09, Boris Samorodov wrote:
On Thu, 31 Aug 2006 00:22:03 +0100 RW wrote:

   but it's complaining that /compat/linux
 
  Who? Can you provide us with some more info? Any logs?

 I don't know how to get the logs written to disk,  the startup process aborts 
 before /var is mounted.

 I see the output from fsck -p -F , it then says:

mount: /usr/compat: no such file or directory
mounting /etc/fstab filesytems failed, startup aborted

 I'm then given the prompt to pick a shell.

Oh, you should say it at the very first letter!

 Avoiding the symlink by using /usr/compat/linux/proc still causes a failure. 
 However, if I use a mountpoint on the root partition it mounts correctly. 

  And show us your /etc/fstab, please.

 fstab is below, 

 -
 $ cat /etc/fstab.f
 # DeviceMountpoint  FStype  Options DumpPass#
 /dev/ad4s1b.bde noneswapsw  0   0
 /dev/ad6s1b.bde noneswapsw  0   0

 proc/proc   procfs  rw  0   0

 linprocfs /compat/linux/proc  linprocfs  rw0   0

Move this line down and place it after mounting of /usr.

 /dev/ad4s1a /   ufs rw  1   1
 /dev/ad4s1g /home   ufs rw  2   2
 /dev/ad4s1e /tmpufs rw  2   2
 /dev/ad4s1f /usrufs rw  2   2
 /dev/ad4s1d /varufs rw  2   2
 /dev/acd0   /dvdrw  cd9660  ro,noauto   0   0
 /dev/acd1   /dvdcd9660  ro,noauto   0   0

 /dev/ad6s1d /data  ufs rw  2   2

 /dev/ad0s2a /oldufs rw  2   2
 /dev/ad0s2g /old/home   ufs rw  2   2
 /dev/ad0s2d /old/varufs rw  2   2
 /dev/ad0s2f /old/usrufs rw  2   2


 /dev/ad0s1  /dos/c  msdos   rw  0   0
 /dev/da0s1  /mnt/cammsdos   rw,noauto   0   0


WBR
-- 
Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone  Internet SP
FreeBSD committer, http://www.FreeBSD.org The Power To Serve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Mounting Linux Procfs at Boot

2006-08-31 Thread RW
On Thursday 31 August 2006 22:12, Boris Samorodov wrote:

 Move this line down and place it after mounting of /usr.

Thanks.

That was actually one of the first things I tried, I guess I must have 
screwed-up something else at the time.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Mounting Linux Procfs at Boot

2006-08-30 Thread RW
What's the canonical way of mounting the Linux procfs at boot-time?

I've seen several recommendations to add the following to fstab:

linproc/compat/linux/proc  linprocfs rw  0  0

But in a standard installation, this mount-point is really under /usr, which 
isn't mounted until pass 2. If I change the pass number to 2, it fails with 
an unexpected inconsistencies error. I presume this is because mount is 
trying to fsck it, and failing to find fsck_linprocfs.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Mounting Linux Procfs at Boot

2006-08-30 Thread Gerard Seibert
RW wrote:

 What's the canonical way of mounting the Linux procfs at boot-time?
 
 I've seen several recommendations to add the following to fstab:
 
 linproc/compat/linux/proc  linprocfs rw  0  0
 
 But in a standard installation, this mount-point is really under /usr, which 
 isn't mounted until pass 2. If I change the pass number to 2, it fails with 
 an unexpected inconsistencies error. I presume this is because mount is 
 trying to fsck it, and failing to find fsck_linprocfs.


This is what I have in my /etc/fstab file:

linprocfs /compat/linux/proc  linprocfs rw   00

Is this what you are referring to?

-- 
Gerard Seibert
[EMAIL PROTECTED]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Mounting Linux Procfs at Boot

2006-08-30 Thread RW
On Wednesday 30 August 2006 21:55, Gerard Seibert wrote:
 RW wrote:
  What's the canonical way of mounting the Linux procfs at boot-time?
 
  I've seen several recommendations to add the following to fstab:
 
  linproc/compat/linux/proc  linprocfs rw  0  0
 
  But in a standard installation, this mount-point is really under /usr,
  which isn't mounted until pass 2. If I change the pass number to 2, it
  fails with an unexpected inconsistencies error. I presume this is
  because mount is trying to fsck it, and failing to find fsck_linprocfs.

 This is what I have in my /etc/fstab file:

 linprocfs /compat/linux/proc  linprocfs rw   00

 Is this what you are referring to?

I tried it and it didn't work. Irrespective of whether it should begin linproc  
  
or linprocfs,  /compat is a link to /usr/compat, and /usr isn't mounted at 
that point. Do you have a different arrangement?

BTW I'm running 6.1 (upgraded from an original 5.3 install)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Error mounting Linux ext2fs drive

2004-10-01 Thread Damon Butler
Now here's the frustrating bit. Time has passed and the machine has been 
shut down and rebooted a few times. After that initial success, I have 
never been able to mount that [EMAIL PROTECTED] drive again. I invariably get a

   Operation not permitted
error. What gives? How can I retrieve my former happiness?
--Damon
this is the default error spewed out when the linux file system is not
clean. (I.E. it was not unmounted properly on the shutdown where it
ceased working)
This is the problem! Thank you! As soon as I rebuilt the journal (it's 
actually an ext3 filesystem) I could mount the drive again.

Happiness is a mounted hard drive.
--Damon
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Error mounting Linux ext2fs drive

2004-09-30 Thread Damon Butler
I recompiled my kernel, including the options EXT2FS option line. No 
problem. After rebooting, I was able to successfully mount my linux 
drive thusly:

mount -t ext2fs /dev/ad0s1 /linux
I transferred some files and was very happy.
Now here's the frustrating bit. Time has passed and the machine has been 
shut down and rebooted a few times. After that initial success, I have 
never been able to mount that [EMAIL PROTECTED] drive again. I invariably get a

Operation not permitted
error. What gives? How can I retrieve my former happiness?
--Damon
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Error mounting Linux ext2fs drive

2004-09-30 Thread Damon Butler
Grégory Nou wrote:
May sound as a stupid question, but did you actually logged as root, or 
su before performing this command ?
[EMAIL PROTECTED] wrote:
 Have you tried to mount the drive as root?
Heh. Yes indeed, first thing I tried. I've also tried mounting the drive 
as virtually every other user that exists. No dice.

 What is in the /var/log/messages file?
I'm not sitting in front of the machine, so I can't tell you. If you 
still think it's relevant, I'll fetch a copy of it as soon as I can.

 What kind of error?
I wish I knew. The error message is no more explicit than Operation not 
permitted. Seriously. Here's the error in full:

ext2fs: /dev/ad0s1: Operation not permitted
My attempts at Googling some help have so far proven useless. Bother.
--Damon
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Error mounting Linux ext2fs drive

2004-09-30 Thread Subhro
sysctl -a | grep securelevel ?

Regards
S.


On Thu, 30 Sep 2004 08:52:06 -0500, Damon Butler [EMAIL PROTECTED] wrote:
 Grégory Nou wrote:
  May sound as a stupid question, but did you actually logged as root, or
  su before performing this command ?
 
 [EMAIL PROTECTED] wrote:
  Have you tried to mount the drive as root?
 
 Heh. Yes indeed, first thing I tried. I've also tried mounting the drive
 as virtually every other user that exists. No dice.
 
  What is in the /var/log/messages file?
 
 I'm not sitting in front of the machine, so I can't tell you. If you
 still think it's relevant, I'll fetch a copy of it as soon as I can.
 
  What kind of error?
 
 I wish I knew. The error message is no more explicit than Operation not
 permitted. Seriously. Here's the error in full:
 
 ext2fs: /dev/ad0s1: Operation not permitted
 
 My attempts at Googling some help have so far proven useless. Bother.
 
 
 --Damon
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 



-- 
Subhro Sankha Kar
School of Information Technology
Block AQ-13/1 Sector V
ZIP 700091
India
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Error mounting Linux ext2fs drive

2004-09-30 Thread Erik Greenwald
On Thu, Sep 30, 2004 at 08:39:16AM -0500, Damon Butler wrote:
 I recompiled my kernel, including the options EXT2FS option line. No 
 problem. After rebooting, I was able to successfully mount my linux 
 drive thusly:
 
 mount -t ext2fs /dev/ad0s1 /linux
 
 I transferred some files and was very happy.
 
 Now here's the frustrating bit. Time has passed and the machine has been 
 shut down and rebooted a few times. After that initial success, I have 
 never been able to mount that [EMAIL PROTECTED] drive again. I invariably get a
 
 Operation not permitted
 
 error. What gives? How can I retrieve my former happiness?
 --Damon

this is the default error spewed out when the linux file system is not
clean. (I.E. it was not unmounted properly on the shutdown where it
ceased working)

install the sysutils/e2fsprogs port and e2fsck the /dev/ad0s1 (or boot
linux and use that if it's possible), hopefully that will fix your issue
:)


-- 
-Erik [EMAIL PROTECTED] [http://math.smsu.edu/~erik]

The opinions expressed by me are not necessarily opinions. In all probability,
they are random rambling, and to be ignored. Failure to ignore may result in
severe boredom or confusion. Shake well before opening. Keep Refrigerated.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


mounting linux

2004-07-27 Thread John Widenoja
I appologize in advance for having to ask this question. I have skimmed 
through the manual, and have missed the answer.

I use BSD on a disk which is 50-50 win 98 and 5.2. I use, on the same 
computer win ME and RH linux 8.0. I can access the dos partitions with 
no problem using mount_msdosfs, but no matter what I try, I am unable 
to access the RH partition.

The RH partition is on a scsi U-160 drive, but the dos side is right there.
I would appreciate any suggestions on how to mount the linux partition.
Thanks,
John Widenoja
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: mounting linux

2004-07-27 Thread jens
On Tuesday 27 July 2004 08:23, John Widenoja wrote:
Your linux fs must be ext2 or ext3
Compile in the kernel the 
option EXT2FS
command line after reboot
mount_ext2  /dev/adxxx /mnt with eventually the -o ro option gentoo for 
example).

Kind regards. 

Jens 





 I appologize in advance for having to ask this question. I have skimmed
 through the manual, and have missed the answer.

 I use BSD on a disk which is 50-50 win 98 and 5.2. I use, on the same
 computer win ME and RH linux 8.0. I can access the dos partitions with
 no problem using mount_msdosfs, but no matter what I try, I am unable
 to access the RH partition.

 The RH partition is on a scsi U-160 drive, but the dos side is right there.

 I would appreciate any suggestions on how to mount the linux partition.

 Thanks,
 John Widenoja

 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


mounting linux filesystems

2003-12-22 Thread Bob Pekarske
I have two disks (IDE) that came from a dismantled Linux workstation. I
would like to scan them for files worthy of saving.

Is there any tool which will allow me to mount and read files from a
linux filesystem?

Thank you,

Bob Pekarske
[EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: mounting linux filesystems

2003-12-22 Thread DG
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Bob Pekarske
 Sent: Tuesday, 23 December 2003 3:19 AM
 To: [EMAIL PROTECTED]
 Subject: mounting linux filesystems


 I have two disks (IDE) that came from a dismantled Linux
 workstation. I
 would like to scan them for files worthy of saving.

 Is there any tool which will allow me to mount and read files from a
 linux filesystem?

 Thank you,

 Bob Pekarske
 [EMAIL PROTECTED]

mount will let you do this, but you may need to compile a custom kernel to
include EXT2FS support.

Dave

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: mounting linux filesystems

2003-12-22 Thread DG
 -Original Message-
 From: User  [mailto:User ]
 Sent: Tuesday, 23 December 2003 8:43 AM
 To: DG; [EMAIL PROTECTED]
 Subject: Re: mounting linux filesystems


 Hi Dave,

 Do you happen to know where to add these options in the
 kernel? I've been
 troubled by this problem for some time as well.

 Thanks,

 Jorn

 On Monday 22 December 2003 22:37, DG wrote:
 
  mount will let you do this, but you may need to compile a
 custom kernel to
  include EXT2FS support.
 
  Dave

I added the following line to my custom kernel config file:

options  EXT2FS

This option does not appear to be documented anywhere, and it is for a
5.1-RELEASE system btw.

Dave

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: mounting linux ext3 partition

2003-08-27 Thread Shantanu Mahajan
+-- Joshua Oreman [freebsd] [26-08-03 21:21 IST]:
| On Tue, Aug 26, 2003 at 01:03:33AM -0400 or thereabouts, dave wrote:
|  Hello,
|  I'm trying to mount a linux ext3 partition. I understand that it's
|  possible to do it using the ext2 kernel driver so i've recompiled a kernel
|  with that option in it. When i do:
|  mount_ext2fs /dev/ad1 /mnt
|  this is what i get.
|  
|  ad1: 38166MB WDC WD400AB-32CDB0 [77545/16/63] at ata0-slave UDMA100
|  ext2fs: ad1: wrong magic number 0 (expected 0xef53)
|  WARNING: mount of ad1s1 denied due to unsupported optional features
|  ext2fs: ad1: wrong magic number 0 (expected 0xef53)
|  WARNING: mount of ad1s1 denied due to unsupported optional features
|  ext2fs: ad1: wrong magic number 0 (expected 0xef53)
|  ext2fs: ad1: wrong magic number 0 (expected 0xef53)
|  ext2fs: ad1: wrong magic number 0 (expected 0xef53)
| 
| I think your drive is marked dirty. Please mount/umount it in Linux
| and try again.
| 
| BTW: ext3 is compatible w/ext2 *ONLY* when the dirty bit is unset. When
|  it is set, journal rollback is necessary which only ext3 can handle.


to check ext2/3 file system in FreeBSD, checkout the
port
/usr/ports/sysutils/fsck_ext2fs

It worked for me.
| 
| -- Josh
| 
|  
|  Any help appreciated.
|  Dave.
|  

-- 
Regards,
Shantanu Mahajan
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


mounting linux ext3 partition

2003-08-26 Thread dave
Hello,
I'm trying to mount a linux ext3 partition. I understand that it's
possible to do it using the ext2 kernel driver so i've recompiled a kernel
with that option in it. When i do:
mount_ext2fs /dev/ad1 /mnt
this is what i get.

ad1: 38166MB WDC WD400AB-32CDB0 [77545/16/63] at ata0-slave UDMA100
ext2fs: ad1: wrong magic number 0 (expected 0xef53)
WARNING: mount of ad1s1 denied due to unsupported optional features
ext2fs: ad1: wrong magic number 0 (expected 0xef53)
WARNING: mount of ad1s1 denied due to unsupported optional features
ext2fs: ad1: wrong magic number 0 (expected 0xef53)
ext2fs: ad1: wrong magic number 0 (expected 0xef53)
ext2fs: ad1: wrong magic number 0 (expected 0xef53)

ad1 is a slave drive. Here is the fdisk output.

*** Working on device /dev/ad1 ***
parameters extracted from in-core disklabel are:
cylinders=77545 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=77545 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 78156162 (38162 Meg), flag 80 (active)
 beg: cyl 0/ head 1/ sector 1;
 end: cyl 1023/ head 254/ sector 63
The data for partition 2 is:
UNUSED
The data for partition 3 is:
UNUSED
The data for partition 4 is:
UNUSED

Any help appreciated.
Dave.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: mounting linux ext3 partition

2003-08-26 Thread Joshua Oreman
On Tue, Aug 26, 2003 at 01:03:33AM -0400 or thereabouts, dave wrote:
 Hello,
 I'm trying to mount a linux ext3 partition. I understand that it's
 possible to do it using the ext2 kernel driver so i've recompiled a kernel
 with that option in it. When i do:
 mount_ext2fs /dev/ad1 /mnt
 this is what i get.
 
 ad1: 38166MB WDC WD400AB-32CDB0 [77545/16/63] at ata0-slave UDMA100
 ext2fs: ad1: wrong magic number 0 (expected 0xef53)
 WARNING: mount of ad1s1 denied due to unsupported optional features
 ext2fs: ad1: wrong magic number 0 (expected 0xef53)
 WARNING: mount of ad1s1 denied due to unsupported optional features
 ext2fs: ad1: wrong magic number 0 (expected 0xef53)
 ext2fs: ad1: wrong magic number 0 (expected 0xef53)
 ext2fs: ad1: wrong magic number 0 (expected 0xef53)

I think your drive is marked dirty. Please mount/umount it in Linux
and try again.

BTW: ext3 is compatible w/ext2 *ONLY* when the dirty bit is unset. When
 it is set, journal rollback is necessary which only ext3 can handle.

-- Josh

 
 Any help appreciated.
 Dave.
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: mounting linux ext3 partition

2003-08-26 Thread Frank Ruell
dave [EMAIL PROTECTED] writes:

 mount_ext2fs /dev/ad1 /mnt
ad1 means the whole disk.

 The data for partition 1 is:
 sysid 131 (0x83),(Linux native)
 start 63, size 78156162 (38162 Meg), flag 80 (active)
  beg: cyl 0/ head 1/ sector 1;
  end: cyl 1023/ head 254/ sector 63
Then you want ad1s1 I guess.

regards,
Frank
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]