LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Other *NIX
User Name
Password
Other *NIX This forum is for the discussion of any UNIX platform that does not have its own forum. Examples would include HP-UX, IRIX, Darwin, Tru64 and OS X.

Notices


Reply
  Search this Thread
Old 05-23-2005, 08:02 PM   #1
deoren
Member
 
Registered: Oct 2003
Location: USA
Distribution: Ubuntu
Posts: 216

Rep: Reputation: 30
Question Can Mac OS X create & mount ext2 image?


[SOLVED]

Example:

Quote:
/sbin/mke2fs -m0 -s0 -F ./ramdisk.img

# Fix broken (according to Slackware mkinitrd) ext2fs defaults:
/sbin/tune2fs -c 0 -i 0 -m 0 ./ramdisk.img

mount -t ext2 -o loop ./ramdisk.img ./temp
cd ramdisk
#cp -dR * ../temp/ && sync
cp -a * ../temp/ && sync
umount ../temp
cd ..
gzip -9 ramdisk.img
mv ramdisk.img.gz ramdisk.gz
Is there an equivalent method in Mac OS X?

Thanks.

Last edited by deoren; 07-28-2005 at 12:05 AM.
 
Old 05-23-2005, 10:31 PM   #2
deoren
Member
 
Registered: Oct 2003
Location: USA
Distribution: Ubuntu
Posts: 216

Original Poster
Rep: Reputation: 30
Answer:
http://forums.gentoo.org/viewtopic-p-2435703.html
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Mount Secondary EXT2 Drive StarSage Fedora 3 02-17-2005 12:17 AM
Mac image problem JoeUser11 Linux - Newbie 2 01-08-2005 11:51 AM
FC 3 - mount: error 6 mounting ext2 mahendra Fedora 0 10-24-2004 12:29 PM
large ext2 image schatoor Linux - General 6 11-16-2002 03:31 PM
Mount ext2, ext3 in win2k? marktaff Linux - General 4 11-19-2001 08:29 PM

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

All times are GMT -5. The time now is 07:51 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration