Re: How to mount FreeBSD from Debian or any Linux possibly

2003-12-21 Thread Peter Leftwich
On Sun, 21 Dec 2003, Jonathan Byrne wrote:
 I take it using -t autofs doesn't get you anywhere, either?  I don't have
 any FreeBSD partitions around at the moment or I'd try it out myself
 and see if I can get it going.

 Another approach you could try if you can't get it to mount with uid
 = knoppix is to mount it as root the way you were additionally doing,
 then chown the whole thing to knoppix.  chmodding it to 777 might also
 work, if you feel like playing with fire :-)

 Jonathan
 --
 gpg --keyserver pgp.mit.edu --recv-keys ACC46EF9
 Key fingerprint = E52E 8153 8F37 74AF C04D  0714 364F 540E ACC4 6EF9
 I love the smell of filtered spam in the morning - it smells like victory!

Thanks Jonathan!!!  :)  The chown sshhtick did the trick!!  I hope my
changes were not permanent (i.e. to the live filesystem that I hope to be
able to boot again one day)...

--
Peter Leftwich
President  Founder, Video2Video Services
Box 13692, La Jolla, CA, 92039 USA
http://Www.Video2Video.Com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to mount FreeBSD from Debian or any Linux possibly

2003-12-20 Thread Ruben de Groot
On Fri, Dec 19, 2003 at 09:16:36PM -0500, Peter Leftwich typed:
 Ruben de Groot [EMAIL PROTECTED] wrote:
 Peter Leftwich [EMAIL PROTECTED] wrote...
  currently-running X session.  That would allow me to use KDE and
  Konqueror to browse graphically to the directory
  /mnt/freebsdpartition ... anyone know how?
  Not needed. try: `mount -t ufs -o ufstype=44bsd,uid=knoppix /dev/hda2 
  /mnt/freebsdpartition
  (that is, if your X session is running as user knoppix.)
 
 [EMAIL PROTECTED] mount -t ufs -o ufstype=44bsd,uid=knoppix /dev/hda2 /mnt/fbsd
 mount: wrong fs type, bad option, bad superblock on /dev/hda2,
or too many mounted file systems
 
Aah, silly me. I really should drink some more coffee before answering.
The 'uid=' option I suggested is invalid for ufs partitions (I use it
normally on smb shares)

 Ruben, Your suggested command line returned an error and did not work.  Is
 there a hack where I can edit the /etc/mtab or /etc/fstab files in realtime
 instead?

Not that I know of, but maybe you'll get better answers on a knoppix 
mailing list.

good luck,
Ruben

 --
 Peter Leftwich
 President  Founder, Video2Video Services
 Box 13692, La Jolla, CA, 92039 USA
 http://Www.Video2Video.Com
 ___
 [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: How to mount FreeBSD from Debian or any Linux possibly

2003-12-19 Thread Ruben de Groot
On Fri, Dec 19, 2003 at 12:48:40AM -0500, Peter Leftwich typed:
 I thought I would GIVE BACK to the BSD community and share my breakthrough:
 
 Here is how to mount your freebsd partition from Linux (in my case, it was
 a CD-R of the Debian-based bootable known as Knoppix available from
 www.knoppix.net).  As long as your Linux environment can see the
 partition, such as /mnt/hda2 (for example), you first
 
 $ umount /mnt/hda2
 $ mkdir /mnt/freebsdpartition
 $ mount -t ufs -o ufstype=44bsd /dev/hda2 /mnt/freebsdpartition
 
 The only thing I could not figure out was how to su my currently-running
 X session.  That would allow me to use KDE and Konqueror to browse
 graphically to the directory /mnt/freebsdpartition ... anyone know how?

Not needed. try:

mount -t ufs -o ufstype=44bsd,uid=knoppix /dev/hda2 /mnt/freebsdpartition

(that is, if your X session is running as user knoppix.)

 Happy holidays everyone, and happy reading-of-the-manpages!!  :0)
 
 --
 Peter Leftwich
 President  Founder, Video2Video Services
 Box 13692, La Jolla, CA, 92039 USA
 http://Www.Video2Video.Com
 ___
 [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: How to mount FreeBSD from Debian or any Linux possibly

2003-12-19 Thread Peter Leftwich
Ruben de Groot [EMAIL PROTECTED] wrote:
 On Fri, Dec 19, 2003 at 12:48:40AM -0500, Peter Leftwich typed:
 Here is how to mount your freebsd partition from Linux (in my
 case, it was a CD-R of the Debian-based bootable known as
 Knoppix available from www.knoppix.net).  As long as your Linux
...
 The only thing I could not figure out was how to su my
 currently-running X session.  That would allow me to use KDE and
 Konqueror to browse graphically to the directory
 /mnt/freebsdpartition ... anyone know how?

 Not needed. try:
 mount -t ufs -o ufstype=44bsd,uid=knoppix /dev/hda2
/mnt/freebsdpartition
 (that is, if your X session is running as user knoppix.)

My X session *was* unfortunately running as knoppix but I could do
a Ctrl-Alt-F1 (or Alt-F1 I forget) and go to the vtty there, type in
just passwd and then be prompted for a new root password so that
in my X session, I could run a terminal window and su then type in
THAT new password.

(Sorry; Was that explained well?)

Anyways.  The icon for the mounted freebsdpartition had a padlock
icony, hence, it seemed that only root had GUI (graphical user
interface) access to the mounted drive!

Nuts.

--
Peter Leftwich
President  Founder, Video2Video Services
Box 13692, La Jolla, CA, 92039 USA
http://Www.Video2Video.Com



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


Re: How to mount FreeBSD from Debian or any Linux possibly

2003-12-19 Thread Peter Leftwich
Ruben de Groot [EMAIL PROTECTED] wrote:
Peter Leftwich [EMAIL PROTECTED] wrote...
 currently-running X session.  That would allow me to use KDE and
 Konqueror to browse graphically to the directory
 /mnt/freebsdpartition ... anyone know how?
 Not needed. try: `mount -t ufs -o ufstype=44bsd,uid=knoppix /dev/hda2 
 /mnt/freebsdpartition
 (that is, if your X session is running as user knoppix.)

[EMAIL PROTECTED] mount -t ufs -o ufstype=44bsd,uid=knoppix /dev/hda2 /mnt/fbsd
mount: wrong fs type, bad option, bad superblock on /dev/hda2,
   or too many mounted file systems

Ruben, Your suggested command line returned an error and did not work.  Is
there a hack where I can edit the /etc/mtab or /etc/fstab files in realtime
instead?

--
Peter Leftwich
President  Founder, Video2Video Services
Box 13692, La Jolla, CA, 92039 USA
http://Www.Video2Video.Com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]