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]


system boot taking more time, unable to mount vfat, linux partitions,

2007-05-15 Thread Anugunj Anuj Singh
Hi,
I am using FreeBSd6.2
My FreeBSD takes around 90 seconds after detecting my hard disks.
I use my second hard disk as a backup to store data, FIrst hard disk has
linux and FreeBSD installed. I can mount vfat partitions from second
hard disk but unable to mount it from FreeBSD. it shows me incorrect
super block. 

Timecounter TSC frequency 851937863 Hz quality 800
Timecounters tick every 1.000 msec
acd0: DMA limited to UDMA33, device found non-ATA66 cable
acd0: DVDROM DVD-ROM DDU1622/VER AS66 at ata0-master UDMA33
acd1: CDRW ASUS CRW-4012A/1.0 at ata0-slave UDMA33
ad2: 78533MB HDS728080PLAT20 PF2OA2AA at ata1-master UDMA66
ad3: 38204MB SAMSUNG SP0401N TJ100-23 at ata1-slave UDMA66
ad3: FAILURE - READ_DMA status=51READY,DSC,ERROR
error=84ICRC,ABORTED LBA=78242975

How to change it's settings to skip 90seconds delay at booting time?

Output of fdisk command is

[EMAIL PROTECTED] /etc/mail]# fdisk 
*** Working on device /dev/ad2 ***
parameters extracted from in-core disklabel are:
cylinders=159560 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=159560 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 165 (0xa5),(FreeBSD/NetBSD/386BSD)
start 63, size 20466747 (9993 Meg), flag 80 (active)
beg: cyl 0/ head 1/ sector 1;
end: cyl 1023/ head 254/ sector 63
The data for partition 2 is:
sysid 131 (0x83),(Linux native)
start 20466810, size 208845 (101 Meg), flag 0
beg: cyl 1023/ head 255/ sector 63;
end: cyl 1023/ head 254/ sector 63
The data for partition 3 is:
sysid 131 (0x83),(Linux native)
start 20675655, size 20482875 (10001 Meg), flag 0
beg: cyl 1023/ head 255/ sector 63;
end: cyl 1023/ head 254/ sector 63
The data for partition 4 is:
sysid 5 (0x05),(Extended DOS)
start 41158530, size 119668185 (58431 Meg), flag 0
beg: cyl 1023/ head 255/ sector 63;
end: cyl 1023/ head 254/ sector 63

regards
anugunj Anuj Singh 


signature.asc
Description: This is a digitally signed message part


#6.1 install problem#: can't find other linux partitions at the Partition Stage

2006-09-09 Thread ambrosehuang ambrose

I had install Gentoo Linux  on the /dev/hda (40G) , the partition table is
as following:
hda1  PrimaryLinux
ext3  98.71 M
hda5  Logical Linux swap /
Solaris  1019.94 M
hda6  Logical Linux
ext3  8891.53M
hda7  Logical Linux
ReiserFS  3076.26M
hda8  Logical Linux
ext3  6925.69M
  Pri/Log Free
Space20003.89M
I want to use the remaining 20G space to install FreeBSD 6.0-release . When
I  was installing freebsd 6.1-release  at  the Partition stage , the
Partition Program can't find any linux partition or the free 20G space, but
just displayed the whole disk.
I used the same  freebsd install disk  on other machine , everythin goes
well .Can't you tell me how to deal with this problem ?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD install disables linux partitions and system

2006-03-17 Thread oliver-forward
Hello,

I have (had?) a machine with two drives with two major partions on each. One on 
the first drive was used for Mandriva linux, one on the second used for its 
/home folder. I wanted to try FreeBSD because I could not get my Plextor SCSI 
CD-R/W drive to operate under Mandriva 2006. I copied /home to the first 
partition, that being as much of a back-up as I could do. Then I followed the 
instructions in the FreeBSD handbook for a dual-boot system. This involves 
putting the FreeBSD bootloader on both drives.

Once I had FreeBSD 6.0 and KDE up and running, I recompiled my kernel with 
extfs functionality and tried to mount my Linux drives. This failed:

bsd# mount -t ext2fs /dev/ad2s2 /linux-tmp
mount_ext2fs: /dev/ad2s2: Invalid argument

This is what I am getting now. I also got you must have read-write privileges 
or be root, but for some reason that is gone. ad2s2 is what my old /home 
partition showed up as in sysinstall.

I installed and tried e2fsck, but no use:

bsd# /usr/local/sbin/e2fsck /dev/ad2s2
e2fsck 1.38 (30-Jun-2005)
Couldn't find ext2 superblock, trying backup blocks...
/usr/local/sbin/e2fsck: Bad magic number in super-block while trying to open 
/dev/ad2s2

The superblock could not be read or does not describe a correct ext2
filesystem.  If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 device

I tried a few other numbers, but to no avail.

What makes this bad for me is that the FreeBSD bootloader will not boot 
Mandriva. Attempting to choose anything but FreeBSD rings the system bell and 
does nothing else. The Mandriva rescue disk is unable to restore its original 
bootloader, or read from the drive with the FreeBSD partition on it, or 
repairthe system without wiping the disk. I no have no access to my data at 
all. 

I don't think it is meant to function this way, but I read the install part of 
the handbook three times and cycled round in sysinstall at least as many times 
to make sure I had it right. Any help would be appreciated. Thank you.

Oliver

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


Re: linux partitions

2005-12-01 Thread Bob Hepple
On Tue, 29 Nov 2005 15:08:55 +
RW [EMAIL PROTECTED] wrote:

 On Tuesday 29 November 2005 14:05, Lowell Gilbert wrote:
  arden [EMAIL PROTECTED] writes:
   I want to duel boot BSD with Slackware whats the best Linux file system
   to use for reading and write to I would normally use ReiserFS would this
   be ok ?
 
  reiserfs support in FreeBSD is read-only at the moment.  I believe the
  only filesystem that can be written to by both Linux and FreeBSD is FAT.
 
 The last time I dual-booted to linux I used an ext3 partition to exchange 
 data, FreeBSD can read/write this as ext2.

... but don't try to NFS export an ext2 file system from FreeBSD - it
doesn't work!!!


Cheers


Bob

-- 
Bob Hepple
mailto:[EMAIL PROTECTED] http://bhepple.freeshell.org
Public Key: http://bhepple.freeshell.org/public_keys.txt
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: linux partitions

2005-11-29 Thread Lowell Gilbert
arden [EMAIL PROTECTED] writes:

 I want to duel boot BSD with Slackware whats the best Linux file system to 
 use for reading and write to I would normally use ReiserFS would this be ok ?

reiserfs support in FreeBSD is read-only at the moment.  I believe the
only filesystem that can be written to by both Linux and FreeBSD is FAT.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: linux partitions

2005-11-29 Thread RW
On Tuesday 29 November 2005 14:05, Lowell Gilbert wrote:
 arden [EMAIL PROTECTED] writes:
  I want to duel boot BSD with Slackware whats the best Linux file system
  to use for reading and write to I would normally use ReiserFS would this
  be ok ?

 reiserfs support in FreeBSD is read-only at the moment.  I believe the
 only filesystem that can be written to by both Linux and FreeBSD is FAT.

The last time I dual-booted to linux I used an ext3 partition to exchange 
data, FreeBSD can read/write this as ext2.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


linux partitions

2005-11-28 Thread arden
Hi all 

I want to duel boot BSD with Slackware whats the best Linux file system to use 
for reading and write to I would normally use ReiserFS would this be ok ?

Arden 

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