be47 mounting an ext3 partition - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Base System > General

General General questions about the FreeBSD operating system. Ask here if your question does not fit elsewhere.

Reply
 
Thread Tools Display Modes
  #1  
Old May 17th, 2010, 23:36
jalu
Guest
 
Posts: n/a
Default mounting an ext3 partition

Code:
freebsd-2# fdisk
******* Working on device /dev/ad0 *******
parameters extracted from in-core disklabel are:
cylinders=77622 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=77622 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 57721041 (28184 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:
sysid 5 (0x05),(Extended DOS)
    start 57721545, size 20515005 (10017 Meg), flag 0
	beg: cyl 1023/ head 255/ sector 63;
	end: cyl 1023/ head 9/ sector 63
Code:
#mount -t ext2fs /dev/ad0s5 /media/disk
#ls /media/disk
lost+found
#
But there is supposed to be a complete OS on the partition. If i do from Linux:
Code:
# fdisk -l
...
/dev/hda5
/dev/hda6
Code:
#mount /dev/hda5 /media/disk
# ls /media/disk
root etc usr home etc var and_so_on
Thanks, there are some data stored that i need.
Reply With Quote
  #2  
Old May 19th, 2010, 11:49
chuckbuck chuckbuck is offline
Junior Member
 
Join Date: May 2010
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

If it's an ext3 partition, why are you mounting it with the "ext2fs" flag?
Reply With Quote
  #3  
Old May 19th, 2010, 12:03
Bunyan's Avatar
Bunyan Bunyan is offline
Member
 
Join Date: Jan 2009
Posts: 139
Thanks: 7
Thanked 16 Times in 15 Posts
Default

Disable the journal on the Linux partitions.
FreeBSD is able to see only EXT2FS/REISERFS/XFS !
Reply With Quote
  #4  
Old May 19th, 2010, 16:18
phoenix's Avatar
phoenix phoenix is offline
Moderator
 
Join Date: Nov 2008
Location: Kamloops, BC, Canada
Posts: 3,140
Thanks: 43
Thanked 700 Times in 578 Posts
Default

Quote:
Originally Posted by chuckbuck View Post
If it's an ext3 partition, why are you mounting it with the "ext2fs" flag?
FreeBSD doesn't support ext3, only ext2. And ext3 filesystems can be mounted as ext2, as ext3 is the same as ext2 but with an added journal.
__________________
Freddie

Help for FreeBSD: Handbook, FAQ, man pages, mailing lists.
Reply With Quote
  #5  
Old May 19th, 2010, 20:46
jalu
Guest
 
Posts: n/a
Default

Mhh... i did it the way i did ( -t ext2fs) cause the web told me to.
I guess phoenix answer explains why.

It did work before, then i crashed BSD and had to re-install it. Before that i used gparted to resize the partitions (i added space of the ext3-partition to the free space to get more space for BSD. The ext3 just contains a backup of Debian).
Might be i messed it up with gparted and therefor it doesn't work no more.

I used a stick, copied the data (/usr/local/opt/e17 if i recall correct) on the stick, booted into FreeBSD, mounted the stick and was able to copy the .../opt/e17 back in place.

I still would like to know why i get the above "problem", but the real problem is solved by my workaround.

Thanks for the answers.
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Solved] problem with umlauts together with ext3 jofu General 3 January 22nd, 2010 20:01
mount linux ext3 partition ccc General 12 September 19th, 2009 08:56
[Solved] Problem mounting EXT2FS partition henter2009 General 5 August 25th, 2009 09:11
convert ext3 to ufs? hoanghien Installing & Upgrading 1 July 10th, 2009 10:52
Problem mounting main partition in dragonfly blumstng Installing & Upgrading 3 July 9th, 2009 16:54


All times are GMT +1. The time now is 09:35.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0